File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,16 @@ case_list[${#case_list[*]}]=gpt-3_dygraph
6464}
6565
6666print_info (){
67- # 解决异常退出-6的问题,CI中的偶现问题,无法发现
68- if [[ $1 -ne 0 ]] && [[ $1 -ne 250 ]]; then
67+ if [ $1 -eq 250 ]; then
68+ # 解决异常退出-6的问题,CI中的偶现问题,无法复现
69+ echo -e " \033[1;31m"
70+ echo -e " \033[1;31m The CI execution encountered an abnormal termination with error code exit -6. \033[0m"
71+ echo -e " \033[1;31m This is an intermittent issue. \033[0m"
72+ echo -e " \033[1;31m Please re-run the CI. \033[0m"
73+ echo -e " \033[1;31m"
74+ exit 2
75+ fi
76+ if [[ $1 -ne 0 ]]; then
6977 EXCODE=2
7078 if [ ! -f ${log_path} /$2 ]; then
7179 echo -e " \033[31m run $2 CI FAIL \033"
@@ -76,7 +84,7 @@ if [[ $1 -ne 0 ]] && [[ $1 -ne 250 ]];then
7684 fi
7785 exit $EXCODE
7886else
79- echo -e " \033[32m run $3 CI SUCCESS \033"
87+ echo -e " \033[32m The $3 CI has completed \033"
8088fi
8189}
8290
You can’t perform that action at this time.
0 commit comments