Commit Graph

3246 Commits

Author SHA1 Message Date
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
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
Geoff Brown
2653d1a44c Bug 1612345 - Add custom retrigger support for geckoview-junit; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D66149

--HG--
extra : moz-landing-system : lando
2020-03-10 17:57:54 +00:00
Mihai Tabara
f6462fdfc3 Bug 1591387 - add flatpak release automation. r=rail
Adjust runme to be executable

Rm sdk/pltf install.Manually add meta

Enforce firefox run instead of notify

Add policy to disable updates

Temp hack to default to firefox instead of notify-send

Fix mach linters

Remove firefox command hack. Proper fix

Remove duplicate cmd in runme

Fix indentantion in kind

Fix more linters

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

--HG--
extra : moz-landing-system : lando
2020-03-09 12:16:51 +00:00
Edwin Takahashi
9f0b95ae4e Bug 1611566 - support python3 syntax in taskcluster/taskgraph/try_option_syntax.py r=Callek
Changes:

Replaces all instances of `itervlaues` and `iteritems` with `six` variant in try_option_syntax.py.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 21:58:55 +00:00
Csoregi Natalia
60dfa99561 Merge autoland to mozilla-central. a=merge 2020-03-06 22:09:55 +02:00
Csoregi Natalia
c56ee76c10 Backed out changeset 8685d073fea1 (bug 1611566) for breaking try option syntax. a=backout 2020-03-06 21:42:01 +02:00
Sebastian Hengst
a23651529b Bug 1620610 - Remove coalescing for tasks. r=catlee
Bug 1602446 disabled coalescing for tasks which was designed to reduce load on
the pools which ran those tasks by skipping some of them. After coalescing was
affecting almost no tasks, it started to coalesce more tasks in November 2019
(bug 1602446) up to a level for which too few tasks ran and test coverage was
impacted. Coalescing got disabled and the conclusion is that coalescing is
currently not needed.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 15:52:51 +00:00
Geoff Brown
125780a30a Bug 1612345 - Generalize the retrigger-mochitest action; r=bc
Simple update to strings and names for the custom retrigger action, in preparation
for the addition of more tasks.

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

--HG--
rename : taskcluster/taskgraph/actions/retrigger_mochitest.py => taskcluster/taskgraph/actions/retrigger_custom.py
extra : moz-landing-system : lando
2020-03-06 15:21:10 +00:00
Bob Clary
14697403b8 Bug 1618953 - remove obsolete kludges for build platforms and android raptor tests, r=jmaher.
Differential Revision: https://phabricator.services.mozilla.com/D64827

--HG--
extra : moz-landing-system : lando
2020-03-06 01:53:10 +00:00
Bob Clary
a94ea75d6c Bug 1608427 - Simplify SkipLowValue.should_remove_task, r=tomprince.
Differential Revision: https://phabricator.services.mozilla.com/D64631

--HG--
extra : moz-landing-system : lando
2020-03-06 01:53:07 +00:00
Bob Clary
89f9c43290 Bug 1608427 - Eliminate O(N^2) behavior with lists and sets in SETA.query_low_value_tasks, r=ahal.
Differential Revision: https://phabricator.services.mozilla.com/D64630

--HG--
extra : moz-landing-system : lando
2020-03-06 01:53:05 +00:00
Bob Clary
7aa8095b93 Bug 1608427 - remove mozilla-inbound from SETA_PROJECTS, r=tomprince.
Differential Revision: https://phabricator.services.mozilla.com/D64629

--HG--
extra : moz-landing-system : lando
2020-03-06 01:53:03 +00:00
Bob Clary
252bb6f8b4 Bug 1618622 - Use fuzzing-builds optimization strategy fuzzing builds, r=aki.
Define and use fuzzing-builds optimization strategy that allows either
skip-unless-schedules or seta strategies.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 01:21:35 +00:00
Tom Prince
f552683ada Bug 1527313: [taskgraph] Don't use a workspace cache for hazard builds; r=glandium
These jobs only use the workspace for obj directories, have some some logic to
cleanup the directory at the beginning of the run, so there is no reason to
cache the directory.

This also removes the now-unused common code for creating a workspace cache directory.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 23:22:20 +00:00
Tom Prince
0cc5c24dee Bug 1527313: [taskgraph] Ensure that the mozharness workspace is part of a docker volume; r=glandium
Since the workspace is no longer cached, but needs to be a volume for
performance reasons, add a check to ensure that is the case.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 23:22:13 +00:00
Tom Prince
abadb30b3a Bug 1527313: [taskgraph] Remove workspace-key from mozharness tasks; r=glandium
Since mozharness tasks are no longer caching the workspace directory, we don't
need a key for different tasks.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 23:22:10 +00:00
Tom Prince
fa69ebf563 Bug 1527313: Move objdir out of source directory for all mozharness builds; r=glandium,Callek
This moves the object directory and source directories around in all mozharness
jobs, to allow enabling caching on windows builders.

This makes a number of changes that all need to land at once:
- Move the source checkout for the workspace cache mount, to the checkouts
  cache mount.
- Makes the object directoy from underneath the source directory, to directly
  in the work directory (which is still under `workspace`).
- Sets the object directory to `obj-build` instead of `obj-firefox`.
- Stops caching the workspace directory (it is still a volume in docker workers,
  so writes perform well; a followup revision add some checks around this).
- Removes one level of directory in the mozharness workdir (things were under
  `workspace/build`, but are now just under `workspace/`.
- Adjust paths in environment variables and artifact specifications to match
  the above changes.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 08:51:21 +00:00
Edwin Takahashi
914f9794fd Bug 1611566 - support python3 in taskcluster/taskgraph/try_option_syntax.py and taskcluster/taskgraph/taskgraph.py r=Callek
Changes:

Replaces all instances of `itervlaues` and `iteritems` with `six` variant.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 22:51:44 +00:00
Simon Fraser
ae80827888 Bug 1619944 Migrate partials and pipfile-updates to use requirements.txt r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D65323

--HG--
rename : taskcluster/ci/pipfile-update/kind.yml => taskcluster/ci/python-dependency-update/kind.yml
rename : taskcluster/docker/pipfile-updates/Dockerfile => taskcluster/docker/python-dependency-update/Dockerfile
rename : taskcluster/docker/pipfile-updates/README.md => taskcluster/docker/python-dependency-update/README.md
rename : taskcluster/docker/pipfile-updates/runme.sh => taskcluster/docker/python-dependency-update/runme.sh
rename : taskcluster/docker/pipfile-updates/scripts/update_pipfiles.sh => taskcluster/docker/python-dependency-update/scripts/update_pipfiles.sh
rename : taskcluster/docker/pipfile-updates/setup.sh => taskcluster/docker/python-dependency-update/setup.sh
rename : taskcluster/taskgraph/transforms/pipfile_update.py => taskcluster/taskgraph/transforms/python_update.py
extra : moz-landing-system : lando
2020-03-05 13:49:24 +00:00
alexandru.ionescu
cb8a401831 Bug 1604541 Stop raptor android performance tests on opt builds r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D64939

--HG--
extra : moz-landing-system : lando
2020-03-05 13:30:18 +00:00
Bob Clary
42ef0b1151 Bug 1605744 - fix Test Isolation action tasks handling of extra arguments, r=jmaher.
add_args_to_command in taskcluster/taskgraph/actions/util.py assumes that the
cmd_parts argument on OSX consists of a list containing a single list item.
This is not always the case in that it is possible for cmd_parts to contain
multiple command such as changing file permissions before executing a test command.
This patch adds a check for cmd_parts consisting of a list of two items, the
second of which is a list. The extra_args are appended to the second item. The
existing behavior for a cmd_parts argument consisting of a list containing a
single list item is preserved for backwards compatibility.

add_args_to_command also suffers from an additional problem in that it modifies
the cmd_parts argument which results in the object being modified in the caller.
create_isolate_failure_tasks in taskcluster/taskgraph/actions/isolate_test.py also
suffers from the modification of the task_description argument. This is fixed
by using deepcopied versions of the objects in the corresponding functions.

create_isolate_failure_tasks handling of empty failure groups and unknown
failure groups is also improved.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 10:24:00 +00:00
Ciure Andrei
6fb6ae2327 Backed out changeset 7e16fe72804a (bug 1619944) for causing gecko decision bustage CLOSED TREE
--HG--
rename : taskcluster/ci/python-dependency-updates/kind.yml => taskcluster/ci/pipfile-update/kind.yml
rename : taskcluster/docker/python-dependency-update/Dockerfile => taskcluster/docker/pipfile-updates/Dockerfile
rename : taskcluster/docker/python-dependency-update/README.md => taskcluster/docker/pipfile-updates/README.md
rename : taskcluster/docker/python-dependency-update/runme.sh => taskcluster/docker/pipfile-updates/runme.sh
rename : taskcluster/docker/python-dependency-update/scripts/update_pipfiles.sh => taskcluster/docker/pipfile-updates/scripts/update_pipfiles.sh
rename : taskcluster/docker/python-dependency-update/setup.sh => taskcluster/docker/pipfile-updates/setup.sh
rename : taskcluster/taskgraph/transforms/python_update.py => taskcluster/taskgraph/transforms/pipfile_update.py
2020-03-05 13:05:34 +02:00
Simon Fraser
c8f4578a7f Bug 1619944 Migrate partials and pipfile-updates to use requirements.txt r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D65323

--HG--
rename : taskcluster/ci/pipfile-update/kind.yml => taskcluster/ci/python-dependency-updates/kind.yml
rename : taskcluster/docker/pipfile-updates/Dockerfile => taskcluster/docker/python-dependency-update/Dockerfile
rename : taskcluster/docker/pipfile-updates/README.md => taskcluster/docker/python-dependency-update/README.md
rename : taskcluster/docker/pipfile-updates/runme.sh => taskcluster/docker/python-dependency-update/runme.sh
rename : taskcluster/docker/pipfile-updates/scripts/update_pipfiles.sh => taskcluster/docker/python-dependency-update/scripts/update_pipfiles.sh
rename : taskcluster/docker/pipfile-updates/setup.sh => taskcluster/docker/python-dependency-update/setup.sh
rename : taskcluster/taskgraph/transforms/pipfile_update.py => taskcluster/taskgraph/transforms/python_update.py
extra : moz-landing-system : lando
2020-03-04 17:47:49 +00:00
Johan Lorenzo
0ab7d3836f Bug 1619603 - Ship Geckoview at the ship_rc phase r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D65341

--HG--
extra : moz-landing-system : lando
2020-03-05 10:25:18 +00:00
Edwin Takahashi
6e6db2f667 Bug 1620044 - remove unnecessary debian and ubuntu-bionic codepaths r=jmaher
Changes:

Remove `ubuntu-bionic` flag that was used during development to enable use of ubuntu1804-test docker image.

Remove unnecessary conditional and in the process rewrite how `runtests.py` checks the environment for `pactl` prior to running mochitests.

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

--HG--
extra : moz-landing-system : lando
2020-03-04 20:47:43 +00:00
Edwin Takahashi
ffaa485846 Bug 1354088 - clean up inherited environment variables r=dhouse
Changes:

Cleaned up a lot of the unnecessary environment variables that was inherited from previous build and test systems.

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

--HG--
extra : moz-landing-system : lando
2020-03-04 18:12:29 +00:00
Simon Fraser
9415049f64 Bug 1615311 Add merge day action r=mtabara
Calling the merge day automation requires an action so that we can pass in parameters such as source and destination repository and branch.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 10:48:54 +00:00
Rob Lemley
29c4b97622 Bug 1609987 - unittests for taskgraph.util.verify. r=tomprince
Some initial tests for verify docs functionality.

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

--HG--
extra : moz-landing-system : lando
2020-02-28 21:14:03 +00:00
Rob Lemley
9dc5cd5b86 Bug 1609987 - Allow checking additional paths in verify_docs. r=tomprince
There's no way for Thunderbird to define a new task kind at the moment because
the verify_docs function only checks one base path.

This adds a 'documentation_paths' registry that holds a list of paths to check
for documentation files. Calling documentation_paths() with a filename later
will read all the files it finds with that name under all of the base paths,
returning them in one chunk. This minimizes the necessary changes to verify_docs
itself.

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

--HG--
extra : moz-landing-system : lando
2020-02-28 18:32:19 +00:00
Andrew Halberstadt
339f2f6936 Bug 1618633 - [ci] Stop implicitly adding 'try' to all fission-run-on-projects, r=jgraham
Adding 'try' to 'run-on-projects' is a no-op anyway, so we should avoid it.

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

--HG--
extra : moz-landing-system : lando
2020-02-28 19:46:21 +00:00
Aki Sasaki
19175da396 Bug 1562412 - [3-task notarization] fix ./mach try release r=Callek
- backs out 71e376fd296d
- fixes bug 1618162.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 21:51:11 +00:00
Aki Sasaki
c43aefd35b Bug 1562412 - key mac-behavior off shippable r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D64413

--HG--
extra : moz-landing-system : lando
2020-02-26 21:50:11 +00:00
Bob Clary
68ab8142d4 Bug 1610977 - disable service worker testing until alternatives are available, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D64061

--HG--
extra : moz-landing-system : lando
2020-02-26 19:48:23 +00:00
Justin Wood
047ab655d1 Bug 1618216 - When doing test packaging test for the nightly attribute as well, and validate against it. r=mshal
Future work should hopefully find a way to not assume tests are packaged with beetmover, and to have a solution for w64's emefree design.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 19:16:42 +00:00
Aki Sasaki
80c7bc5ac2 Bug 1605275 - point mar-signing-autograph-stage back at depsigning r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D64204

--HG--
extra : moz-landing-system : lando
2020-02-25 21:48:43 +00:00