This bug was fixed in the package lxc - 1:5.0.3-2ubuntu5

---------------
lxc (1:5.0.3-2ubuntu5) noble; urgency=medium

  * Temporarily skip some buggy tests (LP: #2059550)
    - debian/tests/exercise: skip "lxc-test-unpriv" test (attempt #2)

 -- Alexander Mikhalitsyn <aleksandr.mikhalit...@canonical.com>  Wed, 10
Apr 2024 17:23:26 +0200

** Changed in: lxc (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/2059550

Title:
  autopkgtest failures on 1:5.0.3-2ubuntu3 (Noble)

Status in lxc package in Ubuntu:
  Fix Released

Bug description:
  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.

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to