Bug#1144870: systemd: autopkgtest fails under incus-lxc: FileNotFoundError: [Errno 2] No such file or directory: 'ip'

Antonio Terceiro terceiro at debian.org
Wed Aug 19 16:04:28 BST 2026


Source: systemd
Version: 261.2-1
Severity: important
Justification: fails autopkgtest on Debian CI infrastructure
Tags: forky sid
User: debian-ci at lists.debian.org
Usertags: lxc

Hi,

Debian CI is switching away from lxc containers in favor of incus Containers.
This is motivated by security concerns from us; incus is based on lxc, but
orchestrates containers substantially different: containers are not privileged
(so root in the container is not uid 0 outside of it), and incus imposes a
stricter isolation from the host system).

systemd passes its tests under lxc, but fails under incus.
The relevant part of the failure is (hopefully):

> ======================================================================
> ERROR: test_bridge_init (__main__.BridgeTest.test_bridge_init)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/tmp/autopkgtest.Ce5g9R/build.iYO/src/test/networkd-test.py", line 314, in tearDown
>     subprocess.check_call(['ip', 'link', 'del', 'mybridge'])
>     ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.14/subprocess.py", line 415, in check_call
>     retcode = call(*popenargs, **kwargs)
>   File "/usr/lib/python3.14/subprocess.py", line 396, in call
>     with Popen(*popenargs, **kwargs) as p:
>          ~~~~~^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.14/subprocess.py", line 1039, in __init__
>     self._execute_child(args, executable, preexec_fn, close_fds,
>     ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>                         pass_fds, cwd, env,
>                         ^^^^^^^^^^^^^^^^^^^
>     ...<5 lines>...
>                         gid, gids, uid, umask,
>                         ^^^^^^^^^^^^^^^^^^^^^^
>                         start_new_session, process_group)
>                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.14/subprocess.py", line 1990, in _execute_child
>     raise child_exception_type(errno_num, err_msg, err_filename)
> FileNotFoundError: [Errno 2] No such file or directory: 'ip'

The full autokpgtest logs are available at:
https://ci.debian.net/experiments/8/regressions/
(please beware of pagination)

Common types of failure and suggested fixes are being documented at:
https://wiki.debian.org/ContinuousIntegration/LxcToIncus

Note that for the time being, systemd is still being tested under lxc to
avoid disturbing its testing migration test results.

If you decide to add the `isolation-machine` restriction to get this package
tested under qemu, please mention that explicitly when closing this bug (it's
fine to do that only in the package changelog entry that closes the bug) so
that we can configure your package for qemu on ci.debian.net.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20260819/379e12d6/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list