Mesa (main): ci/freedreno: Restart the run if cheza spontenously reboots.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Oct 4 22:41:10 UTC 2021


Module: Mesa
Branch: main
Commit: b86da01c54cab6016e460e50c9e7c2c8c0ca6360
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b86da01c54cab6016e460e50c9e7c2c8c0ca6360

Author: Emma Anholt <emma at anholt.net>
Date:   Mon Oct  4 13:15:21 2021 -0700

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>

---

 .gitlab-ci/bare-metal/cros_servo_run.py | 5 +++++
 1 file changed, 5 insertions(+)

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":



More information about the mesa-commit mailing list