Skip to content
Snippets Groups Projects
Commit 8c2f99b3 authored by Andrea Bolognani's avatar Andrea Bolognani
Browse files

tests: No longer skip smoke-lxc when cgroups v1&v2 are both present

libvirt 7.9.0 contains the fix for the issue that resulted in
this being necessary, so we can drop it now.

This reverts commit fbc728f8
parent b3027bb7
No related branches found
No related tags found
1 merge request!114Prepare 7.9.0-1
......@@ -24,18 +24,6 @@ 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