Precise to Quantal upgrade failed: do-release-upgrade -d failed with ImportError: No module named janitor.plugincore.manager in DistUpgradeQuirks.py

Bug #1020462 reported by Victor Zhou
62
This bug affects 12 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Fix Released
Critical
Michael Terry
Quantal
Fix Released
Critical
Michael Terry

Bug Description

Automated desktop upgrade test from Precise to Quantal failed in Jenkins, it crashes when upgrding from the command line with: do-release-upgrade -d

Link to failed build:
https://jenkins.qa.ubuntu.com/view/Quantal/view/All%20Quantal/job/quantal-upgrade-precise-desktop/ARCH=i386,LTS=non-lts,PROFILE=desktop,label=upgrade-test/51/

Findings in log file of the test(refer to comment #1 for detail) :
.......
.......
Get:2 Upgrade tool [1,128 kB]

2% 4,636 B/s 3min 57s
100% [Working] 4,636 B/s 0s
Fetched 1,128 kB in 6s (4,636 B/s)
authenticate 'quantal.tar.gz' against 'quantal.tar.gz.gpg'
extracting 'quantal.tar.gz'
Traceback (most recent call last):
  File "/tmp/update-manager-yKyOGK/quantal", line 6, in <module>
    from DistUpgrade.DistUpgradeMain import main
  File "/tmp/update-manager-yKyOGK/DistUpgrade/DistUpgradeMain.py", line 56, in <module>
    from .DistUpgradeController import DistUpgradeController
  File "/tmp/update-manager-yKyOGK/DistUpgrade/DistUpgradeController.py", line 65, in <module>
    from .DistUpgradeQuirks import DistUpgradeQuirks
  File "/tmp/update-manager-yKyOGK/DistUpgrade/DistUpgradeQuirks.py", line 40, in <module>
    from janitor.plugincore.manager import PluginManager
ImportError: No module named janitor.plugincore.manager
scp: /var/log/dist-upgrade/*: No such file or directory

Related branches

Revision history for this message
Victor Zhou (victor.zhou) wrote :
description: updated
tags: added: dist-upgrade qa-daily-testing
summary: - job "quantal-upgrade-precise-desktop" failed in Jenkins
+ Precise to Quantal upgrade failed: do-release-upgrade -d failed with
+ ImportError: No module named janitor.plugincore.manager in
+ DistUpgradeQuirks.py
tags: added: precise2quantal
description: updated
description: updated
Changed in ubuntu-release-upgrader (Ubuntu Quantal):
importance: Undecided → Critical
status: New → Confirmed
assignee: nobody → Canonical Foundations Team (canonical-foundations)
tags: added: rls-q-incoming
Colin Watson (cjwatson)
Changed in ubuntu-release-upgrader (Ubuntu Quantal):
assignee: Canonical Foundations Team (canonical-foundations) → Michael Terry (mterry)
Michael Terry (mterry)
Changed in ubuntu-release-upgrader (Ubuntu Quantal):
status: Confirmed → In Progress
Revision history for this message
markba (mark-baaijens) wrote :

This also happens with it's graphical brother:
update-manager -d

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

This bug was fixed in the package ubuntu-release-upgrader - 1:0.166

---------------
ubuntu-release-upgrader (1:0.166) quantal; urgency=low

  * Fix release upgrade tarball to include some UpdateManager that it
    may need during upgrade. LP: #1020462
 -- Michael Terry <email address hidden> Fri, 06 Jul 2012 09:25:03 -0400

Changed in ubuntu-release-upgrader (Ubuntu Quantal):
status: In Progress → Fix Released
Revision history for this message
Javier (javiersmail) wrote :

Tried to upgrade (the gpg is at this time available) but encounter with other error. The bug report:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1021778

Revision history for this message
Guy Van Sanden (gvs) wrote :

Bug still present on ubuntu-release-upgrader-core 1:0.170ubuntu1

Revision history for this message
Michael Terry (mterry) wrote :

Guy, can you double check that with latest ubuntu-release-upgrader and report a new bug if there is still a problem?

Revision history for this message
Josh Connolly (joshconnolly78) wrote : Re: [Bug 1020462] Re: Precise to Quantal upgrade failed: do-release-upgrade -d failed with ImportError: No module named janitor.plugincore.manager in DistUpgradeQuirks.py

It now starts with today's build, will report back when it finishes upgrade.

On Mon, Jul 23, 2012 at 1:46 PM, Michael Terry
<email address hidden>wrote:

> Guy, can you double check that with latest ubuntu-release-upgrader and
> report a new bug if there is still a problem?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1020462
>
> Title:
> Precise to Quantal upgrade failed: do-release-upgrade -d failed with
> ImportError: No module named janitor.plugincore.manager in
> DistUpgradeQuirks.py
>
> Status in “ubuntu-release-upgrader” package in Ubuntu:
> Fix Released
> Status in “ubuntu-release-upgrader” source package in Quantal:
> Fix Released
>
> Bug description:
> Automated desktop upgrade test from Precise to Quantal failed in
> Jenkins, it crashes when upgrding from the command line with: do-
> release-upgrade -d
>
> Link to failed build:
>
> https://jenkins.qa.ubuntu.com/view/Quantal/view/All%20Quantal/job/quantal-upgrade-precise-desktop/ARCH=i386,LTS=non-lts,PROFILE=desktop,label=upgrade-test/51/
>
> Findings in log file of the test(refer to comment #1 for detail) :
> .......
> .......
> Get:2 Upgrade tool [1,128 kB]
>
> 2% 4,636 B/s 3min 57s
> 100% [Working] 4,636 B/s 0s
> Fetched 1,128 kB in 6s (4,636 B/s)
> authenticate 'quantal.tar.gz' against 'quantal.tar.gz.gpg'
> extracting 'quantal.tar.gz'
> Traceback (most recent call last):
> File "/tmp/update-manager-yKyOGK/quantal", line 6, in <module>
> from DistUpgrade.DistUpgradeMain import main
> File "/tmp/update-manager-yKyOGK/DistUpgrade/DistUpgradeMain.py", line
> 56, in <module>
> from .DistUpgradeController import DistUpgradeController
> File
> "/tmp/update-manager-yKyOGK/DistUpgrade/DistUpgradeController.py", line 65,
> in <module>
> from .DistUpgradeQuirks import DistUpgradeQuirks
> File "/tmp/update-manager-yKyOGK/DistUpgrade/DistUpgradeQuirks.py",
> line 40, in <module>
> from janitor.plugincore.manager import PluginManager
> ImportError: No module named janitor.plugincore.manager
> scp: /var/log/dist-upgrade/*: No such file or directory
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1020462/+subscriptions
>

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.