Mesa (main): virgl/ci: Wait a bit before shutting the VM down

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Aug 10 08:19:23 UTC 2021


Module: Mesa
Branch: main
Commit: a9f9e488f8a2558a6a2e56dc19f7a0f46b77ac79
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9f9e488f8a2558a6a2e56dc19f7a0f46b77ac79

Author: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Date:   Fri Aug  6 10:28:36 2021 +0200

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 <tomeu.vizoso at collabora.com>
Reviewed-by: Gert Wollny <gert.wollny at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12196>

---

 .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 d0fd3426cc4..63124fe0f2e 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



More information about the mesa-commit mailing list