Some more findings after testing with systemd-run:

FAIL: lxc-tests: lxc-test-autostart (360s)
FAIL: lxc-tests: lxc-test-no-new-privs (361s)

This two tests fail during the (local) autopkgtest run. But after logging into 
the local autopkgtest VM via its debug shell (--shell-fail|-s parameter) and 
executing them manually `sudo src/tests/lxc-test-autostart` / `sudo 
src/tests/lxc-test-no-new-privs` they pass just fine.
(Well I needed to adopt from a "xenial" to a "focal" container for the 
"no-new-privs" test as the xenial container will fail with some apt fetch 
errors during `apt update`, maybe due to xenial EOL?)
So this is probably some intermittent networking failure or wrong/different 
proxy environment settings. – But seems to be rather unrelated to cgroupsv2.


FAIL: lxc-tests: lxc-test-apparmor-mount (0s)
FAIL: lxc-tests: lxc-test-unpriv (0s)

The other two tests seem to need some more porting work to make them
compatible with cgroupsv2, as they are still making use of some
deprecated cgroupsv1 functionality, such as the `cgroup.clone_children`
or `tasks` files (see:
https://github.com/torvalds/linux/blob/master/Documentation/admin-
guide/cgroup-v2.rst#deprecated-v1-core-features).


So in order to unblock the systemd 248.3-1ubuntu7 release (in impish-proposed) 
we could move forward with cbrauner's suggestion of skipping these tests. 
Patch/Debdiff attached.
In the long run the tests should be fixed and made compatible with cgroupsv2, 
though.

** Patch added: "lxc-1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1943704/+attachment/5525945/+files/lxc-1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1943704

Title:
  lxc fails autopkgtests on (pure) cgroups v2 enabled system

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1943704/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to