ci/bare-metal: Fail early when we get stuck powering on a cheza.
authorEric Anholt <eric@anholt.net>
Thu, 25 Jun 2020 18:10:07 +0000 (11:10 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 26 Jun 2020 16:54:07 +0000 (16:54 +0000)
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>

.gitlab-ci/bare-metal/cros-servo.sh

index 3fe923125994ab45a4b97b3a2f697e4551871796..6e0b365b0619f09698683bc585aaaea0700d234d 100755 (executable)
@@ -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'