Source: ack
Version: 3.8.1-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.

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

> # Subtest: Util::lists_match( Looking for God files )
> 1..1
> ok 1 - Looking for God files
> ok 1 - Util::lists_match( Looking for God files )
> ok 2 - Util::sets_match( Looking for God files )
> ok 1 - Util::ack_sets_match( Looking for God files, 
> --files-from=/tmp/UiyIrp9VSI, God, -c )
> ok 6 - -c and --files-from
> ok
> t/ack-g.t .................... 
> 1..20
> # Subtest: No starting directory specified
> 1..3
> not ok 1 - No STDOUT for non-existent file
> 
> #   Failed test 'No STDOUT for non-existent file'
> #   at t/ack-g.t line 22.
> # [
> #   '-'
> # ]
> not ok 2 - One line of STDERR for non-existent file
> 
> #   Failed test 'One line of STDERR for non-existent file'
> #   at t/ack-g.t line 23.
> #          got: '0'
> #     expected: '1'
> not ok 3 - Correct warning message for non-existent file
> 
> #   Failed test 'Correct warning message for non-existent file'
> #   at t/ack-g.t line 24.
> #                   undef
> #     doesn't match '(?^:non-existent: No such file or directory)'
> # Looks like you failed 3 tests of 3.
> not ok 1 - No starting directory specified
> 
> #   Failed test 'No starting directory specified'
> #   at t/ack-g.t line 26.
> # Subtest: regex comes before -g on the command line
> 1..3
> not ok 1 - No STDOUT for non-existent file
> 
> #   Failed test 'No STDOUT for non-existent file'
> #   at t/ack-g.t line 38.
> # [
> #   '-'
> # ]
> not ok 2 - One line of STDERR for non-existent file
> 
> #   Failed test 'One line of STDERR for non-existent file'
> #   at t/ack-g.t line 39.
> #          got: '0'
> #     expected: '1'
> not ok 3 - Correct warning message for non-existent file
> 
> #   Failed test 'Correct warning message for non-existent file'
> #   at t/ack-g.t line 40.
> #                   undef
> #     doesn't match '(?^:non-existent: No such file or directory)'
> # Looks like you failed 3 tests of 3.
> not ok 2 - regex comes before -g on the command line
> 
> #   Failed test 'regex comes before -g on the command line'


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, ack 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