Pull Request已成功合入, 合并人@CANN-robot
(感谢 wangchuang616 的贡献)变更摘要
本次 PR 主要围绕 CI 流水线从原 dedicate-hosted 执行节点切换到 CCE 集群的 self-hosted 节点,并同步重构冒烟测试流程。改动集中在 .gitcode 下的多个 workflow 与 pre_smoke.sh:统一了各任务 runs-on 的标签写法,将 oam-tools_action.yml 的冒烟执行从“打包上传 + manifest-management-plugin 部署”改为在容器内直接执行 pre_smoke.sh,并简化了 pre_smoke.sh 的测试逻辑与日志上传逻辑。
主要改动
- CI 执行节点统一切换为
self-hosted:codecheck_action.yml、compile_action.yml、staticcheck_action.yml、ut_action.yml及oam-tools_action.yml中的runs-on均由dedicate-hosted系列标签改为['self-hosted', 'arch=...', 'spec=...']形式。 - 冒烟执行流程重构:
oam-tools_action.yml移除了 Checkout gitcode、业务代码打包上传、manifest-management-plugin的DEPLOY/CRUSH等步骤,改为在指定container镜像内直接执行pre_smoke.sh,并仅将生成的slog.tar.gz上传至 OBS。 - 冒烟运行环境调整:冒烟任务的
runs-on由['self-hosted','arch=arm','smoke=204']改为['self-hosted','npu=1','smoke=204'],并新增了PreSmoke_A900容器镜像。 pre_smoke.sh脚本简化:移除硬编码的ops(如is_finite)循环及crop_and_resize的 graph 模式分支,工作目录由固定的/home/taskspace改为使用${WORKSPACE}环境变量,同时删除 plog 上传逻辑。- 环境变量动态化与新增后置任务:
oam-tools_action.yml中org_name、repo_name由硬编码改为从vars.ORG_NAME和atomgit.event.repository.name获取,并新增post阶段调用post_action.yml。


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
For more, you also can visit HICANN
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| .gitcode/** | ✅ 宋常霞, tanghaoran7 (2/2) | ✅ 宋常霞 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
wangchuang616, thanks for your pull request. All authors of the commits have signed the CLA. 👍


compile


流水线任务触发成功
任务链接 [0e099e1bd7264cd297c58cd897b39c14][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| codecheck | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| Check_Pr | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| pre_comment | ✅ SUCCESS | >>>>> | |
| cocheck_codestyle | ✅ SUCCESS | ||
| precommit | ❌ FAILED | >>>>> | >>>>> |
| StaticCheck_codespell | ✅ SUCCESS | ||
| StaticCheck_link_validity | ✅ SUCCESS | ||
| StaticCheck_resource_existence | ✅ SUCCESS | ||
| StaticCheck_tag_closed | ✅ SUCCESS | ||
| StaticCheck_markdownlint | ✅ SUCCESS |




compile


流水线任务触发成功
任务链接 [2d6cefef0c614f698091d2a983300026][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| codecheck | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| Check_Pr | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| pre_comment | ✅ SUCCESS | >>>>> | |
| cocheck_codestyle | ✅ SUCCESS | ||
| precommit | ✅ SUCCESS | >>>>> | |
| StaticCheck_codespell | ✅ SUCCESS | ||
| StaticCheck_link_validity | ✅ SUCCESS | ||
| StaticCheck_resource_existence | ✅ SUCCESS | ||
| StaticCheck_tag_closed | ✅ SUCCESS | ||
| StaticCheck_markdownlint | ✅ SUCCESS | ||
| UT_Test_asys | ✅ SUCCESS | >>>>> | |
| UT_Test_msaicerr | ✅ SUCCESS | >>>>> | |
| UT_Test_msprof | ✅ SUCCESS | >>>>> | |
| API_Check | ✅ SUCCESS | >>>>> | |
| PreSmoke_A900 | ✅ SUCCESS | >>>>> |
[2026-08-14 17:44:57] CI执行结束




/approve
/lgtm


/lgtm


描述
关联的Issue
测试
文档更新
类型标签