From d0ee5083b29928c511e1a3c7fe3e6eb2780f158e Mon Sep 17 00:00:00 2001 From: guoxuguang Date: Wed, 28 Aug 2024 16:22:15 +0200 Subject: [PATCH] virt_autotest: add ppc64le image to osd SL Micro6 Virt --- .../slem_ppc_slem_installation_virt.yaml | 12 ++++++++++++ .../virt_autotest/slem_ppc_slem_virtualization.yaml | 12 ++++++++++++ tests/qemu/qemu.pm | 3 ++- 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 schedule/virt_autotest/slem_ppc_slem_installation_virt.yaml create mode 100644 schedule/virt_autotest/slem_ppc_slem_virtualization.yaml diff --git a/schedule/virt_autotest/slem_ppc_slem_installation_virt.yaml b/schedule/virt_autotest/slem_ppc_slem_installation_virt.yaml new file mode 100644 index 000000000000..758738e204a0 --- /dev/null +++ b/schedule/virt_autotest/slem_ppc_slem_installation_virt.yaml @@ -0,0 +1,12 @@ +name: slem_installation_virt +description: > + Maintainer: xguo@suse.com, qe-virt@suse.de + Since HMC backend does not support PowerVM, we have to use FULL QEMU emulated environment without KVM for SL Micro6.1 Default ppc64le image +schedule: + - microos/disk_boot + - transactional/host_config + - console/suseconnect_scc + - qemu/info + - qemu/qemu + - console/journal_check + - shutdown/shutdown diff --git a/schedule/virt_autotest/slem_ppc_slem_virtualization.yaml b/schedule/virt_autotest/slem_ppc_slem_virtualization.yaml new file mode 100644 index 000000000000..94cc6f09d7f5 --- /dev/null +++ b/schedule/virt_autotest/slem_ppc_slem_virtualization.yaml @@ -0,0 +1,12 @@ +name: slem_virtualization +description: > + Maintainer: xguo@suse.com, qe-virt@suse.de + Since HMC backend does not support PowerVM, we have to use FULL QEMU emulated without KVM for SL Micro6.1 Default ppc64le image +schedule: + - microos/disk_boot + - transactional/host_config + - console/suseconnect_scc + - qemu/info + - qemu/qemu + - console/journal_check + - shutdown/shutdown diff --git a/tests/qemu/qemu.pm b/tests/qemu/qemu.pm index 94d847072d54..fcb715dfedb5 100644 --- a/tests/qemu/qemu.pm +++ b/tests/qemu/qemu.pm @@ -49,7 +49,8 @@ sub run { } elsif (is_ppc64le) { is_qemu_preinstalled or install_qemu('qemu-ppc'); - enter_cmd "qemu-system-ppc64 -nographic"; + record_soft_failure('workaround for bsc#1230042 - [SLM6.1][PPC64LE] Fail to start QEMU - qemu-system-ppc64'); + enter_cmd "qemu-system-ppc64 -vga none -nographic"; assert_screen ['qemu-open-firmware-ready', 'qemu-ppc64-no-trans-mem'], 60; if (match_has_tag 'qemu-ppc64-no-trans-mem') { # this should only happen on SLE12SP5