Граф коммитов

491260 Коммитов

Автор SHA1 Сообщение Дата
David Anderson 3da3b0f45c Simplify ImageBridgeChild asynchronous shutdown. (bug 1298938 part 3, r=nical)
--HG--
extra : rebase_source : 04516571d48f85a94d88a8eb424f8e41e04483ca
2016-09-13 16:30:56 -07:00
David Anderson d1ef6f2696 Simplify ImageBridgeChild asynchronous initialization. (bug 1298938 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 1bdb57079ca7f3b4c2be6d1bcd5dd3f0ee0c92c1
2016-09-13 16:30:56 -07:00
David Anderson 82339b2d66 Route dispatches in ImageBridgeChild through |this|, not the singleton. (bug 1298938 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : bfadf1b91ad88503d4c37a6b4ac6dcc32cd78ca6
2016-09-13 16:30:56 -07:00
Gregory Szorc 8eb7847f22 Bug 1295380 - Use run-task for test tasks; r=dustin
Before, test.sh (duplicated between the desktop-test and
desktop1604-test images) was dropping permissions, creating a workspace,
and executing test-linux.sh. This is functionality now provided by
run-task.

So, convert the test tasks to use run-task.

It's worth noting that creating the workspace directory is no longer
necessary because it is defined as a VOLUME in the Dockerfile or a
cache in some task configurations. However, it is default owned by
root:root, so we do need to instruct run-task to chown it.

Since the test.sh files are no longer used after this change, they have
been deleted. The desktop-test image no longer has any files in the
bin/ directory, so the Dockerfile entry to copy those files has been
removed.

MozReview-Commit-ID: 1BiskrMs6xW

--HG--
extra : rebase_source : f4b8f320fafa2da1aa4b06c9cbef76c69acdae8f
extra : intermediate-source : 905fb4a53386c76d931e4a04a31d03739a00a1ff
extra : source : 8335aa40265b1d17421d06d9e9a180eb8419fe47
2016-08-16 09:25:35 -07:00
Gregory Szorc 28fff656f2 Bug 1295380 - Teach run-task to chown paths; r=dustin
It is common for tasks to chown paths before permissions are dropped
from root:root. This commonly occurs when Docker volumes/caches are
involved since they are default owned by root:root and not writable
by any other user.

Since this will likely be a common request, add the functionality to
run-task.

MozReview-Commit-ID: AHmSfY5Ce0S

--HG--
extra : rebase_source : 705891869413495b015b490ee75efd40b26d24d8
extra : source : 213a4986ccfd71f04f822e56b1a9ad9505ed5e98
2016-08-16 19:31:12 -07:00
Olli Pettay 16a7908638 Bug 1300606 - DeviceType event handlers/listeners aren't removed properly, r=mccr8 2016-09-13 17:00:43 -07:00
Dustin J. Mitchell 6b94deded3 Bug 1286075: fix flake8 error; r=gps CLOSED TREE a=KWierso
MozReview-Commit-ID: 4DWMQTVekwk

--HG--
extra : amend_source : b57aa55fd733350a0159f0e2668f33d9802e3d4c
2016-09-13 19:44:04 +00:00
Dustin J. Mitchell f66f7fa02e Bug 1286075: adjust the branches where haz tasks run; r=sfink
MozReview-Commit-ID: Ips0u2PBiPO

--HG--
extra : rebase_source : fc57046f4d0a289703fcfbe478df1d2e52fe79b6
2016-09-09 21:14:55 +00:00
Dustin J. Mitchell 37f9b67655 Bug 1286075: remove trailing newline in env var; r=gps
MozReview-Commit-ID: FebGZoVfVdj

--HG--
extra : rebase_source : 3fb6ba586095aea2fe4e37018939eb15bde73930
2016-09-09 21:12:36 +00:00
Dustin J. Mitchell c610bb394d Bug 1286075: remove old name for 'default' task set; r=Callek
MozReview-Commit-ID: 3bRvQijMtda

--HG--
extra : rebase_source : a21bda97d8357f0db13d2f7003e38293c0373d6b
2016-09-09 21:07:31 +00:00
Dustin J. Mitchell 3fd5749d78 Bug 1286075: disable indexing for jobs that do not need it; r=mshal
As verified in the bug.

MozReview-Commit-ID: 3LaW4xo1nrW

--HG--
extra : rebase_source : 7dfea921d93a6724f1c67dcd6d18c651e03d8ffe
2016-09-07 17:05:02 +00:00
Dustin J. Mitchell 2d6ea7ce52 Bug 1286075: remove unused secrets access from spidermonkey; r=sfink
MozReview-Commit-ID: DkctcaxkGA4

--HG--
extra : rebase_source : d2a427d84bbbbf3932fb9f70c4a6f7ae03175b22
2016-09-07 16:10:36 +00:00
Dustin J. Mitchell 62c62d49ef Bug 1286075: clean up mulet builds; r=gerard-majax
Set up tooltool to actually use its cache, and remove the unused tc-vcs cache
scope

MozReview-Commit-ID: H1VLxryQPEM

--HG--
extra : rebase_source : b52de7f5a10e5fb4576872bf3169b2faf87ded32
2016-09-07 16:09:30 +00:00
Dustin J. Mitchell 6238dab03d Bug 1286075: use the default gecko-b-* workerType for all haz builds; r=sfink
MozReview-Commit-ID: 1d2w3rhb0qj

--HG--
extra : rebase_source : 8332496948570c59c2b5f2216a61886acf7faa67
2016-09-07 16:01:22 +00:00
Dustin J. Mitchell 72b1a307ee Bug 1286075: do not use secrets for hazard jobs; r=sfink
Secrets are accessed via http://taskcluster/secrets, and the hazard scripts
show no evidence of such calls.

MozReview-Commit-ID: 6xp6D2ybwap

--HG--
extra : rebase_source : 5bfe02773f26768c7e79621a43515d6bf8b921ca
2016-09-07 15:58:29 +00:00
Dustin J. Mitchell e4e3e5240b Bug 1286075: add how-tos covering new functionality; r=gps
MozReview-Commit-ID: 5l6v81UKskC

--HG--
extra : rebase_source : 8fb77e5c5fe5761df489eef1dc65b5ac11ab437b
2016-09-09 21:29:27 +00:00
Dustin J. Mitchell bfea831cd8 Bug 1286075: delete the legacy kind; r=mshal
MozReview-Commit-ID: F99tUGUWj6d

--HG--
rename : taskcluster/ci/legacy/routes.json => testing/mozharness/configs/routes.json
extra : rebase_source : a437dd30dac1add3f439a98a8d910d2bdbcc843f
2016-09-08 00:31:35 +00:00
Dustin J. Mitchell 52ca0c7efa Bug 1286075: add a (temporary) android-stuff kind; r=nalexander
This leaves a lot of room for improvement, but gets the job done for now.

MozReview-Commit-ID: HmeTxZjOfOb

--HG--
extra : rebase_source : b6f55134c25cb670409e906da1acc7c0bd8d0dc0
2016-09-08 00:25:48 +00:00
Dustin J. Mitchell 36b108725b Bug 1286075: add a (temporary) marionette-harness kind; r=maja_zf
This has some notes for future work on the task, but will work for now.

MozReview-Commit-ID: 7J4tQeKj3KJ

--HG--
extra : rebase_source : d171b5393fa340a47927e8b89ece93392ff23e56
2016-09-08 00:32:50 +00:00
Dustin J. Mitchell 26f2d36fc7 Bug 1286075: add a b2g-device kind; r=gerard-majax
MozReview-Commit-ID: GaP2xGF3WzJ

--HG--
extra : rebase_source : a9e3f4c9232ccff3c135a9d3f63956e4f44c25df
2016-09-12 18:04:18 +00:00
Dustin J. Mitchell 9bb2b3ed24 Bug 1286075: add a spidermonkey kind; r=sfink
MozReview-Commit-ID: 4uI8LxHrSOS

--HG--
extra : rebase_source : e30d431e48bf12cd6752de07f224dfb232a55c14
2016-09-12 18:04:24 +00:00
Dustin J. Mitchell eb34ebceda Bug 1286075: add a toolchain kind; r=gps
MozReview-Commit-ID: EEeQdA9aPPq

--HG--
extra : rebase_source : c1365c69e5c0d8bf4bfc8079d6f9fe8f43156cee
2016-09-12 18:04:31 +00:00
Dustin J. Mitchell 3ad0d4341d Bug 1286075: add a static-analysis kind; r=Ehsan
MozReview-Commit-ID: G8muXBcNd5L

--HG--
extra : rebase_source : 3f824f01ea7833adb8142fa9dc65c90e3fa990b3
2016-09-08 00:31:35 +00:00
Dustin J. Mitchell a83a8a116a Bug 1286075: add a valgrind kind; r=mshal
MozReview-Commit-ID: IM6iFkBIHam

--HG--
extra : rebase_source : 7ed690bd74cc7e45dde76696ea4c6cf5af7acdf1
2016-09-07 00:48:31 +00:00
Dustin J. Mitchell 126e67628e Bug 1286075: add upload-symbols kind; r=ted.mielczarek
MozReview-Commit-ID: C3Se6gdSPri

--HG--
extra : rebase_source : 593030907b5edcdbb0f8863f4226a73b50d32b51
2016-09-07 15:08:28 +00:00
Dustin J. Mitchell 7ad064d6b0 Bug 1286075: add source-check kind; r=ahal
MozReview-Commit-ID: EDdPraYxNlH

--HG--
extra : rebase_source : aab182e3dfda2bbe831f8aef6a06a0d946384b8f
2016-09-12 18:39:05 +00:00
Dustin J. Mitchell f24c79cf78 Bug 1286075: add l10n kind; r=Callek
MozReview-Commit-ID: 3mR5AxWSk9P

--HG--
extra : rebase_source : 14de8e0682c2dfda52bfce63905bd384c92ff7a7
2016-09-09 21:06:51 +00:00
Dustin J. Mitchell fd289830f7 Bug 1286075: add hazard kind; r=sfink
MozReview-Commit-ID: qvFg2O6OwB

--HG--
extra : rebase_source : 0f118b793b2ff1078a72c2a60bda36d51f25ad70
2016-09-12 18:04:09 +00:00
Dustin J. Mitchell 39bb843d5d Bug 1286075: add artifact-build kind; r=chmanchester r=gps
MozReview-Commit-ID: 41WpDtXvoPb

--HG--
extra : rebase_source : c2906b9e4333fcd11568d5a7a43582203a623649
2016-09-07 01:01:52 +00:00
Dustin J. Mitchell ea5260dea0 Bug 1286075: add a build kind, modify tests to use it; r=jlund
MozReview-Commit-ID: DkpkkSRxVB9

--HG--
extra : rebase_source : e9d8764b64dff35e374bc669b1769cb6c2ce0eeb
2016-09-12 18:34:06 +00:00
Dustin J. Mitchell 9d6518161a Bug 1286075: allow defaults in TransformTask; r=gps
MozReview-Commit-ID: 5tdnxykLTZc

--HG--
extra : rebase_source : 71340c9d9da0e29c71633f10e2afee6b9bda13fb
2016-09-01 18:48:38 +00:00
Dustin J. Mitchell 2fb0796e2b Bug 1286075: add support for optimizing based on files changed in the push; r=gps
MozReview-Commit-ID: 5di7TuL9X2P

--HG--
extra : rebase_source : 30b078178b028b22c0cd7b3d893aa12fd195cf26
2016-09-12 18:40:12 +00:00
Dustin J. Mitchell 6db7f5787e 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

--HG--
extra : rebase_source : b358e0e7cd8a401c50009e63dd55c59489c9b75b
2016-09-12 18:41:58 +00:00
Dustin J. Mitchell d68c5bcdcc Bug 1286075: introduce job descriptions and implementations; r=gps
MozReview-Commit-ID: HNXPjt3XnXe

--HG--
extra : rebase_source : 82fc319882cad00fd5d623fb045620e157682278
2016-09-12 15:53:14 +00:00
Dustin J. Mitchell 4d387f2490 Bug 1286075: add more functionality to the task description; r=mshal
The task description now includes

 * flexible specification of index routes (this will get simpler once buildbot
   and gecko.v1 routes are removed)

 * "run-on-projects", indicating the projects on which this task should run

 * "{level}" is allowed in workerTypes

 * For the docker-worker/docker-engine worker implementations, "docker-image"
   can have the form {in-tree: in-tree-name} to use an in-tree image.  This was
   previously implemented in the test transforms, but it is useful for other
   tasks too!

 * Optimizations, currently limited to "only-if-files-changed", can be specified
   for each task.

 * TreeHerder groupSymbol is optional

 * expires-after and and deadline-after have default values (with the former
   differing for try and non-try)

 * coalesce-name triggers creation of both a coalesce route and a superseder URL

MozReview-Commit-ID: 70vtYs5lz5P

--HG--
extra : rebase_source : 9c557d68239f42466d9724d48ed5bf77648f9aa0
2016-09-12 15:51:49 +00:00
Dustin J. Mitchell 7fa48ca716 Bug 1286075: factor load_yaml into a util module; r=gps
MozReview-Commit-ID: DPWZWslcphy

--HG--
extra : rebase_source : 003971b8caf20565f03a800ae5712fe775366e92
2016-09-06 18:01:27 +00:00
Dustin J. Mitchell f1b64e2970 Bug 1286075: dump data that fails validation; r=wcosta
This was Wander's idea, in fact!

MozReview-Commit-ID: fGBjfYwPv8

--HG--
extra : rebase_source : 61c44d02841dc497f4f9ade2a912c02e86ead62f
2016-08-31 20:10:19 +00:00
Dustin J. Mitchell e7fecbd4ae Bug 1286075: rename taskgraph.transforms.make_task; r=wcosta
Rename to taskgraph.transforms.task.

This also adds some Required and Optional declarations to the schema to be explicit,
and adjusts the transform to handle treeherder being optional.

MozReview-Commit-ID: FuKYayvlwB9

--HG--
rename : taskcluster/taskgraph/transforms/make_task.py => taskcluster/taskgraph/transforms/task.py
extra : rebase_source : 0913aa8cdf153cd086a7786de957535e9b3a4ee8
2016-08-31 15:24:54 +00:00
Dustin J. Mitchell 09fd15c2e1 Bug 1286075: use cache names based on build_platfom+build_type; r=gerard-majax
This is cosmetic, and makes the cache names easier to generate automatically.

MozReview-Commit-ID: SPwDDnUhx9

--HG--
extra : rebase_source : 2666c8e9073f9598db4146773059065b0d9ba76e
2016-09-07 21:30:22 +00:00
Dustin J. Mitchell 89f90ff54f Bug 1286075: all device builds are at tier 3; r=gerard-majax
MozReview-Commit-ID: KV804Mdr3bu

--HG--
extra : rebase_source : d28fa3b875d18affa4c3fe6d2eb936777dde146a
2016-09-07 17:43:31 +00:00
Dustin J. Mitchell e04333cdd4 Bug 1286075: drop gecko.v1 routes for lint tasks; r=mshal
The automatically-generated gecko.v2 routes will remain until a later commit in
this patchset.

MozReview-Commit-ID: A194OvRVWJi

--HG--
extra : rebase_source : f93569efdd6c4978cc42d27d4bbe4f56129ac440
2016-09-02 21:21:15 +00:00
Dustin J. Mitchell 7033c6330d Bug 1286075: never coalesce on try; r=jmaher
MozReview-Commit-ID: K6cX58yvdja

--HG--
extra : rebase_source : f8b218080ed359eb4b450058ed727a6358b27a53
2016-08-27 20:58:07 +00:00
Dustin J. Mitchell 383d581bc6 Bug 1286075: remove mulet simulator builds; r=ochameau
MozReview-Commit-ID: 7id1xlyD5oU

--HG--
extra : rebase_source : b69531216aa6ed8e8da5135a75acf6b0244539e4
2016-08-31 16:23:35 +00:00
Dustin J. Mitchell be29b83b93 Bug 1286075: use pushdate from params for docker images; r=garndt
MozReview-Commit-ID: 6m3phQuvche

--HG--
extra : rebase_source : 9e5709297310aae00e14ab02cb17e9c1345b653c
2016-08-27 03:17:55 +00:00
Dustin J. Mitchell 341534644d Bug 1286075: use a per-level build for windows; r=gps
MozReview-Commit-ID: 5iCEnxCRoE4

--HG--
extra : rebase_source : 5506a6ff9aa9ce00c52b89c4a2cc6b86bf17de61
2016-08-25 20:43:37 +00:00
Dustin J. Mitchell 9fed1c45ad Bug 1286075: use regular cache names for various builds; r=mshal
For the most part, this means including the full build_platform (which is not
always the same as build_name) and build_type in the cache name.  This makes
the names consistent so they can be generated automatically rather than
specified explicitly.

MozReview-Commit-ID: 7VWm48F1Fzy

--HG--
extra : rebase_source : 3a346b7fd3ed24df75b21a9f1db7e75f8ddfcbbf
2016-08-27 16:09:08 +00:00
Dustin J. Mitchell 43ee56730b Bug 1286075: include redo in mach python path; r=gps
MozReview-Commit-ID: G34XOxlMDV7

--HG--
extra : rebase_source : 335aafa96b395c9f801bde26ae53234f309aded0
2016-08-23 00:02:38 +00:00
Dustin J. Mitchell d5b3c6a83c Bug 1286075: allow optimization of tasks whose dependencies have not been optimized; r=armenzg
MikeLing initially did this in bug 1287018.  The intent of this conditional was
to make optimization faster by not even checking most tasks, based on the
assumption that if the prerequisite to a task has changed (for example, a
docker image or a build), then naturally we will want to execute that task.
However, as we have developed actual optimization methods, this has proven not
to be the case: we might want to optimize a test out if its inputs have not
changed, even if a new installer has been built.  Similarly, SETA may optimize
tasks out even if their inputs have changed.

MozReview-Commit-ID: LgHET3Z84GB

--HG--
extra : rebase_source : efd297d37bd49dbe655266380641abc258dda725
2016-09-07 00:10:51 +00:00
Dustin J. Mitchell a02029f475 Bug 1286075: if <kind>/kind.yml doesn't exist, skip it; r=gps
Version control tends to leave kind directories around containing .orig files
or other such detritus.  It's best to just ignore such directories, rather than
failing to generate the taskgraph.

MozReview-Commit-ID: B9GIZndbfi1

--HG--
extra : rebase_source : 58f1debe5219fc52ead2971718da932b63bb06d7
2016-08-18 20:08:22 +00:00
Dustin J. Mitchell 23bf4c2928 Bug 1286075: improve dict merging support; r=gps
MozReview-Commit-ID: D3691sf2LqZ

--HG--
extra : rebase_source : 7ee2444782b1354d5a4edcfc55c3044b292fcc46
2016-08-19 18:12:40 +00:00