summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorEmma Anholt <emma@anholt.net>2021-10-04 13:15:21 -0700
committerMarge Bot <eric+marge@anholt.net>2021-10-04 22:15:27 +0000
commitb86da01c54cab6016e460e50c9e7c2c8c0ca6360 (patch)
tree872ec44a06e45afe4ec8519f245aef7560f58066 /.gitlab-ci
parent9d1d2d7e4358f1bbfdf67dfd7435d12bb931a656 (diff)
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>
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x.gitlab-ci/bare-metal/cros_servo_run.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci/bare-metal/cros_servo_run.py b/.gitlab-ci/bare-metal/cros_servo_run.py
index ecb6c460fcb..995e1121066 100755
--- a/.gitlab-ci/bare-metal/cros_servo_run.py
+++ b/.gitlab-ci/bare-metal/cros_servo_run.py
@@ -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":