Closed Bug 1752111 Opened 2 years ago Closed 2 years ago

Make l10n bumper run on autoland instead of mozilla-central

Categories

(Firefox Build System :: Task Configuration, task)

task

Tracking

(firefox106 fixed)

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: aryx, Assigned: gabriel)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

The cron task which [updates the revisions of the localizations for use in Firefox(https://treeherder.mozilla.org/jobs?repo=mozilla-central&revision=fed4cdeef415d8af09a2b212a80b92dfa086c986) got added in bug 1748581. It runs ~3 hours before the Nightly starts.

The execution on mozilla-central has some disadvantages:

  • Once pushed, mozilla-central tip is missing builds which have to be built anyway for e.g. artifact builds on Try.
  • This requires a merge back to autoland to get the changeset into it.
  • If it's not possible to merge changes from autoland to central after it ran and before the next Nightly starts, it will start to schedule all builds and tests which belong to the release graph (which also slows down the delivery of the next Nightly build).

Advantage:

  • Localization changesets are often newer than a workflow which lands the L10n changes on autoland (because often 3h won't be sufficient to get the changes merged to mozilla-central).

We can do this, but we'll have to account for autoland being closed (I'm under the impression that autoland is closed a significantly higher percentage of the time than central?). We could allow for manual triggering of the hook once we reopen, maybe.

(Also I'm guessing we'll hit race conditions more often when landing to autoland, since Lando is landing things all the time.)

central is in approval-required state in general, autoland can be closed but if you submit the patch with moz-phab and trigger the landing, this would get landed after the tree reopens. Letting the sheriffs land it is another option.

Treescript doesn't have phab abilities yet; it pushes directly to central. I believe the task will upload a diff on failure or success, so that diff is landable.

No longer blocks: 1758746

(In reply to Aki Sasaki [:aki] (he/him) (UTC-6) from comment #1)

We can do this, but we'll have to account for autoland being closed (I'm under the impression that autoland is closed a significantly higher percentage of the time than central?). We could allow for manual triggering of the hook once we reopen, maybe.

Can we just land these DONTBUILD CLOSED TREE? These don't seem like the kind of thing that's going to cause any disruption to sheriffs if they land on a closed autoland tree. I'm coming back to this bug because in general it's causing a lot of noise on mozilla-central to have these directly pushing there (for example, extra bisection steps with mozregression) and it would be nice if we get these pushing to autoland instead to reduce the number of merges that need to be done.

Also, yes, we should definitely allow these hooks to be manually triggered (in general, I'm in favor of all cron-triggered hooks being available for manual activation as the default).

(Also I'm guessing we'll hit race conditions more often when landing to autoland, since Lando is landing things all the time.)

Yeah, we'd certainly need to be able to handle racing.

Flags: needinfo?(aki)

Sure. We need to do some l10n automation cross-training this half anyway; we can add this to the list of things I can mentor someone on.

Flags: needinfo?(aki)
Assignee: nobody → gabriel
Status: NEW → ASSIGNED
Pushed by gbustamante@mozilla.com:
https://hg.mozilla.org/ci/ci-configuration/rev/ba5e3180c580
Update ci-configuration to run the l10n-bumper on autoland instead of mozilla-central r=aki
Pushed by gbustamante@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/06e2145b5a21
Make l10n bumper run on autoland instead of mozilla-central r=aki

Backed out for causing linting failures on release_version_bump.py.

Push with failures

Failure log for black
Failure log for f8

Backout link

Flags: needinfo?(gabriel)
Flags: needinfo?(gabriel)
Pushed by gbustamante@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b3f4763a4887
Make l10n bumper run on autoland instead of mozilla-central r=aki
Flags: needinfo?(gabriel)
Backout by smolnar@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/9ce1bc0acf15
Backed out changeset b3f4763a4887 for causing l10n-bump failures.
Flags: needinfo?(gabriel)
Attachment #9289691 - Attachment is obsolete: true
Attachment #9289691 - Attachment is obsolete: false
Attachment #9289691 - Attachment description: Bug 1752111 - Grant the autoland project permissions to create gecko-1-tree tasks r=aki → Bug 1752111 - Grant the autoland project permissions to create gecko-3-tree tasks r=aki
Attachment #9289971 - Attachment description: patch → Allow autoland branch to use treescript push - scriptworker #552

Comment on attachment 9289971 [details] [diff] [review]
Allow autoland branch to use treescript push - scriptworker #552

https://github.com/mozilla-releng/scriptworker/pull/552

Pushed by gbustamante@mozilla.com:
https://hg.mozilla.org/ci/ci-configuration/rev/a00cebf1e929
Grant the autoland project permissions to create gecko-3-tree tasks r=aki
Pushed by gbustamante@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a9befcc1f72b
Make l10n bumper run on autoland instead of mozilla-central r=aki

Backed out changeset a9befcc1f72b (bug 1752111) for causint l10n bumper bustages on autoland.

Backout link: https://hg.mozilla.org/integration/autoland/rev/f1731a6d1414bcb1d6cabeca3d901e22db4e53b8

Push with failures

Failure log

Flags: needinfo?(gabriel)

Connor, does the ffxbld user have access to land changes on autoland? Trying to figure out why we're getting remote: abort: could not lock working directory of /repo/hg/mozilla/integration/autoland: Permission denied when pushing there.

Flags: needinfo?(sheehan)

Autoland uses a special scm_autoland permission. I ran groups ffxbld on the hgssh push server and it appears the bot does not have that permission (this works because LDAP permissions are mirrored into Unix groups on that server).

Flags: needinfo?(sheehan)

(In reply to Connor Sheehan [:sheehan] from comment #21)

Autoland uses a special scm_autoland permission. I ran groups ffxbld on the hgssh push server and it appears the bot does not have that permission (this works because LDAP permissions are mirrored into Unix groups on that server).

Thank you!

Pushed by gbustamante@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/22e8ad4a5632
Make l10n bumper run on autoland instead of mozilla-central r=aki
Flags: needinfo?(gabriel)
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
Duplicate of this bug: 1823046
Duplicate of this bug: 1823041
No longer duplicate of this bug: 1823041
No longer duplicate of this bug: 1823046
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: