[PATCH v2 00/17] iotests: support zstd

Vladimir Sementsov-Ogievskiy posted 17 patches 2 years, 9 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
block/qcow2.c                    | 58 +++++++++++++++++++++-
tests/qemu-iotests/031           | 11 +++--
tests/qemu-iotests/036           |  6 +--
tests/qemu-iotests/039           | 22 ++++-----
tests/qemu-iotests/044           |  5 +-
tests/qemu-iotests/044.out       |  1 +
tests/qemu-iotests/051           |  5 +-
tests/qemu-iotests/060           | 22 ++++-----
tests/qemu-iotests/060.out       |  2 +-
tests/qemu-iotests/061           | 42 ++++++++--------
tests/qemu-iotests/061.out       | 12 ++---
tests/qemu-iotests/065           | 16 +++---
tests/qemu-iotests/082.out       | 14 +++---
tests/qemu-iotests/112           |  3 +-
tests/qemu-iotests/137           |  2 +-
tests/qemu-iotests/198.out       |  4 +-
tests/qemu-iotests/206.out       | 10 ++--
tests/qemu-iotests/209           |  7 +--
tests/qemu-iotests/209.out       |  2 +
tests/qemu-iotests/210           |  8 +--
tests/qemu-iotests/214           |  2 +-
tests/qemu-iotests/242.out       | 10 ++--
tests/qemu-iotests/255.out       |  4 --
tests/qemu-iotests/274.out       | 39 ++-------------
tests/qemu-iotests/280.out       |  1 -
tests/qemu-iotests/287           |  8 +--
tests/qemu-iotests/290           |  2 +-
tests/qemu-iotests/302           |  4 +-
tests/qemu-iotests/302.out       |  7 ++-
tests/qemu-iotests/303           | 25 ++++++----
tests/qemu-iotests/303.out       | 30 +++++++++++-
tests/qemu-iotests/common.filter |  8 +++
tests/qemu-iotests/common.rc     | 22 +++++++++
tests/qemu-iotests/iotests.py    | 84 ++++++++++++++++++++------------
34 files changed, 310 insertions(+), 188 deletions(-)
[PATCH v2 00/17] iotests: support zstd
Posted by Vladimir Sementsov-Ogievskiy 2 years, 9 months ago
These series makes tests pass with

   IMGOPTS='compression_type=zstd'

Also, python iotests start to support IMGOPTS (they didn't before).

v2:
01: add Max's r-b
02: simplify a lot: just add separate -o for IMGOPTS.
    also, don't bother with catching compat=0.10
03,04: new
05: add Max's r-b
06: one more explict compression_type=zlib
07: new
08: reduced to only update filter_img_info
09: adjust commit message, add comment, add Max's r-b
10: s/ = 0/ &= ~QCOW2_INCOMPAT_COMPRESSION/
    add Max's r-b
11-13: add Max's r-b
14: one more regex for "2, 3, 4" case
15-16: add Max's r-b
17: new

Vladimir Sementsov-Ogievskiy (17):
  iotests.py: img_info_log(): rename imgopts argument
  iotests.py: qemu_img*("create"): support
    IMGOPTS='compression_type=zstd'
  iotests: drop qemu_img_verbose() helper
  iotests.py: rewrite default luks support in qemu_img
  iotest 303: explicit compression type
  iotest 065: explicit compression type
  iotests.py: filter out successful output of qemu-img crate
  iotests.py: filter compression type out
  iotest 302: use img_info_log() helper
  qcow2: simple case support for downgrading of qcow2 images with zstd
  iotests/common.rc: introduce _qcow2_dump_header helper
  iotests: massive use _qcow2_dump_header
  iotest 39: use _qcow2_dump_header
  iotests: bash tests: filter compression type
  iotests 60: more accurate set dirty bit in qcow2 header
  iotest 214: explicit compression type
  iotests: declare lack of support for compresion_type in IMGOPTS

 block/qcow2.c                    | 58 +++++++++++++++++++++-
 tests/qemu-iotests/031           | 11 +++--
 tests/qemu-iotests/036           |  6 +--
 tests/qemu-iotests/039           | 22 ++++-----
 tests/qemu-iotests/044           |  5 +-
 tests/qemu-iotests/044.out       |  1 +
 tests/qemu-iotests/051           |  5 +-
 tests/qemu-iotests/060           | 22 ++++-----
 tests/qemu-iotests/060.out       |  2 +-
 tests/qemu-iotests/061           | 42 ++++++++--------
 tests/qemu-iotests/061.out       | 12 ++---
 tests/qemu-iotests/065           | 16 +++---
 tests/qemu-iotests/082.out       | 14 +++---
 tests/qemu-iotests/112           |  3 +-
 tests/qemu-iotests/137           |  2 +-
 tests/qemu-iotests/198.out       |  4 +-
 tests/qemu-iotests/206.out       | 10 ++--
 tests/qemu-iotests/209           |  7 +--
 tests/qemu-iotests/209.out       |  2 +
 tests/qemu-iotests/210           |  8 +--
 tests/qemu-iotests/214           |  2 +-
 tests/qemu-iotests/242.out       | 10 ++--
 tests/qemu-iotests/255.out       |  4 --
 tests/qemu-iotests/274.out       | 39 ++-------------
 tests/qemu-iotests/280.out       |  1 -
 tests/qemu-iotests/287           |  8 +--
 tests/qemu-iotests/290           |  2 +-
 tests/qemu-iotests/302           |  4 +-
 tests/qemu-iotests/302.out       |  7 ++-
 tests/qemu-iotests/303           | 25 ++++++----
 tests/qemu-iotests/303.out       | 30 +++++++++++-
 tests/qemu-iotests/common.filter |  8 +++
 tests/qemu-iotests/common.rc     | 22 +++++++++
 tests/qemu-iotests/iotests.py    | 84 ++++++++++++++++++++------------
 34 files changed, 310 insertions(+), 188 deletions(-)

-- 
2.29.2


Re: [PATCH v2 00/17] iotests: support zstd
Posted by Vladimir Sementsov-Ogievskiy 2 years, 8 months ago
Ping.

This applies to current master with a small obvious conflict in tests/qemu-iotests/common.filter

20.07.2021 14:38, Vladimir Sementsov-Ogievskiy wrote:
> These series makes tests pass with
> 
>     IMGOPTS='compression_type=zstd'
> 
> Also, python iotests start to support IMGOPTS (they didn't before).
> 
> v2:
> 01: add Max's r-b
> 02: simplify a lot: just add separate -o for IMGOPTS.
>      also, don't bother with catching compat=0.10
> 03,04: new
> 05: add Max's r-b
> 06: one more explict compression_type=zlib
> 07: new
> 08: reduced to only update filter_img_info
> 09: adjust commit message, add comment, add Max's r-b
> 10: s/ = 0/ &= ~QCOW2_INCOMPAT_COMPRESSION/
>      add Max's r-b
> 11-13: add Max's r-b
> 14: one more regex for "2, 3, 4" case
> 15-16: add Max's r-b
> 17: new
> 
> Vladimir Sementsov-Ogievskiy (17):
>    iotests.py: img_info_log(): rename imgopts argument
>    iotests.py: qemu_img*("create"): support
>      IMGOPTS='compression_type=zstd'
>    iotests: drop qemu_img_verbose() helper
>    iotests.py: rewrite default luks support in qemu_img
>    iotest 303: explicit compression type
>    iotest 065: explicit compression type
>    iotests.py: filter out successful output of qemu-img crate
>    iotests.py: filter compression type out
>    iotest 302: use img_info_log() helper
>    qcow2: simple case support for downgrading of qcow2 images with zstd
>    iotests/common.rc: introduce _qcow2_dump_header helper
>    iotests: massive use _qcow2_dump_header
>    iotest 39: use _qcow2_dump_header
>    iotests: bash tests: filter compression type
>    iotests 60: more accurate set dirty bit in qcow2 header
>    iotest 214: explicit compression type
>    iotests: declare lack of support for compresion_type in IMGOPTS
> 
>   block/qcow2.c                    | 58 +++++++++++++++++++++-
>   tests/qemu-iotests/031           | 11 +++--
>   tests/qemu-iotests/036           |  6 +--
>   tests/qemu-iotests/039           | 22 ++++-----
>   tests/qemu-iotests/044           |  5 +-
>   tests/qemu-iotests/044.out       |  1 +
>   tests/qemu-iotests/051           |  5 +-
>   tests/qemu-iotests/060           | 22 ++++-----
>   tests/qemu-iotests/060.out       |  2 +-
>   tests/qemu-iotests/061           | 42 ++++++++--------
>   tests/qemu-iotests/061.out       | 12 ++---
>   tests/qemu-iotests/065           | 16 +++---
>   tests/qemu-iotests/082.out       | 14 +++---
>   tests/qemu-iotests/112           |  3 +-
>   tests/qemu-iotests/137           |  2 +-
>   tests/qemu-iotests/198.out       |  4 +-
>   tests/qemu-iotests/206.out       | 10 ++--
>   tests/qemu-iotests/209           |  7 +--
>   tests/qemu-iotests/209.out       |  2 +
>   tests/qemu-iotests/210           |  8 +--
>   tests/qemu-iotests/214           |  2 +-
>   tests/qemu-iotests/242.out       | 10 ++--
>   tests/qemu-iotests/255.out       |  4 --
>   tests/qemu-iotests/274.out       | 39 ++-------------
>   tests/qemu-iotests/280.out       |  1 -
>   tests/qemu-iotests/287           |  8 +--
>   tests/qemu-iotests/290           |  2 +-
>   tests/qemu-iotests/302           |  4 +-
>   tests/qemu-iotests/302.out       |  7 ++-
>   tests/qemu-iotests/303           | 25 ++++++----
>   tests/qemu-iotests/303.out       | 30 +++++++++++-
>   tests/qemu-iotests/common.filter |  8 +++
>   tests/qemu-iotests/common.rc     | 22 +++++++++
>   tests/qemu-iotests/iotests.py    | 84 ++++++++++++++++++++------------
>   34 files changed, 310 insertions(+), 188 deletions(-)
> 


-- 
Best regards,
Vladimir