[Pkg-libvirt-commits] [Git][libvirt-team/libvirt][debian/master] d/t/smoke-lxc: skip if cgroup v1&v2 are present

Guido Günther (@agx) gitlab at salsa.debian.org
Thu Aug 12 08:19:11 BST 2021



Guido Günther pushed to branch debian/master at Libvirt Packaging Team / libvirt


Commits:
fbc728f8 by Christian Ehrhardt at 2021-08-12T06:55:27+00:00
d/t/smoke-lxc: skip if cgroup v1&v2 are present

Signed-off-by: Christian Ehrhardt <christian.ehrhardt at canonical.com>

- - - - -


1 changed file:

- debian/tests/smoke-lxc


Changes:

=====================================
debian/tests/smoke-lxc
=====================================
@@ -24,6 +24,18 @@ check_domain()
 
 trap cleanup EXIT
 
+# This is an upstream bug due to combined cgroup v1/v2 handling
+# https://bugs.archlinux.org/task/70174
+# https://bugzilla.opensuse.org/show_bug.cgi?id=1183247
+# https://gitlab.com/libvirt/libvirt/-/issues/182
+# https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1934966
+# Skip this test (until the upstream issue is resolved) in case v1&v2
+# cgroup are present in the test environment.
+if [ -n "$(findmnt -lnt cgroup)" ] && [ -n "$(findmnt -lnt cgroup2)" ]; then
+    echo "Libvirt >=7.1.0 is known to fail LXC handling (issue 182) - skipping".
+    exit 77
+fi
+
 set -x
 virt-host-validate lxc || exit 0
 virsh capabilities



View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/-/commit/fbc728f8e4a2bcaa356eaf0570887904578d3da5

-- 
View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/-/commit/fbc728f8e4a2bcaa356eaf0570887904578d3da5
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-commits/attachments/20210812/34c2287a/attachment-0001.htm>


More information about the Pkg-libvirt-commits mailing list