Skip to content

Commit

Permalink
timeout: log trigger info
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
matttbe committed Dec 5, 2024
1 parent ebffbab commit 25ee2dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1355,9 +1355,10 @@ sysrq() {
}
SLEEP_TIME=\$((TEST_TIMEOUT - DUMP_SEC))
echo "Background timeout script, waiting for \${SLEEP_TIME} seconds, will trigger at \$(date -d+\${SLEEP_TIME}sec)"
sleep \${SLEEP_TIME}
echo
echo "Timeout (\${SLEEP_TIME}sec): getting more info"
echo "Timeout (after \${SLEEP_TIME}sec): getting more info"
sysrq 'w'
sysrq 'd'
sysrq 'l'
Expand Down

0 comments on commit 25ee2dc

Please sign in to comment.