Bug#1144837: sitesummary: autopkgtest fails under incus-lxc: cp: cannot stat '/etc/ssh/ssh_host*.pub': No such file or directory

Antonio Terceiro <[email protected]>
Newsgroups gmane.linux.skolelinux.devel
Message-ID <aoWCg5-hbRVRvcBd__17248.6951387086$1787134783$gmane$org@debian.org>
Source: sitesummary
Version: 0.1.61
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).

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

> Enabling module authz_host.
> Enabling module authn_core.
> Enabling module auth_basic.
> Enabling module access_compat.
> Enabling module authn_file.
> Enabling module authz_user.
> Enabling module alias.
> Enabling module dir.
> Enabling module autoindex.
> Enabling module env.
> Enabling module mime.
> Enabling module negotiation.
> Enabling module setenvif.
> Enabling module filter.
> Enabling module deflate.
> Enabling module status.
> Enabling module reqtimeout.
> Enabling conf charset.
> Enabling conf localized-error-pages.
> Enabling conf other-vhosts-access-log.
> Enabling conf security.
> Enabling conf serve-cgi-bin.
> Enabling site 000-default.
> Created symlink '/etc/systemd/system/multi-user.target.wants/apache2.service' → '/usr/lib/systemd/system/apache2.service'.
> Created symlink '/etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service' → '/usr/lib/systemd/system/apache-htcacheclean.service'.
> Processing triggers for libc-bin (2.42-17) ...
> Processing triggers for sitesummary (0.1.61) ...
> apache2_invoke: Enable module cgi.load
> apache2_invoke: Enable configuration sitesummary.conf
> autopkgtest [20:50:56]: test test-server-client: [-----------------------
> cp: cannot stat '/etc/ssh/ssh_host*.pub': No such file or directory
> /var/lib/sitesummary
> /var/lib/sitesummary/www
> /var/lib/sitesummary/tmpstorage
> /var/lib/sitesummary/tmpstorage/127.0.0.1-2026-08-14T20:50:57-3511-sitesummary
> /var/lib/sitesummary/tmpstorage/127.0.0.1-2026-08-14T20:50:57-3511-sitesummary/system
> /var/lib/sitesummary/tmpstorage/127.0.0.1-2026-08-14T20:50:57-3511-sitesummary/system/cpuinfo
> /var/lib/sitesummary/tmpstorage/127.0.0.1-2026-08-14T20:50:57-3511-sitesummary/system/meminfo
> /var/lib/sitesummary/tmpstorage/127.0.0.1-2026-08-14T20:50:57-3511-sitesummary/system/mdstat
> /var/lib/sitesummary/tmpstorage/127.0.0.1-2026-08-14T20:50:57-3511-sitesummary/system/hdparm-I
> /var/lib/sitesummary/tmpstorage/127.0.0.1-2026-08-14T20:50:57-3511-sitesummary/system/fstab
> /var/lib/sitesummary/tmpstorage/127.0.0.1-2026-08-14T20:50:57-3511-sitesummary/system/procmounts
> /var/lib/sitesummary/tmpstorage/127.0.0.1-2026-08-14T20:50:57-3511-sitesummary/system/systemd-targets
> /var/lib/sitesummary/tmpstorage/127.0.0.1-2026-08-14T20:50:57-3511-sitesummary.tar.gz
> /var/lib/sitesummary/entries
> /var/lib/sitesummary/entries/ether-00:00:00:00:00:00
> /var/lib/sitesummary/entries/ether-00:00:00:00:00:00/peerinfo
> /var/lib/sitesummary/entries/ether-00:00:00:00:00:00/debian
> /var/lib/sitesummary/entries/ether-00:00:00:00:00:00/debian/debian_version
> /var/lib/sitesummary/entries/ether-00:00:00:00:00:00/debian/dpkg-l
> /var/lib/sitesummary/entries/ether-00:00:00:00:00:00/debian-edu
> /var/lib/sitesummary/entries/ether-00:00:00:00:00:00/nagios
> /var/lib/sitesummary/entries/ether-00:00:00:00:00:00/siteinfo
> /var/lib/sitesummary/entries/ether-00:00:00:00:00:00/siteinfo/site
> /var/lib/sitesummary/entries/ether-00:00:00:00:00:00/siteinfo/sitegroup
> /var/lib/sitesummary/entries/ether-00:00:00:00:00:00/siteinfo/hostclass
> /var/lib/sitesummary/entries/ether-00:00:00:00:00:00/system
> /var/lib/sitesummary/entries/ether-00:00:00:00:00:00/system/uname-smr
> /var/lib/sitesummary/entries/ether-00:00:00:00:00:00/system/hostname
> /var/lib/sitesummary/entries/ether-00:00:00:00:00:00/system/ifconfig-a
> /var/lib/sitesummary/entries/ether-00:00:00:00:00:00/system/route-n


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, sitesummary 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/A2xu81GC94FAmqFgoMACgkQ/A2xu81G
C96OTw//ef69qFAi066wBjMhaGqrewf/XylkhqS8nG7PPPoBdh+SbY/oSKnyQWem
xhAgeErmSsx3x3PQ2bLXPqU+6HRD6sv4M94UGmUPbrpk12mNyuQIwrjvnW29hdga
qdnqmRjodl0WgfASxlct2jlUgJsaeKKVMkcY+OcKSJes4RIsrq02oX9ij1hJtcnt
mzoQYg7os2Xj+6SwM2mNPsFawn+NrtljCY5Qe03vlnYW/yEpLy1zfk/7ZgS4xpyO
Qfv6T+T7TkNUedQf1zBno5lo6Wew0V3Ie8AnIkb20dRuZkQGYmHiSvRJ3e1rCmB3
FF6dmJscj2KOHxGigAAvIXmZeoKcuSHLL7hmWWDmF7fdC8oBW4qKT7hKlU5Pq5+f
/SPzvDk922WJ/7beWphMoacljOIhF/3e/87/SaySuV8Vnry7gHvwtBYvqk4mhOVH
misFhpJNaTIjeeEmNLVb4Eiok6xCmI42U8hYZUcyqOMGjyK51B8fPx0Bv3zKTa34
rgxR1Fv9zBjToWWI5wq6yKMqEQiw7DkODCMzgAjAaHArUn9N0K8dcC02i2BvdCvl
epOI8uhWE5ODkR9USI65clyhfgiBgfBbxmt3xtgMxFMXLyOLJgZIREo5BPgxHDbe
U1ycbhWcdF4GmI50kTOftUT6bryIUPFKBD2tc5eboQR16o0VhdU=
=XD2e
-----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.