Merged
fix(machine): Compile monitor info fix. #5321
chaizhengtongAdd on Aug 6
fix(machine): Compile monitor info fix. #5321
Merged
chaizhengtongAdd on Aug 6
chaizhengtong
chaizhengtongCollaborators
Aug 6
删除重复warning信息;删除重复compile_monitor标识
likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for chaizhengtong's contribution.)
chaizhengtongchaizhengtongCollaborators
Aug 6 Created pull request, commit 9772fb5a
atomgit-bot
atomgit-bot
Aug 6 Comments:

变更摘要

此 PR 主要清理 compiler_monitor 模块中的重复信息:在 MonitorImpl::PrintTotalTimeOut 中删除了与 COMPILER_WARN_EVENT 存在冗余的告警输出分支;在 MonitorManager::Initialize 和 MonitorManager::PrintWatchdogSummary 中移除了日志消息里重复的 [Compiler Monitor] 前缀标识。

主要改动

  • 删除 MonitorImpl::PrintTotalTimeOut 中的重复告警分支:原代码在超时阈值未设定时通过 COMPILER_WARN_EVENT 输出告警,否则在 else 分支中构造另一条相似格式的告警消息并通过 COMPILER_WARN_EVENT 再次输出。该 else 分支(含6行)被整体移除,仅保留首个分支的 COMPILER_WARN_EVENT 调用。

  • 移除 MonitorManager::Initialize 日志中的重复 [Compiler Monitor] 前缀:thresholdMsg 字符串构造时去除了开头的 "[Compiler Monitor] " 前缀,避免与日志系统已有的模块标识产生重复。

  • 移除 MonitorManager::PrintWatchdogSummary 日志中的重复 [Compiler Monitor] 前缀:summaryMsg 字符串构造时同样去除了 "[Compiler Monitor] " 前缀,与上述改动保持一致。

likedislike
Incorrect?
atomgit-bot
atomgit-bot
Aug 6 Comments:

代码审查

✅ 未发现问题

likedislike
Incorrect?
CANN-robotCANN-robotCollaborators
Aug 6 Added label: cann-cla/yes
CANN-robot
CANN-robotCollaborators
Aug 6 Comments:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here。
You can get sig-info at here


PR Approval Progress

✅ Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
repo-cann/pypto ✅ jason_yuan_ye, gaoxingwang (2/2) ✅ jason_yuan_ye (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)
likedislike
CANN-robot
CANN-robotCollaborators
Aug 6 Comments:

CLA Signature Pass

chai-hw, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robotCollaborators
Aug 6 Set xinweiliu,cam_bxh,dai-zhentao,gguuaanngg,codehjp423,gaoxiang618,wangzheng97,DCGDDD,syfeng,jason_yuan_ye,foundea,ym-HW,hw_zhangzhiqi,yinjie27_,congqiannan,zhangyuebing,tsungl4,gaoxingwang,zhiweiyuan,caodongdong,make_pto,zhoubotcam,linjiashu,wangbing110,WenboCodes as approver
CANN-robotCANN-robotCollaborators
Aug 6 Set xinweiliu,cam_bxh,dai-zhentao,gguuaanngg,codehjp423,gaoxiang618,wangzheng97,DCGDDD,syfeng,jason_yuan_ye,foundea,ym-HW,hw_zhangzhiqi,yinjie27_,congqiannan,zhangyuebing,tsungl4,gaoxingwang,zhiweiyuan,caodongdong,make_pto,zhoubotcam,linjiashu,wangbing110,WenboCodes as approver
chaizhengtong
chaizhengtongCollaborators
Aug 6 Comments:

compile

likedislike
chaizhengtongchaizhengtongCollaborators
Aug 6 Pre merge succeeded (commit_id: 4f2dea8b6d897bfe9eae804d0a407b4a417ac1c1)
chaizhengtongchaizhengtongCollaborators
Aug 6 Associated issue: [Requirement|需求建议]: 编译监控打屏精简,强化默认超时提示
CANN-robotCANN-robotCollaborators
Aug 6 Added label: ci-pipeline-running
CANN-robot
CANN-robotCollaborators
Aug 6 Comments:

流水线任务触发成功
任务链接 [1ae9d34bbf5c42f7ae2d84259de01d1e][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_ubuntu24 ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
UT_Test_Py3_ninja_simulation ✅ SUCCESS
UT_Test_Py3_ninja ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_1 ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_2 ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_3 ✅ SUCCESS
UT_Test_Cpp_make_clang_part1 ✅ SUCCESS
UT_Test_Cpp_make_clang_part2 ✅ SUCCESS
UT_Test_Cpp_make_clang_part3 ✅ SUCCESS
UT_Test_kirinx90 ✅ SUCCESS
UT_Test_kirin9030 ✅ SUCCESS
UT_Test_report ✅ SUCCESS >>>>>
PreSmoke_A900 ❌ FAILED >>>>>
likedislike
CANN-robot
CANN-robotCollaborators
Aug 6 Comments:

流水线任务触发成功
任务链接 [0eae626b3faa4bc4a67762fd90495610][流水线指导]

任务名称状态日志下载链接
SCA ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_Pr ✅ SUCCESS
StaticCheck_codespell ✅ SUCCESS
StaticCheck_link_validity ✅ SUCCESS
StaticCheck_resource_existence ✅ SUCCESS
StaticCheck_tag_closed ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_codestyle ✅ SUCCESS >>>>>
codecheck_precommit ✅ SUCCESS >>>>>
StaticCheck_md ✅ SUCCESS

[2026-08-06 16:36:10]    CI执行结束

likedislike
CANN-robot
CANN-robotCollaborators
Aug 6 Comments:

流水线任务触发成功
任务链接 [e972475e50674158afe1f474e5935ac4][流水线指导]

任务名称状态日志下载链接
get_pr_file ✅ SUCCESS
static-check ✅ SUCCESS
compile ❌ FAILED
likedislike
CANN-robotCANN-robotCollaborators
Aug 6 Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Aug 6 Added label: ci-pipeline-failed
CANN-robotCANN-robotCollaborators
Aug 6 Removed label: ci-pipeline-failed
CANN-robotCANN-robotCollaborators
Aug 6 Added label: ci-pipeline-running
CANN-robot
CANN-robotCollaborators
Aug 6 Comments:

流水线任务触发成功
任务链接 [80a922f2d2b144859dd0e94794980cff][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_ubuntu24 ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
UT_Test_Py3_ninja_simulation ✅ SUCCESS
UT_Test_Py3_ninja ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_1 ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_2 ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_3 ✅ SUCCESS
UT_Test_Cpp_make_clang_part1 ✅ SUCCESS
UT_Test_Cpp_make_clang_part2 ✅ SUCCESS
UT_Test_Cpp_make_clang_part3 ✅ SUCCESS
UT_Test_kirinx90 ✅ SUCCESS
UT_Test_kirin9030 ✅ SUCCESS
UT_Test_report ✅ SUCCESS >>>>>
PreSmoke_A900 ❌ FAILED >>>>>
likedislike
CANN-robot
CANN-robotCollaborators
Aug 6 Comments:

流水线任务触发成功
任务链接 [e972475e50674158afe1f474e5935ac4][流水线指导]

任务名称状态日志下载链接
get_pr_file ✅ SUCCESS
static-check ✅ SUCCESS
compile ❌ FAILED
likedislike
CANN-robotCANN-robotCollaborators
Aug 6 Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Aug 6 Added label: ci-pipeline-failed
CANN-robotCANN-robotCollaborators
Aug 7 Removed label: ci-pipeline-failed
CANN-robotCANN-robotCollaborators
Aug 7 Added label: ci-pipeline-running
CANN-robot
CANN-robotCollaborators
Aug 7 Comments:

流水线任务触发成功
任务链接 [b33795134f454a36ae4a81433ea4f1c8][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_ubuntu24 ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
UT_Test_Py3_ninja_simulation ✅ SUCCESS
UT_Test_Py3_ninja ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_1 ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_2 ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_3 ✅ SUCCESS
UT_Test_Cpp_make_clang_part1 ✅ SUCCESS
UT_Test_Cpp_make_clang_part2 ✅ SUCCESS
UT_Test_Cpp_make_clang_part3 ✅ SUCCESS
UT_Test_kirinx90 ✅ SUCCESS
UT_Test_kirin9030 ✅ SUCCESS
UT_Test_report ✅ SUCCESS >>>>>
PreSmoke_A900 ❌ FAILED >>>>>
likedislike
CANN-robot
CANN-robotCollaborators
Aug 7 Comments:

流水线任务触发成功
任务链接 [e972475e50674158afe1f474e5935ac4][流水线指导]

任务名称状态日志下载链接
get_pr_file ✅ SUCCESS
static-check ✅ SUCCESS
compile ❌ FAILED
likedislike
CANN-robotCANN-robotCollaborators
Aug 7 Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Aug 7 Added label: ci-pipeline-failed
chaizhengtong
chaizhengtongCollaborators
Aug 7 Comments:

compile

likedislike
chaizhengtongchaizhengtongCollaborators
Aug 7 Pre merge succeeded (commit_id: 43ec1682b8cc9f8316cba6df89ab9914f5598b81)
CANN-robotCANN-robotCollaborators
Aug 7 Removed label: ci-pipeline-failed
CANN-robotCANN-robotCollaborators
Aug 7 Added label: ci-pipeline-running
CANN-robot
CANN-robotCollaborators
Aug 7 Comments:

流水线任务触发成功
任务链接 [906c66c1162e4007bde4793599a5dc89][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_ubuntu24 ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
UT_Test_Py3_ninja_simulation ✅ SUCCESS
UT_Test_Py3_ninja ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_1 ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_2 ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_3 ✅ SUCCESS
UT_Test_Cpp_make_clang_part1 ✅ SUCCESS
UT_Test_Cpp_make_clang_part2 ✅ SUCCESS
UT_Test_Cpp_make_clang_part3 ✅ SUCCESS
UT_Test_kirinx90 ✅ SUCCESS
UT_Test_kirin9030 ✅ SUCCESS
UT_Test_report ✅ SUCCESS >>>>>
PreSmoke_A900 ✅ SUCCESS >>>>>

[2026-08-07 10:48:34]    CI执行结束

likedislike
CANN-robot
CANN-robotCollaborators
Aug 7 Comments:

流水线任务触发成功
任务链接 [d15b2f7552074bd4bbd754803322ac73][流水线指导]

任务名称状态日志下载链接
SCA ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_Pr ✅ SUCCESS
StaticCheck_codespell ✅ SUCCESS
StaticCheck_link_validity ✅ SUCCESS
StaticCheck_resource_existence ✅ SUCCESS
StaticCheck_tag_closed ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_codestyle ✅ SUCCESS >>>>>
codecheck_precommit ✅ SUCCESS >>>>>
StaticCheck_md ✅ SUCCESS

[2026-08-07 10:10:47]    CI执行结束

likedislike
CANN-robot
CANN-robotCollaborators
Aug 7 Comments:

流水线任务触发成功
任务链接 [747d23e8b3bc4fcab3460795547e6935][流水线指导]

任务名称状态日志下载链接
get_pr_file ✅ SUCCESS
static-check ✅ SUCCESS
compile ✅ SUCCESS

[2026-08-07 10:49:18]    CI执行结束

likedislike
CANN-robotCANN-robotCollaborators
Aug 7 Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Aug 7 Added label: ci-pipeline-passed
gaoxingwang
gaoxingwangCollaborators
Aug 7 Comments:

/lgtm

likedislike
袁野
袁野Collaborators
Aug 7 Comments:

/approve

likedislike
CANN-robotCANN-robotCollaborators
Aug 7 Added label: lgtmapproved
CANN-robotCANN-robotCollaborators
Aug 7 Merged pull request