group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #34833
[Bug 1766740] Re: apport autopkgtest regression due to kernel packaging changes
This bug was fixed in the package apport - 2.20.1-0ubuntu2.22
---------------
apport (2.20.1-0ubuntu2.22) xenial-security; urgency=medium
[ Michael Hudson-Doyle ]
* SECURITY REGRESSION: fix autopkgtest failures since recent security
update (LP: #1854237)
- Fix regression in creating report for crashing setuid process by getting
kernel to tell us the executable path rather than reading
/proc/[pid]/exe.
- Fix deletion of partially written core files.
- Fix test_get_logind_session to use new API.
- Restore add_proc_info raising ValueError for a dead process.
- Delete test_lock_symlink, no longer applicable now that the lock is
created in a directory only root can write to.
[ Tiago Stürmer Daitx ]
* SECURITY REGRESSION: 'module' object has no attribute 'O_PATH'
(LP: #1851806)
- apport/report.py, apport/ui.py: use file descriptors for /proc/pid
directory access only when running under python 3; prevent reading /proc
maps under python 2 as it does not provide a secure way to do so; use
io.open for better compatibility between python 2 and 3.
* data/apport: fix number of arguments passed through socks into a container.
* test/test_report.py: test login session with both pid and proc_pid_fd.
* test/test_apport_valgrind.py: skip test_sandbox_cache_options if system
has little memory.
* test/test_ui.py: modify run_crash_kernel test to account for the fact that
linux-image-$kvers-$flavor is now built from the linux-signed source
package on amd64 and ppc64el. (LP: #1766740)
-- Tiago Stürmer Daitx <tiago.daitx@xxxxxxxxxx> Thu, 27 Feb 2020
03:18:45 +0000
** Changed in: apport (Ubuntu Xenial)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1766740
Title:
apport autopkgtest regression due to kernel packaging changes
Status in apport package in Ubuntu:
Fix Released
Status in apport source package in Xenial:
Fix Released
Status in apport source package in Bionic:
Fix Released
Bug description:
[SRU Justification]
In bionic, linux-image-$kvers-$flavor is now built from the linux-signed source package on amd64, not from the linux source package. This now causes a test to fail in the apport test suite:
[...]
======================================================================
FAIL: test_run_crash_kernel (__main__.T)
run_crash() for a kernel error
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test_ui.py", line 1305, in test_run_crash_kernel
self.assertEqual(self.ui.opened_url, 'http://linux.bugs.example.com/%i' % se
lf.ui.crashdb.latest_id())
AssertionError: 'http://linux-signed.bugs.example.com/5' != 'http://linux.bugs.e
xample.com/5'
- http://linux-signed.bugs.example.com/5
? -------
+ http://linux.bugs.example.com/5
----------------------------------------------------------------------
Ran 70 tests in 79.815s
FAILED (failures=1)
[...]
(https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
/autopkgtest-
bionic/bionic/amd64/a/apport/20180424_222219_45dc8@/log.gz)
This test needs to be fixed to know about the packaging change.
Note that this packaging change is expected to soon be SRUed back to
all Ubuntu releases, so apport's testsuite change should also be
SRUed.
[Test case]
This passes if the autopkgtests pass.
[Regression potential]
The test could be changed to pass while leaving underlying issues in the code. This has probably not happened here.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1766740/+subscriptions