Skip to content

tests/qemu-iotests: Fix running with "check -ssh -qcow2"

Thomas Huth qemu-devel 1 version Applied

Status from this message: Thanks, applied to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9tests/qemu-iotests: Fix test 033 for running with non-file protocolstests/qemu-iotests/033+3 -30 replies
2/9tests/qemu-iotests: Restrict test 066 to the 'file' protocoltests/qemu-iotests/066+1 -10 replies
3/9tests/qemu-iotests: Restrict test 114 to the 'file' protocoltests/qemu-iotests/114+1 -10 replies
4/9tests/qemu-iotests: Restrict test 130 to the 'file' protocoltests/qemu-iotests/130+1 -10 replies
5/9tests/qemu-iotests: Restrict test 134 and 158 to the 'file' protocoltests/qemu-iotests/134 tests/qemu-iotests/158+2 -20 replies
6/9tests/qemu-iotests: Restrict test 156 to the 'file' protocoltests/qemu-iotests/156+1 -10 replies
7/9tests/qemu-iotests: Restrict tests that use --image-opts to the 'file' protocoltests/qemu-iotests/188 tests/qemu-iotests/189 tests/qemu-iotests/198+3 -30 replies
8/9tests/qemu-iotests: Fix some tests that use --image-opts for other protocolstests/qemu-iotests/263 tests/qemu-iotests/284 tests/qemu-iotests/tests/detect-zeroes-registered-buf+10 -70 replies
9/9tests/qemu-iotests: Restrict tests using "--blockdev file" to the file protocoltests/qemu-iotests/tests/qcow2-internal-snapshots tests/qemu-iotests/tests/qsd-jobs+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] tests/qemu-iotests: Fix running with "check -ssh -qcow2"

I recently wanted to check for some changes that I did to the URI handling in the block layer code, but I had to discover that a lot of iotests only work with the raw file format when using a protocol that is not "file", i.e. "./check -ssh -qcow2" shows a lot of failures.
While some tests could be fixed to work with the "ssh" protocol, too, many other tests seem to be written for the "file" protocol only and thus have to be marked accordingly.

After applying these patches, there is still one failure left in test 181 where I'm unsure whether it's a real bug or whether this test should also simply be marked to work with the "file" protocol only. Suggestions are welcome!

Thomas Huth (9):
tests/qemu-iotests: Fix test 033 for running with non-file protocols tests/qemu-iotests: Restrict test 066 to the 'file' protocol tests/qemu-iotests: Restrict test 114 to the 'file' protocol tests/qemu-iotests: Restrict test 130 to the 'file' protocol tests/qemu-iotests: Restrict test 134 and 158 to the 'file' protocol tests/qemu-iotests: Restrict test 156 to the 'file' protocol tests/qemu-iotests: Restrict tests that use --image-opts to the 'file'
protocol
tests/qemu-iotests: Fix some tests that use --image-opts for other
protocols
tests/qemu-iotests: Restrict tests using "--blockdev file" to the file
protocol

 tests/qemu-iotests/033                                | 6 +++---
 tests/qemu-iotests/066                                | 2 +-
 tests/qemu-iotests/114                                | 2 +-
 tests/qemu-iotests/130                                | 2 +-
 tests/qemu-iotests/134                                | 2 +-
 tests/qemu-iotests/156                                | 2 +-
 tests/qemu-iotests/158                                | 2 +-
 tests/qemu-iotests/188                                | 2 +-
 tests/qemu-iotests/189                                | 2 +-
 tests/qemu-iotests/198                                | 2 +-
 tests/qemu-iotests/263                                | 6 ++++--
 tests/qemu-iotests/284                                | 7 +++----
 tests/qemu-iotests/tests/detect-zeroes-registered-buf | 4 +++-
 tests/qemu-iotests/tests/qcow2-internal-snapshots     | 2 +-
 tests/qemu-iotests/tests/qsd-jobs                     | 2 +-
 15 files changed, 24 insertions(+), 21 deletions(-)
Signature · 1 line
2.44.0