Duplicate signature for Package problems missing info

Bug #1581682 reported by Brian Murray
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Medium
Brian Murray
Xenial
Fix Released
Medium
Brian Murray

Bug Description

The code in apport which creates a duplicate signature for package installation failures changed in Ubuntu 16.04 and as part of that change we are no longer starting the duplicate signature with the following:

dupe_sig = 'package:%s:%s:%s' % (package, version, report['ErrorMessage'])

This change was made because 'ErrorMessage' was too vague, however having 'package:%s:%s' was useful in the Ubuntu Error Tracker. The Error Tracker buckets package installation failures based off the duplicate signature and without the string 'package:$package' its hard to know if a bucket is about about a package installation failure. Additionally, buckets end up containing a mish-mash of different packages. In the following error notice how the package version table contains a bunch of unrelated version numbers:

https://errors.ubuntu.com/problem/23630ea42dcd530db3633a250e04751630e2ac02

The duplicate signature for problems with the type package should be changed to start with package and the package name at least.

Changed in apport (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Brian Murray (brian-murray)
Changed in apport (Ubuntu Xenial):
status: New → Triaged
importance: Undecided → Medium
Changed in apport (Ubuntu):
status: Triaged → In Progress
Changed in apport (Ubuntu Xenial):
assignee: nobody → Brian Murray (brian-murray)
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.20.1-0ubuntu4

---------------
apport (2.20.1-0ubuntu4) yakkety; urgency=medium

  * data/general-hooks/ubuntu.py: Fix stacktrace when parsing
    DpkgTerminalLog.txt. (LP: #1548421)
  * data/general-hooks/ubuntu.py: Restore starting package problem duplicate
    signatures with the word package, the package name, and its version.
    (LP: #1581682)

 -- Brian Murray <email address hidden> Mon, 16 May 2016 14:16:15 -0700

Changed in apport (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Brian, or anyone else affected,

Accepted apport into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/apport/2.20.1-0ubuntu2.1 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 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 to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

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

Changed in apport (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote :

Using the crash-in-postinst package from the daisy pluckers PPA I received the following crash.

DuplicateSignature:
 package:crash-in-postinst:2 [origin: unknown]
 Setting up crash-in-postinst (2) ...
 dpkg: error processing package crash-in-postinst (--configure):
  subprocess installed post-installation script returned error exit status 1

So marking as v-done.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.20.1-0ubuntu2.1

---------------
apport (2.20.1-0ubuntu2.1) xenial-proposed; urgency=medium

  * data/general-hooks/ubuntu.py: Fix stacktrace when parsing
    DpkgTerminalLog.txt. (LP: #1548421)
  * data/general-hooks/ubuntu.py: Restore starting package problem duplicate
    signatures with the word package, the package name, and its version.
    (LP: #1581682)

 -- Brian Murray <email address hidden> Mon, 16 May 2016 15:02:01 -0700

Changed in apport (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update 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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.