Skip to content

Improve I/O tests coverage of LUKS driver

Daniel P. Berrange qemu-devel 6 versions – Applied

Status from this message: Thanks, applied to my block branch:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest5 patches 2 repliesApplied
  2. v55 patches 11 repliesSuperseded
  3. v45 patches 1 replySuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v35 patches3 repliesSuperseded
v25 patches6 repliesSuperseded
v16 patches8 repliesSuperseded

Changes in v6 from the cover letter

- Fix quoting of $TEST_IMG (Eric/Max)
- Remove accidental use of tabs (Max)
- Drop unused SYSEMU_EXTRA_ARGS (Max)
- Remove accidental import of 'time' module (Max)

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/5iotests: skip 159 & 170 with luks formattests/qemu-iotests/159 tests/qemu-iotests/170+2 -00 replies
2/5iotests: fix remainining tests to work with LUKStests/qemu-iotests/033 tests/qemu-iotests/120 tests/qemu-iotests/140 +6 more+82 -240 replies
3/5iotests: reduce PBKDF iterations when testing LUKStests/qemu-iotests/149 tests/qemu-iotests/149.out tests/qemu-iotests/common.filter +1 more+67 -600 replies
4/5iotests: add more LUKS hash combination teststests/qemu-iotests/149 tests/qemu-iotests/149.out+484 -80 replies
5/5iotests: chown LUKS device before qemu-io launchestests/qemu-iotests/149 tests/qemu-iotests/149.out+177 -1790 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchMax ReitzEric Blake
1/5R-b R-b
2/5R-b R-b
3/5R-b R-b
4/5R-b R-b
5/5R-b R-b

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

Read the v6 thread

Cover letter [Qemu-devel] [PATCH v6 0/5] Improve I/O tests coverage of LUKS driver

The main goal of this series is to get the I/O tests passing 100% with LUKS when run with './check -luks'. It also adds a few more combinations to the LUKS/dmcrypt interoperability test.

To make LUKS testing not quite as slow, we drop the PBKDF iteration count down to a very small value. This doesn't remove all overhead, as formatting the volume will always measure PBKDF timing over a 1 second interval.

Changed in v6:

- Fix quoting of $TEST_IMG (Eric/Max)
- Remove accidental use of tabs (Max)
- Drop unused SYSEMU_EXTRA_ARGS (Max)
- Remove accidental import of 'time' module (Max)

Changed in v5:

- Rebase to kevin/block git tree instead of master
- Fix LUKS compat in new test 181

Changed in v4:

- Fix misc mistakes in syntax conversion (Max)
- Drop changes to 120 & mark it unsupported (Max)
- Use _unsupported_fmt (Max)

Changed in v3:

- Fix some typos in commit message(s) (Eric)

Changed in v2:

- Split off patch that change check.time recording since it was not a direct dependancy
- Skip new 159 & 170 tests which don't work due to qemu-img dd limitations

Daniel P. Berrange (5):
iotests: skip 159 & 170 with luks format
iotests: fix remainining tests to work with LUKS
iotests: reduce PBKDF iterations when testing LUKS
iotests: add more LUKS hash combination tests
iotests: chown LUKS device before qemu-io launches

 tests/qemu-iotests/033           |   12 +-
 tests/qemu-iotests/120           |    1 +
 tests/qemu-iotests/140           |    9 +-
 tests/qemu-iotests/145           |   19 +-
 tests/qemu-iotests/149           |   25 +-
 tests/qemu-iotests/149.out       | 1002 ++++++++++++++++++++++++++++----------
 tests/qemu-iotests/157           |   17 +-
 tests/qemu-iotests/157.out       |   16 +-
 tests/qemu-iotests/159           |    1 +
 tests/qemu-iotests/170           |    1 +
 tests/qemu-iotests/174           |    2 +-
 tests/qemu-iotests/181           |   21 +-
 tests/qemu-iotests/common.filter |    3 +-
 tests/qemu-iotests/common.qemu   |    9 +-
 tests/qemu-iotests/common.rc     |    3 +
 15 files changed, 841 insertions(+), 300 deletions(-)
Signature · 1 line
2.9.3