Package: criu
Version: 3.17.1-3
Severity: normal
Dear Maintainer,
while working on #1054814, I've thought that running the upstream
testsuite might be a good idea. The testsuite is fairly comprehensive,
and not exactly straight-forward to run, but I got it to (mostly) pass
using qemu running as root. This is necessary, because it does also
functionality where criu is calling out to iptables (shouldn't it
therefore at least suggest, if not even recommend, the iptables
package?).
Here is what I came up with:
debian/tests/control:
Tests:
integration-tests,
Restrictions:
allow-stderr,
flaky,
isolation-container,
needs-root,
Depends:
iproute2,
libaio-dev,
libbsd-dev,
libbsd0,
libcap-dev,
libnl-3-dev,
libnl-route-3-dev,
iptables,
python3-junitxml,
python3-yaml,
@,
@builddeps@,
@recommends@,
debian/tests/integration-tests:
#!/bin/bash
set -eux
rm -fv test/pycriu
cd test && ./zdtm.py run --criu-bin=/usr/sbin/criu --crit-bin=/usr/bin/crit \
--keep-going \
-a \
-x apparmor_stacking \
-x fd01 \
-x netns_lock_iptables \
-x rseq \
-x scm06 \
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.11.4-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages criu depends on:
ii libbsd0 0.12.2-2
ii libc6 2.40-3
ii libgnutls30t64 [libgnutls30] 3.8.6-2+b1
ii libnet1 1.3+dfsg-0.1
ii libnftables1 1.1.1-1
ii libnl-3-200 3.7.0-0.3+b1
ii libprotobuf-c1 1.4.1-1+b3
ii python3 3.12.6-1
ii python3-protobuf 3.21.12-10
Versions of packages criu recommends:
ii iproute2 6.11.0-1
criu suggests no packages.
-- no debconf information