From 97b2afa16aeeceff53fb43f657d4bfb8928682b1 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 18 Oct 2023 15:25:44 +0200 Subject: [PATCH] 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: --- .gitlab-ci/bare-metal/poe_run.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci/bare-metal/poe_run.py b/.gitlab-ci/bare-metal/poe_run.py index 59b9d32..8894886 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(): -- 2.7.4