automation: include tail of serial log in the gitlab outout

Make it a bit easier to see what has failed.

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Marek Marczykowski-Górecki authored and Andrew Cooper committed 2023-04-27 21:48:12 +01:00
1 parent 3822b16a17
commit 8e974df445
1 file changed
+3
+3
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.