@@ -171,6 +171,13 @@ function show_ut_retry_result() {
171
171
fi
172
172
if [[ " $is_retry_execute " != " 0" ]] && [[ " ${exec_times} " == " 0" ]] ; then
173
173
failed_test_lists_ult=` echo " ${failed_test_lists} " | grep -Po ' [^ ].*$' `
174
+
175
+ echo " -------failed_test_lists-------0000000000000000000000000000000000000000000000000000000000000"
176
+ echo " ${failed_test_lists} "
177
+ echo " -------failed_test_lists_ult-------"
178
+ echo " ${failed_test_lists_ult} "
179
+
180
+
174
181
echo " ========================================="
175
182
echo " There are more than ${exec_retry_threshold_count} failed unit tests in parallel test, so no unit test retry!!!"
176
183
echo " ========================================="
@@ -179,6 +186,14 @@ function show_ut_retry_result() {
179
186
exit 8;
180
187
elif [[ " $is_retry_execute " != " 0" ]] && [[ " ${exec_times} " == " 1" ]]; then
181
188
failed_test_lists_ult=` echo " ${failed_test_lists} " | grep -Po ' [^ ].*$' `
189
+
190
+ echo " -------failed_test_lists-------1111111111111111111111111111111111111111111111111111111111111"
191
+ echo " ${failed_test_lists} "
192
+ echo " -------failed_test_lists_ult-------"
193
+ echo " ${failed_test_lists_ult} "
194
+ echo " ----------------------------------------"
195
+
196
+
182
197
echo " ========================================="
183
198
echo " There are more than 10 failed unit tests, so no unit test retry!!!"
184
199
echo " ========================================="
@@ -187,10 +202,25 @@ function show_ut_retry_result() {
187
202
exit 8;
188
203
else
189
204
retry_unittests_ut_name=$( echo " $retry_unittests_record " | grep -oEi " \-.+\(" | sed ' s/(//' | sed ' s/- //' )
205
+
206
+ echo " -------retry_unittests_record---------------------------------------------------------------------"
207
+ echo " ${retry_unittests_record} "
208
+ echo " -------retry_unittests_ut_name-------"
209
+ echo " ${retry_unittests_ut_name} "
210
+ echo " ----------------------------------------"
211
+
190
212
if [ " $SYSTEM " == " Darwin" ]; then
191
213
retry_unittests_record_judge=$( echo ${retry_unittests_ut_name} | tr ' ' ' \n' | sort | uniq -c | awk ' {if ($1 >=3) {print $2}}' )
192
214
else
193
215
retry_unittests_record_judge=$( echo ${retry_unittests_ut_name} | tr ' ' ' \n' | sort | uniq -c | awk ' {if ($1 >=2) {print $2}}' )
216
+
217
+ echo " -------retry_unittests_ut_name----------------------------------------------------------------"
218
+ echo " ${retry_unittests_ut_name} "
219
+ echo " -------retry_unittests_record_judge-------"
220
+ echo " ${retry_unittests_record_judge} "
221
+ echo " ----------------------------------------"
222
+
223
+
194
224
fi
195
225
if [ -z " ${retry_unittests_record_judge} " ]; then
196
226
echo " ========================================"
@@ -200,6 +230,11 @@ function show_ut_retry_result() {
200
230
echo " ${retry_unittests_record} "
201
231
else
202
232
failed_ut_re=$( echo " ${retry_unittests_record_judge} " | awk BEGIN{RS=EOF}' {gsub(/\n/,"|");print}' )
233
+
234
+ echo " -------failed_ut_re----------------------------------------------------------------"
235
+ echo " ${failed_ut_re} "
236
+ echo " -----------------------------------------------------------------------"
237
+
203
238
echo -e " ${RED} ========================================${NONE} "
204
239
echo -e " ${RED} There are failed tests, which have been executed re-run,but success rate is less than 50%:${NONE} "
205
240
echo -e " ${RED} Summary Failed Tests... ${NONE} "
0 commit comments