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:"
319
323
cat $logDir/$failedJob.err
324
+
if [ "$failedJob"="hipo-check" ];then
325
+
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."
326
+
fi
320
327
done
321
328
if [ -z"$singleTimeline"-a${modes['focus-qa']}=false ];then
322
329
echo$sep
323
330
echo"To re-run only the failed timelines, for debugging, try one of the following commands:"
324
331
forfailedJobin${failedJobs[@]};do
325
332
if [ "$failedJob"="qa" ];then
326
333
echo"$0$@ --focus-qa"
334
+
elif [ "$failedJob"="hipo-check" ];then
335
+
echo"$0$@ --focus-timelines -t [BAD_TIMELINE]"
336
+
echo" where [BAD_TIMELINE] is any timeline that failed 'hipo-check'"
327
337
else
328
338
echo"$0$@ --focus-timelines -t $failedJob"
329
339
fi
330
340
done
331
341
fi
332
-
exit 100
342
+
somethingFailed=true
333
343
else
334
344
echo"All jobs exitted normally"
335
345
fi
336
346
337
347
# grep for suspicious things in error logs
338
348
errPattern="error:|exception:|warning"
339
-
echo"""To look for any quieter errors, running \`grep -iE '$errPattern'\` on *.err files:
349
+
echo"""Now scanning for any quieter errors, by running \`grep -iE '$errPattern'\` on *.err files:
340
350
$sep"""
341
351
grep -iE --color "$errPattern"$logDir/*.err ||echo"Good news: grep found no errors, but you still may want to take a look yourself..."
342
352
echo$sep
353
+
354
+
# exit nonzero if something failed
355
+
if$somethingFailed;then
356
+
printWarning "At least one job had issues; look above or in the log files to see what's wrong."
0 commit comments