Closed Bug 1655669 Opened 4 years ago Closed 4 years ago

release-snap-repackage-firefox fails for 80.0b1

Categories

(Release Engineering :: Release Automation: Snap, defect, P1)

Tracking

(firefox-esr68 unaffected, firefox-esr7885+ fixed, firefox78 unaffected, firefox79 unaffected, firefox80blocking fixed, firefox81+ fixed)

RESOLVED FIXED
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 85+ fixed
firefox78 --- unaffected
firefox79 --- unaffected
firefox80 blocking fixed
firefox81 + fixed

People

(Reporter: jcristau, Assigned: jlorenzo)

References

(Depends on 1 open bug, )

Details

(Keywords: regression)

Attachments

(2 files)

See https://firefox-ci-tc.services.mozilla.com/tasks/d5nmjR0BQkO5NQ-P2rNRzg
and log: https://firefoxci.taskcluster-artifacts.net/d5nmjR0BQkO5NQ-P2rNRzg/1/public/logs/live_backing.log

Priming gnome-3-34-extension
Sorry, an error occurred in Snapcraft:
A tool snapcraft depends on could not be found: 'snap'.
Ensure the tool is installed and available, and try again.

This is blocking releases.

Assignee: nobody → jlorenzo

I know what happened and a fix is currently under test on try[0].

The root cause is that snapcraft started to require the snap binary about a month ago[1]. 2 weeks ago, bug 1617369 landed on autoland. That bug is definitely unrelated to snap. That said, it changed this line[2], which slightly changed the docker image called image_builder. If image_builder changes, then all other docker images get rebuilt[3]. That's exactly what happened[4]. So 2 weeks ago, the snap docker image was rebuilt and downloaded the latest version of snapcraft which included last month's changes. It wasn't clear what version was pulled from the logs. I'm improving that.

We hadn't seen this in the past 2 weeks because the hash of image_builder on mozilla-beta wasn't changed until merge day. This is why the bug appeared today. We could have seen this issue if bug 1451694 was addressed.

[0] https://treeherder.mozilla.org/#/jobs?repo=try&revision=c9c7004c088b4436388b860f3f94168e9466acd1
[1] https://github.com/snapcore/snapcraft/pull/3173/files#diff-84615e6204c0bf79064d03915b64c656R196
[2] https://hg.mozilla.org/integration/autoland/rev/b234115ff57eaebae0ebccff0586971db9b3edca#l4.13
[3] https://searchfox.org/mozilla-beta/rev/757c9db9ef294f402d223faebef380a31464bc46/taskcluster/taskgraph/transforms/docker_image.py#221
[4] https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=b234115ff57eaebae0ebccff0586971db9b3edca&searchStr=docker

Attachment #9166557 - Attachment description: Bug 1655669 - part 2: Expose snap binary because it's now required by snapcraft r=KenVanDine,sfraser → Bug 1655669 - part 2: Install snap binary because it's now required by snapcraft r=KenVanDine,sfraser
Pushed by jlorenzo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0e143f95ec6d part 1: Improve logging by notably outputting what snap dependencies are downloaded r=sfraser https://hg.mozilla.org/integration/autoland/rev/2424b1a371a6 part 2: Install snap binary because it's now required by snapcraft r=sfraser

Comment on attachment 9166557 [details]
Bug 1655669 - part 2: Install snap binary because it's now required by snapcraft r=KenVanDine,sfraser

Beta/Release Uplift Approval Request

Attachment #9166557 - Flags: approval-mozilla-beta?
Attachment #9166556 - Flags: approval-mozilla-beta?

Comment on attachment 9166557 [details]
Bug 1655669 - part 2: Install snap binary because it's now required by snapcraft r=KenVanDine,sfraser

approved for 80.0b1

Attachment #9166557 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9166556 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Blocks: 1687374
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: