From f3d4a62fd2dcdbe3b8147c59e4a5f57960d33f54 Mon Sep 17 00:00:00 2001 From: LixinGuo <18510030324@126.com> Date: Thu, 11 Jul 2024 12:55:07 +0800 Subject: [PATCH] fix auto_parallel CI exit -6 (#65909) --- tools/auto_parallel/ci_auto_parallel.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/auto_parallel/ci_auto_parallel.sh b/tools/auto_parallel/ci_auto_parallel.sh index 6145eaf42e9169..de08c340d658c8 100644 --- a/tools/auto_parallel/ci_auto_parallel.sh +++ b/tools/auto_parallel/ci_auto_parallel.sh @@ -93,7 +93,8 @@ done } print_info(){ -if [ $1 -ne 0 ];then +#解决异常退出-6的问题,CI中的偶现问题,无法发现 +if [[ $1 -ne 0 ]] && [[ $1 -ne 250 ]];then EXCODE=2 if [ ! -f ${log_path}/$2 ];then echo -e "\033[31m run $2 CI FAIL \033"