From 052813b1d23b0d148da1c39f2b7e4aacdba06bca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 6 Oct 2023 04:05:16 +0200 Subject: [PATCH] automation: hide timeout countdown in log MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit grep+sleep message every 1s makes job log unnecessary hard to read. Signed-off-by: Marek Marczykowski-Górecki Acked-by: Stefano Stabellini Acked-by: Andrew Cooper Release-acked-by: Henry Wang --- automation/scripts/qubes-x86-64.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/automation/scripts/qubes-x86-64.sh b/automation/scripts/qubes-x86-64.sh index 1e84e40a4a..cfe9247a26 100755 --- a/automation/scripts/qubes-x86-64.sh +++ b/automation/scripts/qubes-x86-64.sh @@ -30,9 +30,11 @@ done echo \"${passed}\" " dom0_check=" +set +x until grep -q \"${passed}\" /var/log/xen/console/guest-domU.log; do sleep 1 done +set -x echo \"${passed}\" " if [ "${test_variant}" = "dom0pvh" ]; then @@ -222,10 +224,12 @@ if [ -n "$wait_and_wakeup" ]; then ssh $CONTROLLER wake fi +set +x until grep "^Welcome to Alpine Linux" smoke.serial || [ $timeout -le 0 ]; do sleep 1; : $((--timeout)) done +set -x tail -n 100 smoke.serial -- 2.39.5