Fix merged to main upstream:
https://github.com/canonical/apport/commit/0215e574a11af276b510b7ee63aa2fec701ad607

** Changed in: apport
   Importance: Undecided => High

** Changed in: apport
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1989371

Title:
  test_crash_setuid_unpackaged fails with psutil.NoSuchProcess: process
  no longer exists

Status in Apport:
  Fix Committed
Status in apport package in Ubuntu:
  Triaged

Bug description:
  test_crash_setuid_unpackaged is racy and rarely fails with:

  ======================================================================
  ERROR: test_crash_setuid_unpackaged (tests.integration.test_signal_crashes.T)
  report generation for unpackaged setuid program
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/psutil/_pslinux.py", line 1661, in 
wrapper
      return fun(self, *args, **kwargs)
    File "/usr/lib/python3/dist-packages/psutil/_pslinux.py", line 1782, in 
cmdline
      data = f.read()
  ProcessLookupError: [Errno 3] No such process

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File 
"/tmp/autopkgtest.ukiC2X/autopkgtest_tmp/tests/integration/test_signal_crashes.py",
 line 746, in test_crash_setuid_unpackaged
      self.do_crash(
    File 
"/tmp/autopkgtest.ukiC2X/autopkgtest_tmp/tests/integration/test_signal_crashes.py",
 line 918, in do_crash
      command_process = self.wait_for_gdb_child_process(
    File 
"/tmp/autopkgtest.ukiC2X/autopkgtest_tmp/tests/integration/test_signal_crashes.py",
 line 1088, in wait_for_gdb_child_process
      cmdline = process.cmdline()
    File "/usr/lib/python3/dist-packages/psutil/__init__.py", line 684, in 
cmdline
      return self._proc.cmdline()
    File "/usr/lib/python3/dist-packages/psutil/_pslinux.py", line 1665, in 
wrapper
      raise NoSuchProcess(self.pid, self._name)
  psutil.NoSuchProcess: process no longer exists (pid=3767)

  ----------------------------------------------------------------------

  Failing autopkgtest:
  https://autopkgtest.ubuntu.com/results/autopkgtest-
  kinetic/kinetic/arm64/a/apport/20220825_140850_23979@/log.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/1989371/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to