[Bug 1289580] Re: dist upgrade crash tracebacks include a tmpdir name

Brian Murray brian at ubuntu.com
Fri Mar 7 21:01:34 UTC 2014


** Description changed:

+ 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 doDistUpgradeFetching (this is to make the release upgrader crash)
+ 5) sudo ./trusty --frontend=DistUpgradeViewGtk3
+ 6) more stuff...
+ 
  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():
+   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.

-- 
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:
  In Progress
Status in “update-manager” package in Ubuntu:
  New
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:
  Triaged
Status in “update-manager” source package in Saucy:
  Invalid

Bug description:
  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 doDistUpgradeFetching (this is to make the release upgrader crash)
  5) sudo ./trusty --frontend=DistUpgradeViewGtk3
  6) more stuff...

  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