Skip to content
Snippets Groups Projects
Commit fbc728f8 authored by Christian Ehrhardt's avatar Christian Ehrhardt Committed by Guido Günther
Browse files

d/t/smoke-lxc: skip if cgroup v1&v2 are present

parent 4bafac5e
No related branches found
No related tags found
1 merge request!108d/t/smoke-lxc: skip if cgroup v1&v2 are present
Pipeline #274193 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment