Commit Graph

3180 Commits

Author SHA1 Message Date
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
Tom Prince
5f37a68c8b Bug 1508504: [tryselect] Handle try syntax --setenv like --env; r=ahal
This converts `--setenv` into `env` in `try_task_config` at parameter
generation time.

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

--HG--
extra : moz-landing-system : lando
2020-03-14 01:18:44 +00:00
Tom Prince
a917dc47e9 No bug: [taskgraph] Extract common setting from try_options to try_task_config in parameters; r=ahal
There are a number of settings that have equivalent expressions in
`try_options` (used for try syntax) and `try_task_config` (used for other try
selectors). Rather than requiring task generation code to understand both
formats, this converts the try syntax specification to `try_task_config` at
parameter generation time.

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

--HG--
extra : moz-landing-system : lando
2020-03-14 01:18:34 +00:00
Andrew Halberstadt
8722570b34 Bug 1620051 - [ci] Stand up a shadow-scheduler to measure the SETA optimization strategy r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D65403

--HG--
extra : moz-landing-system : lando
2020-03-13 20:33:53 +00:00
Andrew Halberstadt
2cf0c4fbc5 Bug 1603463 - [tryselect] Add the ability to run 'mach try auto' with alternative scheduling algorithms, r=tomprince
This allows us to change the default optimization strategy used in try pushes.
While probably not super useful to developers, it can help us easily test
changes to new and experimental optimizations on try.

This also changes the default to the 'bugbug_push_schedules' strategy, since
SETA is more or less random and shouldn't be used by 'mach try auto'. In the
future, we'll switch this back to simply using the default optimization as the
default will ideally be the best one that we have.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 20:32:14 +00:00
Andrew Halberstadt
56ba8a9ddf Bug 1603463 - Implement |mach try auto| which selects tasks on try automatically, r=tomprince
The 'auto' in 'mach try auto' stands for two things:

1. It automatically picks tasks for you.
2. It runs the same scheduling algorithms as autoland.

It accomplishes this by creating a new target_tasks method that spoofs the
'project' parameter to autoland.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 20:35:43 +00:00
Andrew Halberstadt
20db0eb3ac Bug 1603459 - [ci] Add a shadow-scheduler for the new 'bugbug-push-schedules' optimizer, r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D65586

--HG--
extra : moz-landing-system : lando
2020-03-13 20:30:57 +00:00
Andrew Halberstadt
b395876bc4 Bug 1603459 - [taskgraph] Add an optimizer that queries the bugbug /push/schedules endpoint, r=tomprince
Creates an optimizer that queries https://bugbug.herokuapp.com/push/<branch>/<rev>/schedules
to determine which tasks to run.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 20:30:34 +00:00
Andrew Halberstadt
31e8f2e640 Bug 1615333 - [taskgraph] Upload an artifact from the decision task mapping tests to manifests r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D62822

--HG--
extra : moz-landing-system : lando
2020-03-13 20:30:09 +00:00
Andrew Halberstadt
616e33a998 Bug 1615333 - [taskgraph] gzip the manifests-by-task.json artifact r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D62821

--HG--
extra : moz-landing-system : lando
2020-03-13 20:29:46 +00:00
Max
28f97ef5eb Bug 1621066 - Compress flatpak tars with xz instead of gzip. r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D66696

--HG--
extra : moz-landing-system : lando
2020-03-13 18:39:55 +00:00
Tom Prince
065a1586a6 Bug 1616924: Add support for fetch aliases; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D66528

--HG--
extra : moz-landing-system : lando
2020-03-12 06:35:17 +00:00
Tom Prince
829460889a Bug 1616924: Allow fetching to private artifacts; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D66527

--HG--
extra : moz-landing-system : lando
2020-03-13 02:24:47 +00:00
Tom Prince
26cde0c7ae Bug 1616924: Use registry for fetch types; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D66526

--HG--
extra : moz-landing-system : lando
2020-03-12 06:26:25 +00:00
Tom Prince
bbd6ed7de0 Bug 1616924: [taskgraph] Refactor fetch transform to make indivdual fetch types simpler; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D40457

--HG--
extra : moz-landing-system : lando
2020-03-13 01:56:14 +00:00
Edwin Takahashi
c7e8b475ec Bug 1621483 - set up separate enviornment for linux1804 marionette and web-platform-tests-wdspec r=jmaher,marionette-reviewers,whimboo
Changes:

As documented in bug 1621483, `marionette` experiences a non-trivial amount of issues when run on ubuntu1804 docker image with GTK/GNOME desktop environment enabled.

GTK/GNOME has a higher degree of asynciness when manipulating window size/position and this leads to `marionette` and the derived suite `web-platform-tests-wdspec` reporting intermittent oranges for a number of tests.

While attempts were made to incorporate a fix for the marionette driver itself, the best attempts have only been able to achieve a ~50% reliability in green runs.

This patch reintroduces the use of bare `compiz` window manager exclusively for these two problematic test suites so that at least the tests are running on non-legacy software.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 21:43:56 +00:00
Bob Clary
2fca9971f1 Bug 1608427 - revert changes in Bug 1618953 that removed logic which forced android raptor tests to be low value, r=jmaher.
Differential Revision: https://phabricator.services.mozilla.com/D66466

--HG--
extra : moz-landing-system : lando
2020-03-11 19:22:01 +00:00
Andrew Halberstadt
18af17355f Bug 1617321 - Disable taskgraph chunking when 'taskgraph.fast' is set r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D64111

--HG--
extra : moz-landing-system : lando
2020-03-11 13:41:06 +00:00
Mihai Tabara
fcaa28d7c7 Bug 1621053 - set proper branch when building Flatpaks. r=rail DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D66276

--HG--
extra : moz-landing-system : lando
2020-03-10 20:29:52 +00:00