Skip to content

Commit 25ee2dc

Browse files
committed
timeout: log trigger info
It looks like we had a timeout issue again, but this new script didn't get more info. Print some info about the planned triggered time to make sure everything is OK, and the kernel is totally blocked. Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
1 parent ebffbab commit 25ee2dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

entrypoint.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -1355,9 +1355,10 @@ sysrq() {
13551355
}
13561356
13571357
SLEEP_TIME=\$((TEST_TIMEOUT - DUMP_SEC))
1358+
echo "Background timeout script, waiting for \${SLEEP_TIME} seconds, will trigger at \$(date -d+\${SLEEP_TIME}sec)"
13581359
sleep \${SLEEP_TIME}
13591360
echo
1360-
echo "Timeout (\${SLEEP_TIME}sec): getting more info"
1361+
echo "Timeout (after \${SLEEP_TIME}sec): getting more info"
13611362
sysrq 'w'
13621363
sysrq 'd'
13631364
sysrq 'l'

0 commit comments

Comments
 (0)