Closed Bug 2074022 Opened 1 month ago Closed 1 day ago

Run android, android-asan, fenix and ios build tasks on git-backed pushes

Categories

(Firefox Build System :: Task Configuration, task)

task

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nhadji, Assigned: nhadji)

References

(Blocks 1 open bug)

Details

Attachments

(9 external files)

Part of the Mercurial to Git CI migration: remove run-on-repo-type: [hg] and clone-with: hg from the mobile build definition files so these builds can run on git-backed pushes: taskcluster/kinds/build/android.yml, android-asan.yml, fenix.yml, ios.yml.

Verified with the two-push workflow before submission:

Notes: build-android-x86_64-ccov/opt was excluded from the git verification (code-coverage-artifacts requires the project.codecoverage.v1.tasks_done route, not granted on git repos yet); android-stuff.yml is deferred to its own bug (pre-existing bustage on both backends).

Assignee: nobody → nhadji
Status: NEW → ASSIGNED
Depends on: 2073481

Part of the Mercurial -> Git CI migration: remove the hg-only guards from
the build/android-stuff kind.

build-android-geckoview-docs cannot be fully verified at level 1 on either
backend: after building the javadoc it uploads it to mozilla/geckoview
(gh-pages) with a deploy key held in the level-3 secret
project/releng/gecko/build/level-3/geckoview-docs-upload, so try and
staging runs fail at that upload step whatever the VCS. What is verifiable
matches: on a git-backed push (staging-firefox) the task is scheduled, clones
with git, builds the javadoc (BUILD SUCCESSFUL) and fails at the same upload
step as the hg try baseline (lando 93250). On mozilla-central (level 3) the
task is green.

Remove the run-on-repo-type: [hg] guard so signing-apk tasks are
scheduled on git-backed pushes, together with the android build family.

Dep-signing on git-backed pushes needed the Chain of Trust fix from bug
2070846 (scriptworker 63.6.1, deployed 2026-10-08). Verified on a
git-backed push (staging-firefox 3f1d4444b983, task group
RA6yNPC9RaSiJSRzem7qZw): all 5 signing-apk tasks completed (fenix debug,
nightly, nightly-simulation; focus debug, nightly).

Landing waits on https://github.com/mozilla/global-platform-admin/pull/7642
(GitHub app install for the repo).

Remove the run-on-repo-type: [hg] guard so signing-bundle tasks are
scheduled on git-backed pushes, together with the android build family.

Dep-signing on git-backed pushes needed the Chain of Trust fix from bug
2070846 (scriptworker 63.6.1, deployed 2026-10-08). Verified on a
git-backed push (staging-firefox 3f1d4444b983, task group
RA6yNPC9RaSiJSRzem7qZw): all 4 signing-bundle tasks completed (fenix
debug, nightly; focus debug, nightly).

Landing waits on https://github.com/mozilla/global-platform-admin/pull/7642
(GitHub app install for the repo).

build-apk, build-bundle, build-extensions, build-fat-aar and
build-samples-browser carry run-on-repo-type: [hg] and clone-with: hg,
so no Fenix, Focus or GeckoView app build is scheduled on a git-backed push.
With the guards gone these tasks are scheduled there and clone from GitHub.

Verified on Sep 21: an 18-task sample was green on both an hg try push
(lando 94775, push 2043059) and a staging-firefox git push (5aa6b5d75cae),
86/86 tasks of the git graph completed, and the artifacts matched apart from
the repository name in the maven coordinates. The diff was re-applied on
current main; the graph still generates on git with the same task counts.

Landing waits on a capacity go from ahal: this adds about 178 tasks to each
git-backed push. It also waits on
https://github.com/mozilla/global-platform-admin/pull/7642 (GitHub app
install for the repo).

Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
Status: RESOLVED → REOPENED
Keywords: leave-open
Resolution: FIXED → ---
Target Milestone: 160 Branch → ---
Pushed by nhadji@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/c0f87a7ade04 https://hg.mozilla.org/integration/autoland/rev/8dc02f58c3a6 Run signing-apk tasks on git-backed pushes, r=taskgraph-reviewers,releng-reviewers,jcristau https://github.com/mozilla-firefox/firefox/commit/a6c67a338202 https://hg.mozilla.org/integration/autoland/rev/96bbad24980b Run signing-bundle tasks on git-backed pushes, r=taskgraph-reviewers,releng-reviewers,jcristau
Pushed by nhadji@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/5520731e30d5 https://hg.mozilla.org/integration/autoland/rev/ede84f95c5c7 Run the android app build kinds on git-backed pushes, r=taskgraph-reviewers,jcristau,geckoview-reviewers,android-reviewers,android-build-system-reviewers,ahochheiden,tcampbell

Drop run-on-repo-type: [hg] and clone-with: hg from instrumented-build-apk,
generate-baseline-profile-firebase, instrumented-build-macrobenchmark-apk,
run-macrobenchmark-firebase and ui-test-apk, so these Fenix tasks schedule on
git-backed pushes and check out the GitHub mirror (run-task-git, shallow
clone).

Verified on try with the whole chain cloning from Git, all green:
instrumented-build-apk-fenix, generate-baseline-profile-firebase-fenix,
instrumented-build-macrobenchmark-apk-fenix, run-macrobenchmark-firebase-fenix
and the ui-test-apk-fenix-arm-debug-smoke run, including the two tasks that
talk to Firebase Test Lab.
https://treeherder.mozilla.org/jobs?repo=try&revision=c2b24335f065e2d63c7fa56eebf2d0f7375c3f97

The Fenix baseline profile task and the four ui-test-apk tasks without a
run-on-projects ran on every project through the implicit default; on a
Git-backed repository that default also covers enterprise-firefox, which
has no Fenix. They now spell out [trunk, release]: the same projects as
before on Mercurial, the release branches of the firefox repository on
Git, and not enterprise-firefox. Checked with the enterprise, central,
autoland and beta parameter sets: their target task sets are unchanged by
this patch.

Blocks: 2091020
Pushed by ahalberstadt@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/86f978c14bdd https://hg.mozilla.org/integration/autoland/rev/3a9e17784b98 Run the Fenix instrumented build, baseline profile, macrobenchmark and UI test kinds on git-backed pushes, r=taskgraph-reviewers,releng-reviewers,ahal
No longer blocks: gecko2github
Status: REOPENED → RESOLVED
Closed: 1 month ago → 1 day ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: