[Bug 1289580] Re: dist upgrade crash tracebacks include a tmpdir name
Launchpad Bug Tracker
1289580 at bugs.launchpad.net
Mon Mar 10 16:27:12 UTC 2014
This bug was fixed in the package ubuntu-release-upgrader - 1:0.205.5
---------------
ubuntu-release-upgrader (1:0.205.5) saucy-proposed; urgency=medium
* debian/source_ubuntu-release-upgrader.py: create a DuplicateSignature by
stripping out the tmpdir from the Traceback (LP: #1289580)
* debian/control.py: depend on python-apport since DistUpgradeApport.py
imports it and the release upgrader does not use python3 (LP: #1289604)
-- Brian Murray <brian at ubuntu.com> Fri, 07 Mar 2014 15:26:12 -0800
** Changed in: ubuntu-release-upgrader (Ubuntu Saucy)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1289580
Title:
dist upgrade crash tracebacks include a tmpdir name
Status in “ubuntu-release-upgrader” package in Ubuntu:
Fix Released
Status in “update-manager” package in Ubuntu:
Invalid
Status in “ubuntu-release-upgrader” source package in Precise:
Invalid
Status in “update-manager” source package in Precise:
Triaged
Status in “ubuntu-release-upgrader” source package in Saucy:
Fix Released
Status in “update-manager” source package in Saucy:
Invalid
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-release-upgrader-XYZ/
4) edit DistUpgrade/DistUpgradeController.py and put a division by zero error in the function askDistUpgrade (this is to make the release upgrader crash)
5) sudo ./trusty --frontend=DistUpgradeViewGtk3
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-release-upgrader-XYZ/ in it
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-release-upgrader-tmpdir/
Tracebacks from crashes in the release upgrader include a temporary directory name like so:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-5gz_r8/trusty", line 10, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-5gz_r8/DistUpgrade/DistUpgradeMain.py", line 243, in main
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-release-upgrader in Saucy.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1289580/+subscriptions
More information about the foundations-bugs
mailing list