aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2020-06-25 11:10:07 -0700
committerMarge Bot <eric+marge@anholt.net>2020-06-26 16:54:07 +0000
commit63805ccd3f0b26174d04bb49b04040e968ffb819 (patch)
treef3d13e97fdb1bec64dcbd95ca8f18622a5bbb2d3
parent189a0fecf54139cea128731fcc6ae00d46565cd4 (diff)
downloadexternal_mesa3d-63805ccd3f0b26174d04bb49b04040e968ffb819.tar.gz
external_mesa3d-63805ccd3f0b26174d04bb49b04040e968ffb819.tar.bz2
external_mesa3d-63805ccd3f0b26174d04bb49b04040e968ffb819.zip
ci/bare-metal: Fail early when we get stuck powering on a cheza.
I think I've seen about 3 of this error total so far, but waiting 60 minutes for the scripts to give up wastes marge time. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5651>
-rwxr-xr-x.gitlab-ci/bare-metal/cros-servo.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci/bare-metal/cros-servo.sh b/.gitlab-ci/bare-metal/cros-servo.sh
index 3fe92312599..6e0b365b061 100755
--- a/.gitlab-ci/bare-metal/cros-servo.sh
+++ b/.gitlab-ci/bare-metal/cros-servo.sh
@@ -83,7 +83,8 @@ $BM/write-serial.py $BM_SERIAL `printf '\016'`
# Wait for the device to complete the deqp run
$BM/expect-output.sh serial-output.txt \
-f "bare-metal result" \
- -e "---. end Kernel panic"
+ -e "---. end Kernel panic" \
+ -e "POWER_GOOD not seen in time"
# power down the CPU on the device
$BM/write-serial.py $BM_SERIAL_EC 'power off'