[pkg-cryptsetup-devel] Bug#1020714: cryptsetup: cryptroot-* autopkgtests fall-back to shell and hang on errors

Guilhem Moulin guilhem at debian.org
Mon Sep 26 15:58:59 BST 2022


Control: tag -1 pending

Hi Paul,

On Sun, 25 Sep 2022 at 20:09:09 +0200, Paul Gevers wrote:
> However, the reason for that long run was not the failure itself, but
> the fact that your tests drop to shell on error and apparently waits
> for user input. One failure with 2:2.5.0-3 in unstable has the same
> problem.
>
> This is pretty bad for our infrastructure as normally your test is
> much faster and it shouldn't wait for the time out. Can you please fix
> that?

Very sorry for that!  That specific error was caused by a race condition
after partitioning (the test was trying to use the partition before the
block device was created) and is fixed in
https://salsa.debian.org/cryptsetup-team/cryptsetup/-/commit/39e9cb8baf69f1b126a636026883569317adf7fb .

At https://salsa.debian.org/cryptsetup-team/cryptsetup/-/commit/cc175feed03319b2544382699e812fe7c67fd0ee
I also added a timeout on each qemu command so failed setups won't wait
for the global debci timeout.  Hope this is an acceptable fix from your
perspective :-)

Cheers
-- 
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cryptsetup-devel/attachments/20220926/b5570fb4/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list