Fix auto parallel CI exit -6 #9460
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 types
Function optimization
PR changes
Others
Description
export_env和cd run/path,现在转移到每个ci_case_*.dy的入口处llama_case_list_auto和restore_llama_case_list_auto_func,现在将两个函数合在一起,通过传参数执行不同的逻辑, Paddle CI 通过exec_case参数执行旧逻辑,PaddleNLP CI 通过prepare_case参数执行新逻辑track_case_status函数存在运行失败 test 检测不到的 bug,有些 test 运行出错后并不会产生类似func_name_FAIL.log的日志文件,因此,在通过日志名字统计失败 test 的方法存在 bug。现在通过全局变量 在execute_func_list中记录每个 case 的执行结果,将每个失败测试名字通过数组记录,在 CI 结束的时候汇总输出