Unable to contact snap store on Xubuntu from Jammy to Noble

Bug #2043820 reported by Skia
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Confirmed
High
Unassigned
Noble
Confirmed
High
Unassigned
snapd (Ubuntu)
Confirmed
Undecided
Unassigned
Noble
Confirmed
Undecided
Unassigned

Bug Description

When running `do-release-upgrade -d` on Jammy Xubuntu, the upgrade fails consistently at the `Installing the firefox snap` step.

This was first detected on Jenkins [1], then reproduced locally with `auto-upgrade-testing`, then finally by manually running a `do-release-upgrade -d` in a VM.

[1]: https://platform-qa-jenkins.ps5.ubuntu.com/view/upgrade-list/job/upgrade_ubuntu-jammy-noble-xubuntu-amd64_qemu/7/consoleFull (Jenkins full log attached)

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-release-upgrader-core 1:22.04.17
ProcVersionSignature: User Name 5.15.0-88.98-generic 5.15.126
Uname: Linux 5.15.0-88-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CrashDB: ubuntu
CurrentDesktop: XFCE
Date: Fri Nov 17 18:24:22 2023
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Skia (hyask) wrote :
description: updated
Revision history for this message
Skia (hyask) wrote :
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote :

Looking at the log files this is happening when installing the firefox deb so the problem is likely there.

06:31:33 Selecting previously unselected package firefox.
06:31:33 Preparing to unpack .../26-firefox_1%3a1snap1-0ubuntu5_amd64.deb ...
06:31:33 => Installing the firefox snap
06:31:33 ==> Checking connectivity with the snap store
06:32:06 ===> Unable to contact the store, trying every minute for the next 30 minutes
06:47:28 ===> Still unable to contact the store, trying for another 20 minutes
07:02:51 ===> Still unable to contact the store, trying for another 10 minutes
07:16:00 Build timed out (after 60 minutes). Marking the build as failed.

Changed in firefox (Ubuntu):
status: New → Confirmed
importance: Undecided → High
tags: added: cuqa-automated-testing
tags: added: rls-nn-incoming
Revision history for this message
Julian Andres Klode (juliank) wrote :

So the script here fails to run

snap info firefox

It was pointed out it managed to upgrade the chromium snap before it, so not sure what's going on, this seems like a job for the snapd team to investigate.

affects: ubuntu-release-upgrader (Ubuntu) → snapd (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapd (Ubuntu):
status: New → Confirmed
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

This happened during a test upgrade from Ubuntu Studio 22.04 -> 24.04, but instead of Firefox, it tried to pull-in chromium??? We don't even seed chromium in any way.

Revision history for this message
Brian Murray (brian-murray) wrote :

Erich - Do you have /var/log/dist-upgrade/main.log for the system which was being upgraded? That would help us evaluate the failure.

Changed in firefox (Ubuntu Noble):
milestone: none → ubuntu-24.04-feature-freeze
Revision history for this message
Skia (hyask) wrote :

Here is the whole Jenkins archive. The file you asked is in `archive/ubuntu-jammy-noble-xubuntu-amd64_qemu/20240105.141607/artifacts/upgrade_run/system_details/dist-upgrade/main.log`, along with many other files that may also be interesting.

Changed in firefox (Ubuntu Noble):
milestone: ubuntu-24.04-feature-freeze → ubuntu-24.04-beta
Revision history for this message
Tim Andersson (andersson123) wrote :

Tried this again today, still an issue, see files attached

Changed in firefox (Ubuntu Noble):
milestone: ubuntu-24.04-beta → ubuntu-24.04
milestone: ubuntu-24.04 → noble-updates
Revision history for this message
Gabriel Korytiak (gabriel-korytiak) wrote :

have anyone tried to remove firefox snap and deb package before upgrade ?

sudo snap remove firefox
sudo apt pure firefox firefox-*

Revision history for this message
Captain (captainmorgan6666) wrote :

had the same issue I am upgrading now with after "sudo snap remove firefox" and will let you know. I did not remove the .deb firefox version.

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.