test_crash_setuid_unpackaged fails with psutil.NoSuchProcess: process no longer exists
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Apport |
Fix Released
|
High
|
Unassigned | ||
| apport (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bug Description
test_crash_
=======
ERROR: test_crash_
report generation for unpackaged setuid program
-------
Traceback (most recent call last):
File "/usr/lib/
return fun(self, *args, **kwargs)
File "/usr/lib/
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/autopkgte
self.do_crash(
File "/tmp/autopkgte
command_process = self.wait_
File "/tmp/autopkgte
cmdline = process.cmdline()
File "/usr/lib/
return self._proc.
File "/usr/lib/
raise NoSuchProcess(
psutil.
-------
Failing autopkgtest: https:/
| Changed in apport: | |
| milestone: | none → 2.24.0 |
| Changed in apport (Ubuntu): | |
| importance: | Undecided → High |
| status: | New → Triaged |
| Changed in apport: | |
| status: | Fix Committed → Fix Released |

Proposed fix: https:/ /github. com/canonical/ apport/ pull/4