Source: imx-code-signing-tool
Version: 4.0.1+dfsg-2
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.

imx-code-signing-tool passes its tests under lxc, but fails under incus.
The relevant part of the failure is (hopefully):

> Setting up libreadline8t64:amd64 (8.3-4) ...
> Setting up util-linux-extra (2.42.2-2) ...
> Setting up softhsm2-common (2.6.1-3) ...
> Creating config file /etc/softhsm/softhsm2.conf with new version
> Setting up libpython3.14-stdlib:amd64 (3.14.6-1) ...
> Setting up opensc-pkcs11:amd64 (0.27.1-2) ...
> Setting up p11-kit-modules:amd64 (0.26.4-1) ...
> Setting up python3.14 (3.14.6-1) ...
> Setting up p11-kit (0.26.4-1) ...
> Setting up libpython3-stdlib:amd64 (3.14.6-1) ...
> Setting up libsofthsm2 (2.6.1-3) ...
> Setting up softhsm2 (2.6.1-3) ...
> Setting up opensc (0.27.1-2) ...
> Setting up python3 (3.14.6-1) ...
> Setting up libengine-pkcs11-openssl:amd64 (0.4.18-1) ...
> Setting up python3-cffi-backend:amd64 (2.0.0-3) ...
> Setting up python3-bcrypt (5.0.0-6) ...
> Setting up python3-cryptography (47.0.0-1) ...
> Setting up imx-code-signing-tool (4.0.1+dfsg-2) ...
> Processing triggers for systemd (261.2-1) ...
> Processing triggers for libc-bin (2.42-17) ...
> autopkgtest [21:17:44]: Setting up user "test" to sudo without password...
> autopkgtest [21:17:44]: test hsm-sign: [-----------------------
> + groups
> + grep -q softhsm
> + whoami
> + echo User test is not in 'softhsm' group. Fixing permissions...
> User test is not in 'softhsm' group. Fixing permissions...
> + whoami
> + sudo adduser test softhsm
> sudo: adduser: command not found
> autopkgtest [21:17:45]: test hsm-sign: -----------------------]
> autopkgtest [21:17:45]: test hsm-sign:  - - - - - - - - - - results - - - - - 
> - - - - -
> hsm-sign             FAIL non-zero exit status 1
> autopkgtest [21:17:45]: @@@@@@@@@@@@@@@@@@@@ summary
> smoke                PASS (superficial)
> create-csf           PASS
> hsm-sign             FAIL non-zero exit status 1


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, imx-code-signing-tool 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.

Attachment: signature.asc
Description: PGP signature

Reply via email to