Mesa (main): ci/fastboot: Consistently restart the run on intermittent conditions.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 11 20:43:10 UTC 2021


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

Author: Emma Anholt <emma at anholt.net>
Date:   Thu Jun 10 13:48:45 2021 -0700

ci/fastboot: Consistently restart the run on intermittent conditions.

Not currently on my list of intermittent issues, but let's be
resilient hopefully.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11308>

---

 .gitlab-ci/bare-metal/fastboot_run.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci/bare-metal/fastboot_run.py b/.gitlab-ci/bare-metal/fastboot_run.py
index 5def91aa183..3e9662910a5 100755
--- a/.gitlab-ci/bare-metal/fastboot_run.py
+++ b/.gitlab-ci/bare-metal/fastboot_run.py
@@ -57,10 +57,11 @@ class FastbootRun:
                 break
 
             if re.search("data abort", line):
-                return 1
+                self.print_error("Detected crash during boot, restarting run...")
+                return 2
 
         if not fastboot_ready:
-            self.print_error("Failed to get to fastboot prompt")
+            self.print_error("Failed to get to fastboot prompt, restarting run...")
             return 2
 
         if self.logged_system(self.fastboot) != 0:



More information about the mesa-commit mailing list