SRU of updated apport-package duplicate signature calculation

Bug #1185515 reported by Brian Murray
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Invalid
Medium
Unassigned
Precise
Fix Released
Medium
Brian Murray
Quantal
Fix Released
Medium
Unassigned
Raring
Fix Released
Medium
Brian Murray

Bug Description

[Impact]
Apport version 2.10-0ubuntu2 in saucy contains a shorter and less complicated DuplicateSignature than was previously used, to allow for more frequent duplicate consolidation on errors.ubuntu.com. This will allow package installation failures to appear amongst the most frequent crashes, and subsequently should be SRU'ed to the previous releases of Ubuntu so that we can resolve package install failures in them.

[Test Case]
1) download the crash-in-postinst package from https://launchpad.net/~daisy-pluckers/+archive/daisy-seeds
2) install the package via software-center (software-center crash-in-postinst_1-0~2~raring1_amd64.deb)
3) install the package again via 'sudo apt-get install crash-in-postinst' (this is necessary as dpkg -i doesn't generate a crash report and nor does software-center)
4) observe apport-crash dialog, click "Show Details"
5) Find DuplicateSignature section of the apport crash which should be 3 lines and contain
" Setting up crash-in-postinst (1-0~2~raring1) ...
 dpkg: error processing crash-in-postinst (--configure):
  subprocess installed post-installation script returned error exit status 1
 "

With the version of apport from -proposed the crash signature will look like:

"package:crash-in-postinst:1-0~2~raring1 [origin: unknown]: subprocess installed post-installation script returned error exit status 1"

Changed in apport (Ubuntu):
assignee: nobody → Brian Murray (brian-murray)
status: New → In Progress
importance: Undecided → Medium
description: updated
description: updated
Changed in apport (Ubuntu Precise):
status: New → Triaged
Changed in apport (Ubuntu Quantal):
status: New → Triaged
Changed in apport (Ubuntu Raring):
status: New → In Progress
Changed in apport (Ubuntu Precise):
importance: Undecided → Medium
Changed in apport (Ubuntu Quantal):
importance: Undecided → Medium
Changed in apport (Ubuntu Raring):
importance: Undecided → Medium
assignee: nobody → Brian Murray (brian-murray)
Changed in apport (Ubuntu Quantal):
assignee: nobody → Brian Murray (brian-murray)
Changed in apport (Ubuntu Precise):
assignee: nobody → Brian Murray (brian-murray)
Changed in apport (Ubuntu):
status: In Progress → Invalid
assignee: Brian Murray (brian-murray) → nobody
description: updated
Changed in apport (Ubuntu Quantal):
status: Triaged → In Progress
Changed in apport (Ubuntu Precise):
status: Triaged → In Progress
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Brian, or anyone else affected,

Accepted apport into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/apport/2.0.1-0ubuntu17.3 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 Precise):
status: In Progress → Fix Committed
tags: added: verification-needed
Changed in apport (Ubuntu Quantal):
status: In Progress → Fix Committed
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Brian, or anyone else affected,

Accepted apport into quantal-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/apport/2.6.1-0ubuntu11 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 Raring):
status: In Progress → Fix Committed
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Brian, or anyone else affected,

Accepted apport into raring-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/apport/2.9.2-0ubuntu8.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!

Revision history for this message
Brian Murray (brian-murray) wrote :

I confirm that the version of apport from raring-proposed creates a more compact DuplicateSignature for package installation failures as described in the description.

tags: added: verification-done-raring
Revision history for this message
Brian Murray (brian-murray) wrote :

Testing this is a quantal chroot I confirm that the version of apport from quantal-proposed also creates a smaller duplicate signature.

tags: added: verification-done-quantal
Revision history for this message
Brian Murray (brian-murray) wrote :

It also works in precise.

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

This bug was fixed in the package apport - 2.0.1-0ubuntu17.3

---------------
apport (2.0.1-0ubuntu17.3) precise-proposed; urgency=low

  * data/general-hooks/ubuntu.py: For package installation failures, build a
    DuplicateSignature from the package, version, and dpkg ErrorMessage,
    instead of using the whole dpkg terminal log. (LP: #1185515)
 -- Brian Murray <email address hidden> Wed, 29 May 2013 13:13:25 -0700

Changed in apport (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of this Stable Release Update 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 regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.6.1-0ubuntu11

---------------
apport (2.6.1-0ubuntu11) quantal-proposed; urgency=low

  * data/general-hooks/ubuntu.py: For package installation failures, build a
    DuplicateSignature from the package, version, and dpkg ErrorMessage,
    instead of using the whole dpkg terminal log. (LP: #1185515)
 -- Brian Murray <email address hidden> Wed, 29 May 2013 11:51:44 -0700

Changed in apport (Ubuntu Quantal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.9.2-0ubuntu8.1

---------------
apport (2.9.2-0ubuntu8.1) raring-proposed; urgency=low

  * data/general-hooks/ubuntu.py: For package installation failures, build a
    DuplicateSignature from the package, version, and dpkg ErrorMessage,
    instead of using the whole dpkg terminal log. (LP: #1185515)
 -- Brian Murray <email address hidden> Wed, 29 May 2013 10:12:26 -0700

Changed in apport (Ubuntu Raring):
status: Fix Committed → Fix Released
Changed in apport (Ubuntu Quantal):
assignee: Brian Murray (brian-murray) → nobody
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.