[pkg-lxc-devel] Bug#958407: lxc-tests: Allow lxc as an autopkgtest backend
Ryutaroh Matsumoto
ryutaroh at ict.e.titech.ac.jp
Tue Apr 21 16:08:37 BST 2020
Package: lxc-tests
Version: 1:4.0.2-1~1
Severity: wishlist
Dear Maintainer,
Only qemu-kvm is allowed as an autopkgtest backend of LXC, as
debian/tests/control has the following line:
Restrictions: needs-root allow-stderr isolation-machine
On the other hand, debian/tests/control skips tests that cannot
be executed in a container as
# Skip some tests when running in a container
if [ -f /run/container_type ] || (type systemd-detect-virt >/dev/null 2>&1 && systemd-detect-virt --container >/dev/null 2>&1); then
[ "$testbin" = "/usr/bin/lxc-test-apparmor" ] && \
ignore "$STRING" && continue
[ "$testbin" = "/usr/bin/lxc-test-device-add-remove" ] && \
ignore "$STRING" && continue
[ "$testbin" = "/usr/bin/lxc-test-reboot" ] && \
ignore "$STRING" && continue
fi
So, please consider to allow lxc as an autopkgtest backend of lxc itself.
Best regards, Ryutaroh Matsumoto
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.5.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages lxc-tests depends on:
ii libc6 2.30-4
ii liblxc1 1:4.0.2-1~1
ii lxc 1:4.0.2-1~1
lxc-tests recommends no packages.
lxc-tests suggests no packages.
-- no debconf information
More information about the Pkg-lxc-devel
mailing list