ci/freedreno: Restart the run if cheza spontenously reboots.

Occasionally (once every couple weeks?) a cheza reboots mid run, around a
GPU fault.  Detect that and do an internal retry instead of failing out
the job.

Closes: #5388
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13181>
This commit is contained in:
Emma Anholt 2021-10-04 13:15:21 -07:00 committed by Marge Bot
parent 9d1d2d7e43
commit b86da01c54
1 changed files with 5 additions and 0 deletions

View File

@ -145,6 +145,11 @@ class CrosServoRun:
self.print_error("Detected cheza power management bus error, restarting run...")
return 2
if re.search("coreboot.*bootblock starting", line):
self.print_error(
"Detected spontaneous reboot, restarting run...")
return 2
result = re.search("hwci: mesa: (\S*)", line)
if result:
if result.group(1) == "pass":