已关闭
[Bug-Report|缺陷反馈]: master分支 测试用例存在多处日志拼写错误 #178
Eddie3226创建于  8月5日关闭于  8月31日
Eddie3226
8月5日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

6369fccfed1f4ad39d8845636b9a0651.xlsx

Environment / 环境信息 (Mandatory / 必填)

严重级 规则 仓库 分支 文件 行号 代码 问题原因 修复建议
严重 拼写错误 oam-tools master input/oam-tools@master/cmake/download_libs.py 89 logging.info("Download file form %s failed: %s", url, e) 日志单词拼错:"form" 应为 "from",影响阅读与日志检索 改为 "Download file from %s failed: %s"
严重 拼写错误 oam-tools master input/oam-tools@master/src/msaicerr/ms_interface/single_op_test_frame/common/ascend_tbe_op.py 146 logger.log_info(f"self.dtype is None, MayBe bloat16, same size with float16") "bloat16" 应为 "bfloat16",拼写错误导致含义误解与检索困难 改为 "maybe bfloat16, same size with float16"
严重 拼写错误 oam-tools master input/oam-tools@master/src/msprof/collector/dvvp/acp/src/op_analyzer_base.cpp 31 MSPROF_LOGE("Failed to init Op analyzer freqency: %f ghz, get freq %s mhz.", frequency_, freq.c_str()); 日志单词拼错:"freqency" 应为 "frequency",影响阅读与检索 改为 "Failed to init Op analyzer frequency: %f ghz, get freq %s mhz."
严重 拼写错误 oam-tools master input/oam-tools@master/src/msprof/collector/dvvp/profimpl/collect/job_wrapper/src/prof_instr_perf_job.cpp 71 MSPROF_LOGI("Begin to start bui profile buffer, devId:%d, channelId:%d", devId, channelId); "bui" 拼写错误,应为 "biu"(Bus Interface Unit),与同文件其它 biu 相关命名不一致,影响日志阅读与关键字检索 改为 "Begin to start biu profile buffer, devId:%d, channelId:%d"
严重 拼写错误 oam-tools master input/oam-tools@master/test/ut/msprof/stub/hdc-log-stub.cpp 33 {DLOG_WARN, "WARING"}, 日志级别字符串 "WARING" 拼写错误,应为 "WARNING"。该字符串在 DlogRecord (第141行 printf("[%s]...", levelStr.c_str(), ...)) 中作为级别标签直接打印到日志,会导致按 WARNING 检索日志时无法匹配。 将 "WARING" 改为 "WARNING"。

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

严重级 规则 仓库 分支 文件 行号 代码 问题原因 修复建议
严重 拼写错误 oam-tools master input/oam-tools@master/cmake/download_libs.py 89 logging.info("Download file form %s failed: %s", url, e) 日志单词拼错:"form" 应为 "from",影响阅读与日志检索 改为 "Download file from %s failed: %s"
严重 拼写错误 oam-tools master input/oam-tools@master/src/msaicerr/ms_interface/single_op_test_frame/common/ascend_tbe_op.py 146 logger.log_info(f"self.dtype is None, MayBe bloat16, same size with float16") "bloat16" 应为 "bfloat16",拼写错误导致含义误解与检索困难 改为 "maybe bfloat16, same size with float16"
严重 拼写错误 oam-tools master input/oam-tools@master/src/msprof/collector/dvvp/acp/src/op_analyzer_base.cpp 31 MSPROF_LOGE("Failed to init Op analyzer freqency: %f ghz, get freq %s mhz.", frequency_, freq.c_str()); 日志单词拼错:"freqency" 应为 "frequency",影响阅读与检索 改为 "Failed to init Op analyzer frequency: %f ghz, get freq %s mhz."
严重 拼写错误 oam-tools master input/oam-tools@master/src/msprof/collector/dvvp/profimpl/collect/job_wrapper/src/prof_instr_perf_job.cpp 71 MSPROF_LOGI("Begin to start bui profile buffer, devId:%d, channelId:%d", devId, channelId); "bui" 拼写错误,应为 "biu"(Bus Interface Unit),与同文件其它 biu 相关命名不一致,影响日志阅读与关键字检索 改为 "Begin to start biu profile buffer, devId:%d, channelId:%d"
严重 拼写错误 oam-tools master input/oam-tools@master/test/ut/msprof/stub/hdc-log-stub.cpp 33 {DLOG_WARN, "WARING"}, 日志级别字符串 "WARING" 拼写错误,应为 "WARNING"。该字符串在 DlogRecord (第141行 printf("[%s]...", levelStr.c_str(), ...)) 中作为级别标签直接打印到日志,会导致按 WARNING 检索日志时无法匹配。 将 "WARING" 改为 "WARNING"。

Describe the expected behavior / 预期结果 (Mandatory / 必填)

严重级 规则 仓库 分支 文件 行号 代码 问题原因 修复建议
严重 拼写错误 oam-tools master input/oam-tools@master/cmake/download_libs.py 89 logging.info("Download file form %s failed: %s", url, e) 日志单词拼错:"form" 应为 "from",影响阅读与日志检索 改为 "Download file from %s failed: %s"
严重 拼写错误 oam-tools master input/oam-tools@master/src/msaicerr/ms_interface/single_op_test_frame/common/ascend_tbe_op.py 146 logger.log_info(f"self.dtype is None, MayBe bloat16, same size with float16") "bloat16" 应为 "bfloat16",拼写错误导致含义误解与检索困难 改为 "maybe bfloat16, same size with float16"
严重 拼写错误 oam-tools master input/oam-tools@master/src/msprof/collector/dvvp/acp/src/op_analyzer_base.cpp 31 MSPROF_LOGE("Failed to init Op analyzer freqency: %f ghz, get freq %s mhz.", frequency_, freq.c_str()); 日志单词拼错:"freqency" 应为 "frequency",影响阅读与检索 改为 "Failed to init Op analyzer frequency: %f ghz, get freq %s mhz."
严重 拼写错误 oam-tools master input/oam-tools@master/src/msprof/collector/dvvp/profimpl/collect/job_wrapper/src/prof_instr_perf_job.cpp 71 MSPROF_LOGI("Begin to start bui profile buffer, devId:%d, channelId:%d", devId, channelId); "bui" 拼写错误,应为 "biu"(Bus Interface Unit),与同文件其它 biu 相关命名不一致,影响日志阅读与关键字检索 改为 "Begin to start biu profile buffer, devId:%d, channelId:%d"
严重 拼写错误 oam-tools master input/oam-tools@master/test/ut/msprof/stub/hdc-log-stub.cpp 33 {DLOG_WARN, "WARING"}, 日志级别字符串 "WARING" 拼写错误,应为 "WARNING"。该字符串在 DlogRecord (第141行 printf("[%s]...", levelStr.c_str(), ...)) 中作为级别标签直接打印到日志,会导致按 WARNING 检索日志时无法匹配。 将 "WARING" 改为 "WARNING"。

严重级 规则 仓库 分支 文件 行号 代码 问题原因 修复建议
严重 拼写错误 oam-tools master input/oam-tools@master/cmake/download_libs.py 89 logging.info("Download file form %s failed: %s", url, e) 日志单词拼错:"form" 应为 "from",影响阅读与日志检索 改为 "Download file from %s failed: %s"
严重 拼写错误 oam-tools master input/oam-tools@master/src/msaicerr/ms_interface/single_op_test_frame/common/ascend_tbe_op.py 146 logger.log_info(f"self.dtype is None, MayBe bloat16, same size with float16") "bloat16" 应为 "bfloat16",拼写错误导致含义误解与检索困难 改为 "maybe bfloat16, same size with float16"
严重 拼写错误 oam-tools master input/oam-tools@master/src/msprof/collector/dvvp/acp/src/op_analyzer_base.cpp 31 MSPROF_LOGE("Failed to init Op analyzer freqency: %f ghz, get freq %s mhz.", frequency_, freq.c_str()); 日志单词拼错:"freqency" 应为 "frequency",影响阅读与检索 改为 "Failed to init Op analyzer frequency: %f ghz, get freq %s mhz."
严重 拼写错误 oam-tools master input/oam-tools@master/src/msprof/collector/dvvp/profimpl/collect/job_wrapper/src/prof_instr_perf_job.cpp 71 MSPROF_LOGI("Begin to start bui profile buffer, devId:%d, channelId:%d", devId, channelId); "bui" 拼写错误,应为 "biu"(Bus Interface Unit),与同文件其它 biu 相关命名不一致,影响日志阅读与关键字检索 改为 "Begin to start biu profile buffer, devId:%d, channelId:%d"
严重 拼写错误 oam-tools master input/oam-tools@master/test/ut/msprof/stub/hdc-log-stub.cpp 33 {DLOG_WARN, "WARING"}, 日志级别字符串 "WARING" 拼写错误,应为 "WARNING"。该字符串在 DlogRecord (第141行 printf("[%s]...", levelStr.c_str(), ...)) 中作为级别标签直接打印到日志,会导致按 WARNING 检索日志时无法匹配。 将 "WARING" 改为 "WARNING"。

Special notes for this issue/备注 (Optional / 选填)

likedislike
Jjinyingqi成员
8月5日 将 chenminghao11 设为负责人
jinyingqi成员
8月5日 评论:

✅ 此Issue为Msprof工具问题,分配给领域责任人 @chenminghao11,请及时处理。

建议您在24小时内反馈进展,在7天内闭环。
(类别:Bug)

likedislike
komorebi成员
8月5日 评论:

收到,预期在8.11号解决日志拼写问题。

likedislike
shinshin成员
8月6日 关联了pull request:fix: correct multiple typos in log messages
Jjinyingqi成员
8月10日 移除了负责人 chenminghao11
Jjinyingqi成员
8月10日 将 Feixinzhx 设为负责人
shinshin成员
8月10日 添加了label:resolved
shin
shin成员
8月10日 评论:

@Eddie3226 您好,问题已修复,关联PR #483

likedislike
CANN-robot
CANN-robot成员
8月17日 评论:

您好,当前Issue标记为resolved且有一段时间未进一步更新,因此我们将其标记为'stale'(闲置)状态。若您认为这是误操作,可通过添加任意评论来去除'stale'标签。标记为stale的Issue在14天内无更新活动将自动关闭。

likedislike
CANN-robotCANN-robot成员
8月17日 添加了label:stale
CANN-robotCANN-robot成员
8月31日 关闭了 issue