CI: increase verbosity of starting a domain

And start collecting qemu log earlier, so it isn't lost in case of a
timeout during domain startup.

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
(cherry picked from commit b8d41a9b22)
This commit is contained in:
Marek Marczykowski-Górecki authored and Andrew Cooper committed 2025-05-09 22:45:20 +01:00
1 parent e3d633390b
commit d0e99ffcae
5 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ bash /etc/init.d/xencommons start
xl list
xl create -c /root/test.cfg
xl -vvv create -c /root/test.cfg
" > etc/local.d/xen.start
chmod +x etc/local.d/xen.start
+1 -1
View File
@@ -21,7 +21,7 @@ echo "#!/bin/bash
xl list
xl create -c /root/test.cfg
xl -vvv create -c /root/test.cfg
" > ./root/xen.start
echo "bash /root/xen.start" >> ./etc/init.d/xen-watchdog
+1 -1
View File
@@ -52,7 +52,7 @@ bash /etc/init.d/xencommons start
xl list
xl create -c /root/test.cfg
xl -vvv create -c /root/test.cfg
" > etc/local.d/xen.start
chmod +x etc/local.d/xen.start
+2 -2
View File
@@ -122,7 +122,6 @@ echo \"${passed}\"
"
dom0_check="
tail -F /var/log/xen/qemu-dm-domU.log &
until grep -q \"^domU Welcome to Alpine Linux\" /var/log/xen/console/guest-domU.log; do
sleep 1
done
@@ -222,7 +221,8 @@ if [ -n "$domU_check" ]; then
echo "
# get domU console content into test log
tail -F /var/log/xen/console/guest-domU.log 2>/dev/null | sed -e \"s/^/(domU) /\" &
xl create /etc/xen/domU.cfg
tail -F /var/log/xen/qemu-dm-domU.log 2>/dev/null | sed -e \"s/^/(qemu-dm) /\" &
xl -vvv create /etc/xen/domU.cfg
${dom0_check}
" >> etc/local.d/xen.start
else
@@ -94,7 +94,7 @@ ifconfig xenbr0 192.168.0.1
# get domU console content into test log
tail -F /var/log/xen/console/guest-domU.log 2>/dev/null | sed -e \"s/^/(domU) /\" &
xl create /etc/xen/domU.cfg
xl -vvv create /etc/xen/domU.cfg
${DOM0_CMD}
" > etc/local.d/xen.start
chmod +x etc/local.d/xen.start
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.