ci/bare-metal: Terminate the job with an error on kernel panic.
Otherwise, we'll time out after 60 minutes of waiting for the run to complete. Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2651 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5393>
This commit is contained in:
parent
72fe7b98ea
commit
32143cba4d
|
@ -81,7 +81,9 @@ $BM/expect-output.sh serial-output.txt -f "load_archive: loading locale_en.bin"
|
|||
$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"
|
||||
$BM/expect-output.sh serial-output.txt \
|
||||
-f "bare-metal result" \
|
||||
-e "---. end Kernel panic"
|
||||
|
||||
# power down the CPU on the device
|
||||
$BM/write-serial.py $BM_SERIAL_EC 'power off'
|
||||
|
|
|
@ -95,7 +95,9 @@ $BM/expect-output.sh artifacts/serial-output.txt \
|
|||
fastboot boot -s $BM_FASTBOOT_SERIAL artifacts/fastboot.img
|
||||
|
||||
# Wait for the device to complete the deqp run
|
||||
$BM/expect-output.sh artifacts/serial-output.txt -f "bare-metal result"
|
||||
$BM/expect-output.sh artifacts/serial-output.txt \
|
||||
-f "bare-metal result" \
|
||||
-e "---. end Kernel panic"
|
||||
|
||||
# power down the device
|
||||
PATH=$BM:$PATH $BM_POWERDOWN
|
||||
|
|
Loading…
Reference in New Issue