Ok, lxc/1:5.0.3-2ubuntu4 was uploaded and it's getting better but, unfortunately, "lxc-test-unpriv" test wasn't skipped really.
Despite this bug (https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/2056461) I was able to make my local autopkgtest environment to work:
autopkgtest \ --apt-upgrade \ --shell-fail \ --output-dir dep8-lxc-pkg-ubuntu \ lxc-5.0.3/ \ -- lxd --vm ubuntu-daily:noble -c limits.cpu=10 -c limits.memory=15GiB
========================================================== PASS: lxc-tests: /usr/bin/lxc-test-snapshot PASS: lxc-tests: /usr/bin/lxc-test-startone PASS: lxc-tests: /usr/bin/lxc-test-state-server PASS: lxc-tests: /usr/bin/lxc-test-symlink PASS: lxc-tests: /usr/bin/lxc-test-sys-mixed PASS: lxc-tests: /usr/bin/lxc-test-sysctls IGNORED: lxc-tests: /usr/bin/lxc-test-unpriv PASS: lxc-tests: /usr/bin/lxc-test-usernic PASS: lxc-tests: /usr/bin/lxc-test-usernsexec PASS: lxc-tests: /usr/bin/lxc-test-utils
SUMMARY: pass=55, fail=0, ignored=1 autopkgtest [17:46:01]: test exercise: -----------------------] autopkgtest [17:46:02]: test exercise: - - - - - - - - - - results - - - - - - - - - - exercise PASS autopkgtest [17:46:02]: test basics-create-destroy: preparing testbed
.... Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host. (Reading database ... 69249 files and directories currently installed.) Removing autopkgtest-satdep (0) ... autopkgtest [17:50:16]: test no-devel: [----------------------- + grep LXC_DEVEL /usr/include/lxc/version.h + grep 0 #define LXC_DEVEL 0 autopkgtest [17:50:17]: test no-devel: -----------------------] no-devel PASS autopkgtest [17:50:17]: test no-devel: - - - - - - - - - - results - - - - - - - - - - autopkgtest [17:50:18]: @@@@@@@@@@@@@@@@@@@@ summary exercise PASS basics-create-destroy PASS (superficial) no-devel PASS ==========================================================
Ok, lxc/1:5. 0.3-2ubuntu4 was uploaded and it's getting better but, unfortunately, "lxc-test-unpriv" test wasn't skipped really.
Despite this bug (https:/ /bugs.launchpad .net/ubuntu/ +source/ autopkgtest/ +bug/2056461) I was able to make my local autopkgtest environment to work:
autopkgtest \
--apt-upgrade \
--shell-fail \
--output-dir dep8-lxc-pkg-ubuntu \
lxc-5.0.3/ \
-- lxd --vm ubuntu-daily:noble -c limits.cpu=10 -c limits.memory=15GiB
======= ======= ======= ======= ======= ======= ======= ======= == lxc-test- snapshot lxc-test- startone lxc-test- state-server lxc-test- symlink lxc-test- sys-mixed lxc-test- sysctls lxc-test- unpriv lxc-test- usernic lxc-test- usernsexec lxc-test- utils
PASS: lxc-tests: /usr/bin/
PASS: lxc-tests: /usr/bin/
PASS: lxc-tests: /usr/bin/
PASS: lxc-tests: /usr/bin/
PASS: lxc-tests: /usr/bin/
PASS: lxc-tests: /usr/bin/
IGNORED: lxc-tests: /usr/bin/
PASS: lxc-tests: /usr/bin/
PASS: lxc-tests: /usr/bin/
PASS: lxc-tests: /usr/bin/
SUMMARY: pass=55, fail=0, ignored=1 ------- ------- --] create- destroy: preparing testbed
autopkgtest [17:46:01]: test exercise: -------
autopkgtest [17:46:02]: test exercise: - - - - - - - - - - results - - - - - - - - - -
exercise PASS
autopkgtest [17:46:02]: test basics-
....
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host. ------- ------- --- lxc/version. h ------- ------- --] @@@@@@@ @@@@@@ summary create- destroy PASS (superficial) ======= ======= ======= ======= ======= ======= ======= ==
(Reading database ... 69249 files and directories currently installed.)
Removing autopkgtest-satdep (0) ...
autopkgtest [17:50:16]: test no-devel: [------
+ grep LXC_DEVEL /usr/include/
+ grep 0
#define LXC_DEVEL 0
autopkgtest [17:50:17]: test no-devel: -------
no-devel PASS
autopkgtest [17:50:17]: test no-devel: - - - - - - - - - - results - - - - - - - - - -
autopkgtest [17:50:18]: @@@@@@@
exercise PASS
basics-
no-devel PASS
=======