Source: ruby-foreman
Version: 0.90.0-1
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).

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

> Setting up ruby-did-you-mean (2.0.0-1) ...
> Setting up ruby-xmlrpc (0.3.3-2) ...
> Setting up rake (13.4.2-1) ...
> Setting up libruby3.3:amd64 (3.3.8-2.2) ...
> Setting up ruby3.3 (3.3.8-2.2) ...
> Setting up libruby:amd64 (1:3.3+b1) ...
> Setting up ruby (1:3.3+b1) ...
> Setting up ruby-thor (1.5.0-1) ...
> Setting up ruby-foreman (0.90.0-1) ...
> Setting up ruby-rubygems (4.0.18-1) ...
> Processing triggers for libc-bin (2.42-17) ...
> autopkgtest [20:46:55]: test smoke-test: [-----------------------
> + cd /tmp/autopkgtest.4hq5W9/autopkgtest_tmp
> + mkdir app
> + cd app
> + cat
> + foreman version
> 0.90.0
> + foreman check
> valid procfile detected (worker)
> + foreman export systemd etc/systemd/system
> [foreman export] writing: app-worker.1.service
> [foreman export] writing: app.target
> + pid=1300
> + sleep 5s
> + foreman start
> 20:46:56 worker.1 | started with pid 1303
> + pgrep -fa sleep 1h
> /tmp/autopkgtest.4hq5W9/build.aIe/src/debian/tests/smoke-test: 22: pgrep: not 
> found
> /tmp/autopkgtest.4hq5W9/wrapper.sh: Killing leaked background processes: 1300 
> Error: Command not found
> autopkgtest [20:47:01]: test smoke-test: -----------------------]
> autopkgtest [20:47:01]: test smoke-test:  - - - - - - - - - - results - - - - 
> - - - - - -
> smoke-test           FAIL non-zero exit status 127
> autopkgtest [20:47:01]: test gem2deb-test-runner: preparing testbed
> autopkgtest [20:47:05]: testbed dpkg architecture: amd64
> autopkgtest [20:47:05]: testbed apt version: 3.3.2
> autopkgtest [20:47:05]: @@@@@@@@@@@@@@@@@@@@ test bed setup
> autopkgtest [20:47:05]: updating testbed package index (apt update)
> Get:1 http://deb.debian.org/debian testing InRelease [151 kB]
> Get:2 http://deb.debian.org/debian-debug testing-debug InRelease [48.3 kB]
> Get:3 http://deb.debian.org/debian testing/contrib Sources [51.7 kB]
> Get:4 http://deb.debian.org/debian testing/non-free-firmware Sources [7856 B]
> Get:5 http://deb.debian.org/debian testing/main Sources [11.1 MB]
> Get:6 http://deb.debian.org/debian testing/non-free Sources [73.2 kB]
> Get:7 http://deb.debian.org/debian testing/main amd64 Packages [9907 kB]
> Get:8 http://deb.debian.org/debian testing/main Translation-en [6578 kB]
> Get:9 http://deb.debian.org/debian testing/contrib amd64 Packages [51.8 kB]
> Get:10 http://deb.debian.org/debian testing/contrib Translation-en [49.1 kB]
> Get:11 http://deb.debian.org/debian testing/non-free amd64 Packages [91.2 kB]
> Get:12 http://deb.debian.org/debian testing/non-free Translation-en [62.4 kB]
> Get:13 http://deb.debian.org/debian testing/non-free-firmware amd64 Packages 
> [10.3 kB]
> Get:14 http://deb.debian.org/debian testing/non-free-firmware Translation-en 
> [6272 B]
> Get:15 http://deb.debian.org/debian-debug testing-debug/main Sources [3072 kB]
> Get:16 http://deb.debian.org/debian-debug testing-debug/contrib Sources [27.3 
> kB]
> Get:17 http://deb.debian.org/debian-debug testing-debug/non-free Sources 
> [19.0 kB]
> Get:18 http://deb.debian.org/debian-debug testing-debug/main amd64 Packages 
> [3754 kB]
> Get:19 http://deb.debian.org/debian-debug testing-debug/contrib amd64 
> Packages [40.6 kB]
> Get:20 http://deb.debian.org/debian-debug testing-debug/non-free amd64 
> Packages [15.3 kB]
> Fetched 35.2 MB in 3s (13.3 MB/s)
> Reading package lists...


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, ruby-foreman 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

_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to