dist upgrade crash tracebacks include a tmpdir name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Precise |
Invalid
|
Undecided
|
Unassigned | ||
Saucy |
Fix Released
|
High
|
Brian Murray | ||
update-manager (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Brian Murray | ||
Saucy |
Invalid
|
Undecided
|
Unassigned |
Bug Description
N.B. Before testing this bug ensure that python-apport is installed on Saucy. See bug 1289604 for details.
Test Case:
1) run do-release-upgrade -d
2) cancel the upgrade
3) cd to /tmp/ubuntu-
4) edit DistUpgrade/
5) sudo ./trusty --frontend=
6) Observe a system crash dialog and choose to report it
7) Choose to view details of the crash report
8) Observe a traceback with /tmp/ubuntu-
9) Do not submit the crash report
With the packae from proprosed you'll see a DuplicateSignature field with XYZ replaced with tmpdir so /tmp/ubuntu-
Tracebacks from crashes in the release upgrader include a temporary directory name like so:
Traceback (most recent call last):
File "/tmp/ubuntu-
sys.
File "/tmp/ubuntu-
if app.run():
Because the temporary directory name changes between systems and upgrade attempts duplicates are not often consolidated in the error tracker or in Launchpad. Subsequently, it is difficult to judge the number of people affected by any particular crash in the release upgrade process.
This should be fixed in the apport package hook for update-manager in Precise and ubuntu-
Changed in update-manager (Ubuntu Saucy): | |
status: | New → Won't Fix |
Changed in update-manager (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in ubuntu-release-upgrader (Ubuntu Saucy): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in ubuntu-release-upgrader (Ubuntu Precise): | |
status: | New → Won't Fix |
status: | Won't Fix → Invalid |
Changed in update-manager (Ubuntu Saucy): | |
status: | Won't Fix → Invalid |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
description: | updated |
description: | updated |
Changed in ubuntu-release-upgrader (Ubuntu Saucy): | |
status: | Fix Committed → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
I typo'ed the bug number in the trusty changelog.
ubuntu- release- upgrader (1:0.215) trusty; urgency=medium
* do-release-upgrade: indicate that -p and -d switches are mutually rt.py source_ ubuntu- release- upgrader. py: create a DuplicateSignature by
exclusive (LP: #1071025)
* debian/control.py: depend on python-apport since DistUpgradeAppo
imports it and the release upgrader does not use python3 (LP: #1289604)
* debian/
stripping out the tmpdir from the Traceback (LP: #1289850)
-- Brian Murray <email address hidden> Fri, 07 Mar 2014 14:29:14 -0800