Activity log for bug #2067071

Date Who What changed Old value New value Message
2024-05-24 13:30:05 miccs bug added bug
2024-05-24 13:30:05 miccs attachment added apt.log https://bugs.launchpad.net/bugs/2067071/+attachment/5782229/+files/apt.log
2024-05-24 13:31:14 miccs attachment added main.log https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2067071/+attachment/5782230/+files/main.log
2024-05-25 10:31:24 Launchpad Janitor ubuntu-release-upgrader (Ubuntu): status New Confirmed
2024-05-25 16:47:53 Juanjo Aparicio bug added subscriber Juanjo Aparicio
2024-05-28 12:49:48 Jeroen van Jaarsveld bug added subscriber Jeroen van Jaarsveld
2024-05-28 14:51:00 Nick Rosbrook tags rls-nn-incoming
2024-05-28 14:51:13 Nick Rosbrook ubuntu-release-upgrader (Ubuntu): importance Undecided High
2024-05-30 15:39:49 Benjamin Drung tags rls-nn-incoming foundations-bugs
2024-05-30 15:40:07 Benjamin Drung tags foundations-bugs foundations-todo
2024-05-30 15:40:08 Benjamin Drung bug added subscriber Ubuntu Foundations Bugs
2024-05-30 15:40:11 Benjamin Drung bug added subscriber Benjamin Drung
2024-05-30 15:42:57 Nick Rosbrook ubuntu-release-upgrader (Ubuntu): assignee Nick Rosbrook (enr0n)
2024-06-04 15:29:41 Nick Rosbrook description it crashes while calculating space - cannot proceed to package downloading. short from the logs: File "/tmp/ubuntu-release-upgrader-4lhpwkx7/DistUpgrade/DistUpgradeCache.py", line 497, in pre_upgrade_rule self.quirks.run("PreDistUpgradeCache") File "/tmp/ubuntu-release-upgrader-4lhpwkx7/DistUpgrade/DistUpgradeQuirks.py", line 95, in run func() File "/tmp/ubuntu-release-upgrader-4lhpwkx7/DistUpgrade/DistUpgradeQuirks.py", line 191, in PreDistUpgradeCache self._install_t64_replacement_packages() File "/tmp/ubuntu-release-upgrader-4lhpwkx7/DistUpgrade/DistUpgradeQuirks.py", line 1845, in _install_t64_replacement_packages if replacement.candidate._cand != ver: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute '_cand' full logs attached as files. [Impact] Upgrades to Noble may crash while searching for t64 replacement packages. [Test Plan] One way to reproduce this is by setting Pin-Priority: -1 for a t64 replacement package so that `replacement` will have no candidate. $ apt install -y libts0 $ cat > /etc/apt/preferences.d/lp2067071 << EOF Package: libts0t64 Pin: release a=noble Pin-Priority: -1 EOF $ do-release-upgrade Before the patch, that will lead to the same crash shown in this bug report. [Where problems could occur] The patch is confined to the t64 replacement quirk. Any other issues would be there. The fix is to simply make sure the replacement has a candidate (i.e. replacement.candidate is not None) before accessing more attributes. [Original Description] it crashes while calculating space - cannot proceed to package downloading. short from the logs: File "/tmp/ubuntu-release-upgrader-4lhpwkx7/DistUpgrade/DistUpgradeCache.py", line 497, in pre_upgrade_rule     self.quirks.run("PreDistUpgradeCache")   File "/tmp/ubuntu-release-upgrader-4lhpwkx7/DistUpgrade/DistUpgradeQuirks.py", line 95, in run     func()   File "/tmp/ubuntu-release-upgrader-4lhpwkx7/DistUpgrade/DistUpgradeQuirks.py", line 191, in PreDistUpgradeCache     self._install_t64_replacement_packages()   File "/tmp/ubuntu-release-upgrader-4lhpwkx7/DistUpgrade/DistUpgradeQuirks.py", line 1845, in _install_t64_replacement_packages     if replacement.candidate._cand != ver:        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute '_cand' full logs attached as files.
2024-06-04 15:29:49 Nick Rosbrook nominated for series Ubuntu Noble
2024-06-04 15:29:49 Nick Rosbrook bug task added ubuntu-release-upgrader (Ubuntu Noble)
2024-06-04 15:29:55 Nick Rosbrook ubuntu-release-upgrader (Ubuntu Noble): importance Undecided High
2024-06-04 15:29:57 Nick Rosbrook ubuntu-release-upgrader (Ubuntu Noble): assignee Nick Rosbrook (enr0n)
2024-06-04 15:30:11 Nick Rosbrook ubuntu-release-upgrader (Ubuntu Noble): status New Triaged
2024-06-04 15:31:56 Nick Rosbrook ubuntu-release-upgrader (Ubuntu): status Confirmed Invalid
2024-06-04 16:30:26 Launchpad Janitor merge proposal linked https://code.launchpad.net/~enr0n/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/466881
2024-06-04 21:34:20 Reupen Shah bug added subscriber Reupen Shah
2024-06-05 21:03:15 Nick Rosbrook ubuntu-release-upgrader (Ubuntu Noble): status Triaged In Progress
2024-06-09 09:29:04 Sebastian Held bug added subscriber Sebastian Held
2024-06-14 13:19:50 Andreas Hasenack bug added subscriber Andreas Hasenack
2024-06-14 13:38:57 Andreas Hasenack ubuntu-release-upgrader (Ubuntu Noble): status In Progress Fix Committed
2024-06-14 13:38:58 Andreas Hasenack bug added subscriber Ubuntu Stable Release Updates Team
2024-06-14 13:39:02 Andreas Hasenack bug added subscriber SRU Verification
2024-06-14 13:39:08 Andreas Hasenack tags foundations-todo foundations-todo verification-needed verification-needed-noble
2024-06-16 09:32:09 Owen Pahl bug added subscriber Owen Pahl
2024-06-18 14:44:40 Nick Rosbrook description [Impact] Upgrades to Noble may crash while searching for t64 replacement packages. [Test Plan] One way to reproduce this is by setting Pin-Priority: -1 for a t64 replacement package so that `replacement` will have no candidate. $ apt install -y libts0 $ cat > /etc/apt/preferences.d/lp2067071 << EOF Package: libts0t64 Pin: release a=noble Pin-Priority: -1 EOF $ do-release-upgrade Before the patch, that will lead to the same crash shown in this bug report. [Where problems could occur] The patch is confined to the t64 replacement quirk. Any other issues would be there. The fix is to simply make sure the replacement has a candidate (i.e. replacement.candidate is not None) before accessing more attributes. [Original Description] it crashes while calculating space - cannot proceed to package downloading. short from the logs: File "/tmp/ubuntu-release-upgrader-4lhpwkx7/DistUpgrade/DistUpgradeCache.py", line 497, in pre_upgrade_rule     self.quirks.run("PreDistUpgradeCache")   File "/tmp/ubuntu-release-upgrader-4lhpwkx7/DistUpgrade/DistUpgradeQuirks.py", line 95, in run     func()   File "/tmp/ubuntu-release-upgrader-4lhpwkx7/DistUpgrade/DistUpgradeQuirks.py", line 191, in PreDistUpgradeCache     self._install_t64_replacement_packages()   File "/tmp/ubuntu-release-upgrader-4lhpwkx7/DistUpgrade/DistUpgradeQuirks.py", line 1845, in _install_t64_replacement_packages     if replacement.candidate._cand != ver:        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute '_cand' full logs attached as files. [Impact] Upgrades to Noble may crash while searching for t64 replacement packages. [Test Plan] One way to reproduce this is by setting Pin-Priority: -1 for a t64 replacement package so that `replacement` will have no candidate. $ apt install -y libts0 $ cat > /etc/apt/preferences.d/lp2067071 << EOF Package: libts0t64 Pin: release a=noble Pin-Priority: -1 EOF $ do-release-upgrade --proposed Before the patch, that will lead to the same crash shown in this bug report. [Where problems could occur] The patch is confined to the t64 replacement quirk. Any other issues would be there. The fix is to simply make sure the replacement has a candidate (i.e. replacement.candidate is not None) before accessing more attributes. [Original Description] it crashes while calculating space - cannot proceed to package downloading. short from the logs: File "/tmp/ubuntu-release-upgrader-4lhpwkx7/DistUpgrade/DistUpgradeCache.py", line 497, in pre_upgrade_rule     self.quirks.run("PreDistUpgradeCache")   File "/tmp/ubuntu-release-upgrader-4lhpwkx7/DistUpgrade/DistUpgradeQuirks.py", line 95, in run     func()   File "/tmp/ubuntu-release-upgrader-4lhpwkx7/DistUpgrade/DistUpgradeQuirks.py", line 191, in PreDistUpgradeCache     self._install_t64_replacement_packages()   File "/tmp/ubuntu-release-upgrader-4lhpwkx7/DistUpgrade/DistUpgradeQuirks.py", line 1845, in _install_t64_replacement_packages     if replacement.candidate._cand != ver:        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute '_cand' full logs attached as files.
2024-06-18 14:45:24 Nick Rosbrook tags foundations-todo verification-needed verification-needed-noble foundations-todo verification-done verification-done-noble