Release Fennec Nightly AArch64 APK to Google Play
Categories
(Release Engineering :: Release Automation: Other, enhancement, P1)
Tracking
(firefox-esr60 fixed, firefox55 fixed, firefox64 wontfix, firefox65 wontfix, firefox66 fixed)
People
(Reporter: jlorenzo, Assigned: jlorenzo)
References
Details
(Whiteboard: [arm64:m1])
Attachments
(6 files)
59 bytes,
text/x-review-board-request
|
bhearsum
:
review+
|
Details |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
58 bytes,
text/x-github-pull-request
|
jlorenzo
:
review+
jlorenzo
:
checked-in+
|
Details | Review |
55 bytes,
text/x-github-pull-request
|
Details | Review | |
58 bytes,
text/x-github-pull-request
|
jlorenzo
:
review+
jlorenzo
:
checked-in+
|
Details | Review |
55 bytes,
text/x-github-pull-request
|
jlorenzo
:
review+
jlorenzo
:
checked-in+
|
Details | Review |
Assignee | ||
Updated•7 years ago
|
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Comment 2•7 years ago
|
||
mozreview-review |
Assignee | ||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
bugherder |
Assignee | ||
Comment 6•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 8•6 years ago
|
||
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
(In reply to Johan Lorenzo [:jlorenzo] from comment #11)
That said, allowing a new architecture to be shipped is easy enough: about a
day of work (including tests and deployment).I see a problem though: If AArch64 doesn't ride the trains - as in "we
shipped AArch64 in Firefox Nightly 65, but we don't want to ship it as
Firefox Beta 65" - we need to revisit the logic or amend the configuration
to say "AArch actually started to shipped in Firefox 66".
Johan, since adding a new architecture is probably a rare event and AArch64 will only need to skip one or two Nightly->Beta merges, could we just manually revert the AArch64 task changes in the Beta channel after each merge?
btw, head ups: this week I will probably submit the bug to request we ship AARch64 Fennec Nightly. I need to confirm some Android test issues first.
Comment 13•6 years ago
|
||
I was about file a new bug, but this bug is still open so we can use it.
We are now running (bug 1501584) and passing tests for ARM64 Fennec on mozilla-central, autoland, and inbound on real ARM64 devices (Google Pixel 2).
We would like to release ARM64 Fennec 66 to the Nightly channel, but not ride the trains to Beta yet. There are still ARM64 bugs we need to fix before riding the trains:
Assignee | ||
Comment 14•6 years ago
|
||
(In reply to Chris Peterson [:cpeterson] from comment #12)
could we just manually revert the AArch64 task changes in the Beta channel after each merge?
I'm sorry. I just read my previous comment again, and I realize this part:
I see a problem though: If AArch64 doesn't ride the trains - as in "we shipped AArch64 in Firefox Nightly 65, but we don't want to ship it as Firefox Beta 65" - we need to revisit the logic or amend the configuration to say "AArch actually started to shipped in Firefox 66".
is not really clear. Basically, if we want to "revert" AArch64 from beta, we'd have to do almost the same 3 steps as mentioned in comment 11. It should be around a day of work, the hardest part is to remember to do it.
Comment 15•6 years ago
|
||
(In reply to Johan Lorenzo [:jlorenzo] from comment #14)
I see a problem though: If AArch64 doesn't ride the trains - as in "we shipped AArch64 in Firefox Nightly 65, but we don't want to ship it as Firefox Beta 65" - we need to revisit the logic or amend the configuration to say "AArch actually started to shipped in Firefox 66".
is not really clear. Basically, if we want to "revert" AArch64 from beta, we'd have to do almost the same 3 steps as mentioned in comment 11. It should be around a day of work, the hardest part is to remember to do it.
So you could add AArch64 to _MAJOR_FIREFOX_VERSIONS_PER_ARCHITECTURE in mozapkpublisher [1] and then, after 65 Nightly rides to Beta, just remove the AArch64 line from _MAJOR_FIREFOX_VERSIONS_PER_ARCHITECTURE?
Is it possible to write the code so that AArch64 is only added to _MAJOR_FIREFOX_VERSIONS_PER_ARCHITECTURE if channel == nightly? It would be hacky, but then you wouldn't need to spend a second or third day reverting AArch64 from the Beta channel. Once AArch64 is ready to ride the trains, you could remove the conditional hack.
The Fennec team like to start publishing AArch64 Fennec Nightly whenever you or another release engineer can schedule the day of work.
Assignee | ||
Comment 16•6 years ago
|
||
Assignee | ||
Comment 17•6 years ago
|
||
r+'d by mtabara at: https://github.com/mozilla-releng/mozapkpublisher/pull/152#pullrequestreview-192117837
Landed on master at: https://github.com/mozilla-releng/mozapkpublisher/commit/36444cc8ad5b041b2752665df5bec7edcfc56c14
(In reply to Chris Peterson [:cpeterson] from comment #15)
Is it possible to write the code so that AArch64 is only added to _MAJOR_FIREFOX_VERSIONS_PER_ARCHITECTURE if channel == nightly? It would be hacky, but then you wouldn't need to spend a second or third day reverting AArch64 from the Beta channel. Once AArch64 is ready to ride the trains, you could remove the conditional hack.
Good idea! I implemented the logic this way. Bonus: We won't have to revert what's in-tree either, thanks to the same logic.
The Fennec team like to start publishing AArch64 Fennec Nightly whenever you or another release engineer can schedule the day of work.
I think I can land this today, so the first AArch64 Nightly would be published tomorrow.
Assignee | ||
Comment 18•6 years ago
|
||
Comment on attachment 9036329 [details] [review]
[mozapkpublisher] push-apk: Allow AArch64 on Nightly only
See previous comment.
Assignee | ||
Comment 19•6 years ago
|
||
Comment 20•6 years ago
|
||
Comment 21•6 years ago
|
||
Loading the following test page in Fennec will confirm whether you have ARMv7 (32-bit) or ARM64 Fennec installed:
https://is.gd/navigatorplatform -> https://codepen.io/anon/pen/JwxbYQ
Comment 22•6 years ago
|
||
bugherder |
Assignee | ||
Comment 23•6 years ago
|
||
r+'d by mtabara at https://github.com/mozilla-releng/mozapkpublisher/pull/153#pullrequestreview-192687337
Landed on master at https://github.com/mozilla-releng/mozapkpublisher/commit/7aa2bcef21e8ea1d943c5031681abe9ac7f7d10d
Released as mozapkpublisher 0.13.0: https://pypi.org/project/mozapkpublisher/0.13.0/ https://github.com/mozilla-releng/mozapkpublisher/releases/tag/0.13.0
Assignee | ||
Comment 24•6 years ago
|
||
Assignee | ||
Comment 25•6 years ago
|
||
Comment on attachment 9036611 [details] [review]
[build/puppet] Bump mozapkpublisher to 0.13.0
r+'d by mtabara at https://github.com/mozilla-releng/build-puppet/pull/364#pullrequestreview-192715534
Landed on master at https://github.com/mozilla-releng/build-puppet/commit/0a3342f430ba1fa585de9a2d5f4852069b63c519
Assignee | ||
Comment 26•6 years ago
|
||
The very first AArch64 APK has been uploaded to the Google Play store: https://tools.taskcluster.net/groups/frz3aHJdTGOgKx7xCDKkmw/tasks/COm1E5W_Tc2K4Cerkorg6Q/runs/2/logs/public%2Flogs%2Flive_backing.log#L206. I can see on the artifact library of GP.
We're done with it, then. Please note it won't ride the trains, unless someone amend the patches attached to this bug. There is no action to take when 66 (or above) reaches beta.
Comment 27•6 years ago
|
||
(In reply to Johan Lorenzo [:jlorenzo] from comment #26)
The very first AArch64 APK has been uploaded to the Google Play store: https://tools.taskcluster.net/groups/frz3aHJdTGOgKx7xCDKkmw/tasks/COm1E5W_Tc2K4Cerkorg6Q/runs/2/logs/public%2Flogs%2Flive_backing.log#L206. I can see on the artifact library of GP.
Thanks, Johan!
Looks like a few ARM64 Fennec crash reports are already starting to roll in:
We're done with it, then. Please note it won't ride the trains, unless someone amend the patches attached to this bug. There is no action to take when 66 (or above) reaches beta.
I filed bug 1520261 to track the Releng work when ARM64 Fennec is ready to ride the trains.
Comment hidden (Intermittent Failures Robot) |
Updated•6 years ago
|
Updated•6 years ago
|
Comment 29•6 years ago
|
||
bugherder uplift |
Comment 30•6 years ago
|
||
(In reply to Tom Prince [:tomprince] from comment #29)
https://hg.mozilla.org/releases/mozilla-esr60/rev/b01dbd843889
Tom, why did these Android changes need to be uplifted to ESR 60? ARM64 Fennec Nightly was enabled in 66, not 60, and we don't publish any ESR Fennec builds to the Google Play Store anyway.
Comment 31•6 years ago
|
||
They probably didn't strictly need to be uplifted. Each release, I've been uplifting changes to taskgraph and release related code to esr60 (see here). This patch got uplifted, as it makes it easier to look at the diff between esr and m-c, and since, as you mentioned, we don't build fennec on ESR, it is particularly low risk.
Comment 32•6 years ago
|
||
(In reply to Tom Prince [:tomprince] from comment #31)
They probably didn't strictly need to be uplifted. Each release, I've been uplifting changes to taskgraph and release related code to esr60 (see here). This patch got uplifted, as it makes it easier to look at the diff between esr and m-c, and since, as you mentioned, we don't build fennec on ESR, it is particularly low risk.
Sounds good. I just wanted to make sure there wasn't some AArch64 Fennec problem that I hadn't heard about yet. :)
Updated•3 years ago
|
Description
•