已合并
Add error types for failed test cases. #11017
yuhaiyan8创建于 2024年4月8日
Add error types for failed test cases. #11017
已合并
yuhaiyan8创建于 2024年4月8日
refs/pull/11017/head合入到master
yuhaiyan8
2024年4月8日

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/kind bug
/kind task
/kind feature

What does this PR do / why do we need it:
Add error types for failed test cases.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewers:

likedislike
Pull Request已成功合入, 合并人@
(感谢 yuhaiyan8 的贡献)
AAtomGit-Bot
2024年4月8日 添加了 &nbsp; ascend-cla/yes 标签
yuhaiyan8
2024年4月8日 评论:

compile

likedislike
atlasaccount1
atlasaccount1
2024年4月8日 评论:

流水线任务触发成功,正在执行,请稍候。 任务链接[8da52fdc46524c2096d568ccb1b66ac2]

likedislike
atlasaccount1atlasaccount1
2024年4月8日 添加了 &nbsp; ci-pipeline-running 标签
atlasaccount1
atlasaccount1
2024年4月8日 评论:


SCA扫描: success

# check type result report
1 sca success >>>

likedislike
atlasaccount1
atlasaccount1
2024年4月8日 评论:


静态检查: pass

# check type result report
1 codecheck pass >>>

likedislike
atlasaccount1atlasaccount1
2024年4月8日 移除了 &nbsp; ci-pipeline-running 标签
atlasaccount1atlasaccount1
2024年4月8日 添加了 &nbsp; ci-pipeline-failed 标签
yuhaiyan8
2024年4月8日 评论:

compile

likedislike
atlasaccount1
atlasaccount1
2024年4月8日 评论:

流水线任务触发成功,正在执行,请稍候。 任务链接[a937e441183542bebf3f87120d590e74]

likedislike
atlasaccount1atlasaccount1
2024年4月8日 移除了 &nbsp; ci-pipeline-failed 标签
atlasaccount1atlasaccount1
2024年4月8日 添加了 &nbsp; ci-pipeline-running 标签
Yyuhaiyan8
2024年4月8日 推送了代码
Yyuhaiyan8
2024年4月8日 强制推送 了代码
atlasaccount1
atlasaccount1
2024年4月8日 评论:


SCA扫描: success

# check type result report
1 sca success >>>

likedislike
atlasaccount1
atlasaccount1
2024年4月8日 评论:


静态检查: pass

# check type result report
1 codecheck pass >>>

likedislike
atlasaccount1atlasaccount1
2024年4月8日 移除了 &nbsp; ci-pipeline-running 标签
atlasaccount1atlasaccount1
2024年4月8日 添加了 &nbsp; ci-pipeline-passed 标签
misty-rain-typhoid2024年4月9日进行代码检视1
test/unsupported_test_cases/error_type.json
@@ -4,5 +4,6 @@
44 "MEMORY": "memory error",
55 "NOT_SUPPORT": "feature or operators cannot be supported",
66 "HCCL": "hccl error",
7+ "ERROR_MSG_UNMATCH": "the RuntimeError string does not match",
misty-rain-typhoid2024年4月9日评论:

其他几个都是首字母大写,这个保持一致比较好

likedislike
yuhaiyan82024年4月9日进行代码检视1
test/unsupported_test_cases/error_type.json
@@ -4,5 +4,6 @@
44 "MEMORY": "memory error",
55 "NOT_SUPPORT": "feature or operators cannot be supported",
66 "HCCL": "hccl error",
7+ "ERROR_MSG_UNMATCH": "the RuntimeError string does not match",
yuhaiyan82024年4月9日评论:

其他几个都是首字母大写,这个保持一致比较好

好的

likedislike
yuhaiyan8
2024年4月9日 评论:

compile

likedislike
atlasaccount1
atlasaccount1
2024年4月9日 评论:

流水线任务触发成功,正在执行,请稍候。 任务链接[30de38176e6349fe9bb70d1b89923979]

likedislike
atlasaccount1atlasaccount1
2024年4月9日 移除了 &nbsp; ci-pipeline-passed 标签
atlasaccount1atlasaccount1
2024年4月9日 添加了 &nbsp; ci-pipeline-running 标签
Yyuhaiyan8
2024年4月9日 推送了代码
Yyuhaiyan8
2024年4月9日 强制推送 了代码
atlasaccount1
atlasaccount1
2024年4月9日 评论:


SCA扫描: success

# check type result report
1 sca success >>>

likedislike
atlasaccount1
atlasaccount1
2024年4月9日 评论:


静态检查: pass

# check type result report
1 codecheck pass >>>

likedislike
atlasaccount1atlasaccount1
2024年4月9日 移除了 &nbsp; ci-pipeline-running 标签
atlasaccount1atlasaccount1
2024年4月9日 添加了 &nbsp; ci-pipeline-passed 标签
dilililiwhy12024年4月11日进行代码检视1
test/unsupported_test_cases/error_type.json
@@ -4,5 +4,6 @@
44 "MEMORY": "memory error",
55 "NOT_SUPPORT": "feature or operators cannot be supported",
66 "HCCL": "hccl error",
7+ "ERROR_MSG_UNMATCH": "the RuntimeError string does not match",
dilililiwhy12024年4月11日评论:

这里直接复用方法名和其他类型不是放在一起不是很符合逻辑,可以换个描述,比如ERROR_MSG_UNMATCH?

likedislike
yuhaiyan82024年4月11日进行代码检视1
test/unsupported_test_cases/error_type.json
@@ -4,5 +4,6 @@
44 "MEMORY": "memory error",
55 "NOT_SUPPORT": "feature or operators cannot be supported",
66 "HCCL": "hccl error",
7+ "ERROR_MSG_UNMATCH": "the RuntimeError string does not match",
yuhaiyan82024年4月11日评论:

这里直接复用方法名和其他类型不是放在一起不是很符合逻辑,可以换个描述,比如ERROR_MSG_UNMATCH?

好的,已修改

likedislike
yuhaiyan8
2024年4月11日 评论:

compile

likedislike
atlasaccount1
atlasaccount1
2024年4月11日 评论:

流水线任务触发成功,正在执行,请稍候。 任务链接[d56e511d299b42909bdb2ee24522ee2a]

likedislike
atlasaccount1atlasaccount1
2024年4月11日 移除了 &nbsp; ci-pipeline-passed 标签
atlasaccount1atlasaccount1
2024年4月11日 添加了 &nbsp; ci-pipeline-running 标签
Yyuhaiyan8
2024年4月11日 推送了代码
Yyuhaiyan8
2024年4月11日 强制推送 了代码
atlasaccount1
atlasaccount1
2024年4月11日 评论:


SCA扫描: success

# check type result report
1 sca success >>>

likedislike
atlasaccount1
atlasaccount1
2024年4月11日 评论:


静态检查: pass

# check type result report
1 codecheck pass >>>

likedislike
atlasaccount1atlasaccount1
2024年4月11日 移除了 &nbsp; ci-pipeline-running 标签
atlasaccount1atlasaccount1
2024年4月11日 添加了 &nbsp; ci-pipeline-passed 标签
dilililiwhy1
2024年4月15日 评论:

/approve

likedislike
AAtomGit-Bot
2024年4月15日 添加了 &nbsp; lgtm 标签
AAtomGit-Bot
2024年4月15日 添加了 &nbsp; approved 标签
AAtomGit-Bot
2024年4月15日 合并了Pull Request(通过 API 合并)