Don't allow variants to be keyed `by-platform`
Categories
(Firefox Build System :: Task Configuration, task)
Tracking
(firefox95 fixed)
| Tracking | Status | |
|---|---|---|
| firefox95 | --- | fixed |
People
(Reporter: ahal, Assigned: ahal)
References
Details
Attachments
(30 external files, 1 obsolete file)
One big point of confusion that always comes up when modifying the test configs in our CI is how to get variants running in their desired locations. The issue is that there are two variables that affect this and both can be keyed by-platform: the variants and run-on-projects variables.
In order to figure out what gets run where, one must examine both of these variables, parse out the regexes and make the necessary adjustments. In this bug, I'm proposing we instead disallow keying the variants by-platform and rely solely on run-on-projects.
The benefits of this are:
- Only a single variable that controls where tasks are run (easier to reason about)
- Variants that aren't running on given platforms will still be in the full taskgraph (so developers can test them on try)
- Will unblock further simplifications around variants and test transforms
The cons of this are:
- Full taskgraph will get much larger
- There may be a performance impact (will measure this before landing)
IMPORTANT: This bug will not impact where tasks actually run in any way whatsoever. I will make sure I don't make any mistakes using the --diff flag.
Comment 1•5 years ago
|
||
This may help developers if they want to test running a test variant against a non-standard platform on try: they just need to add the task, rather than modify the taskgraph configs.
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 2•5 years ago
|
||
This does not add or remove any tasks.
| Assignee | ||
Comment 3•5 years ago
|
||
This does not add or remove any tasks.
Depends on D128798
| Assignee | ||
Comment 4•5 years ago
|
||
This does not add or remove any tasks.
Depends on D128799
| Assignee | ||
Comment 5•5 years ago
|
||
This does not add or remove any tasks.
Depends on D128800
| Assignee | ||
Comment 6•5 years ago
|
||
This does not add or remove any tasks.
Depends on D128801
| Assignee | ||
Comment 7•5 years ago
|
||
This does not add or remove any tasks.
Depends on D128802
| Assignee | ||
Comment 8•5 years ago
|
||
This does make the config file a bit more verbose, but makes it much easier to
understand what is running where, which seems like a good trade-off here.
Depends on D128803
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 9•5 years ago
|
||
| Assignee | ||
Comment 10•5 years ago
|
||
Depends on D128832
| Assignee | ||
Comment 11•5 years ago
|
||
Depends on D128833
| Assignee | ||
Comment 12•5 years ago
|
||
Depends on D128834
| Assignee | ||
Comment 13•5 years ago
|
||
(In reply to Andrew Halberstadt [:ahal] from comment #0)
The cons of this are:
- Full taskgraph will get much larger
- There may be a performance impact (will measure this before landing)
After doing this for mochitest.yml it adds about 2500 tasks and ~7 seconds to the generation on my machine (I expect other suite files will have much less of an impact).
However:
- The configs are so much easier to read
- I have plans to re-implement platform restrictions later (e.g, the
waylandvariant should only apply to Linux) in a much nicer way, so this will cut the tasks back down a bunch. - This is a necessary pre-requisite to many other cleanups in the test configs.
So for those reasons I'm planning to proceed here.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 14•5 years ago
|
||
| Assignee | ||
Comment 15•5 years ago
|
||
| Assignee | ||
Comment 16•5 years ago
|
||
Depends on D128939
| Assignee | ||
Comment 17•5 years ago
|
||
Depends on D128940
| Assignee | ||
Comment 18•5 years ago
|
||
Depends on D128941
| Assignee | ||
Comment 19•5 years ago
|
||
Depends on D128942
| Assignee | ||
Comment 20•5 years ago
|
||
Depends on D128943
| Assignee | ||
Comment 21•5 years ago
|
||
Depends on D128944
Comment 22•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/7eb79ae0c067
https://hg.mozilla.org/mozilla-central/rev/87f4ddfc7699
https://hg.mozilla.org/mozilla-central/rev/064b33d05210
https://hg.mozilla.org/mozilla-central/rev/b65981ff7d7f
https://hg.mozilla.org/mozilla-central/rev/ce3e32e23ce4
https://hg.mozilla.org/mozilla-central/rev/800f313baa0a
https://hg.mozilla.org/mozilla-central/rev/ab63303e38de
https://hg.mozilla.org/mozilla-central/rev/fa3ba1da3e08
https://hg.mozilla.org/mozilla-central/rev/b18637e10ff0
https://hg.mozilla.org/mozilla-central/rev/82473ffd6538
| Assignee | ||
Comment 23•5 years ago
|
||
Depends on D128945
| Assignee | ||
Comment 24•5 years ago
|
||
Depends on D128965
| Assignee | ||
Comment 25•5 years ago
|
||
Depends on D128966
| Assignee | ||
Comment 26•5 years ago
|
||
Depends on D128967
| Assignee | ||
Comment 27•5 years ago
|
||
Depends on D128968
| Assignee | ||
Comment 28•5 years ago
|
||
Depends on D129061
| Assignee | ||
Comment 29•5 years ago
|
||
Depends on D129082
| Assignee | ||
Comment 30•5 years ago
|
||
Depends on D129083
| Assignee | ||
Comment 31•5 years ago
|
||
Depends on D129084
| Assignee | ||
Comment 32•5 years ago
|
||
Depends on D129085
Comment 33•5 years ago
|
||
Comment 34•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/8a32a43ded58
https://hg.mozilla.org/mozilla-central/rev/5c555536c013
https://hg.mozilla.org/mozilla-central/rev/fffdbd2e4b88
https://hg.mozilla.org/mozilla-central/rev/53cae44591df
https://hg.mozilla.org/mozilla-central/rev/1e027ab8f02e
https://hg.mozilla.org/mozilla-central/rev/8a23bd78c0c6
https://hg.mozilla.org/mozilla-central/rev/46c9fb7bd58a
https://hg.mozilla.org/mozilla-central/rev/af9935601af3
https://hg.mozilla.org/mozilla-central/rev/09109ec93bfc
https://hg.mozilla.org/mozilla-central/rev/ef27b70177bc
https://hg.mozilla.org/mozilla-central/rev/052cfe767692
Comment 35•5 years ago
|
||
| Assignee | ||
Comment 36•5 years ago
|
||
| Assignee | ||
Comment 37•5 years ago
|
||
Depends on D129170
| Assignee | ||
Comment 38•5 years ago
|
||
Depends on D129171
Comment 39•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/f416433d300d
https://hg.mozilla.org/mozilla-central/rev/10d407411179
https://hg.mozilla.org/mozilla-central/rev/65364a9f6b0d
https://hg.mozilla.org/mozilla-central/rev/12db8ba74c30
https://hg.mozilla.org/mozilla-central/rev/3f3f989e85bc
https://hg.mozilla.org/mozilla-central/rev/395d570e3e0d
Updated•5 years ago
|
| Assignee | ||
Comment 40•5 years ago
|
||
This should be resolved after next batch of patches land.
Comment 41•5 years ago
|
||
Comment 42•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/b6adebd58daf
https://hg.mozilla.org/mozilla-central/rev/94d832b6e884
https://hg.mozilla.org/mozilla-central/rev/93581e1fe476
Description
•