From: Thomas Huth <[email protected]> When running "./check -luks inactive-node-nbd", the test currently fails because QEMU terminates immediately. The reason can be seen with the "-p" parameter of the "check" script:
qemu-system-x86_64: -blockdev luks,file=disk-file,node-name=disk-fmt,active=off: Parameter 'key-secret' is required for cipher Quoting Kevin: "The test case just isn't made for luks. iotests.py has special code for luks in VM.add_drive(), but not in VM.add_blockdev()." Thus let's mark it as unsupported on luks to avoid the failure. Suggested-by: Kevin Wolf <[email protected]> Signed-off-by: Thomas Huth <[email protected]> Message-ID: <[email protected]> Reviewed-by: Daniel P. Berrangé <[email protected]> Reviewed-by: Kevin Wolf <[email protected]> Signed-off-by: Kevin Wolf <[email protected]> --- tests/qemu-iotests/tests/inactive-node-nbd | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/qemu-iotests/tests/inactive-node-nbd b/tests/qemu-iotests/tests/inactive-node-nbd index a95b37e796..664157bfd0 100755 --- a/tests/qemu-iotests/tests/inactive-node-nbd +++ b/tests/qemu-iotests/tests/inactive-node-nbd @@ -24,6 +24,7 @@ from iotests import QemuIoInteractive from iotests import filter_qemu_io, filter_qtest, filter_qmp_testfiles iotests.script_initialize(supported_fmts=['generic'], + unsupported_fmts=['luks'], supported_protocols=['file'], supported_platforms=['linux']) -- 2.51.0
