Skip to content

iotests: Fix crypto algorithm failures

Hanna Reitz qemu-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Fixed the check_cipher_support() function introduced in patch 2 (forgot to pass config, though it worked even without, apparently because config is a global-scope variable....)

- Also a good opportunity to CC Dan, who I forgot on v1

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iotests: Use aes-128-cbctests/qemu-iotests/206 tests/qemu-iotests/206.out tests/qemu-iotests/210 +1 more+10 -102 replies
2/2iotests/149: Skip on unsupported cipherstests/qemu-iotests/149+18 -52 replies

Reviews trailers per patch

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

PatchDaniel P. BerrangéThomas Huth
1/2R-b T-b
2/2R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] iotests: Fix crypto algorithm failures

Hi,

iotests 149, 206, and 210 fail when qemu uses the gnutls crypto backend (which is the default as of 8bd0931f6) because they try to use algorithms that this backend does not support.

Have 206 and 210 use different algorithms instead (patch 1), and let 149 be skipped when it encounters an unsupported algorithm (patch 2).

v2:
- Fixed the check_cipher_support() function introduced in patch 2 (forgot to pass config, though it worked even without, apparently because config is a global-scope variable....)

- Also a good opportunity to CC Dan, who I forgot on v1

git-backport-diff against v1:

Key:
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively

001/2:[----] [--] 'iotests: Use aes-128-cbc' 002/2:[0008] [FC] 'iotests/149: Skip on unsupported ciphers'

Hanna Reitz (2):
iotests: Use aes-128-cbc
iotests/149: Skip on unsupported ciphers

 tests/qemu-iotests/149     | 23 ++++++++++++++++++-----
 tests/qemu-iotests/206     |  4 ++--
 tests/qemu-iotests/206.out |  6 +++---
 tests/qemu-iotests/210     |  4 ++--
 tests/qemu-iotests/210.out |  6 +++---
 5 files changed, 28 insertions(+), 15 deletions(-)
Signature · 1 line
2.33.1