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

[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
13 天前 修改了issue 的描述
ink_polymer
ink_polymer成员
10 天前 评论:

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

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