The failing docker.io tests were fixed (they were either flaky or needed
other components in the container-stack -proposed pocket to run).

The autopkgtest failures seems to be a regression in autopkgtest
(package) autopkgtests (test suite).

They are 2 distinct failures:

First, the "unshare" backend tests are failing because they use 
ubuntu-distro-info but do not require the distro-info binary package for the 
test to run. The reason this only became a regression now is that these tests 
were being skipped previously due to:
"23783s SKIP: unprivileged namespaces are restricted 
(kernel.apparmor_restrict_unprivileged_userns=1)"
which is no longer true.

Second

5464s 14:52:49 O: 
5464s 14:52:49 O: 
======================================================================
5464s 14:52:49 O: FAIL: test_background_process 
(__main__.LxcRunner.test_background_process)
5464s 14:52:49 O: leftover background process in test
5464s 14:52:49 O: 
----------------------------------------------------------------------
5464s 14:52:49 O: Traceback (most recent call last):
5464s 14:52:49 O:   File 
"/tmp/autopkgtest.R0cFOA/build.XOr/src/./tests/autopkgtest", line 4178, in 
test_background_process
5464s 14:52:49 O:     self.assertEqual(code, 0, err)
5464s 14:52:49 O: AssertionError: 4 != 0 : autopkgtest: DBG: autopkgtest 
options: Namespace(override_control=None, only_tests=[], skip_tests=None, 
built_binaries=False, test_architecture=None, 
packages=['/tmp/autopkgtest.test.qw2p4pt2/testpkg'], output_dir=None, 
logfile=None, summary=None, verbosity=2, setup_commands=[], apt_upgrade=False, 
setup_commands_boot=[], add_apt_sources=[], add_apt_releases=[], 
pin_packages=[], apt_pocket=[], apt_default_release=None, 
enable_apt_fallback=True, copy=[], env=[], ignore_restrictions=[], user=None, 
gainroot=None, shell_fail=False, shell=False, timeout=0, timeout_short=None, 
timeout_copy=None, timeout_install=None, timeout_test=5, timeout_build=10, 
timeout_factor=1.0, set_lang=None, auto_control=True, build_parallel=None, 
needs_internet='run', validate=False)
...
5464s 14:52:49 O: autopkgtest [14:09:36]: test bg:  - - - - - - - - - - stderr 
- - - - - - - - - -
5464s 14:52:49 O: Security violation: Requested utility `bg_daemon` does not 
match executable name:
5464s 14:52:49 O:   /usr/lib/cargo/bin/coreutils/sleep
5464s 14:52:49 O: autopkgtest: DBG: sending command to testbed: copyup 
/tmp/autopkgtest-lxc.a1qx79y_/downtmp/bg-artifacts/ 
/tmp/autopkgtest.output.w6bkn95m/artifacts/
5464s 14:52:49 O: autopkgtest: DBG: got reply from testbed: ok
5464s 14:52:49 O: autopkgtest: DBG: testbed command ['rm', '-rf', 
'/tmp/autopkgtest-lxc.a1qx79y_/downtmp/bg-artifacts', 
'/tmp/autopkgtest-lxc.a1qx79y_/downtmp/autopkgtest_tmp'], kind short, sout raw, 
serr pipe, env []
5464s 14:52:49 O: autopkgtest: DBG: testbed command exited with code 0
5464s 14:52:49 O: autopkgtest: DBG: needs_reset, previously=False, requested by 
run_tests() line 231
5464s 14:52:49 O: autopkgtest [14:09:36]: @@@@@@@@@@@@@@@@@@@@ summary
5464s 14:52:49 O: bg                   FAIL stderr: Security violation: 
Requested utility `bg_daemon` does not match executable name:
5464s 14:52:49 O: autopkgtest: DBG: testbed stop
5464s 14:52:49 O: autopkgtest: DBG: testbed close, 
scratch=/tmp/autopkgtest-lxc.a1qx79y_/downtmp
5464s 14:52:49 O: autopkgtest: DBG: sending command to testbed: close
5464s 14:52:49 O: autopkgtest: DBG: got reply from testbed: ok
5464s 14:52:49 O: autopkgtest: DBG: sending command to testbed: quit
5464s 14:52:49 O: 
5464s 14:52:49 O: 
5464s 14:52:49 O: 
----------------------------------------------------------------------
5464s 14:52:49 O: Ran 97 tests in 3637.768s
5464s 14:52:49 O: 
5464s 14:52:49 O: FAILED (failures=1, skipped=2, expected failures=2)
5464s 14:52:49 I: Finished with exitcode 1

This second one is now a regression due to the autopkgtest DEP8 tests pulling a 
questing image for these tests. questing now ships rust coreutils (which was 
not true before for questing).
Here is a short (questing) reproducer:
# bash -c 'exec -a background_test sleep 2'
Security violation: Requested utility `background_test` does not match 
executable name:
  /usr/lib/cargo/bin/coreutils/sleep
root@sleep:~# echo $?
1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2112523

Title:
  Backport of container-stack from questing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/containerd-app/+bug/2112523/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to