From 8e974df445807bb4a3629ca51145c7d74ee85c8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 26 Apr 2023 02:16:16 +0200 Subject: [PATCH] automation: include tail of serial log in the gitlab outout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make it a bit easier to see what has failed. Signed-off-by: Marek Marczykowski-Górecki Acked-by: Stefano Stabellini --- automation/scripts/qubes-x86-64.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/automation/scripts/qubes-x86-64.sh b/automation/scripts/qubes-x86-64.sh index a01c571860..056faf9e6d 100755 --- a/automation/scripts/qubes-x86-64.sh +++ b/automation/scripts/qubes-x86-64.sh @@ -225,6 +225,9 @@ until grep "^Welcome to Alpine Linux" smoke.serial || [ $timeout -le 0 ]; do sleep 1; : $((--timeout)) done + +tail -n 100 smoke.serial + if [ $timeout -le 0 ]; then echo "ERROR: test timeout, aborting" exit 1