Source: bats-file Version: 0.4.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. bats-file passes its tests under lxc, but fails under incus. The relevant part of the failure is (hopefully): > ok 185 assert_file_not_empty() <file>: replace prefix of displayed path > ok 186 assert_file_not_empty() <file>: replace suffix of displayed path > ok 187 assert_file_not_empty() <file>: replace infix of displayed path > ok 188 temp_make() <var>: returns 0, creates a temporary directory and > displays its path > ok 189 temp_make() <var>: returns 1 and displays an error message if the > directory can not be created > ok 190 temp_make() <var>: works when called from `setup' > ok 191 temp_make() <var>: works when called from `setup_file' > ok 192 temp_make() <var>: works when called from `@test' > ok 193 temp_make() <var>: works when called from `teardown' > ok 194 temp_make() <var>: works when called from `teardown_file' > ok 195 temp_make() <var>: does not work when called from `main' > ok 196 temp_make() -p <prefix> <var>: returns 0 and creates a temporary > directory with <prefix> prefix > ok 197 temp_make() --prefix <prefix> <var>: returns 0 and creates a temporary > directory with <prefix> prefix > ok 198 temp_make() --prefix <prefix> <var>: works if <prefix> starts with a > `-' > ok 199 temp_del() <path>: returns 0 and deletes <path> > ok 200 temp_del() <path>: works even if wrote-protected file/directory exists > within > ok 201 temp_del() <path>: returns 1 and displays an error message if <path> > can not be deleted > ok 202 temp_del() <path>: works if <path> starts with a `-' > ok 203 temp_del() <path>: returns 0 and does not delete <path> if > `BATSLIB_TEMP_PRESERVE' is set to `1' > ok 204 temp_del() <path>: returns 0 and does not delete <path> if > `BATSLIB_TEMP_PRESERVE_ON_FAILURE' is set to `1' and the test have failed > ok 205 temp_del() <path>: returns 0 and deletes <path> if > `BATSLIB_TEMP_PRESERVE_ON_FAILURE' is set to `1' and the test have passed > ok 206 temp_del() <path>: returns 0 and deletes <path> if > `BATSLIB_TEMP_PRESERVE_ON_FAILURE' is set to `1' and the test have been > skipped > ok 207 temp_del() <path>: `BATSLIB_TEMP_PRESERVE_ON_FAILURE' works when > called from `teardown' > ok 208 temp_del() <path>: `BATSLIB_TEMP_PRESERVE_ON_FAILURE' works when > called from `teardown_file' > ok 209 temp_del() <path>: `BATSLIB_TEMP_PRESERVE_ON_FAILURE' does not work > when called from `main' > ok 210 temp_del() <path>: `BATSLIB_TEMP_PRESERVE_ON_FAILURE' does not work > when called from `setup' > ok 211 temp_del() <path>: `BATSLIB_TEMP_PRESERVE_ON_FAILURE' does not work > when called from `setup_file' > ok 212 temp_del() <path>: `BATSLIB_TEMP_PRESERVE_ON_FAILURE' does not work > when called from `@test' > autopkgtest [21:10:55]: test run-test-suite: -----------------------] > autopkgtest [21:10:55]: test run-test-suite: - - - - - - - - - - results - - > - - - - - - - - > run-test-suite 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, bats-file 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
Description: PGP signature

