Commit Graph
47 Commits
Author SHA1 Message Date
Jonas Finnemann Jensen 2bae2cad08 Bug 1316183 - Compress docker images with zstd. r=dustin
* Compress docker images with zstd
 * Removed need for context.tar from decision task
 * Index images by level rather than project

MozReview-Commit-ID: 4RL4QXNWmpd
2016-11-07 11:26:27 -08:00
Jordan Lund 9b9318450f Bug 1314795 - introduce build_date to params that defaults to pushdate, r=dustin
MozReview-Commit-ID: AviPKtw3BiY
2016-11-02 19:23:27 -07:00
MikeLing 1c212213eb Bug 1287018: consult the SETA service to determine low-value tasks; r=dustin
MozReview-Commit-ID: nvtRNUxytR
2016-10-20 22:16:39 +00:00
Dustin J. Mitchell 0ad556a6c4 Bug 1305740: delete leftover legacy.py; r=gps
MozReview-Commit-ID: 8GHv1E9CBRH
2016-09-27 15:55:36 +00:00
Kalpesh Krishna c9a71b5cf2 Bug 1304428 - Adding a from_json test in decision task. r=jlund
MozReview-Commit-ID: 7QgfSutjoFZ
2016-09-23 19:26:39 +05:30
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
Ryan VanderMeulen 9176b1ffd5 Merge m-c to autoland. a=merge 2016-09-13 20:46:39 -04:00
Dustin J. Mitchell b184f414fd Bug 1286075: fix flake8 error; r=gps CLOSED TREE a=KWierso
MozReview-Commit-ID: 4DWMQTVekwk
2016-09-13 19:44:04 +00:00
Dustin J. Mitchell b5148a1840 Bug 1286075: delete the legacy kind; r=mshal
MozReview-Commit-ID: F99tUGUWj6d
2016-09-08 00:31:35 +00:00
Dustin J. Mitchell ef3e43e91d Bug 1286075: add upload-symbols kind; r=ted.mielczarek
MozReview-Commit-ID: C3Se6gdSPri
2016-09-07 15:08:28 +00:00
Dustin J. Mitchell 5a2e6a001c Bug 1286075: add a build kind, modify tests to use it; r=jlund
MozReview-Commit-ID: DkpkkSRxVB9
2016-09-12 18:34:06 +00:00
Dustin J. Mitchell f29490f01e Bug 1286075: allow defaults in TransformTask; r=gps
MozReview-Commit-ID: 5tdnxykLTZc
2016-09-01 18:48:38 +00:00
Dustin J. Mitchell 1c449ca5e0 Bug 1286075: add support for optimizing based on files changed in the push; r=gps
MozReview-Commit-ID: 5di7TuL9X2P
2016-09-12 18:40:12 +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
Dustin J. Mitchell 28515da8c6 Bug 1286075: factor load_yaml into a util module; r=gps
MozReview-Commit-ID: DPWZWslcphy
2016-09-06 18:01:27 +00:00
Dustin J. Mitchell 6094bdd36a Bug 1286075: never coalesce on try; r=jmaher
MozReview-Commit-ID: K6cX58yvdja
2016-08-27 20:58:07 +00:00
Dustin J. Mitchell 8a0e51cbdf Bug 1286075: use pushdate from params for docker images; r=garndt
MozReview-Commit-ID: 6m3phQuvche
2016-08-27 03:17:55 +00:00
Armen Zambrano Gasparnian 8a493d08df Bug 1301505 - Gracefully handle missing key for nightly fennec class. r=jlund
This is currently preventing adding new TaskCluster jobs.

MozReview-Commit-ID: IelDf8g494r
2016-09-12 12:12:42 -04:00
Dustin J. Mitchell 5214e7a407 Bug 1286075: refactor test.py to use TransformTask; r=gps
MozReview-Commit-ID: 1H0P4mkzijG
2016-07-29 22:31:22 +00:00
Dustin J. Mitchell 3792018de3 Bug 1286075: set ARTIFACT_TASKID correctly for upload-symbol jobs; r=gps
Also, don't include treeherder info for upload-symbols.  This information is
not used, as the tasks have no routes that would cause them to report to
treeherder.

MozReview-Commit-ID: Ji7db0eUL2G
2016-09-09 19:05:18 +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
ee66e45956 Bug 1277595 - Update signing task to use signing-linux-v1 worker, r=aki
MozReview-Commit-ID: EJJgZjooj2d
2016-09-01 09:24:01 -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
661e53c138 Bug 1277595 - Update signing task to use signing-linux-v1 worker, r=aki
MozReview-Commit-ID: EJJgZjooj2d
2016-09-01 09:24:01 -07:00
7e82c65525 Bug 1277595 - Create initial nightly graph, r=dustin
MozReview-Commit-ID: 2rZYddnGdvh
2016-09-01 09:23:14 -07:00
Dustin J. Mitchell 3abcfe9038 Bug 1293733: accept pushdate from command line; r=garndt
MozReview-Commit-ID: BrGiowlMVCa
2016-07-13 18:50:50 +00:00
Gregory Szorc b671404cef Backed out changeset fc1ed3fd8584 (bug 1291473) on suspicion of breaking decision tasks 2016-08-08 13:15:37 -07:00
Dustin J. Mitchell f2b47e6e61 Bug 1291473: accept pushdate from command line; r=garndt
MozReview-Commit-ID: BrGiowlMVCa
2016-07-13 18:50:50 +00:00
Gregory Szorc 8b7863b618 Bug 1291070 - Return process exit code properly; r=glandium
Before, we were returning None, which gets converted to 0.
Derp.

Also fix a flake8 failure introduced by 9f5fbb3066c9.

We'll also need to generate a new decision image. But that will
require someone with TC privileges to be around. That can be done
in a separate commit to unblock this from landing and fixing
consumers of run-task that aren't the decision image.

MozReview-Commit-ID: 6XuoIxjDozF
2016-08-01 21:44:22 -07:00
Iris Hsiao 46d8c7256d Backed out changeset 51f838971d62 (bug 1291070) for Taskgraph test failure 2016-08-02 17:24:25 +08:00
Gregory Szorc c7cc83cab4 Bug 1291070 - Return process exit code properly; r=glandium
Before, we were returning None, which gets converted to 0.
Derp.

Also fix a flake8 failure introduced by 9f5fbb3066c9.

We'll also need to generate a new decision image. But that will
require someone with TC privileges to be around. That can be done
in a separate commit to unblock this from landing and fixing
consumers of run-task that aren't the decision image.

MozReview-Commit-ID: 6XuoIxjDozF
2016-08-01 21:44:22 -07:00
Armen Zambrano Gasparnian 94c83ece46 Bug 1288742 - Increase expiration date of all gecko decision artifacts bar image context tar balls. r=dustin
Until now Gecko decision task artifacts would expire after a week. Unfortunately, some of these artifacts are
needed in order for Treeherder to determine which tasks it can schedule on a given push.

In this change, we're changing the expiration of all artifacts except those that are related to docker image
optimizations, which, are very large files and we only want to keep for a week.

MozReview-Commit-ID: 96ahyWmoI7W
2016-07-27 10:51:38 -04:00
Dustin J. Mitchell dab4ce5291 Bug 1290602: add TransformTask to task-graph machinery; r=gps
This abstracts out the process of running transforms as specified in kind.yml,
with some useful default behavior that can be overridden by subclasses.

MozReview-Commit-ID: 8pY4IYaN7NU
2016-08-01 17:52:52 +00:00
Gregory Szorc dbe6a25220 Bug 1289643 - Allow level-{{level}}-checkouts cache to be used on Try; r=dustin
Previously, the VCS checkout cache would be optimized away on Try. This
meant every task on Try had to create its own checkout from scratch. This
meant writing ~150,000 files. By allowing use of the cache, we minimize
the amount of work tasks need to perform on Try and therefore make tasks
complete faster, on average.

MozReview-Commit-ID: EWuic8lFVtv
2016-07-29 11:10:48 -07:00
Gregory Szorc 287d2747ba Bug 1289643 - Add $ to regular expression in hg-shared cache name; r=dustin
All the other expressions are anchored via ^ and $.

MozReview-Commit-ID: BkCbZZUnwK6
2016-07-29 10:29:25 -07:00
Mihai Tabara d5b6a090de Bug 1289122 - Remove coalescing from PGO try jobs. r=dustin
MozReview-Commit-ID: KAqZlUjMXdQ
***
Bug 1289122 - bugfix to chain together the elements to be removed. r=dustin

MozReview-Commit-ID: 3XhHZgmq6e3
2016-07-26 00:11:40 +01:00
Gregory Szorc 0593bab903 Bug 1247168 - Don't remove hg-shared scopes; r=dustin
These scopes will be introduced in subsequent commits. We don't want
them to get removed, just like we don't want the tc-vcs caches to get
removed.

MozReview-Commit-ID: 790SzpAUxE4
2016-07-19 14:10:14 -07:00
Gregory Szorc 3b60ffe817 Bug 1288567 - Inline create_context_tar; r=dustin
The function was only used once and was providing little to no value.

A test of this function has been removed. Tests for the lower-level
context creation function are sufficient.

MozReview-Commit-ID: D9EhmZQlqG5
2016-07-25 11:48:20 -07:00
Gregory Szorc 1498dcf793 Bug 1288567 - Use create_context_tar in generate_context_hash; r=dustin
This restores order to only having a single hash for a context
directory.

Using a tempfile here is a bit unfortunate. It can be optimized later,
if needed.

MozReview-Commit-ID: LMNsvt3fDYx
2016-07-22 12:46:06 -07:00
Gregory Szorc 36815a04ba Bug 1288567 - Pass topsrcdir into create_context_tar; r=dustin
Relying on global variables like GECKO is a bit dangerous. To facilitate
testing of archive generation in subsequent commits, let's pass an
path into this function.

The argument is currently unused.

MozReview-Commit-ID: Et1UYraflDP
2016-07-22 10:32:58 -07:00
Gregory Szorc 02fdce0d32 Bug 1288567 - Use context hash of tar file; r=dustin
Now that tar file generation is deterministic, we can use the hash
of the created archive rather than the hash of the files that are
(presumably) in the archive.

This temporarily breaks consistent hashing by using independent
hashing mechanisms. This will be cleaned up in a subsequent commit.

MozReview-Commit-ID: CWooVGfDKZO
2016-07-22 10:24:08 -07:00
Gregory Szorc a2c28611f0 Bug 1288567 - Extract function for creating context tars; r=dustin
Upcoming commits will refactor how context tarballs are created. In
preparation for this, we establish a standalone function for creating
context tarballs and refactor docker_image.py to use it.

MozReview-Commit-ID: KEW6ppO1vCl
2016-07-22 10:20:06 -07:00
Kalpesh Krishna 1198f432d3 Bug 1288220 - Adding a from_json() class method to TestTask. r=dustin
MozReview-Commit-ID: 5HYb4jf4ATT
2016-07-21 01:27:21 +05:30
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