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

Paul Gevers elbrus at debian.org
Sun Sep 25 19:09:09 BST 2022


Source: cryptsetup
Version: 2:2.5.0-2
Severity: serious

Dear maintainer,

I was starting at some 14 hour failures in testing [1] due to
merged-/usr, which apparently you already fixed in unstable. 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?

Paul

[1] https://ci.debian.net/packages/c/cryptsetup/testing/amd64/

https://ci.debian.net/data/autopkgtest/unstable/amd64/c/cryptsetup/26349209/log.gz

The partition table has been altered.
Calling ioctl() to re-read partition table.
[    1.904096]  vda: vda1 vda2 vda3 vda4 vda5
Syncing disks.
+ echo -n topsec[    1.908756]  vda: vda1 vda2 vda3 vda4 vda5
ret
+ cryptsetup luksFormat --batch-mode --key-file=/rootfs.key --type=luks2 --pbkdf=argon2id --pbkdf-force-iterations=4 --pbkdf-memory=32 -- /dev/vda5
Device /dev/vda5 does not exist or access denied.
+ echo ALERT!  Couldn't setup system, dropping to a shell.
ALERT!  Couldn't setup system, dropping to a shell.
+ sh -i
# autopkgtest [19:14:06]: ERROR: timed out on command "su -s /bin/bash root -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true;  . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest-lxc.6pwp9hgu/downtmp/build.q7w/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest-lxc.6pwp9hgu/downtmp/cryptroot-sysvinit-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest-lxc.6pwp9hgu/downtmp/cryptroot-sysvinit-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest-lxc.6pwp9hgu/downtmp/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest-lxc.6pwp9hgu/downtmp/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=64; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE   LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS   LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export AUTOPKGTEST_NORMAL_USER=debci; export ADT_NORMAL_USER=debci; chmod +x /tmp/autopkgtest-lxc.6pwp9hgu/downtmp/build.q7w/src/debian/tests/cryptroot-sysvinit; touch /tmp/autopkgtest-lxc.6pwp9hgu/downtmp/cryptroot-sysvinit-stdout /tmp/autopkgtest-lxc.6pwp9hgu/downtmp/cryptroot-sysvinit-stderr; /tmp/autopkgtest-lxc.6pwp9hgu/downtmp/build.q7w/src/debian/tests/cryptroot-sysvinit 2> >(tee -a /tmp/autopkgtest-lxc.6pwp9hgu/downtmp/cryptroot-sysvinit-stderr >&2) > >(tee -a /tmp/autopkgtest-lxc.6pwp9hgu/downtmp/cryptroot-sysvinit-stdout);" (kind: test)



More information about the pkg-cryptsetup-devel mailing list