Skip to content

iotests: don't choke on disabled drivers

Roman Kagan qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 29 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17block: iterate_format with account of whitelistingblock.c blockdev.c include/block/block.h +1 more+24 -72 replies
2/17iotests: iotests.py: prevent deadlock in subprocesstests/qemu-iotests/iotests.py+8 -81 reply
3/17iotests: ask qemu for supported formatstests/qemu-iotests/common.rc tests/qemu-iotests/iotests.py+46 -316 replies
4/17iotest 030: skip quorum test setup/teardown tootests/qemu-iotests/030+6 -01 reply
5/17iotest 030: require blkdebugtests/qemu-iotests/030+1 -01 reply
6/17iotest 055: skip unsupported backup target formatstests/qemu-iotests/055+12 -01 reply
7/17iotest 055: require blkdebugtests/qemu-iotests/055+1 -01 reply
8/17iotest 056: skip testcases using blkdebug if disabledtests/qemu-iotests/056+3 -01 reply
9/17iotest 071: notrun if blkdebug or blkverify is disabledtests/qemu-iotests/071+1 -00 replies
10/17iotest 081: notrun if quorum is disabledtests/qemu-iotests/081+1 -00 replies
11/17iotest 087: notrun if null-co is disabledtests/qemu-iotests/087+1 -00 replies
12/17iotest 093: notrun if null-co or null-aio is disabledtests/qemu-iotests/093+1 -00 replies
13/17iotest 099: notrun if blkdebug or blkverify is disabledtests/qemu-iotests/099+1 -00 replies
14/17iotest 124: skip testcases using blkdebug if disabledtests/qemu-iotests/124+5 -00 replies
15/17iotest 139: skip testcases using disabled driverstests/qemu-iotests/139+4 -00 replies
16/17iotest 147: notrun if nbd is disabledtests/qemu-iotests/147+1 -00 replies
17/17iotest 184: notrun if null-co or throttle is disabledtests/qemu-iotests/184+1 -00 replies

Reviews trailers per patch

6 of 17 patches have a Reviewed-by or Acked-by.

PatchEric BlakeMax Reitz
1/17R-b R-b
2/17R-b
3/17
4/17R-b
5/17R-b
6/17R-b
7/17R-b
8/17
9/17
10/17
11/17
12/17
13/17
14/17
15/17
16/17
17/17

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/17] iotests: don't choke on disabled drivers

Some iotests assume availability of certain block drivers, and fail if the driver is not supported by QEMU because it was disabled at configure time.

This series tries to address that, by making QEMU report the actual list of supported block drivers in response to "-drive format=?", and using this information to skip the parts of the io testsuite that can not be run in this configuration.

Roman Kagan (17):
block: iterate_format with account of whitelisting
iotests: iotests.py: prevent deadlock in subprocess
iotests: ask qemu for supported formats
iotest 030: skip quorum test setup/teardown too iotest 030: require blkdebug
iotest 055: skip unsupported backup target formats iotest 055: require blkdebug
iotest 056: skip testcases using blkdebug if disabled iotest 071: notrun if blkdebug or blkverify is disabled iotest 081: notrun if quorum is disabled iotest 087: notrun if null-co is disabled iotest 093: notrun if null-co or null-aio is disabled iotest 099: notrun if blkdebug or blkverify is disabled iotest 124: skip testcases using blkdebug if disabled iotest 139: skip testcases using disabled drivers iotest 147: notrun if nbd is disabled
iotest 184: notrun if null-co or throttle is disabled

 include/block/block.h         |  2 +-
 block.c                       | 23 ++++++++++++++++++----
 blockdev.c                    |  4 +++-
 qemu-img.c                    |  2 +-
 tests/qemu-iotests/030        |  7 +++++++
 tests/qemu-iotests/055        | 13 ++++++++++++
 tests/qemu-iotests/056        |  3 +++
 tests/qemu-iotests/071        |  1 +
 tests/qemu-iotests/081        |  1 +
 tests/qemu-iotests/087        |  1 +
 tests/qemu-iotests/093        |  1 +
 tests/qemu-iotests/099        |  1 +
 tests/qemu-iotests/124        |  5 +++++
 tests/qemu-iotests/139        |  4 ++++
 tests/qemu-iotests/147        |  1 +
 tests/qemu-iotests/184        |  1 +
 tests/qemu-iotests/common.rc  | 19 ++++++++++++++++++
 tests/qemu-iotests/iotests.py | 46 ++++++++++++++++++++++++++++++++-----------
 18 files changed, 117 insertions(+), 18 deletions(-)
Signature · 1 line
2.14.3