[Bug 1989365] [NEW] test_omit_all_processes_except_one is racy and fails sometimes
Benjamin Drung
1989365 at bugs.launchpad.net
Mon Sep 12 16:13:43 UTC 2022
Public bug reported:
The test case test_omit_all_processes_except_one is racy and fails
sometimes:
```
test_omit_all_processes_except_one (tests.system.test_unkillable_shutdown.TestUnkillableShutdown)
unkillable_shutdown will write exactly one report. ... Running as unit: run-r0b0d3fe87473410c9eb61a5ae4635938.service
FAIL
======================================================================
FAIL: test_omit_all_processes_except_one (tests.system.test_unkillable_shutdown.TestUnkillableShutdown)
unkillable_shutdown will write exactly one report.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest.JJoBfX/autopkgtest_tmp/tests/system/test_unkillable_shutdown.py", line 96, in test_omit_all_processes_except_one
pid = self._launch_process_with_different_session_id(existing_pids)
File "/tmp/autopkgtest.JJoBfX/autopkgtest_tmp/tests/system/test_unkillable_shutdown.py", line 90, in _launch_process_with_different_session_id
self.assertEqual(len(test_executable_pids), 1, test_executable_pids)
AssertionError: 0 != 1 : set()
----------------------------------------------------------------------
```
autopkgtest log: https://autopkgtest.ubuntu.com/results/autopkgtest-
kinetic/kinetic/amd64/a/apport/20220912_055849_5f03e@/log.gz
** Affects: apport
Importance: High
Status: New
** Affects: apport (Ubuntu)
Importance: High
Status: New
** Also affects: apport
Importance: Undecided
Status: New
** Changed in: apport (Ubuntu)
Importance: Undecided => High
** Changed in: apport
Importance: Undecided => High
** Changed in: apport
Milestone: None => 2.24.0
--
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/1989365
Title:
test_omit_all_processes_except_one is racy and fails sometimes
Status in Apport:
New
Status in apport package in Ubuntu:
New
Bug description:
The test case test_omit_all_processes_except_one is racy and fails
sometimes:
```
test_omit_all_processes_except_one (tests.system.test_unkillable_shutdown.TestUnkillableShutdown)
unkillable_shutdown will write exactly one report. ... Running as unit: run-r0b0d3fe87473410c9eb61a5ae4635938.service
FAIL
======================================================================
FAIL: test_omit_all_processes_except_one (tests.system.test_unkillable_shutdown.TestUnkillableShutdown)
unkillable_shutdown will write exactly one report.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest.JJoBfX/autopkgtest_tmp/tests/system/test_unkillable_shutdown.py", line 96, in test_omit_all_processes_except_one
pid = self._launch_process_with_different_session_id(existing_pids)
File "/tmp/autopkgtest.JJoBfX/autopkgtest_tmp/tests/system/test_unkillable_shutdown.py", line 90, in _launch_process_with_different_session_id
self.assertEqual(len(test_executable_pids), 1, test_executable_pids)
AssertionError: 0 != 1 : set()
----------------------------------------------------------------------
```
autopkgtest log: https://autopkgtest.ubuntu.com/results/autopkgtest-
kinetic/kinetic/amd64/a/apport/20220912_055849_5f03e@/log.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/1989365/+subscriptions
More information about the foundations-bugs
mailing list