iotests: bypass s390x for case 200
PATCH 1/1 iotests: bypass s390x for case 200
In s390x, the case 200 failed as:
=== Starting QEMU VM ===
+QEMU_PROG: boot menu is not supported for this device type.
{"return": {}}
=== Sending stream/cancel, checking for SIGSEGV only ===
Failures: 200
Failed 1 of 1 tests
It was caused by the command which isn't supported by s390x now:
qemu-system-s390x -device pci-bridge,id=bridge1,chassis_nr=1,bus=pci.0 -object iothread,id=iothread0 -device virtio-scsi-pci,bus=bridge1,addr=0x1f,id=scsi0,iothread=iothread0 -drive file=.../scratch/test.img,media=disk,if=none,cache=writeback,id=drive_sysdisk,format=qcow2 -device scsi-hd,drive=drive_sysdisk,bus=scsi0.0,id=sysdisk,bootindex=0 -nographic
--- tests/qemu-iotests/200 | 4 ++++ 1 file changed, 4 insertions(+)
tests/qemu-iotests/200 +4 -0
@@ -45,6 +45,10 @@ _supported_fmt qcow2 qed _supported_proto file _supported_os Linux +if [ "$QEMU_DEFAULT_MACHINE" != "pc" ]; then + _notrun "Requires a PC machine" +fi + BACKING_IMG="${TEST_DIR}/backing.img" TEST_IMG="${TEST_DIR}/test.img"
Signature · 1 line
2.13.5
Nack. This will be fixed by
s390/ipl: only print boot menu error if -boot menu=on was specified
Quoted 33 lines · QingFeng Hao
In s390x, the case 200 failed as:
=== Starting QEMU VM ===+QEMU_PROG: boot menu is not supported for this device type.
{"return": {}}=== Sending stream/cancel, checking for SIGSEGV only ===
Failures: 200
Failed 1 of 1 testsIt was caused by the command which isn't supported by s390x now:
qemu-system-s390x -device pci-bridge,id=bridge1,chassis_nr=1,bus=pci.0 -object iothread,id=iothread0 -device virtio-scsi-pci,bus=bridge1,addr=0x1f,id=scsi0,iothread=iothread0 -drive file=.../scratch/test.img,media=disk,if=none,cache=writeback,id=drive_sysdisk,format=qcow2 -device scsi-hd,drive=drive_sysdisk,bus=scsi0.0,id=sysdisk,bootindex=0 -nographicSigned-off-by QingFeng Hao <[email protected]>--- tests/qemu-iotests/200 | 4 ++++ 1 file changed, 4 insertions(+)tests/qemu-iotests/200 +4
-0@@ -45,6 +45,10 @@ _supported_fmt qcow2 qed _supported_proto file _supported_os Linux +if [ "$QEMU_DEFAULT_MACHINE" != "pc" ]; then + _notrun "Requires a PC machine" +fi + BACKING_IMG="${TEST_DIR}/backing.img" TEST_IMG="${TEST_DIR}/test.img"
Quoted 3 lines · Christian Borntraeger
Nack. This will be fixed by
s390/ipl: only print boot menu error if -boot menu=on was specified
You are right. After I applied that patch, the case is passed. Please ignore this patch. Thanks
Quoted 35 lines · QingFeng Hao
Quoted 33 lines
In s390x, the case 200 failed as:
=== Starting QEMU VM ===+QEMU_PROG: boot menu is not supported for this device type.
{"return": {}}=== Sending stream/cancel, checking for SIGSEGV only ===
Failures: 200
Failed 1 of 1 testsIt was caused by the command which isn't supported by s390x now:
qemu-system-s390x -device pci-bridge,id=bridge1,chassis_nr=1,bus=pci.0 -object iothread,id=iothread0 -device virtio-scsi-pci,bus=bridge1,addr=0x1f,id=scsi0,iothread=iothread0 -drive file=.../scratch/test.img,media=disk,if=none,cache=writeback,id=drive_sysdisk,format=qcow2 -device scsi-hd,drive=drive_sysdisk,bus=scsi0.0,id=sysdisk,bootindex=0 -nographicSigned-off-by QingFeng Hao <[email protected]>--- tests/qemu-iotests/200 | 4 ++++ 1 file changed, 4 insertions(+)tests/qemu-iotests/200 +4
-0@@ -45,6 +45,10 @@ _supported_fmt qcow2 qed _supported_proto file _supported_os Linux +if [ "$QEMU_DEFAULT_MACHINE" != "pc" ]; then + _notrun "Requires a PC machine" +fi + BACKING_IMG="${TEST_DIR}/backing.img" TEST_IMG="${TEST_DIR}/test.img"
Signature · 2 lines
Regards QingFeng Hao