[Bug 1289580] Re: dist upgrade crash tracebacks include a tmpdir name
Launchpad Bug Tracker
1289580 at bugs.launchpad.net
Sat Mar 8 00:33:16 UTC 2014
** Branch linked: lp:ubuntu/saucy-proposed/ubuntu-release-upgrader
--
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:
In Progress
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