Skip to content

Commit 3a0ff62

Browse files
committed
Merge tag 'pull-request-2025-03-27' of https://gitlab.com/thuth/qemu into staging
* Make some functional tests more robust * Fix a typo in the s390x code # -----BEGIN PGP SIGNATURE----- # # iQJFBAABCAAvFiEEJ7iIR+7gJQEY8+q5LtnXdP5wLbUFAmflBdQRHHRodXRoQHJl # ZGhhdC5jb20ACgkQLtnXdP5wLbVE8Q//RRi0ufAhOd9YfPYqteLvJDDl27rDMmsr # Q0laGYe3ylyUQi9ALglUvfaKNRzJahURwNUqMTyGbTDh/JciQ2mgfYOu7+RsUrBp # fw5HlGIYJt4p/m5MqiqqiJbQ1LMuEehs93WsywhXdrZ5dLrdeWytkddVd/wj9VG4 # EDYizESc1/8Gl6qOM5ZHa7nMs8KD9SnCrzhXFO2m6sPc9hsAJYfU0NJTPBQ/VDd7 # AyFq43fGNdmHbnERueSJa2CeVfIvoHwSMbVvTkBVdKm2N+09q8ZxqUcj7d5Ziz7f # Dehn1DvbY3TTR7fR2PPx9EWdDkJ+s8LmJiO1/KsyQC502wCVgzucQxiuTBVs2wG3 # hnkTQ90DcuCAS7ci/1PisdvJSiEiwAV2YlkEWyTmrCCZzjafzARkc8g8QZhuYCSQ # giz0yMpCla9zI9T/O5NMSsOWDBhy0iNeGwMH8+rDvFraX5a1w2tRTyCa00VWItxb # rRGcEa8fizEB0eX4lpSjOgY9lkzXhUseS/sQoRlI+hNc0ZqSI6CjeiDemFIIEBTd # OllPnvhRG7JMdqmDcQXys7uxc/1D9ZNM92P9BhR3VZswNW7O0hy/qfrgDxHkhPIN # /CrqYgvmeqc1BIcPLIEQzd9nTgpOkggptR+WFGl4VQsDSPOtji9iBzOdsIhSVZlb # eK0gOrb4Vks= # =2v5a # -----END PGP SIGNATURE----- # gpg: Signature made Thu 27 Mar 2025 04:01:24 EDT # gpg: using RSA key 27B88847EEE0250118F3EAB92ED9D774FE702DB5 # gpg: issuer "[email protected]" # gpg: Good signature from "Thomas Huth <[email protected]>" [full] # gpg: aka "Thomas Huth <[email protected]>" [full] # gpg: aka "Thomas Huth <[email protected]>" [full] # gpg: aka "Thomas Huth <[email protected]>" [unknown] # Primary key fingerprint: 27B8 8847 EEE0 2501 18F3 EAB9 2ED9 D774 FE70 2DB5 * tag 'pull-request-2025-03-27' of https://gitlab.com/thuth/qemu: tests/functional/test_vnc: Skip test if VNC support is not available tests/functional/test_aarch64_virt_gpu: Skip if "dbus" display isn't available target/s390x: Fix a typo in s390_cpu_class_init() tests/functional: Add missing require_netdev('user') statements tests/functional/meson.build: Bump arm_aspeed_bletchley timeout tests/functional/test_ppc64_replay: Mark the e500 test as flaky Signed-off-by: Stefan Hajnoczi <[email protected]>
2 parents b876e72 + 5a8d024 commit 3a0ff62

13 files changed

+45
-9
lines changed

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ S: Maintained
10181018
F: hw/arm/virt*
10191019
F: include/hw/arm/virt.h
10201020
F: docs/system/arm/virt.rst
1021-
F: tests/functional/test_aarch64_virt.py
1021+
F: tests/functional/test_aarch64_virt*.py
10221022
F: tests/functional/test_aarch64_tuxrun.py
10231023
F: tests/functional/test_arm_tuxrun.py
10241024

target/s390x/cpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ static void s390_cpu_class_init(ObjectClass *oc, void *data)
377377
resettable_class_set_parent_phases(rc, NULL, s390_cpu_reset_hold, NULL,
378378
&scc->parent_phases);
379379

380-
cc->class_by_name = s390_cpu_class_by_name,
380+
cc->class_by_name = s390_cpu_class_by_name;
381381
cc->mmu_index = s390x_cpu_mmu_index;
382382
cc->dump_state = s390_cpu_dump_state;
383383
cc->query_cpu_fast = s390_query_cpu_fast;

tests/functional/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ test_timeouts = {
2626
'arm_aspeed_witherspoon' : 120,
2727
'arm_aspeed_ast2500' : 720,
2828
'arm_aspeed_ast2600' : 1200,
29-
'arm_aspeed_bletchley' : 120,
29+
'arm_aspeed_bletchley' : 480,
3030
'arm_aspeed_rainier' : 480,
3131
'arm_bpim2u' : 500,
3232
'arm_collie' : 180,

tests/functional/test_aarch64_rme_sbsaref.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class Aarch64RMESbsaRefMachine(QemuSystemTest):
3333
def test_aarch64_rme_sbsaref(self):
3434
self.set_machine('sbsa-ref')
3535
self.require_accelerator('tcg')
36+
self.require_netdev('user')
3637

3738
self.vm.set_console()
3839

tests/functional/test_aarch64_rme_virt.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,10 @@ class Aarch64RMEVirtMachine(QemuSystemTest):
6060
# and launching a nested VM using it.
6161
def test_aarch64_rme_virt(self):
6262
self.set_machine('virt')
63-
self.vm.set_console()
6463
self.require_accelerator('tcg')
64+
self.require_netdev('user')
65+
66+
self.vm.set_console()
6567

6668
stack_path_tar_gz = self.ASSET_RME_STACK_VIRT.fetch()
6769
self.archive_extract(stack_path_tar_gz, format="tar")

tests/functional/test_aarch64_virt_gpu.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ def _launch_virt_gpu(self, gpu_device):
7474
self.skipTest("Can't access host DRM render node")
7575
elif "'type' does not accept value 'egl-headless'" in excp.output:
7676
self.skipTest("egl-headless support is not available")
77+
elif "'type' does not accept value 'dbus'" in excp.output:
78+
self.skipTest("dbus display support is not available")
7779
else:
7880
self.log.info("unhandled launch failure: %s", excp.output)
7981
raise excp

tests/functional/test_arm_bpim2u.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ def test_arm_bpim2u_gmac(self):
140140
@skipBigDataTest()
141141
def test_arm_bpim2u_openwrt_22_03_3(self):
142142
self.set_machine('bpim2u')
143+
self.require_netdev('user')
144+
143145
# This test download a 8.9 MiB compressed image and expand it
144146
# to 127 MiB.
145147
image_path = self.uncompress(self.ASSET_SD_IMAGE)

tests/functional/test_arm_cubieboard.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ def test_arm_cubieboard_openwrt_22_03_2(self):
107107
# This test download a 7.5 MiB compressed image and expand it
108108
# to 126 MiB.
109109
self.set_machine('cubieboard')
110+
self.require_netdev('user')
111+
110112
image_path = self.uncompress(self.ASSET_OPENWRT)
111113
image_pow2ceil_expand(image_path)
112114

tests/functional/test_arm_orangepi.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ def test_arm_orangepi_sd(self):
147147
@skipBigDataTest()
148148
def test_arm_orangepi_armbian(self):
149149
self.set_machine('orangepi-pc')
150+
self.require_netdev('user')
151+
150152
# This test download a 275 MiB compressed image and expand it
151153
# to 1036 MiB, but the underlying filesystem is 1552 MiB...
152154
# As we expand it to 2 GiB we are safe.
@@ -181,6 +183,8 @@ def test_arm_orangepi_armbian(self):
181183
@skipBigDataTest()
182184
def test_arm_orangepi_uboot_netbsd9(self):
183185
self.set_machine('orangepi-pc')
186+
self.require_netdev('user')
187+
184188
# This test download a 304MB compressed image and expand it to 2GB
185189
# We use the common OrangePi PC 'plus' build of U-Boot for our secondary
186190
# program loader (SPL). We will then set the path to the more specific

tests/functional/test_ppc64_hv.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ def do_test_kvm(self, hpt=False):
125125

126126
def test_hv_pseries(self):
127127
self.require_accelerator("tcg")
128+
self.require_netdev('user')
128129
self.set_machine('pseries')
129130
self.vm.add_args("-accel", "tcg,thread=multi")
130131
self.vm.add_args('-device', 'nvme,serial=1234,drive=drive0')
@@ -136,6 +137,7 @@ def test_hv_pseries(self):
136137

137138
def test_hv_pseries_kvm(self):
138139
self.require_accelerator("kvm")
140+
self.require_netdev('user')
139141
self.set_machine('pseries')
140142
self.vm.add_args("-accel", "kvm")
141143
self.vm.add_args('-device', 'nvme,serial=1234,drive=drive0')
@@ -147,6 +149,7 @@ def test_hv_pseries_kvm(self):
147149

148150
def test_hv_powernv(self):
149151
self.require_accelerator("tcg")
152+
self.require_netdev('user')
150153
self.set_machine('powernv')
151154
self.vm.add_args("-accel", "tcg,thread=multi")
152155
self.vm.add_args('-device', 'nvme,bus=pcie.2,addr=0x0,serial=1234,drive=drive0',

0 commit comments

Comments
 (0)