Limit the number of platforms bugbug manifests run on
Categories
(Firefox Build System :: Task Configuration, task)
Tracking
(firefox76 fixed)
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: ahal, Assigned: ahal)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
The bugbug service only returns manfiests to run. As of now, we simply run every task that contains this manifest. This means we are often running the same set of tests on 20 different configurations (or whatever it is).
Instead we should limit what gets run. Maybe we only run debug
platforms (as they are more likely to fail). Maybe we try to round robin manifests into different configurations such that we get coverage across all configurations but don't run all tests on all of them. Maybe we do some combination of both.
Assignee | ||
Updated•5 years ago
|
Comment 1•5 years ago
|
||
We should probably also limit the platforms for tasks returned by bugbug. Since it returns all possible tasks that might fail, many of them might be redundant with each other. I'm not sure how to best do this though.
Assignee | ||
Comment 2•5 years ago
|
||
Yeah, because the scheduling algorithm doesn't know why those tasks were chosen (i.e, which manifests are important).. then it's kind of tricky to do. I think a better use of time would be getting reftest/wpt working with taskgraph chunking.
Assignee | ||
Comment 3•5 years ago
|
||
Small cleanup to help compatmentalize these strategies.
Assignee | ||
Comment 4•5 years ago
|
||
This ensures we fail with invalid module paths early. Otherwise users wouldn't
find out until the decision task fails.
Depends on D68463
Assignee | ||
Comment 5•5 years ago
|
||
The bugbug scheduler currently chooses which manifests are important, and we
then run every task that contains those manifests. This is likely overkill
and we can reduce the number of configurations we run these manifests on.
Depends on D68464
Assignee | ||
Comment 6•5 years ago
|
||
Depends on D68466
Comment 8•5 years ago
|
||
Backed out for failures on test_optimize_strategies.py
backout: https://hg.mozilla.org/integration/autoland/rev/7ec9113ff5260558001e4fca1f8c9a73c7ffd06d
failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=295650289&repo=autoland&lineNumber=533
[task 2020-03-31T20:55:40.098Z] 0:34.73 taskcluster/taskgraph/test/test_optimize_strategies.py::test_bugbug_push_schedules[all-data3-expected3] PASSED
[task 2020-03-31T20:55:40.098Z] 0:34.73 taskcluster/taskgraph/test/test_optimize_strategies.py::test_bugbug_push_schedules[all-data4-expected4] PASSED
[task 2020-03-31T20:55:40.099Z] 0:34.73 taskcluster/taskgraph/test/test_optimize_strategies.py::test_bugbug_push_schedules[debug-data5-expected5] PASSED
[task 2020-03-31T20:55:40.099Z] 0:34.73 taskcluster/taskgraph/test/test_optimize_strategies.py::test_bugbug_timeout TEST-UNEXPECTED-FAIL
[task 2020-03-31T20:55:40.099Z] 0:34.73 taskcluster/taskgraph/test/test_optimize_strategies.py::test_bugbug_timeout ERROR
[task 2020-03-31T20:55:40.100Z] 0:34.74
[task 2020-03-31T20:55:40.100Z] 0:34.74 ==================================== ERRORS ====================================
[task 2020-03-31T20:55:40.101Z] 0:34.74 ___________________ ERROR at teardown of test_bugbug_timeout ___________________
[task 2020-03-31T20:55:40.101Z] 0:34.74
[task 2020-03-31T20:55:40.101Z] 0:34.74 @pytest.fixture
[task 2020-03-31T20:55:40.102Z] 0:34.74 def responses():
[task 2020-03-31T20:55:40.102Z] 0:34.74 with RequestsMock() as rsps:
[task 2020-03-31T20:55:40.102Z] 0:34.74 > yield rsps
[task 2020-03-31T20:55:40.103Z] 0:34.74
[task 2020-03-31T20:55:40.103Z] 0:34.74 taskcluster/taskgraph/test/conftest.py:13:
Assignee | ||
Comment 9•5 years ago
|
||
I did a bad merge and forgot to update one of the new tests I had added in another bug to handle the changes in this one.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3ab0ab42da13
https://hg.mozilla.org/mozilla-central/rev/89778a10b27e
https://hg.mozilla.org/mozilla-central/rev/6d15fe012042
https://hg.mozilla.org/mozilla-central/rev/f6072df56b3f
Description
•