projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
716ba29
)
virgl/ci: Wait a bit before shutting the VM down
author
Tomeu Vizoso
<tomeu.vizoso@collabora.com>
Fri, 6 Aug 2021 08:28:36 +0000
(10:28 +0200)
committer
Tomeu Vizoso
<tomeu.vizoso@collabora.com>
Tue, 10 Aug 2021 07:49:35 +0000
(09:49 +0200)
Sometimes, the VM powered off before all the output from the guest got
to the console.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12196>
.gitlab-ci/crosvm-init.sh
patch
|
blob
|
history
diff --git
a/.gitlab-ci/crosvm-init.sh
b/.gitlab-ci/crosvm-init.sh
index
d0fd342
..
63124fe
100755
(executable)
--- 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