Merge ~athos/britney/+git/hints-ubuntu:autopkgtest-noble into ~ubuntu-release/britney/+git/hints-ubuntu:noble

Proposed by Athos Ribeiro
Status: Merged
Merged at revision: be7e6a78e77bbe2786cd38717b9865f7d5aece2a
Proposed branch: ~athos/britney/+git/hints-ubuntu:autopkgtest-noble
Merge into: ~ubuntu-release/britney/+git/hints-ubuntu:noble
Diff against target: 13 lines (+5/-0)
1 file modified
ubuntu-sru (+5/-0)
Reviewer Review Type Date Requested Status
Paride Legovini Approve
Review via email: mp+493761@code.launchpad.net

Description of the change

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

See LP: #2126689, #2126690 for the related bugs

To post a comment you must log in.
Revision history for this message
Paride Legovini (paride) wrote :

thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/ubuntu-sru b/ubuntu-sru
2index 1dbe4c0..5c7bfa2 100644
3--- a/ubuntu-sru
4+++ b/ubuntu-sru
5@@ -8,3 +8,8 @@ force-badtest update-manager/1:24.04.12/amd64
6
7 # gtk4 systematically tmpfails on s390x (LP: #2119291)
8 force-badtest gtk4/4.14.5+ds-0ubuntu0.4/s390x
9+
10+# autopkgtest have 2 different regressions:
11+# rust core utils: LP: #2126689
12+# missing test dependency: LP: #2126690
13+force-badtest autopkgtest/5.47~24.04.1

Subscribers

People subscribed via source and target branches