已关闭
[Bug-Report|缺陷反馈]: `run_profiling.sh` masks `msprof` failures #812
KaranocaVe创建于  22 天前关闭于  18 天前
KaranocaVe
KaranocaVe
22 天前 创建

[Bug-Report|缺陷反馈]: run_profiling.sh masks msprof failures

run_profiling.sh runs msprof op ... 2>&1 | tail -8 with set -e but without pipefail. Reproduce this with a runner file present and an msprof stub that exits non-zero without creating a report. The wrapper currently exits 0 and prints 采集完成 when tail succeeds; it should return a failure and stop before that message.

The attention operator lab notebook expects OPPROF_* output and reads its profiling CSV files, so the masked failure surfaces later as missing profiling data. Enabling pipefail propagates the msprof error while preserving the successful capture path. A CPU stub regression confirmed a failing msprof status is propagated and the successful path still produces the expected report.

关联 PR: https://gitcode.com/cann/cann-learning-hub/merge_requests/1167

likedislike
KaranocaVeKaranocaVe
22 天前 修改了issue 的描述
ink_polymer
ink_polymer成员
19 天前 评论:

尊敬的开发者您好,您提出的pr审核后无误已经合入,该问题已经解决issue即将关闭,若后续还有问题欢迎通过issue与我们交流,感谢您的支持

likedislike
ink_polymerink_polymer成员
18 天前 issue状态由 进行中 改变为 已完成
ink_polymerink_polymer成员
18 天前 关闭了 issue
CANN-robotCANN-robot成员
18 天前 添加了label:resolved
KaranocaVe
KaranocaVe
4 天前 评论:

@ink_polymer 您好,这个 Issue 对应的修复已经合入:https://gitcode.com/cann/cann-learning-hub/merge_requests/1167

开发者计划反馈,Issue 需要有 Accepted 标签才能计入积分,仅关闭或标记 resolved 还不够。目前这条 Issue 尚未标记 Accepted,麻烦您结合问题和已合入的修复复核一下;确认符合受理条件后,帮忙补上 Accepted 标签。

感谢您的支持!

likedislike