qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/17] iotests: Fix iotests for weird formats/options
@ 2017-11-23  2:08 Max Reitz
  2017-11-23  2:08 ` [Qemu-devel] [PATCH 01/17] block/vmdk: Fix , instead of ; at end of line Max Reitz
                   ` (21 more replies)
  0 siblings, 22 replies; 55+ messages in thread
From: Max Reitz @ 2017-11-23  2:08 UTC (permalink / raw)
  To: qemu-block; +Cc: qemu-devel, Max Reitz, Kevin Wolf, John Snow, Fam Zheng

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(-)

-- 
2.13.6

^ permalink raw reply	[flat|nested] 55+ messages in thread

end of thread, other threads:[~2018-01-17 16:57 UTC | newest]

Thread overview: 55+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-23  2:08 [Qemu-devel] [PATCH 00/17] iotests: Fix iotests for weird formats/options Max Reitz
2017-11-23  2:08 ` [Qemu-devel] [PATCH 01/17] block/vmdk: Fix , instead of ; at end of line Max Reitz
2017-11-29 16:20   ` Eric Blake
2017-11-30  2:43   ` Fam Zheng
2017-11-23  2:08 ` [Qemu-devel] [PATCH 02/17] qcow2: No persistent dirty bitmaps for compat=0.10 Max Reitz
2017-11-29 16:23   ` Eric Blake
2017-11-23  2:08 ` [Qemu-devel] [PATCH 03/17] block/qcow: Add blkdebug events Max Reitz
2017-11-30 15:38   ` Eric Blake
2017-11-23  2:08 ` [Qemu-devel] [PATCH 04/17] block/vmdk: " Max Reitz
2017-11-30  2:58   ` Fam Zheng
2017-11-23  2:08 ` [Qemu-devel] [PATCH 05/17] iotests: Fix _img_info for backslashes Max Reitz
2017-11-30  2:59   ` Fam Zheng
2017-11-23  2:08 ` [Qemu-devel] [PATCH 06/17] iotests: Drop format-specific in _filter_img_info Max Reitz
2017-11-30  3:16   ` Fam Zheng
2017-11-30 13:22     ` Max Reitz
2017-11-30 15:42     ` Eric Blake
2017-12-01  1:33       ` Fam Zheng
2017-11-30 15:44   ` Eric Blake
2017-11-23  2:08 ` [Qemu-devel] [PATCH 07/17] iotests: Forbid 020 for non-file protocols Max Reitz
2017-11-30  2:52   ` Fam Zheng
2017-11-23  2:08 ` [Qemu-devel] [PATCH 08/17] iotests: Skip 103 for refcount_bits=1 Max Reitz
2017-11-30  3:18   ` Fam Zheng
2017-11-30 13:23     ` Max Reitz
2017-12-09  1:36       ` John Snow
2017-12-11 17:17         ` Max Reitz
2017-12-11 17:35           ` John Snow
2017-11-23  2:08 ` [Qemu-devel] [PATCH 09/17] iotests: Disable some tests for compat=0.10 Max Reitz
2017-12-09  1:46   ` John Snow
2017-12-09 16:53     ` Eric Blake
2018-01-17 13:41       ` Max Reitz
2018-01-17 16:56         ` Eric Blake
2017-11-23  2:08 ` [Qemu-devel] [PATCH 10/17] iotests: Fix 020 for vmdk Max Reitz
2017-11-29 22:12   ` John Snow
2017-11-30  2:44   ` Fam Zheng
2017-11-23  2:08 ` [Qemu-devel] [PATCH 11/17] iotests: Fix 051 for compat=0.10 Max Reitz
2017-11-23  2:08 ` [Qemu-devel] [PATCH 12/17] iotests: Fix 059's reference output Max Reitz
2017-11-29 22:11   ` John Snow
2017-11-30  2:43   ` Fam Zheng
2017-11-23  2:08 ` [Qemu-devel] [PATCH 13/17] iotests: Fix 067 for compat=0.10 Max Reitz
2017-12-09  1:07   ` John Snow
2017-11-23  2:08 ` [Qemu-devel] [PATCH 14/17] iotests: Make 089 compatible with compat=0.10 Max Reitz
2017-12-09  1:08   ` John Snow
2017-11-23  2:08 ` [Qemu-devel] [PATCH 15/17] iotests: Make 184 image-less Max Reitz
2017-12-09  1:12   ` John Snow
2017-11-23  2:08 ` [Qemu-devel] [PATCH 16/17] iotests: Make 191 work with qcow2 options Max Reitz
2017-12-09  1:31   ` John Snow
2017-11-23  2:08 ` [Qemu-devel] [PATCH 17/17] iotests: Filter compat-dependent info in 198 Max Reitz
2017-12-09  1:33   ` John Snow
2017-11-23  2:12 ` [Qemu-devel] [PATCH 00/17] iotests: Fix iotests for weird formats/options Max Reitz
2017-11-23  2:51 ` no-reply
2017-11-23  7:24 ` Fam Zheng
2017-11-27 15:00   ` Max Reitz
2017-11-29 19:24 ` [Qemu-devel] [PATCH 18/17] iotests: Make 059 pass on machines with little RAM Max Reitz
2017-11-30  2:51   ` Fam Zheng
2018-01-17 13:41 ` [Qemu-devel] [PATCH 00/17] iotests: Fix iotests for weird formats/options Max Reitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).