#1108176 autopkgtest: tmpfails when lxc-destroy *after* testing fails

#1108176#5
Date:
2025-06-22 13:06:16 UTC
From:
To:
Package: autopkgtest
Version: 5.49
Severity: normal

I just saw this a couple of times for liburing tests on riscv64. The
test reports tmpfail, while the individual test results are already ready.

It's the cleanup that fails, that's not great, but with a tmpfail, the
test is typically retried, making things worse because of other hosts.

I'd say that if the results are in (they are in this case) autopkgtest
should report those instead of tmpfail.

(The liburing failure looks like bug #1015272)

Paul


https://ci.debian.net/data/autopkgtest/testing/riscv64/libu/liburing/61501223/log.gz

1370s Test run complete, kernel: 6.6.92-th1520
#2025.05.26.14.02+c9a17b235 SMP Mon May 26 14:22:33 UTC 2025
1370s Tests failed (1): <rsrc_tags.t>
1370s make[1]: *** [Makefile:322: runtests] Error 1
1370s make[1]: Leaving directory
'/tmp/autopkgtest-lxc.6bhix1j4/downtmp/build.xBN/src/test'
1370s make: *** [Makefile:21: runtests] Error 2
1370s /tmp/autopkgtest-lxc.6bhix1j4/downtmp/wrapper.sh: Killing leaked
background processes: 27875
1370s     PID TTY      STAT   TIME COMMAND
1370s   27875 ?        Dl     0:01 ./rsrc_tags.t
20834s autopkgtest [04:57:21]: ERROR: timed out on command "su -s
/bin/bash debci -c set -e; exec
/tmp/autopkgtest-lxc.6bhix1j4/downtmp/wrapper.sh
--artifacts=/tmp/autopkgtest-lxc.6bhix1j4/downtmp/test-unit-artifacts 
--chdir=/tmp/autopkgtest-lxc.6bhix1j4/downtmp/build.xBN/src 
--env=AUTOPKGTEST_TESTBED_ARCH=riscv64 
--env=AUTOPKGTEST_TEST_ARCH=riscv64 --env=DEB_BUILD_OPTIONS=parallel=4 
--env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 
--unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL 
--unset-env=LC_COLLATE --unset-env=LC_CTYPE 
--unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT 
--unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME 
--unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE 
--unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid 
--source-profile 
--stderr=/tmp/autopkgtest-lxc.6bhix1j4/downtmp/test-unit-stderr 
--stdout=/tmp/autopkgtest-lxc.6bhix1j4/downtmp/test-unit-stdout 
--tmp=/tmp/autopkgtest-lxc.6bhix1j4/downtmp/autopkgtest_tmp 
--make-executable=/tmp/autopkgtest-lxc.6bhix1j4/downtmp/build.xBN/src/debian/tests/test-unit