Bug#1144819: nield: autopkgtest fails under incus-lxc: Error: Command not found

Antonio Terceiro <[email protected]>
Newsgroups gmane.linux.debian.qa-packages
Message-ID <aoV8pieB9WeMItu6__2412.52433495305$1787133215$gmane$org@debian.org>
Source: nield
Version: 0.6.2-3
Severity: important
Justification: fails autopkgtest on Debian CI infrastructure
Tags: forky sid
User: [email protected]
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.

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

> (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 10005 files and directories currently installed.)
> Preparing to unpack .../bash_5.3-3+b1_amd64.deb ...
> Unpacking bash (5.3-3+b1) over (5.3-3) ...
> Setting up bash (5.3-3+b1) ...
> update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode
> Processing triggers for debianutils (5.23.2) ...
> Reading package lists...
> Building dependency tree...
> Reading state information...
> Solving dependencies...
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Reading package lists...
> Building dependency tree...
> Reading state information...
> Solving dependencies...
> The following NEW packages will be installed:
> nield
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 76.0 kB of archives.
> After this operation, 250 kB of additional disk space will be used.
> Get:1 http://deb.debian.org/debian testing/main amd64 nield amd64 0.6.2-3 [76.0 kB]
> Fetched 76.0 kB in 0s (2060 kB/s)
> Selecting previously unselected package nield.
> (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 10006 files and directories currently installed.)
> Preparing to unpack .../nield_0.6.2-3_amd64.deb ...
> Unpacking nield (0.6.2-3) ...
> Setting up nield (0.6.2-3) ...
> Created symlink '/etc/systemd/system/multi-user.target.wants/nield.service' → '/usr/lib/systemd/system/nield.service'.
> autopkgtest [21:24:36]: test interface-creation.sh: [-----------------------
> /tmp/autopkgtest.VBzWye/build.nFR/src/debian/tests/interface-creation.sh: 12: ip: not found
> Error: Command not found
> autopkgtest [21:24:36]: test interface-creation.sh: -----------------------]
> autopkgtest [21:24:36]: test interface-creation.sh:  - - - - - - - - - - results - - - - - - - - - -
> interface-creation.sh FAIL non-zero exit status 127
> autopkgtest [21:24:37]: test interface-creation.sh:  - - - - - - - - - - stderr - - - - - - - - - -
> /tmp/autopkgtest.VBzWye/build.nFR/src/debian/tests/interface-creation.sh: 12: ip: not found
> autopkgtest [21:24:37]: @@@@@@@@@@@@@@@@@@@@ summary
> interface-creation.sh FAIL non-zero exit status 127


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, nield 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.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmqFfKYACgkQ/A2xu81G
C951MRAA9Xm5ScPYxMRUBjC1DcIJSnBbpapu1RQ5RvsQngT+bCuY6QVbXP3/2JvA
BuOYSmwIkDrinTd92sM9DGV8GkeERYjb4K6tUxnEOZZ20ktZYO6Za69uQncM0Mj9
C68GWNVJQQMmuN14NS+WB75yAlc9Ln0Vo2PhQ01CLZIV62zx053iXwXGdS0Vi2s7
aNHEakb1VfVyNVqp6t+Sdg+wsteaXPusgU7464I7CYUtVmf08WKkKHAxsqebvBd9
s3WgvfNLrA1d1BiJYHiF0Jm744Q2IuU8jkfoJFuSFZ9iRv/U8cOhpWaB9In6xo/w
LUD/iAOtfV3DTJX9bpnUihOoL2QfPGSaVpMbjRzsWqBXp52hxX4BtzxDpJufPUGK
HOeHr+fkUjCsIN0wKy9rf/Tmbp1hdQNK5Zs4pIHrSDx3rhfSdDwnp4IAdijYo4wf
PX0S5fRVScm0CCKqAmSpQjRkvpa7ZWeBtk++/i7mp/CPsH0BKToryruzFti1vhsq
KCBoSREEBSge2Z8hXR06WhiE1QpsNiF+cppS5va5+CJF/TcGkQBgaHJuoU2qeDX5
FLr+es5mhYKsGhnZQp8zHV7Rbdu7PNCQRQP6le6El0W4XYYPbX2vZwvKuv8gZmHZ
sM6ejGF9/R/GvHsYXdkPIzfNRE+RvLnmT4NRNDhbeXPco3VUq9Y=
=0agM
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.