From 25ee2dc7edaa410237925196bce0ab1f94ae1fb7 Mon Sep 17 00:00:00 2001 From: "Matthieu Baerts (NGI0)" Date: Thu, 5 Dec 2024 12:01:21 +0100 Subject: [PATCH] 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) --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 40d555f..95e585a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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'