文件最后提交记录最后更新时间
[fix] Fix log description of tsd and aicpusd Co-authored-by: FengHaozhan<fenghaozhan@huawei.com> # message auto-generated for no-merge-commit merge: !2388 merge fix-log into master [fix] Fix log description of tsd and aicpusd Created-by: FengHaozhan Commit-by: FengHaozhan Merged-by: cann-robot Description: # Pull Request ## 描述 本 PR 主要处理 tsd 与 aicpusd 相关日志质量问题,并补齐部分 tsdclient 增量 UT: - 批量修正 aicpusd、profiling、tsdclient 路径中的英文日志拼写、语法和表达不准确问题,统一 success、initialize、process、response 等表述,提升日志可读性和检索一致性。 - 补充 tsdclient 相关 UT,覆盖互斥文件打开失败、文件加锁失败、HDC 握手响应类型不匹配、halHdcRecv 失败、文件写失败、文件删除失败等日志分支,降低后续日志整理回归风险。 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [x] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue #556 ## 如何测试 描述测试此变更的步骤和前提条件: 1. 执行 tsdclient coverage 构建与 UT 回归: - cmake --build build_cov --target tsdclient -j8 - make -C build_cov -f tests/ut/tsd/tsdclient/CMakeFiles/tsd_client_utest.dir/build.make tests/ut/tsd/tsdclient/tsd_client_utest -j8 - ./build_cov/tests/ut/tsd/tsdclient/tsd_client_utest --gtest_brief=1 2. 重点验证新增用例: - SendAICPUPackageComplex_012_OpenMutexFileFailed - SendAICPUPackageComplex_013_FileLockFailed - CommCreateSession_CheckHdcConnection_RspTypeMismatch - RecvHdcDefaultMsg_HalHdcRecvFailed_DfxAttrCheckFailed - RemoveOneFileRemoveFailed - ReWriteAicpuPackageWriteFail 3. coverage 结果: - 644 tests from 19 test suites passed - 增量 CHG 覆盖率:22 / 27 = 81.48% ## 核对清单 <!-- [x] 表示选中 --> - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [ ] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 - 本次变更不涉及对外接口调整,主要是日志表述修正与 tsdclient 增量 UT 补齐。 - 当前增量 CHG 覆盖率为 81.48%,剩余未覆盖新增行主要集中在 aicpu_thread_package_workerprocess_mode_manager 的少量分支。 See merge request: cann/runtime!23888 天前
refactor: rename duplicate runtime headers Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !2400 merge increname into master refactor: rename duplicate runtime headers Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: # Pull Request ## 描述 本次 PR 处理 runtime 仓内重复 basename 头文件的命名冲突问题,按模块前缀对相关头文件进行重命名,并同步更新仓内源码、UT、桩代码和必要的 CMake include 路径引用,避免重名头文件带来的 include 歧义。 主要变更包括: - 为 tsd 相关重名头文件增加 tsd_ 前缀 - 为 aicpu_kernel 重名头文件增加 aicpu_kernel_ 前缀 - 为 queue_schedule 相关重名头文件增加 bqs_ / qs_ 前缀 - 为多个 ProcMgrSysOperatorAgent.h 按模块重命名 - 删除 queue_schedule/stub 下重复的 bqs_server.h,统一引用已有的 server/bqs_server.h - 同步更新对应源码、UT、stub 和 CMake 中的 include 路径 ## 变更类型 请选择本次引入的变更类型: - [ ] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [x] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [x] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue https://gitcode.com/cann/runtime/issues/558 ## 如何测试 描述测试此变更的步骤和前提条件: 1. 检查仓内相关源码、UT、stub 中旧头文件名引用已全部替换为新名字。 2. 检查 queue_schedule 相关 CMake include 路径已覆盖重命名后的头文件目录。 3. 执行 bash tests/build_ut.sh --ut=aicpusd --target=queue_schedule_ut,确认目标可正常编译并进入 UT 执行阶段。 ## 核对清单 - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 本次修改不涉及业务逻辑调整,主要是头文件重命名及其引用联动更新。 See merge request: cann/runtime!24007 天前
add opensource code Co-authored-by: duanpengliang<duanpengliang@huawei.com> 4 个月前
add opensource code Co-authored-by: duanpengliang<duanpengliang@huawei.com> 4 个月前
add opensource code Co-authored-by: duanpengliang<duanpengliang@huawei.com> 4 个月前
refactor: rename duplicate runtime headers Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !2400 merge increname into master refactor: rename duplicate runtime headers Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: # Pull Request ## 描述 本次 PR 处理 runtime 仓内重复 basename 头文件的命名冲突问题,按模块前缀对相关头文件进行重命名,并同步更新仓内源码、UT、桩代码和必要的 CMake include 路径引用,避免重名头文件带来的 include 歧义。 主要变更包括: - 为 tsd 相关重名头文件增加 tsd_ 前缀 - 为 aicpu_kernel 重名头文件增加 aicpu_kernel_ 前缀 - 为 queue_schedule 相关重名头文件增加 bqs_ / qs_ 前缀 - 为多个 ProcMgrSysOperatorAgent.h 按模块重命名 - 删除 queue_schedule/stub 下重复的 bqs_server.h,统一引用已有的 server/bqs_server.h - 同步更新对应源码、UT、stub 和 CMake 中的 include 路径 ## 变更类型 请选择本次引入的变更类型: - [ ] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [x] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [x] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue https://gitcode.com/cann/runtime/issues/558 ## 如何测试 描述测试此变更的步骤和前提条件: 1. 检查仓内相关源码、UT、stub 中旧头文件名引用已全部替换为新名字。 2. 检查 queue_schedule 相关 CMake include 路径已覆盖重命名后的头文件目录。 3. 执行 bash tests/build_ut.sh --ut=aicpusd --target=queue_schedule_ut,确认目标可正常编译并进入 UT 执行阶段。 ## 核对清单 - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 本次修改不涉及业务逻辑调整,主要是头文件重命名及其引用联动更新。 See merge request: cann/runtime!24007 天前
【fix】: 安全防护能力提升-提升栈保护能力 Co-authored-by: Ding_Jing<dingjing19@huawei.com> # message auto-generated for no-merge-commit merge: !2224 merge security_modify into master 【fix】: 安全防护能力提升-提升栈保护能力 Created-by: Ding_Jing Commit-by: Ding_Jing Merged-by: cann-robot Description: # Pull Request ## 描述 请清晰准确地描述本次 Pull Request 的意图和变更内容。 将-fstack-protector->-fstack-protector-all, 提升栈保护能力 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [x] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 --> codecheck,安全能力提升,不需要提issue ## 如何测试 描述测试此变更的步骤和前提条件: 冒烟测试 ## 核对清单 <!-- [x] 表示选中 --> - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 See merge request: cann/runtime!222418 天前