Commit Graph

90 Commits

Author SHA1 Message Date
Joel Maher
513630885b Bug 1288993 - adjust target tasks to use correct taskcluster attributes. r=dustin
MozReview-Commit-ID: 8g04JU31JLC
2017-02-21 08:43:50 -05:00
Wes Kocher
87fbd6dc30 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 4z9MXOzghI7
2017-02-10 15:40:01 -08:00
Sebastian Hengst
afea018db8 Bug 1338385 - Add cron job for nightly coverage tests run. Follow-up: Use two blank lines after definitions. r=flake8-fix 2017-02-10 23:27:15 +01:00
Ryan VanderMeulen
aaf516b789 Bug 1332350 - Run all Linux platforms on Ash. r=me 2017-02-10 12:26:00 -05:00
Madeleine Chercover
30da470e85 Bug 1338385 - Add cron job for nightly coverage tests run; r=jmaher
MozReview-Commit-ID: GiL4LZgHmqW
2017-02-08 11:16:25 -08:00
Ryan VanderMeulen
954c93fef7 Bug 1332350 - Add Linux32 builds/tests to Ash's target_tasks. r=me 2017-02-09 18:02:52 -05:00
Joel Maher
3fc904d6c4 Bug 1288993 - Run valgrind-mochitest twice a day as a Tier 2 job. r=dustin
MozReview-Commit-ID: HHGO66lHK0o
2017-02-06 09:46:02 -05:00
Dustin J. Mitchell
8a1376158a Bug 1334167: use run-on-projects to parallel task graph generation; r=Callek
MozReview-Commit-ID: EQMuh4hN9Ya
2017-01-31 19:49:18 +00:00
Wander Lairson Costa
97113977c9 Bug 1333167: Add extra try options to taskcluster. r=dustin a=jmaher
We add the following command line options to Taskcluster try syntax:

--spsProfile - enable profile mode.
--rebuild-talos <N> - retrigger talos tests N times.
--setenv <VAR>=<val> - add extra environments variables.
--tag <TAG> - run tests only the tag TAG.
--no-retry - doesn't retry failed jobs.

We have a chicken-egg problem, as we first generate the full task graph
and then parse the try message. But the graph generation step needs to
know the try message to process the aforementioned options. The
solution is to parse the message before graph generation and then
pass the command line options to the transforms. Then, each transform
can look at the option that interests it and process it accordingly.

The message parse function is configured in kind.yml, which gives some
flexibility for future implementations of alternative syntaxes.

MozReview-Commit-ID: GPFdi0FD6Vn
2017-02-02 09:34:43 -02:00
Kartikaya Gupta
02e4a00e53 Bug 1335815 - Get the attributes from the intended parameter instead of accidentally getting it from the parent. r=dustin
MozReview-Commit-ID: Iz3Da3EtYVU
2017-02-01 12:37:53 -05:00
Sebastian Hengst
6ceaf1e6a8 Backed out changeset d6648b8f36ed (bug 1333167) for breaking gecko decision task. r=backout on a CLOSED TREE 2017-01-31 21:47:45 +01:00
Wander Lairson Costa
97963da965 Bug 1333167: Add extra try options to taskcluster. r=dustin a=jmaher
We add the following command line options to Taskcluster try syntax:

--spsProfile - enable profile mode.
--rebuild-talos <N> - retrigger talos tests N times.
--setenv <VAR>=<val> - add extra environments variables.
--tag <TAG> - run tests only the tag TAG.
--no-retry - doesn't retry failed jobs.

We have a chicken-egg problem, as we first generate the full task graph
and then parse the try message. But the graph generation step needs to
know the try message to process the aforementioned options. The
solution is to parse the message before graph generation and then
pass the command line options to the transforms. Then, each transform
can look at the option that interests it and process it accordingly.

The message parse function is configured in kind.yml, which gives some
flexibility for future implementations of alternative syntaxes.

MozReview-Commit-ID: DMwRjuV2vpf
2017-01-31 18:16:07 -02:00
Sebastian Hengst
7cb5f66fd9 Backed out changeset 50cf83b69046 (bug 1333167) for breaking gecko decision task. r=backout 2017-01-31 18:25:50 +01:00
Wander Lairson Costa
064a62b081 Bug 1333167: Add extra try options to taskcluster. r=dustin a=jmaher
We add the following command line options to Taskcluster try syntax:

--spsProfile: enable profile mode.
--rebuild-talos <N>: retrigger talos tests N times.
--setenv <VAR>=<val>: add extra environments variables.
--tag <TAG>: run tests only the tag TAG.
--no-retry: doesn't retry failed jobs.

We have a chicken-egg problem, as we first generate the full task graph
and then parse the try message. But the graph generation step needs to
know the try message to process the aforementioned options. The
solution is to parse the message before graph generation and then
pass the command line options to the transforms. Then, each transform
can look at the option that interests it and process it accordingly.

The message parse function is configured in kind.yml, which gives some
flexibility for future implementations of alternative syntaxes.

MozReview-Commit-ID: EQlE6q5E8z7
2017-01-31 15:03:10 -02:00
Alin Selagea
01bfdd09eb Bug 1326471 - Ash runs talos-g4 despite being 'enable_talos': False, r=kmoir 2017-01-27 10:14:53 +02:00
Kim Moir
aae74e5e3e Bug 1330666 - enable linux64-stylo builds r=mtabara 2017-01-23 10:53:26 -05:00
Justin Wood
d21cbe7825 Bug 1322041 - Support android x86, arm; and desktop linux, linux64 nightlies via Taskcluster. Unsigned. r=dustin
Involved work which landed on the date project branch with:
* Bug 1321040, by Callek (https://hg.mozilla.org/projects/date/rev/625e2238eddb)
* Bug 1319546, by kmoir@mozilla.com (https://hg.mozilla.org/projects/date/rev/70a23d243d2c, https://hg.mozilla.org/projects/date/rev/01e3de270a4f)
* Bug 1277579, by kmoir@mozilla.com (https://hg.mozilla.org/projects/date/rev/c3a160ac642b, https://hg.mozilla.org/projects/date/rev/40ee5ff8fad8, https://hg.mozilla.org/projects/date/rev/ec159b8dba7f, https://hg.mozilla.org/projects/date/rev/afd3823c852b)
* Bug 1306166, by kmoir@mozilla.com (https://hg.mozilla.org/projects/date/rev/ff2e467cc345)

MozReview-Commit-ID: 8aZr6TqjRMR
2016-12-04 17:18:03 -05:00
Joel Maher
3f95d48a55 Bug 1326475 - fix small typo in task configuration. r=Callek
Simple typo, but possibly the root cause for scheduling talos
jobs on branches we shouldn't be.

MozReview-Commit-ID: JBSGtbeMJCd
2016-12-30 16:17:00 -05:00
Sebastian Hengst
b21ff6223a Bug 1318099 - Disable artifact build tasks on the graphics branch: add empty line to make flake8 happy. r=flake8-fix 2016-11-18 00:25:36 +01:00
Kartikaya Gupta
71aa0fe72d Bug 1318099 - Disable artifact build tasks on the graphics branch. r=dustin
MozReview-Commit-ID: 2whpCUpZTtv
2016-11-16 15:40:55 -05:00
Wes Kocher
8fd5b09255 Merge m-c to inbound, a=merge 2016-11-08 14:08:34 -08:00
Kim Moir
5a80e4b329 Bug 1315690 - Limit cedar TC tests to Linux64 mochitest* and xpcshell only (fix lint errors) u=aselagea r=dustin 2016-11-08 09:36:19 -05:00
Kim Moir
471f57023a Bug 1315690 - Limit cedar TC tests to Linux64 mochitest* and xpcshell only u=aselagea r=dustin 2016-11-08 09:22:17 -05:00
Dustin J. Mitchell
45eb10a983 Bug 1296842: make target-task related parameters a fixed set; r=jmaher
The `from_parameters` method was never used, and let do confusion over the role
of these parameters.  Now there are only two, and they are always required.

MozReview-Commit-ID: AbPqijXucu5
2016-11-07 19:13:34 +00:00
Brian Stack
d248ef84bf Bug 1275774 - Add notify routes to taskcluster tasks for certain try flags r=dustin
MozReview-Commit-ID: 4ugUjv0NCZK
2016-09-26 10:57:14 -07:00
Jordan Lund
d7abba7219 Bug 1302590 - remove nightly-fennec kind. use build kind for nightlies, r=dustin
* add fennec nightly build to job whitelist

MozReview-Commit-ID: F8MCUWwlFYD
2016-09-16 01:20:38 -07:00
Iris Hsiao
b7ad0a7f43 Backed out changeset 1b269fb8a704 (bug 1302590) for Gecko Decision Task bustage 2016-09-20 10:59:19 +08:00
Jordan Lund
1775ca5682 Bug 1302590 - remove nightly-fennec kind. use build kind for nightlies, r=dustin
MozReview-Commit-ID: F8MCUWwlFYD
2016-09-16 01:20:38 -07:00
Dustin J. Mitchell
f8130236f7 Bug 1286075: remove old name for 'default' task set; r=Callek
MozReview-Commit-ID: 3bRvQijMtda
2016-09-09 21:07:31 +00:00
Dustin J. Mitchell
f0e186cfc5 Bug 1286075: fix target task generation, including try; r=Callek
This uses the run_on_projects attribute introduced earlier for most branches,
adjusts the `ash` method to handle that branch as the legacy implementation
did, and updates try syntax to match builds as well as tests.

In the process, this enables optimizing target tasks, meaning that tasks
specifically requested in the try syntax might be optimized.  While this is
probably not ideal, it matches the existing behavior of try (where `-j all` is
the default but all jobs are set to run only when certain files have been
modified).  This change can be reverted later, in a more advanced version of
try.

MozReview-Commit-ID: 5FYeUTAsafr
2016-09-12 18:41:58 +00:00
Jordan Lund
93086c8242 Bug 1300168 - clean up fennec nightly and signing flake errors, r=callek
MozReview-Commit-ID: 9Agn9Dhh9jw
2016-09-02 11:34:37 -07:00
c54648986c Bug 1277595 - Create initial nightly graph, r=dustin
MozReview-Commit-ID: 2rZYddnGdvh
2016-09-01 09:23:14 -07:00
Jordan Lund
8dd0586fa5 backed out Bug 1277595, revs d5d26aa0f369, 42ab74605817, c1aa2a15b4eb, 32a569f4df06, dee2532bdc95, 5809a56922ed CLOSED TREE
* backed out Bug 1277595 - rev: d5d26aa0f369
* backed out Bug 1277595 - rev: 42ab74605817
* backed out Bug 1277595 - rev: c1aa2a15b4eb
* backed out Bug 1277595 - rev: 32a569f4df06
* backed out Bug 1277595 - rev: dee2532bdc95
* backed out Bug 1277595 - rev: 5809a56922ed
2016-09-01 09:56:54 -07:00
7e82c65525 Bug 1277595 - Create initial nightly graph, r=dustin
MozReview-Commit-ID: 2rZYddnGdvh
2016-09-01 09:23:14 -07:00
Armen Zambrano Gasparnian
fc88d2a64f Bug 1279676 - Support --rebuild try flag to schedule tests N times. r=dustin
MozReview-Commit-ID: Lrxi8t53nwy

If a developer adds '--rebuild N' to their try syntax they will get test jobs scheduled N times.
This is useful to determine intermittency rate.

This fixes a regression due to the recent refactoring on how we schedule tasks.
2016-07-28 13:20:44 -04:00
Dustin J. Mitchell
7f8ec1b437 Bug 1281004: Specify test tasks more flexibly; r=gps; r=gbrown
This introduces a completely new way of specifying test task in-tree,
completely replacing the old spider-web of YAML files.

The high-level view is this:

 - some configuration files are used to determine which test suites to run
   for each test platform, and against which build platforms

 - each test suite is then represented by a dictionary, and modified by a
   sequence of transforms, duplicating as necessary (e.g., chunks), until
   it becomes a task definition

The transforms allow sufficient generality to support just about any desired
configuration, with the advantage that common configurations are "easy" while
unusual configurations are supported but notable for their oddness (they
require a custom transform).

As of this commit, this system produces the same set of test graphs as the
existing YAML, modulo:

  - extra.treeherder.groupName -- this was not consistent in the YAML
  - extra.treeherder.build -- this is ignored by taskcluster-treeherder anyway
  - mozharness command argument order
  - boolean True values for environment variables are now the string "true"
  - metadata -- this is now much more consistent, with task name being the label

Testing of this commit demonstrates that it produces the same set of test tasks for
the following projects (those which had special cases defined in the YAML):

  - autoland
  - ash (*)
  - willow
  - mozilla-inbound
  - mozilla-central
  - try:
    -b do -p all -t all -u all
    -b d -p linux64,linux64-asan -u reftest -t none
    -b d -p linux64,linux64-asan -u reftest[x64] -t none[x64]

(*) this patch omits the linux64/debug tc-M-e10s(dt) test, which is enabled on
ash; ash will require a small changeset to re-enable this test.

IGNORE BAD COMMIT MESSAGES (because the hook flags try syntax!)

MozReview-Commit-ID: G34dg9f17Hq
2016-07-11 23:27:14 +00:00
Justin Wood
46e1d74044 Bug 1280956 - Use in-tree linter job to flake8 test taskcluster directory. r=dustin
MozReview-Commit-ID: FsWmAnnycZ2
2016-06-20 21:06:55 -04:00
Dustin J. Mitchell
833bb86436 Bug 1274611: Implement task-graph optimization; r=gps
* Implement & document optimization (although legacy kind doesn't do much of it)
 * Introduce `optimize_target_tasks` parameter to control whether tasks in the
   target set can be optimized (no for try, yes for most other branches)
 * Refactor to include resolved taskIds in the optimized task graph
 * Include a `label-to-taskid.json` artifact.
 * Introduce {'task-reference': '... <dependency-name> ...'} for referring to
   parent tasks' taskId.

MozReview-Commit-ID: LWvlWNz49U5
2016-06-05 19:49:41 +00:00
Dustin J. Mitchell
9ac8f0212e Bug 1258497: use taskgraph decision in decision task; r=gps
MozReview-Commit-ID: 9STbp4EPMrT
2016-05-16 22:42:10 +00:00
Dustin J. Mitchell
2db03e8aeb Bug 1258497: Implement a new taskgraph generation system; r=gps
The `taskgraph` package generates TaskCluster task graphs based on collections
of task "kinds".  Initially, there is only one kind, the "legacy" kind, which
reads the YAML files from `testing/taskcluster/tasks` to generate the task
graph.

Try syntax is implemented by filtering the tasks in the taskgraph after it has
been created, then extending the result to include any prerequisite tasks.

A collection of `mach taskgraph` subcommands are provided for developers to
extend or debug the task-graph generation process.

MozReview-Commit-ID: 1TJCns4XxZ8
2016-05-16 22:53:22 +00:00