From b86da01c54cab6016e460e50c9e7c2c8c0ca6360 Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Mon, 4 Oct 2021 13:15:21 -0700 Subject: [PATCH] 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: --- .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":