diff options
author | Eric Anholt <eric@anholt.net> | 2023-10-18 15:25:44 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-10-19 07:42:15 +0000 |
commit | 97b2afa16aeeceff53fb43f657d4bfb8928682b1 (patch) | |
tree | 56704cde840987674e5497043411d61e5ec2dd0e /.gitlab-ci | |
parent | e2e3e4cbf3bf1865e1e80013046f8379cf8beaa7 (diff) | |
download | mesa-97b2afa16aeeceff53fb43f657d4bfb8928682b1.tar.gz mesa-97b2afa16aeeceff53fb43f657d4bfb8928682b1.tar.bz2 mesa-97b2afa16aeeceff53fb43f657d4bfb8928682b1.zip |
ci/bare-metal: Drop the 2 vs 1 exit code from poe_run.
This exit code was used for the intra-job retries on the other bare-metal
run scripts, but poe_run doesn't do that.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25790>
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x | .gitlab-ci/bare-metal/poe_run.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.gitlab-ci/bare-metal/poe_run.py b/.gitlab-ci/bare-metal/poe_run.py index 59b9d32b405..88948863b30 100755 --- a/.gitlab-ci/bare-metal/poe_run.py +++ b/.gitlab-ci/bare-metal/poe_run.py @@ -59,7 +59,7 @@ class PoERun: if not boot_detected: self.print_error( "Something wrong; couldn't detect the boot start up sequence") - return 2 + return 1 for line in self.ser.lines(timeout=self.test_timeout, phase="test"): if re.search("---. end Kernel panic", line): @@ -71,13 +71,13 @@ class PoERun: return 1 if re.search("nouveau 57000000.gpu: bus: MMIO read of 00000000 FAULT at 137000", line): - self.print_error("nouveau jetson boot bug, retrying.") - return 2 + self.print_error("nouveau jetson boot bug, abandoning run.") + return 1 # network fail on tk1 if re.search("NETDEV WATCHDOG:.* transmit queue 0 timed out", line): - self.print_error("nouveau jetson tk1 network fail, retrying.") - return 2 + self.print_error("nouveau jetson tk1 network fail, abandoning run.") + return 1 result = re.search("hwci: mesa: (\S*)", line) if result: @@ -88,7 +88,7 @@ class PoERun: self.print_error( "Reached the end of the CPU serial log without finding a result") - return 2 + return 1 def main(): |