[Bug 2059550] [NEW] autopkgtest failures on 1:5.0.3-2ubuntu2 (Noble)

Launchpad Bug Tracker 2059550 at bugs.launchpad.net
Wed Apr 10 08:22:44 UTC 2024


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

We can see autopkgtest failures on Noble:
https://autopkgtest.ubuntu.com/packages/lxc
1:5.0.3-2ubuntu2 from noble-proposed/universe

Details from log (https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/amd64/l/lxc/20240327_203000_ce7d4@/log.gz):
=====================
3266s Removing autopkgtest-satdep (0) ...
3269s autopkgtest [20:29:48]: test no-devel: [-----------------------
3269s + grep LXC_DEVEL /usr/include/lxc/version.h
3269s + grep 0
3269s #define LXC_DEVEL 0
3269s autopkgtest [20:29:48]: test no-devel: -----------------------]
3269s autopkgtest [20:29:48]: test no-devel:  - - - - - - - - - - results - - - - - - - - - -
3269s no-devel             PASS
3269s autopkgtest [20:29:48]: @@@@@@@@@@@@@@@@@@@@ summary
3269s exercise             FAIL non-zero exit status 1
3269s unprivileged-containers FAIL non-zero exit status 1
3269s basics-create-destroy PASS (superficial)
3269s no-devel             PASS
=====================


unprivileged-containers
=====================
1896s Unpacking the rootfs
1900s 
1900s ---
1900s You just created an Ubuntu mantic amd64 (20240326_07:42) container.
1900s 
1900s To enable SSH, run: apt install openssh-server
1900s No default root or user password are set by LXC.
1900s + systemd-run --scope --quiet --user --property=Delegate=yes lxc-start -n mycontainer
1900s Failed to connect to bus: No medium found

=====================

exercise
=====================
1113s FAIL: lxc-tests: /usr/bin/lxc-test-unpriv
1113s ---
1113s Name:           c1
1113s State:          RUNNING
1113s PID:            52927
1113s Link:           veth1001_HZ75
1113s  TX bytes:      0 bytes
1113s  RX bytes:      0 bytes
1113s  Total bytes:   0 bytes
1113s Name:           c1
1113s State:          RUNNING
1113s PID:            52994
1113s Link:           veth1001_ujGT
1113s  TX bytes:      0 bytes
1113s  RX bytes:      0 bytes
1113s  Total bytes:   0 bytes
1113s lxc-copy: c1: ../src/lxc/utils.c: lxc_drop_groups: 1365 Operation not permitted - Failed to drop supplimentary groups
<...>
1113s info: Removing crontab ...
1113s info: Removing user `lxcunpriv' ...
1113s FAIL
1113s ---
1114s PASS: lxc-tests: /usr/bin/lxc-test-usernic
1114s PASS: lxc-tests: /usr/bin/lxc-test-usernsexec
1114s PASS: lxc-tests: /usr/bin/lxc-test-utils
1114s 
1114s SUMMARY: pass=55, fail=1, ignored=0
1115s autopkgtest [19:53:54]: test exercise: -----------------------]
1115s autopkgtest [19:53:54]: test exercise:  - - - - - - - - - - results - - - - - - - - - -
1115s exercise             FAIL non-zero exit status 1
=====================


In the previous version we had no unprivileged-containers testsuite because it was inherited from Debian.

lxc-test-unpriv was a skipped test too because we had this piece of code:
https://git.launchpad.net/ubuntu/+source/lxc/tree/debian/tests/exercise?h=applied/ubuntu/noble#n129
=====================
    # Skip some tests due to cgroup v2 incompatibility
    if [ -e /sys/fs/cgroup/system.slice/memory.current ]; then

        [ "$testbin" = "lxc-test-apparmor-mount" ] && \
            ignore "$STRING" && continue

        [ "$testbin" = "lxc-test-autostart" ] && \
            ignore "$STRING" && continue

        [ "$testbin" = "lxc-test-no-new-privs" ] && \
            ignore "$STRING" && continue

        [ "$testbin" = "lxc-test-unpriv" ] && \
            ignore "$STRING" && continue

    fi
=====================

Just compare:
https://git.launchpad.net/ubuntu/+source/lxc/tree/debian/tests/control?h=applied/ubuntu/noble
and
https://git.launchpad.net/ubuntu/+source/lxc/tree/debian/tests/control?h=applied/ubuntu/noble-devel

We want to fix all of this for sure, but it would be awesome to get an
updated and actual version of LXC in the upcoming Ubuntu Noble release
too. So, may be it makes sense to skip this tests for the sake of having
LXC updated.

What I found in Debian, is that autopkgtests are skipped too:
https://ci.debian.net/packages/l/lxc/unstable/amd64/

Taking this into account it (probably) reasonable to skip this tests too
for now.

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: patch
-- 
autopkgtest failures on 1:5.0.3-2ubuntu2 (Noble)
https://bugs.launchpad.net/bugs/2059550
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list