You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
printError "job '$failedJob' returned non-zero exit code; error log dump:"
333
337
cat $logDir/$failedJob.err
338
+
if [ "$failedJob"="hipo-check" ];then
339
+
printWarning "These HIPO files are TIMELINE files; if this '$failedJob' job is the ONLY failed job, you may proceed with timeline deployment, but these failed timelines will not be deployed."
340
+
fi
334
341
done
335
342
if [ -z"$singleTimeline"-a${modes['focus-qa']}=false ];then
336
343
echo$sep
337
344
echo"To re-run only the failed timelines, for debugging, try one of the following commands:"
338
345
forfailedJobin${failedJobs[@]};do
339
346
if [ "$failedJob"="qa" ];then
340
347
echo"$0$@ --focus-qa"
348
+
elif [ "$failedJob"="hipo-check" ];then
349
+
echo"$0$@ --focus-timelines -t [BAD_TIMELINE]"
350
+
echo" where [BAD_TIMELINE] is any timeline that failed 'hipo-check'"
341
351
else
342
352
echo"$0$@ --focus-timelines -t $failedJob"
343
353
fi
344
354
done
345
355
fi
346
-
exit 100
356
+
somethingFailed=true
347
357
else
348
358
echo"All jobs exitted normally"
349
359
fi
350
360
351
361
# grep for suspicious things in error logs
352
362
errPattern="error:|exception:|warning"
353
-
echo"""To look for any quieter errors, running \`grep -iE '$errPattern'\` on *.err files:
363
+
echo"""Now scanning for any quieter errors, by running \`grep -iE '$errPattern'\` on *.err files:
354
364
$sep"""
355
365
grep -iE --color "$errPattern"$logDir/*.err ||echo"Good news: grep found no errors, but you still may want to take a look yourself..."
356
366
echo$sep
367
+
368
+
# exit nonzero if something failed
369
+
if$somethingFailed;then
370
+
printWarning "At least one job had issues; look above or in the log files to see what's wrong."
0 commit comments