qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [Qemu-devel] [PATCH] qemu-iotests: Use host_device inst


From: Kevin Wolf
Subject: Re: [Qemu-block] [Qemu-devel] [PATCH] qemu-iotests: Use host_device instead of file in 149
Date: Mon, 23 Jul 2018 15:53:45 +0200
User-agent: Mutt/1.9.1 (2017-09-22)

Am 13.07.2018 um 20:12 hat John Snow geschrieben:
> 
> 
> On 07/13/2018 03:10 AM, Kevin Wolf wrote:
> > The test case uses block devices with driver=file, which causes the test
> > to fail after commit 230ff73904 added a deprecation warning for this.
> > Fix the test case to use driver=host_device and update the reference
> > output accordingly.
> > 
> > Signed-off-by: Kevin Wolf <address@hidden>
> 
> 149         [not run] requires password-less sudo access: sudo: a
> password is required
> 
> Ah, this one hides from regression scripts quite well...
> 
> This test fails both before and after this patch for me, with
> 
> +Traceback (most recent call last):
> +  File "149", line 525, in <module>
> +    test_once(config, qemu_img=False)
> +  File "149", line 336, in test_once
> +    cryptsetup_open(config)
> +  File "149", line 200, in cryptsetup_open
> +    cryptsetup(args, password)
> +  File "149", line 124, in cryptsetup
> +    raise Exception(msg)
> +Exception: Device qiotest-145-twofish-128-xts-plain64-sha1 already exists.
> +Command failed with code 17: File exists
> 
> Am I missing some prerequisite, maybe?

Hm, sounds a bit like a failed first attempt that didn't clean up behind
itself properly? Just guessing though.

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]