I think this got fixed in ubuntu11, but there are more test failures yet, see bug 1854237
-- 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/1853383 Title: autopkgtest regression in test_add_proc_info Status in apport package in Ubuntu: New Status in apport source package in Xenial: New Status in apport source package in Bionic: New Status in apport source package in Disco: New Status in apport source package in Eoan: New Bug description: The security uploads for apport (2.20.11-0ubuntu8.2 for eoan, 2.20.10-0ubuntu27.2 for disco, and 2.20.9-0ubuntu7.8 for bionic - and maybe those for older releases as well) have caused the test_add_proc_info test to start failing[1]. The pattern changed after the subsequent uploads to fix a regression, but it still fails[2]. [1] ====================================================================== ERROR: test_add_proc_info (__main__.T) add_proc_info(). ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_report.py", line 100, in test_add_proc_info pr.add_proc_info(extraenv=['PWD']) File "/usr/lib/python3/dist-packages/apport/report.py", line 550, in add_proc_info self.add_proc_environ(pid, extraenv) File "/usr/lib/python3/dist-packages/apport/report.py", line 619, in add_proc_environ env = _read_file('environ', dir_fd=proc_pid_fd).replace('\n', '\\n') File "/usr/lib/python3/dist-packages/apport/report.py", line 73, in _read_file with open(path, 'rb', opener=lambda path, mode: os.open(path, mode, dir_fd=dir_fd)) as fd: File "/usr/lib/python3/dist-packages/apport/report.py", line 73, in <lambda> with open(path, 'rb', opener=lambda path, mode: os.open(path, mode, dir_fd=dir_fd)) as fd: TypeError: argument should be integer or None, not list [2] ====================================================================== ERROR: test_add_proc_info (__main__.T) add_proc_info(). ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_report.py", line 210, in test_add_proc_info self.assertRaises(ValueError, pr.add_proc_info, p.pid) File "/usr/lib/python3.7/unittest/case.py", line 743, in assertRaises return context.handle('assertRaises', args, kwargs) File "/usr/lib/python3.7/unittest/case.py", line 178, in handle callable_obj(*args, **kwargs) File "/usr/lib/python3/dist-packages/apport/report.py", line 544, in add_proc_info proc_pid_fd = os.open('/proc/%s' % pid, os.O_RDONLY | os.O_PATH | os.O_DIRECTORY) FileNotFoundError: [Errno 2] No such file or directory: '/proc/1899' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1853383/+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