kernel bugs in bionic are reported about linux-signed and package hook doesn't run

Bug #1773012 reported by Brian Murray on 2018-05-23
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
High
Unassigned
Bionic
High
Brian Murray

Bug Description

During the development of bionic the linux-image-$kvers-$flavor package was changed from being built from the linux package to the linux-signed package, however apport was not updated in bionic for this change. Subsequently, the apport package hook for linux doesn't run for linux-signed bug reports. Additionally, the kernel team would like reports about linux-signed redirected to the linux package.

Test Case
---------
1) In a terminal run 'ubuntu-bug linux-image-4.15.0-20-generic'
2) In the crash report dialog observe the following:
  a) The source package is linux-signed
  b) ProcFB is not included

With the version of the package from -proposed the source package will be linux and ProcFB will be included. Also test 'ubuntu-bug linux-image-generic' to and check to see that the crash report contains the same information as above.

Regression Potential
--------------------
The code that redirects bugs from linux-signed to linux was written and that change, if it were bad, could negatively affect bugs reported about the linux-meta package. So it'd be good to test that process by running 'ubuntu-bug linux-image-generic' with the -proposed version of the package.

Brian Murray (brian-murray) wrote :

This was fixed in cosmic.

apport (2.20.10-0ubuntu1) cosmic; urgency=medium

  * New upstream release:
    - backends/packaging-apt-dpkg.py: when using a permanent sandbox better
      check for the package being already available thereby reducing quantity
      of downloads.
    - apport/report.py: Use timeout parameter in subprocess to limit how long
      we'll wait for gdb to return information as gdb can hang with some core
      files.
    - data/apport: Fix PEP8 issues
    - apport/ui.py: Include ProblemType in reports which are updated as
      package hooks may expect the report to have a ProblemType. (LP: #1766794)
    - 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)
  * data/general-hooks/ubuntu.py: Fix UnicodeDecodeError when processing
    DpkgTerminalLog. (LP: #1766337)
  * data/general-hooks/ubuntu.py: Don't display a messy error if python or
    python3 is not installed. (LP: #1769262)
  * debian/apport.links: source_linux-signed.py -> source_linux.py package
    hook (LP: #1766740)
  * data/package-hooks/source_linux.py: Redirect bugs filed about the
    linux-signed source package to linux. (LP: #1766740)

Changed in apport (Ubuntu):
importance: Undecided → High
status: New → Fix Released
Changed in apport (Ubuntu Bionic):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Brian Murray (brian-murray)
description: updated
description: updated

Hello Brian, or anyone else affected,

Accepted apport into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/apport/2.20.9-0ubuntu7.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in apport (Ubuntu Bionic):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-bionic
Brian Murray (brian-murray) wrote :

The verification of the package in -proposed passed.

bdmurray@clean-bionic-amd64:~$ grep Package /tmp/apport.linux-image-4.15.0-22-generic.l30zr_wk.apport
Package: linux-image-4.15.0-22-generic 4.15.0-22.24
PackageArchitecture: amd64
RelatedPackageVersions:
SourcePackage: linux
bdmurray@clean-bionic-amd64:~$ grep ProcFB /tmp/apport.linux-image-4.15.0-22-generic.l30zr_wk.apport
ProcFB: 0 qxldrmfb
bdmurray@clean-bionic-amd64:~$ apt-cache policy apport
apport:
  Installed: 2.20.9-0ubuntu7.2
  Candidate: 2.20.9-0ubuntu7.2

tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.20.9-0ubuntu7.2

---------------
apport (2.20.9-0ubuntu7.2) bionic; urgency=medium

  * apport/ui.py: Include ProblemType in reports which are updated as
    package hooks may expect the report to have a ProblemType. (LP: #1766794)
  * 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)
  * data/general-hooks/ubuntu.py: Don't display a messy error if python or
    python3 is not installed. (LP: #1769262)
  * debian/apport.links: source_linux-signed.py -> source_linux.py package
    hook (LP: #1773012)
  * data/package-hooks/source_linux.py: Redirect bugs filed about the
    linux-signed source package to linux. (LP: #1773012)

 -- Brian Murray <email address hidden> Wed, 30 May 2018 15:19:49 -0700

Changed in apport (Ubuntu Bionic):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for apport has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers