iotests: Fix iotests for weird formats/options
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest17 patches 36 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | block/vmdk: Fix , instead of ; at end of lineblock/ | +1 | 2 replies | |
| 2/17 | qcow2: No persistent dirty bitmaps for compat=0.10block/ block/ | +21 | 1 reply | |
| 3/17 | block/qcow: Add blkdebug eventsblock/ | +16 | 1 reply | |
| 4/17 | block/vmdk: Add blkdebug eventsblock/ | +16 | 1 reply | |
| 5/17 | iotests: Fix _img_info for backslashestests/ | +1 | 1 reply | |
| 6/17 | iotests: Drop format-specific in _filter_img_infotests/ tests/ | +32 | 5 replies | |
| 7/17 | iotests: Forbid 020 for non-file protocolstests/ | +1 | 1 reply | |
| 8/17 | iotests: Skip 103 for refcount_bits=1tests/ | +2 | 5 replies | |
| 9/17 | iotests: Disable some tests for compat=0.10tests/ tests/ tests/ +2 more | +12 | 4 replies | |
| 10/17 | iotests: Fix 020 for vmdktests/ tests/ | +10 | 2 replies | |
| 11/17 | iotests: Fix 051 for compat=0.10tests/ tests/ tests/ | +4 | 0 replies | |
| 12/17 | iotests: Fix 059's reference outputtests/ | +1 | 2 replies | |
| 13/17 | iotests: Fix 067 for compat=0.10tests/ tests/ | +28 | 1 reply | |
| 14/17 | iotests: Make 089 compatible with compat=0.10tests/ tests/ | +2 | 1 reply | |
| 15/17 | iotests: Make 184 image-lesstests/ tests/ | +14 | 1 reply | |
| 16/17 | iotests: Make 191 work with qcow2 optionstests/ tests/ | +91 | 1 reply | |
| 17/17 | iotests: Filter compat-dependent info in 198tests/ tests/ | +4 | 1 reply |
Reviews trailers per patch
16 of 17 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Eric Blake | John Snow | Fam Zheng |
|---|---|---|---|
| Series | R-b | ||
| 1/17 | R-b | R-b | |
| 2/17 | R-b | ||
| 3/17 | R-b | ||
| 4/17 | R-b | ||
| 5/17 | R-b | ||
| 6/17 | R-b | R-b | |
| 7/17 | R-b | ||
| 8/17 | R-b | ||
| 9/17 | R-b | ||
| 10/17 | R-b | R-b | |
| 11/17 | |||
| 12/17 | R-b | R-b | |
| 13/17 | R-b | ||
| 14/17 | R-b | ||
| 15/17 | R-b | ||
| 16/17 | R-b | ||
| 17/17 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [Qemu-devel] [PATCH 00/17] iotests: Fix iotests for weird formats/options
This series fixes the qemu-iotests for qcow, vmdk, qcow2 v2 and qcow2 v3 with refcount_bits=1.
Patches 1 and 2 contain real fixes (not urgent, though, so no need to hurry for 2.11--we can take them into 2.11 if we want to, but there is no absolute need for them).
Patches 3 and 4 add blkdebug events to qcow and vmdk so iotests 020 can work with them even after patch 10.
Patches 5 and 6 are general "fixes" for the iotests infrastructure.
Patches 7, 8, and 9 add some missing skips under certain circumstances to tests that need them.
The rest of this series (patches 10 through 17) actually fix tests so they work for the formats and options mentioned above.
(Fun fact: qcow v1 wasn't broken before this series. But it would be
broken by patch 10 if I didn't include patch 3. That is why I mentioned it above.)
Personal note: I should really stop writing bash tests, at least as soon as there is QMP involved. While working on this series I got sidetracked a bit and actually wrote some iotests.py functions that may come in handy next time I write a test.
(I hate to write Python tests because the boilerplate seems so large and
the debugging is so hard. But there is test 194 which shows that it is possible to write simple bash-like tests as well--and that is how I should probably write tests from now on.)
Max Reitz (17):
block/vmdk: Fix , instead of ; at end of line
qcow2: No persistent dirty bitmaps for compat=0.10 block/qcow: Add blkdebug events block/vmdk: Add blkdebug events
iotests: Fix _img_info for backslashes
iotests: Drop format-specific in _filter_img_info
iotests: Forbid 020 for non-file protocols
iotests: Skip 103 for refcount_bits=1
iotests: Disable some tests for compat=0.10
iotests: Fix 020 for vmdk
iotests: Fix 051 for compat=0.10
iotests: Fix 059's reference output
iotests: Fix 067 for compat=0.10
iotests: Make 089 compatible with compat=0.10
iotests: Make 184 image-less
iotests: Make 191 work with qcow2 options
iotests: Filter compat-dependent info in 198
block/qcow.c | 16 ++ block/qcow2-bitmap.c | 10 ++ block/qcow2.c | 14 +- block/vmdk.c | 18 ++- tests/qemu-iotests/020 | 17 +-- tests/qemu-iotests/020.out | 6 +- tests/qemu-iotests/051 | 2 + tests/qemu-iotests/051.out | 1 + tests/qemu-iotests/051.pc.out | 1 + tests/qemu-iotests/059.out | 2 +- tests/qemu-iotests/067 | 3 +- tests/qemu-iotests/067.out | 97 ++++-------- tests/qemu-iotests/080 | 5 +- tests/qemu-iotests/089 | 4 +- tests/qemu-iotests/089.out | 10 -- tests/qemu-iotests/103 | 2 + tests/qemu-iotests/130 | 2 + tests/qemu-iotests/137 | 2 + tests/qemu-iotests/176 | 2 + tests/qemu-iotests/177 | 13 +- tests/qemu-iotests/184 | 25 +--- tests/qemu-iotests/184.out | 63 ++------ tests/qemu-iotests/191 | 5 +- tests/qemu-iotests/191.out | 313 +++++++++++---------------------------- tests/qemu-iotests/198 | 8 +- tests/qemu-iotests/198.out | 8 - tests/qemu-iotests/common.filter | 29 +++- tests/qemu-iotests/common.rc | 2 +- 28 files changed, 254 insertions(+), 426 deletions(-)
Signature · 1 line
2.13.6