[CI] Remind re-run when auto_parallel CI exit -6 #69212
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Category
Auto Parallel
PR Types
Others
Description
自动并行 CI(
PR-CI-Auto-Parallel
)会出现随机的异常退出exit -6
问题,这是 CI 中的偶然问题,无法复现这会造成当前 case 后面的测试都不再执行,直接 case pass。这使得 CI 可能不能拦截到一些提交。
解决:当检测到测试
exit -6
时,自动 re-run 一次,如果exit -6
复现,跳过该测试,使用global_exit_250_arr
记录该测试名称,在CI结束后通过 log 提示用户,并不会造成 CI 失败CI 统计 test 执行情况的
track_case_status
函数存在运行失败 test 检测不到的 bug,有些 test 运行出错后并不会产生类似func_name_FAIL.log
的日志文件,因此,在通过日志名字统计失败 test 的方法存在 bug。现在通过全局变量 在execute_func_list
中记录每个 case 的执行结果,将每个失败测试名字通过数组记录,在 CI 结束的时候汇总输出PCard-87521