diff options
author | Eric Anholt <eric@anholt.net> | 2020-10-01 15:16:02 -0700 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-10-02 02:41:37 +0000 |
commit | e3c7748b2e2c75e2a7d678333f175f179249dc4a (patch) | |
tree | e263cfd825034a8ae9e2adf45fdaafa2fad37ae4 | |
parent | 98bb74b67dfcac6b946246e110c953effc541be0 (diff) |
ci/bare-metal: Move the "POWER_GOOD not seen in time" check to the right time.
The poweron failure happens before we get to the bootloader
("load_archive: loading locale_en.bin") not after we're trying to boot the
kernel and we're waiting for the deqp run to complete.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6970>
-rwxr-xr-x | .gitlab-ci/bare-metal/cros_servo_run.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.gitlab-ci/bare-metal/cros_servo_run.py b/.gitlab-ci/bare-metal/cros_servo_run.py index 6d7f601e059..260a39e5621 100755 --- a/.gitlab-ci/bare-metal/cros_servo_run.py +++ b/.gitlab-ci/bare-metal/cros_servo_run.py @@ -87,11 +87,6 @@ class CrosServoRun: self.cpu_write("\016") break - tftp_failures = 0 - for line in self.serial_queue_lines(): - if re.search("---. end Kernel panic", line): - return 1 - # The Cheza boards have issues with failing to bring up power to # the system sometimes, possibly dependent on ambient temperature # in the farm. @@ -99,6 +94,11 @@ class CrosServoRun: print("Detected intermittent poweron failure, restarting run...") return 2 + tftp_failures = 0 + for line in self.serial_queue_lines(): + if re.search("---. end Kernel panic", line): + return 1 + # The Cheza firmware seems to occasionally get stuck looping in # this error state during TFTP booting, possibly based on amount of # network traffic around it, but it'll usually recover after a |