From a9f9e488f8a2558a6a2e56dc19f7a0f46b77ac79 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Fri, 6 Aug 2021 10:28:36 +0200 Subject: [PATCH] virgl/ci: Wait a bit before shutting the VM down Sometimes, the VM powered off before all the output from the guest got to the console. Signed-off-by: Tomeu Vizoso Reviewed-by: Gert Wollny Part-of: --- .gitlab-ci/crosvm-init.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci/crosvm-init.sh b/.gitlab-ci/crosvm-init.sh index d0fd342..63124fe 100755 --- a/.gitlab-ci/crosvm-init.sh +++ b/.gitlab-ci/crosvm-init.sh @@ -18,6 +18,8 @@ if sh $CROSVM_TEST_SCRIPT; then touch /results/success fi +sleep 5 # Leave some time to get the last output flushed out + poweroff -d -n -f || true sleep 10 # Just in case init would exit before the kernel shuts down the VM -- 2.7.4