Commit Graph

3198 Commits

Author SHA1 Message Date
Tarek Ziadé
fc7f072b74 Bug 1628982 - Activate the condprofile on desktop + GV r=Bebe,perftest-reviewers,whimboo
This patches fixes several problems found on Raptor and the condprof:

Raptor:

- Make sure the conditioned profile dir is removed after
  it's been used, not before.
- Adds the --project option to raptor so we know if we're on try
  autoland or mozilla-central.
- Both Fennec and Fenix are deactivated for now
- Use the allow-downgrade flag to be flexible on build ids (the next step will be bug 1628666)

Conditioned profiles, curation of the profile prefs:
- Fully deactivates Normandy during Raptor tests (app.normandy.enabled)
- Removes any GFX blacklisting (gfx.blacklist.*)
- Removes any marionette pref
- Enforce extensions sideloading (extensions.startupScanScopes)

Differential Revision: https://phabricator.services.mozilla.com/D70518
2020-04-16 14:01:55 +00:00
Andrew Halberstadt
3362e14674 Bug 1625200 - [taskgraph] Pull the 10th push backstop out of SETA, r=tomprince
We'll want some kind of backstop no matter what optimization algorithm we use.
We don't want to go too long without running any given task so we can find
regressions quickly and have a good merge candidate.

This pulls the logic that handles this out of the SETA strategy and into its
own strategy.

This will also make the SETA shadow scheduler more representative of what the
algorithm is doing.

Note in the future we may find ways to make this backstop more efficient (i.e
only run tasks that didn't run in the last 9 pushes for example).

Depends on D68621

Differential Revision: https://phabricator.services.mozilla.com/D68622

--HG--
extra : moz-landing-system : lando
2020-04-15 19:45:34 +00:00
Andrew Halberstadt
4da4148bd0 Bug 1625200 - [taskgraph] Support 'OptimizationStrategy' instances directly in composite strategies, r=tomprince
This allows to nest strategies without having to register ever intermediate
composite strategy first. For example:

All(Any("skip-unless-schedules", "seta"), "backstop")

Prior to this patch, we'd need to register that 'Any' one first and then use it
in the 'All'.

Depends on D68620

Differential Revision: https://phabricator.services.mozilla.com/D68621

--HG--
extra : moz-landing-system : lando
2020-04-15 19:44:41 +00:00
Andrew Halberstadt
9068d6134d Bug 1625200 - [taskgraph] Implement an 'All' composite strategy, r=tomprince
I'd like to implement a 'backstop' strategy, such that it will prevent all other
optimizers from removing tasks under certain conditions (e.g every 10th push).

The nicest way to implement this seems to be an 'All' composite strategy
(similar to 'Either' which this patch renames to 'Any'). This means we could
do something like:

All("seta", "backstop")

which means we would only remove tasks if *all* substrategies say to remove
tasks.

Differential Revision: https://phabricator.services.mozilla.com/D68620

--HG--
extra : moz-landing-system : lando
2020-04-15 19:44:10 +00:00
Andreea Pavel
f7dc8eb0a5 Backed out 3 changesets (bug 1625200) for breaking gecko decision task on a CLOSED TREE
Backed out changeset efffde76e782 (bug 1625200)
Backed out changeset 23bfe65864c1 (bug 1625200)
Backed out changeset 7d1a3690be7d (bug 1625200)

--HG--
extra : rebase_source : cbca1f001730c0973dbb3a2ee335a93301797c33
2020-04-15 18:49:02 +03:00
Andrew Halberstadt
4ef20cf6fd Bug 1625200 - [taskgraph] Pull the 10th push backstop out of SETA, r=tomprince
We'll want some kind of backstop no matter what optimization algorithm we use.
We don't want to go too long without running any given task so we can find
regressions quickly and have a good merge candidate.

This pulls the logic that handles this out of the SETA strategy and into its
own strategy.

This will also make the SETA shadow scheduler more representative of what the
algorithm is doing.

Note in the future we may find ways to make this backstop more efficient (i.e
only run tasks that didn't run in the last 9 pushes for example).

Depends on D68621

Differential Revision: https://phabricator.services.mozilla.com/D68622

--HG--
extra : moz-landing-system : lando
2020-04-15 15:33:33 +00:00
Andrew Halberstadt
8331bfc334 Bug 1625200 - [taskgraph] Support 'OptimizationStrategy' instances directly in composite strategies, r=tomprince
This allows to nest strategies without having to register ever intermediate
composite strategy first. For example:

All(Any("skip-unless-schedules", "seta"), "backstop")

Prior to this patch, we'd need to register that 'Any' one first and then use it
in the 'All'.

Depends on D68620

Differential Revision: https://phabricator.services.mozilla.com/D68621

--HG--
extra : moz-landing-system : lando
2020-04-15 14:38:29 +00:00
Andrew Halberstadt
822b827fdc Bug 1625200 - [taskgraph] Implement an 'All' composite strategy, r=tomprince
I'd like to implement a 'backstop' strategy, such that it will prevent all other
optimizers from removing tasks under certain conditions (e.g every 10th push).

The nicest way to implement this seems to be an 'All' composite strategy
(similar to 'Either' which this patch renames to 'Any'). This means we could
do something like:

All("seta", "backstop")

which means we would only remove tasks if *all* substrategies say to remove
tasks.

Differential Revision: https://phabricator.services.mozilla.com/D68620

--HG--
extra : moz-landing-system : lando
2020-04-15 14:38:01 +00:00
Mihai Alexandru Michis
7e2477521b Backed out changeset bf87ca547997 (bug 1628982) for causing raptor failures.
CLOSED TREE
2020-04-14 22:22:25 +03:00
Marco Castelluccio
dbb63b7e43 Bug 1629027 - Define a new shadow scheduler using the reduced set of tasks chosen by bugbug. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D70713

--HG--
extra : moz-landing-system : lando
2020-04-14 10:43:44 +00:00
Tarek Ziadé
410faf3d47 Bug 1628982 - Activate the condprofile on desktop + GV r=Bebe,perftest-reviewers
Activates the conditioned profile by doing the following changes:

- make sure the conditioned profile dir is removed after
  it's been used, not before.
- add the --project option to raptor so we know if we're on try
  or mozilla-central.
- Both Fennec and Fenix are deactivated for now.
- Remove any gfx.blacklist.* prefs when using a conditioned profile

Differential Revision: https://phabricator.services.mozilla.com/D70518

--HG--
extra : moz-landing-system : lando
2020-04-14 08:32:13 +00:00
Aki Sasaki
e81d58f570 Bug 1594621 - allow for attributes in fetch tasks. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D70141

--HG--
extra : moz-landing-system : lando
2020-04-09 22:46:05 +00:00
Csoregi Natalia
ba597ff33e Backed out changeset 6553d0f5973d (bug 1628982) for raptor timeouts. CLOSED TREE 2020-04-13 19:22:31 +03:00
Tarek Ziadé
83a1f75a91 Bug 1628982 - Activate the condprofile on desktop + GV r=Bebe,perftest-reviewers
Make sure the conditioned profile dir is removed after
it's been used, not before. This patch also adds the
--project option to raptor so we know if we're on try
or mozilla-central. Both Fennec and Fenix are deactivated
for now.

Differential Revision: https://phabricator.services.mozilla.com/D70518

--HG--
extra : moz-landing-system : lando
2020-04-13 07:33:22 +00:00
Tom Prince
4fd158fabf Bug 1626795: Use revision rather than push-id to look up existing tasks; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D70568

--HG--
extra : moz-landing-system : lando
2020-04-10 22:29:39 +00:00
Tom Prince
65638c70af No bug: Don't get full changesets when getting pushlog info; r=aki
Since we don't look at the changesets, there is no need for hgmo to generate
them for us.

Differential Revision: https://phabricator.services.mozilla.com/D70567

--HG--
extra : moz-landing-system : lando
2020-04-10 22:19:03 +00:00
Coroiu Cristina
f591deb0c1 Backed out changeset 0cfe4728b251 (bug 1594621) for breaking Gecko Decision Task on a CLOSED TREE 2020-04-10 01:37:39 +03:00
Aki Sasaki
0748fa0f8c Bug 1594621 - allow for attributes in fetch tasks. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D70141

--HG--
extra : moz-landing-system : lando
2020-04-09 18:13:16 +00:00
Rob Lemley
f49e91e5fb Bug 1624763 - Enable custom actions to be defined in a repo. r=tomprince
This is a port of https://hg.mozilla.org/ci/taskgraph/rev/a61ab06c25222 to allow
for custom actions in a project repo. Previously, registration of actions worked
but did not run when triggered.

Differential Revision: https://phabricator.services.mozilla.com/D68891

--HG--
extra : moz-landing-system : lando
2020-04-09 07:37:21 +00:00
James Graham
b16004a0d9 Bug 1620278 - Put source-test dependent-build-types in task configuration, r=ahal
Previously source-tests requiring a build had a "global" mapping of
platform to build type in kind.yml. But this made it confusing to
figure out how to add task-specific configuration. To simplify things,
make the configuration for the dependent platforms also go in the task
definition.

Differential Revision: https://phabricator.services.mozilla.com/D68636

--HG--
extra : moz-landing-system : lando
2020-04-09 15:34:49 +00:00
Marco Castelluccio
2843bff098 Bug 1624437 - Define three different bugbug scheduling strategies using different confidence thresholds. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D68426

--HG--
extra : moz-landing-system : lando
2020-04-06 22:50:19 +00:00
Simon Fraser
f15beb98d7 Bug 1626933 Support bump_esr action in merge automation action r=jlorenzo
The action now requires a 'behavior' and not a 'merge_flavor'. An example log is https://firefox-ci-tc.services.mozilla.com/tasks/Qzsu8CY2QnylZSpO66Dy-g/runs/0/logs/https%3A%2F%2Ffirefox-ci-tc.services.mozilla.com%2Fapi%2Fqueue%2Fv1%2Ftask%2FQzsu8CY2QnylZSpO66Dy-g%2Fruns%2F0%2Fartifacts%2Fpublic%2Flogs%2Fesr68.diff

Differential Revision: https://phabricator.services.mozilla.com/D69425

--HG--
extra : moz-landing-system : lando
2020-04-03 10:36:42 +00:00
Andrew Halberstadt
d45b3cf7a4 Bug 1624902 - [taskgraph] Implement substrategies in the bugbug scheduler for dealing with platforms, r=marco
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.

Differential Revision: https://phabricator.services.mozilla.com/D68466

--HG--
extra : moz-landing-system : lando
2020-04-01 13:43:48 +00:00
Andrew Halberstadt
9359f4cba8 Bug 1624902 - [taskgraph] Move experimental strategies into a common namespace, r=marco
Small cleanup to help compartmentalize these strategies.

Differential Revision: https://phabricator.services.mozilla.com/D68463

--HG--
extra : moz-landing-system : lando
2020-04-01 13:43:17 +00:00
James Graham
28b1ea3d10 Bug 1624280 - Add support for routes in try_task_config.json, r=ahal
This adds an optional routes key to the task_task_config schema,
 which is a list of strings. Anything in this key is added to the list
of routes for tasks scheduled by the decision task.

Differential Revision: https://phabricator.services.mozilla.com/D67827

--HG--
extra : moz-landing-system : lando
2020-04-01 09:18:37 +00:00
Edwin Takahashi
a853d06380 Bug 1608837 - fix incorrect names of reftest/crashtest variants of web-platform-tests r=ahal
The definition for reftest/crashtest variants of web-platform-tests in web-platform.yml has a trailing `s` which is technically incorrect.

This causes problems when querying ActiveData for the runtimes for these subsuites since the suite name recorded in ActiveData has the trailing s.

Changes:

  - remove the trailing `s` from the definitions

Differential Revision: https://phabricator.services.mozilla.com/D68069

--HG--
extra : moz-landing-system : lando
2020-03-31 20:41:17 +00:00
Csoregi Natalia
e1af17b6c1 Backed out 4 changesets (bug 1624902) for failures on test_optimize_strategies.py. CLOSED TREE
Backed out changeset b500403daa0c (bug 1624902)
Backed out changeset bf817363344e (bug 1624902)
Backed out changeset c7a62f2d9034 (bug 1624902)
Backed out changeset 08356d478d16 (bug 1624902)
2020-04-01 00:09:34 +03:00
Andrew Halberstadt
8787bbc73a Bug 1624902 - [taskgraph] Implement substrategies in the bugbug scheduler for dealing with platforms, r=marco
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.

Differential Revision: https://phabricator.services.mozilla.com/D68466

--HG--
extra : moz-landing-system : lando
2020-03-31 17:57:50 +00:00
Andrew Halberstadt
9a971df100 Bug 1624902 - [taskgraph] Move experimental strategies into a common namespace, r=marco
Small cleanup to help compartmentalize these strategies.

Differential Revision: https://phabricator.services.mozilla.com/D68463

--HG--
extra : moz-landing-system : lando
2020-03-31 18:06:58 +00:00
Simon Fraser
76e893355b Bug 1626027 Add support for bump_and_tag_central merge day action r=jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D68992

--HG--
extra : moz-landing-system : lando
2020-03-31 14:25:25 +00:00
Gregory Mierzwinski
77e548053a Bug 1615257 - Enable google chrome android browsertime tests. r=perftest-reviewers,AlexandruIonescu
This patch adds the capability to run Google Chrome for Android tests through Raptor-Browsertime.

Chrome must be available on the device being tested, and there are no installation steps being added in this patch since CI already has the latest Chrome version available to test with. That said, this patch adds the ability to find the version of Chrome that is being tested and stores this in the Perfherder artifact. Getting this version is also necessary to be able to run Chrome with the correct chromedriver.

Two tests are initially be enabled for Chrome in this patch: Amazon, and YouTube. They will only run through a cron task three days a week. The other changes done in this patch are required for Chrome to work with Raptor-Browsertime.

Differential Revision: https://phabricator.services.mozilla.com/D65610

--HG--
extra : moz-landing-system : lando
2020-03-27 14:31:28 +00:00
Edwin Takahashi
e71d3c7e9c Bug 1620326 - migrate linux64 tsan tests to run on linux1804 r=jmaher
Changes:

Migrate all of the currently running tsan test suites to run on linux1804 instead.

All future test suites should also be added under the linux1804 label.

Depends on D67125.

Differential Revision: https://phabricator.services.mozilla.com/D68087

--HG--
extra : moz-landing-system : lando
2020-03-24 22:48:20 +00:00
Andrew Halberstadt
2b0d97aaa4 Bug 1625168 - [taskgraph] Raise exception when timing out waiting for bugbug service, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D68431

--HG--
extra : moz-landing-system : lando
2020-03-26 18:52:33 +00:00
Julien Cristau
db7f4cc73e Bug 1624910 - fix partner repacks after bug 1527313. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D68245

--HG--
extra : moz-landing-system : lando
2020-03-25 21:13:07 +00:00
Geoff Brown
dd0512984b Bug 1610886 - Make it easier to run test-verify on try; r=bc
Ensure a minimum of 1 chunk for "per-file" tests like test-verify when run on try, even when
no local file changes are detected. --full is still required.

Differential Revision: https://phabricator.services.mozilla.com/D67694

--HG--
extra : moz-landing-system : lando
2020-03-25 19:32:42 +00:00
Geoff Brown
d46135408b Bug 1598746 - Adjust some mochitest and reftest SCHEDULES.exclusive entries; r=ahal
Use finer granularity for some reftest/mochitest SCHEDULES.exclusive entries,
so that reftest-plain does not run when only crashtests are modified, and
vice versa; similarly, break up mochitest into mochitest/browser-chrome/chrome/
a11y. Use schedules-component instead of category.

Differential Revision: https://phabricator.services.mozilla.com/D60085

--HG--
extra : moz-landing-system : lando
2020-03-24 14:55:28 +00:00
Andrew Halberstadt
05c87fca29 Bug 1624437 - [taskgraph] Handle the upcoming data format in the bugbug optimization strategy, DONTBUILD, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D67925

--HG--
extra : moz-landing-system : lando
2020-03-24 14:37:08 +00:00
Bogdan Tara
a3db8af185 Backed out 3 changesets (bug 1602832) for assertion failing on IOInterposer.cpp CLOSED TREE
Backed out changeset 9123faab0d42 (bug 1602832)
Backed out changeset 4c3764b3d7bc (bug 1602832)
Backed out changeset 9c955a99c95d (bug 1602832)
2020-03-20 14:03:28 +02:00
Kershaw Chang
7d32845047 Bug 1602832 - P2: Create 'socketprocess_networking' test variant r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D58112

--HG--
extra : moz-landing-system : lando
2020-03-19 10:31:06 +00:00
Mike Hommey
5aacddbfcb Bug 1620166 - Remove mar.exe, msbdiff.exe and target.normandy.json as artifacts of Windows builds. r=tomprince
The former two are not used anymore, and the latter can't be generated
on cross-builds, and it was agreed in bug 1563564 (and reconfirmed on
Matrix) that we can go without it until it's generated from separate
tasks.

More formally removing the former two will be the subject of a followup.

Differential Revision: https://phabricator.services.mozilla.com/D67580

--HG--
extra : moz-landing-system : lando
2020-03-20 01:57:52 +00:00
Geoff Brown
abf6e0fdc4 Bug 1612345 - Add custom retrigger support for gtest; r=bc
Add test package mach support for gtest and hook into the custom retrigger
action. Some existing custom retrigger features, like setting gecko prefs,
are not (easily) applicable to gtest, which doesn't use mozprofile; for
this reason, use a separate action context with items suitable for gtest.

Differential Revision: https://phabricator.services.mozilla.com/D67384

--HG--
extra : moz-landing-system : lando
2020-03-19 16:12:51 +00:00
Edwin Takahashi
7bdb90fc43 Bug 1623462 - fix incorrect check of windows platform value in chunking.py r=ahal
Changes:

While stepping through the debugger for Bug 1608837, it was found that for `platform = windows` the conditional was always evaluating to `False` thereby loading the fallback `unix` runtimes.

Differential Revision: https://phabricator.services.mozilla.com/D67390

--HG--
extra : moz-landing-system : lando
2020-03-19 00:32:54 +00:00
Andrew Halberstadt
76491a2c06 Bug 1623094 - [taskgraph] Use regular retry interval when querying bugbug service, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D67343

--HG--
extra : moz-landing-system : lando
2020-03-18 16:30:13 +00:00
Mike Hommey
deaae0a9f3 Bug 1618781 - Add toolchains tasks for pdbstr. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D67085

--HG--
extra : moz-landing-system : lando
2020-03-18 03:34:44 +00:00
Ciure Andrei
19d8351b5f Backed out 2 changesets (bug 1618781) for toolchain bustages CLOSED TREE
Backed out changeset 83026834b242 (bug 1618781)
Backed out changeset ac168e956e3a (bug 1618781)
2020-03-18 05:32:00 +02:00
Mike Hommey
63fe0dbd12 Bug 1618781 - Add toolchains tasks for pdbstr. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D67085

--HG--
extra : moz-landing-system : lando
2020-03-17 21:24:11 +00:00
Mike Hommey
670494e7d5 Bug 1623010 - Separate out the diffing of generated-files. r=dmajor
The diff jobs currently take a Firefox package and compares against the
one from another build. When that fails, it also makes the diff of the
generated files, which can be useful when there are differences, but
can also be useful on its own. Also, because sometimes, like right now,
there are differences in generated files that have no impact on Firefox
itself, when differences do show up for Firefox, the differences in
generated files are added noise that sheriffs can't work around.

Differential Revision: https://phabricator.services.mozilla.com/D67113

--HG--
extra : moz-landing-system : lando
2020-03-17 22:03:01 +00:00
Geoff Brown
534483c227 Bug 1177545 - Remove automation.py.in entirely; r=egao,bc
Remove the remainder of automation.py.in and the build support for generating
automation.py.
Some of this functionality was in use, especially for android tests.
Some code was moved or re-implemented in remoteautomation.py or in the affected
harness(es). Some features were removed: There are some minor changes in behavior.
For instance, instead of using a different server startup timeout for debug builds,
one value is used for all builds (due to performance improvements over time,
the longer timeout is no longer needed).

Differential Revision: https://phabricator.services.mozilla.com/D66839

--HG--
extra : moz-landing-system : lando
2020-03-17 19:06:34 +00:00
Geoff Brown
4932529550 Bug 1612345 - Change defaults for custom retrigger action; r=bc
Update the default values to avoid common pitfalls, such as trying to repeat
a 30-minute long tasks 30x times with extra logging!
The new defaults allow a simple re-run of most tasks with no changes.
While we are here, tweak the parameter descriptions.

Differential Revision: https://phabricator.services.mozilla.com/D66842

--HG--
extra : moz-landing-system : lando
2020-03-17 17:26:08 +00:00
Gregory Mierzwinski
c3d87369fb Bug 1622825 - Add Chromedriver for Chrome 81. r=perftest-reviewers,whimboo
This patch removes the chromedriver for Chrome 78, and adds a chromedriver for Chrome 81.

Differential Revision: https://phabricator.services.mozilla.com/D66987

--HG--
extra : moz-landing-system : lando
2020-03-17 16:37:05 +00:00