[Bug 1989365] Re: test_omit_all_processes_except_one is racy and fails sometimes

Brian Murray 1989365 at bugs.launchpad.net
Tue Sep 13 17:16:53 UTC 2022


** Changed in: apport (Ubuntu)
       Status: New => Confirmed

-- 
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:
  Confirmed

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