[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH] automation: add a Dom0 PVH test based on Qubes' runner
From: Stefano Stabellini <stefano.stabellini@xxxxxxx> Straightforward Dom0 PVH test based on the existing basic Smoke test for the Qubes runner. Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxx> --- automation/gitlab-ci/test.yaml | 8 ++++++++ automation/scripts/qubes-x86-64.sh | 14 +++++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index 55ca0c27dc..9c0e08d456 100644 --- a/automation/gitlab-ci/test.yaml +++ b/automation/gitlab-ci/test.yaml @@ -149,6 +149,14 @@ adl-smoke-x86-64-gcc-debug: - *x86-64-test-needs - alpine-3.12-gcc-debug +adl-smoke-x86-64-dom0pvh-gcc-debug: + extends: .adl-x86-64 + script: + - ./automation/scripts/qubes-x86-64.sh dom0pvh 2>&1 | tee ${LOGFILE} + needs: + - *x86-64-test-needs + - alpine-3.12-gcc-debug + adl-suspend-x86-64-gcc-debug: extends: .adl-x86-64 script: diff --git a/automation/scripts/qubes-x86-64.sh b/automation/scripts/qubes-x86-64.sh index 056faf9e6d..35b9386e5d 100755 --- a/automation/scripts/qubes-x86-64.sh +++ b/automation/scripts/qubes-x86-64.sh @@ -5,6 +5,7 @@ set -ex test_variant=$1 ### defaults +dom0pvh= wait_and_wakeup= timeout=120 domU_config=' @@ -18,8 +19,8 @@ vif = [ "bridge=xenbr0", ] disk = [ ] ' -### test: smoke test -if [ -z "${test_variant}" ]; then +### test: smoke test & smoke test PVH +if [ -z "${test_variant}" ] || [ "${test_variant}" = "dom0pvh" ]; then passed="ping test passed" domU_check=" ifconfig eth0 192.168.0.2 @@ -36,6 +37,9 @@ done tail -n 100 /var/log/xen/console/guest-domU.log echo \"${passed}\" " +if [ "${test_variant}" = "dom0pvh" ]; then + dom0pvh="dom0=pvh" +fi ### test: S3 elif [ "${test_variant}" = "s3" ]; then @@ -184,11 +188,11 @@ cd .. TFTP=/scratch/gitlab-runner/tftp CONTROLLER=control@thor.testnet -echo ' -multiboot2 (http)/gitlab-ci/xen console=com1 com1=115200,8n1 loglvl=all guest_loglvl=all dom0_mem=4G +echo " +multiboot2 (http)/gitlab-ci/xen console=com1 com1=115200,8n1 loglvl=all guest_loglvl=all dom0_mem=4G $dom0pvh module2 (http)/gitlab-ci/vmlinuz console=hvc0 root=/dev/ram0 module2 (http)/gitlab-ci/initrd-dom0 -' > $TFTP/grub.cfg +" > $TFTP/grub.cfg cp -f binaries/xen $TFTP/xen cp -f binaries/bzImage $TFTP/vmlinuz -- 2.25.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |