[Bug 2076186] Re: tests/system/test_signal_crashes::T::test_crash_system_slice fails on armhf
Timo Aaltonen
2076186 at bugs.launchpad.net
Fri Oct 25 07:46:15 UTC 2024
Hello Chris, or anyone else affected,
Accepted apport into noble-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/apport/2.28.1-0ubuntu3.2 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: apport (Ubuntu Noble)
Status: New => Fix Committed
** Tags added: verification-needed verification-needed-noble
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2076186
Title:
tests/system/test_signal_crashes::T::test_crash_system_slice fails on
armhf
Status in Apport:
Fix Released
Status in apport package in Ubuntu:
Fix Released
Status in apport source package in Noble:
Fix Committed
Bug description:
[ Impact ]
The autopkgtest can fail:
7373s =================================== FAILURES ===================================
7373s __________________________ T.test_crash_system_slice ___________________________
7373s
7373s self = <tests.system.test_signal_crashes.T testMethod=test_crash_system_slice>
7373s
7373s @unittest.skipIf(
7373s get_init_system() != "systemd", "running init system is not systemd"
7373s )
7373s @skip_if_command_is_missing("systemd-run")
7373s @unittest.skipIf(os.geteuid() != 0, "this test needs to be run as root")
7373s def test_crash_system_slice(self):
7373s """Report generation for a protected process running in the system
7373s slice"""
7373s apport.fileutils.report_dir = self.orig_report_dir
7373s self.test_report = os.path.join(
7373s apport.fileutils.report_dir,
7373s f"{self.TEST_EXECUTABLE.replace('/', '_')}.{os.getuid()}.crash",
7373s )
7373s
7373s system_run = self.create_test_process(
7373s command="/usr/bin/systemd-run",
7373s args=[
7373s "-t",
7373s "-q",
7373s "--slice=system.slice",
7373s "-p",
7373s "ProtectSystem=true",
7373s self.TEST_EXECUTABLE,
7373s ]
7373s + self.TEST_ARGS,
7373s )
7373s try:
7373s pids = pidof(self.TEST_EXECUTABLE) - self.running_test_executables
7373s > self.assertEqual(len(pids), 1)
7373s E AssertionError: 0 != 1
7373s
7373s /tmp/autopkgtest.JkYKWH/autopkgtest_tmp/tests/system/test_signal_crashes.py:240: AssertionError
https://autopkgtest.ubuntu.com/results/autopkgtest-
noble/noble/armhf/a/apport/20240802_185146_b3174@/log.gz
[ Test Plan ]
Check that the fixed Apport does not have failing unit-and-
integration-tests autopkgtests on all archs.
[ Where problems could occur ]
The fix only touches test code. It could only affect the test results,
but not code installed on the users machines.
To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/2076186/+subscriptions
More information about the foundations-bugs
mailing list