Make l10n bumper run on autoland instead of mozilla-central
Categories
(Firefox Build System :: Task Configuration, task)
Tracking
(firefox106 fixed)
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).
Comment 1•2 years ago
•
|
||
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.)
Reporter | ||
Comment 2•2 years ago
|
||
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.
Comment 3•2 years ago
|
||
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.
Updated•2 years ago
|
Comment 4•2 years ago
•
|
||
(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.
Comment 5•2 years ago
|
||
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.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 6•2 years ago
|
||
Assignee | ||
Comment 7•2 years ago
|
||
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
Comment 10•2 years ago
|
||
Backed out for causing linting failures on release_version_bump.py.
Assignee | ||
Updated•2 years ago
|
Comment 11•2 years ago
|
||
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
Comment 12•2 years ago
|
||
Backed out for causing l10n-bump failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/a0227377af4cb054972ad16c05e8f696a8d67de8
Comment 13•2 years ago
|
||
Backout by smolnar@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/9ce1bc0acf15 Backed out changeset b3f4763a4887 for causing l10n-bump failures.
Assignee | ||
Comment 14•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 15•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 16•2 years ago
|
||
Comment on attachment 9289971 [details] [diff] [review]
Allow autoland branch to use treescript push - scriptworker #552
Comment 17•2 years ago
|
||
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
Comment 18•2 years ago
|
||
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
Comment 19•2 years ago
|
||
Backed out changeset a9befcc1f72b (bug 1752111) for causint l10n bumper bustages on autoland.
Backout link: https://hg.mozilla.org/integration/autoland/rev/f1731a6d1414bcb1d6cabeca3d901e22db4e53b8
Comment 20•2 years ago
|
||
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.
Comment 21•2 years ago
|
||
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).
Comment 22•2 years ago
|
||
(In reply to Connor Sheehan [:sheehan] from comment #21)
Autoland uses a special
scm_autoland
permission. I rangroups 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!
Comment 23•2 years ago
|
||
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
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Comment 24•2 years ago
|
||
bugherder |
Comment 25•2 years ago
|
||
bugherder |
Updated•2 years ago
|
Description
•