Commit Graph

115 Commits

Author SHA1 Message Date
Gregory Szorc
1023ddfdcd Bug 1381613 - Populate a repository-less index route for "trunk" repos; r=dustin
There are a few places where we walk commit ancestry looking for things
attached to a specific revision. Because the repository name is attached
to the index path and because a revision can exist in multiple
repositories, we often have to perform N index lookups to find a result
for a specific revision. This is inefficient.

To facilitate faster index lookups by revision, we introduce a new route
that doesn't contain the repository name. In theory, we should be able
to do this globally - for all repos. However, the configuration of
tasks can vary significantly by repo. So e.g. a linux64 build on
"central" is sufficiently different from a linux64 build on "beta" or
"release." For that reason, this commit takes the conservative
approach and only defines a shared route for repositories with a similar
configuration: the "trunk" repositories.

MozReview-Commit-ID: 8rIgUbzW4eL
2017-07-19 18:24:12 -07:00
Sebastian Hengst
2263fa0be0 Backed out changeset 543c503f745c (bug 1381613) for failing flake8 at taskcluster/taskgraph/transforms/task.py:836 with "too many blank lines". r=backout 2017-07-19 10:04:34 +02:00
Gregory Szorc
2c51605e07 Bug 1381613 - Populate a repository-less index route for "trunk" repos; r=dustin
There are a few places where we walk commit ancestry looking for things
attached to a specific revision. Because the repository name is attached
to the index path and because a revision can exist in multiple
repositories, we often have to perform N index lookups to find a result
for a specific revision. This is inefficient.

To facilitate faster index lookups by revision, we introduce a new route
that doesn't contain the repository name. In theory, we should be able
to do this globally - for all repos. However, the configuration of
tasks can vary significantly by repo. So e.g. a linux64 build on
"central" is sufficiently different from a linux64 build on "beta" or
"release." For that reason, this commit takes the conservative
approach and only defines a shared route for repositories with a similar
configuration: the "trunk" repositories.

MozReview-Commit-ID: 8rIgUbzW4eL
2017-07-17 13:28:48 -07:00
Gregory Szorc
26503db748 Bug 1380885 - Index more tasks by pushlog id; r=dustin
365731510976 (bug 1380391) added index routes for decision tasks by
pushlog id. This is a good idea. The pushlog id is guaranteed to always
be incrementing (except for repos that are periodically reset, which
we don't care about). It is useful to provide strict ordering for
pushes and is simpler for machines to consume and sort than dates.

So let's index all tasks by pushlog id.

MozReview-Commit-ID: BPqx4ARza1c
2017-07-13 16:51:16 -07:00
Mark Banner
42e2269ec9 Bug 1379119 - Add a builder to run the unit tests for eslint-plugin-mozilla. r=ahal
MozReview-Commit-ID: 5QsxUsvJz8O
2017-07-10 15:27:00 +01:00
Rail Aliiev
99126298fe Bug 1378454 - Add predictable routes to repackage and repackage-signing tasks r=Callek
MozReview-Commit-ID: Kv59SWBdbz5
2017-07-07 13:58:06 -04:00
Justin Wood
a4f5156d62 Bug 1376550 - Add repackage signing kind. r=dustin
Support OSX Signed nightlies (in the complete.mar too)

MozReview-Commit-ID: HVJwMuXUixX
2017-06-27 14:55:09 -07:00
Justin Wood
48d2153604 Bug 1373326 - Add beetmover and balrog to taskgraph. r=dustin
(For Landing more OSX Nightly Support from date to central)

MozReview-Commit-ID: BeXoChssNjF
2017-06-16 16:01:38 -04:00
Alin Selagea
64308cbe4f Bug 1363742 - delete code that references mozilla-aurora in buildbot configs and taskcluster, r=kmoir (patch by spacurar) 2017-06-20 15:09:11 +03:00
Carsten "Tomcat" Book
7a98a03a05 Backed out changeset ca9a7fa7d6a9 (bug 1363742) for breaking decision task 2017-06-19 14:25:11 +02:00
Alin Selagea
8a4bb6cb1a Bug 1363742 - delete code that references mozilla-aurora in buildbot configs and taskcluster, r=kmoir (patch by spacurar) 2017-06-19 14:53:57 +03:00
Andrew Halberstadt
bce781d9b8 Bug 1373294 - Fix E305 (two blank lines after method or class) in files enabled by flake8 linter, r=jmaher
This is needed before we can upgrade to flake8 3.3.0, as that version starts flagging these errors.

These files were modified by running:
autopep8 --select E305 --in-place -r <dir>

on the affected directories. I did it one dir at a time and verified the result after each.

MozReview-Commit-ID: FmlsfiKIbtr
2017-06-15 12:10:59 -04:00
Dustin J. Mitchell
f3f59ca1c7 Bug 1359976: base worker payload generation on worker-type; r=wcosta r=aki
To date we have variously specified both worker-type and worker-implementation,
often manually coordinated. We also embedded a few awkward assumptions such as
that the native engine only runs on OS X.

But a worker type has one and only one implementation, and that implementation
is stable over time (as changing it would require simultaneous landings on all
trees).

Instead, this change makes worker-type the primary configuration, and derives
both a worker implementation (defining the payload format) and worker OS
(determining what to include in the payload) from that value. The derivation
occurs when deciding how to implement a particular job, where the run_using
functions are distinguished by worker implementation.

The two-part logic to determine how and where to run a test task based on its
platform is combined into a single transform, `set_worker_type`.

This contains some other related changes:
 - MOZ_AUTOMATION is set in specific jobs, rather than everywhere docker-worker
   is used
 - the URL to test packages is factored out into a shared function
 - docker-worker test defaults are applied in `mozharness_test.py`
 - the WORKER_TYPE array in `task.py`, formerly mixing two types of keys, is
   split
 - the 'invalid' workerType is assigned an 'invalid' implementation
 - all tasks that do not use job descriptions but use docker-worker, etc. have
   `worker.os` added

Tested to not produce a substantially different taskgraph for a regular push, a
try push, or a nightly cron.

MozReview-Commit-ID: LDHrmrpBo7I
2017-05-08 22:53:50 +00:00
Dustin J. Mitchell
af4ef3ee08 Bug 1357753: optionally run linux Talos on native-engine; r=wcosta
This makes talos obey the `-w` try syntax flag.

MozReview-Commit-ID: 2v6X3ko2t9K
2017-05-10 21:12:02 +00:00
Dustin J. Mitchell
b04b5ac742 Bug 1359942: rename optimization to skip-unless-changed; r=glandium
MozReview-Commit-ID: 4d4zoDDJYnz
2017-05-23 10:22:53 -04:00
Gregory Arndt
7e2414f141 Bug 1364266 - Specify task priority within task definition r=dustin
Tasks should be assigned a priority based on the branch they originated from. It
is important that certain branches receive preferential treatment, such as a release
branch task being executed before a task from Try. Branch priority mirrors
the priorities defined within buildbot.

MozReview-Commit-ID: 8qR9F34lzzc
2017-05-05 15:22:03 -05:00
Phil Ringnalda
512bd79c63 Backed out changeset 6a2176a26495 (bug 1364266) on suspicion of overwhelming the taskcluster queue
MozReview-Commit-ID: EQ0Ip3kIeLh
2017-05-21 09:37:12 -07:00
Gregory Arndt
6a0f2794ca Bug 1364266 - Specify task priority within task definition r=dustin
Tasks should be assigned a priority based on the branch they originated from. It
is important that certain branches receive preferential treatment, such as a release
branch task being executed before a task from Try. Branch priority mirrors
the priorities defined within buildbot.

MozReview-Commit-ID: 8qR9F34lzzc
2017-05-05 15:22:03 -05:00
Mike Hommey
de0d8d21f6 Bug 1356700 - Set MOZ_AUTOMATION on all taskcluster jobs. r=dustin 2017-04-15 07:30:42 +09:00
Ben Hearsum
40c7ff6fc3 bug 1358601: set up CI builds and tests for DevEdition on mozilla-beta - add linux devedition builds r=aki,kmoir
MozReview-Commit-ID: 9mghIaHomfs
2017-04-27 10:35:36 -04:00
Johan Lorenzo
a5a0806cc1 Bug 1354038 - [push-apk] taskgraph: Use rollout and deactivate dry-run on release r=aki
MozReview-Commit-ID: 4Rc0Qd5ZI4Z
2017-04-20 18:21:52 +02:00
Justin Wood
a90803ce28 Bug 1357867 - Add repackage tasks suited for generating a .dmg from a signed tarball of OSX binaries. r=dustin
MozReview-Commit-ID: 7TdQxTlKm9D
2017-04-19 15:18:44 -04:00
Sebastian Hengst
a9d2df10b6 Backed out changeset 26ed99596031 (bug 1356700) for letting js/src/vtune/ittnotify_static.c fail on spidermonkey asan, msan and arm64. r=backout on a CLOSED TREE 2017-04-18 00:52:22 +02:00
Mike Hommey
e6a7c4c05b Bug 1356934 - Don't assume the path to routes.json is relative to topsrcdir. r=dustin 2017-04-17 09:02:38 +09:00
Mike Hommey
4b97787098 Bug 1356700 - Set MOZ_AUTOMATION on all taskcluster jobs. r=dustin 2017-04-15 07:30:42 +09:00
Sebastian Hengst
69276fe58f merge mozilla-central to autoland. r=merge a=merge 2017-04-07 22:16:26 +02:00
Johan Lorenzo
b8a8b5689d Bug 1353333 - [push-apk] release: activate rollout percentage r=aki
MozReview-Commit-ID: 6SXbfREPBVS
2017-04-07 10:49:32 +02:00
Sebastian Hengst
be11eb3ebf Backed out changeset ba97ba73f72d (bug 1353333) for failing flake8. r=backout 2017-04-07 10:34:05 +02:00
Johan Lorenzo
2f78c45201 Bug 1353333 - [push-apk] release: activate rollout percentage r=aki
MozReview-Commit-ID: 6SXbfREPBVS
2017-04-06 10:30:59 +02:00
Peter Moore
690418f9dc Bug 1349980 - update task generation to support -g in try syntax for running OS X tasks in generic-worker,r=dustin 2017-04-06 18:50:41 +02:00
Johan Lorenzo
1ef2d5229a Bug 1317783 - Put PushApk tasks in-tree r=aki
MozReview-Commit-ID: 8uGIuj7OXwZ
2017-04-04 11:21:07 +02:00
Wes Kocher
d760337238 Merge autoland to central, a=merge 2017-03-31 17:12:31 -07:00
Wes Kocher
a3386468d0 Backed out changeset 0edd9de2ca10 (bug 1317783) for future nightly bustage a=backout 2017-03-31 11:09:13 -07:00
Dustin J. Mitchell
c7ed7c16c7 Bug 1350390: make fields that were unnecesarily optional, required; r=Callek
Docker-worker's `command` field is actually not required, as it will run a
docker image's default command when command is not specified.

MozReview-Commit-ID: I3vBHeixlxW
2017-03-24 17:53:57 +00:00
Johan Lorenzo
65dab61921 Bug 1317783 - Put PushApk tasks in-tree r=aki
MozReview-Commit-ID: 8uGIuj7OXwZ
2017-03-30 12:13:01 +02:00
Carsten "Tomcat" Book
b047084618 Backed out changeset 6009a4677a10 (bug 1350390) for breaking decision tasks 2017-03-27 16:49:02 +02:00
Dustin J. Mitchell
0e36e9525a Bug 1350390: only require worker.implementation for jobs; r=Callek
MozReview-Commit-ID: CtnXN1ts1Bb
2017-03-24 17:53:57 +00:00
Dustin J. Mitchell
b7a652c5b1 Bug 1337360: check for schema elements that aren't dashed-identifiers, with whitelist; r=Callek
MozReview-Commit-ID: FirYCrjFXAS
2017-03-22 16:24:38 +00:00
Paul Yang
aea94008e0 Bug 1272113: Creating awsy task and mozharness script r=jmaher
* * *
[mq]: test_only

MozReview-Commit-ID: AawtpSUIj0P
2017-03-11 02:33:19 +08:00
Dustin J. Mitchell
f185dda75d Bug 1333255: handle when.files-changed at the job level; r=jonasfj
MozReview-Commit-ID: AbJcXu22dNP
2017-03-09 15:16:25 -05:00
Dustin J. Mitchell
655ce811d6 Bug 1333255: only apply seta optimizations for tests; r=jonasfj
MozReview-Commit-ID: FoIlgwBe4Gd
2017-03-09 14:45:12 -05:00
Dustin J. Mitchell
b249b845c2 Bug 1333255: replace uses of index_paths with optimizations; r=jonasfj
MozReview-Commit-ID: 1w8HVv94xoD
2017-03-10 20:20:50 +00:00
Dustin J. Mitchell
154a1cb600 Bug 1333255: implement optimizations as named functions; r=jonasfj
MozReview-Commit-ID: 9xkHny7IYfA
2017-03-10 18:17:43 +00:00
Dustin J. Mitchell
28496e8561 Bug 1333255: use transforms to make docker image tasks, too; r=jonasfj
MozReview-Commit-ID: Eke3TjLbEfE
2017-03-08 20:52:13 +00:00
Dustin J. Mitchell
4e0aee3873 Bug 1337903: add support for OS X in run-task; r=ahal
* add run.using = 'run-task' for native-engine
* modify run-task to run on OS X
  - not as root
  - without assuming /home/worker (using ~ and os.expanduser instead)
  - hg is in /usr/local/bin on OS X; trust the PATH
* add_build_dependency isn't docker-worker specific, so just rename
* support_vcs_checkout modified to omit caches on native-engine
* don't download fingerprints on OS X; these hosts are configured with
  the proper fingerprint via puppet

MozReview-Commit-ID: C83XClXtcn4
2017-03-03 22:49:23 +00:00
Aki Sasaki
3f725a5cf7 bug 1343585 - add task.payload.version to release beetmover tasks. r=mtabara a=release 2017-03-01 17:49:57 -08:00
Aki Sasaki
4763d9a92f Bug 1343393 - add graph logic to handle a fennec beta build. r=mtabara DONTBUILD
MozReview-Commit-ID: 4c6H5hiOiKj
2017-03-01 14:54:15 +00:00
William Lachance
6928daf592 Bug 1322433 - Make it possible to add tags + add a mochitest tag to mochitest jobs r=jonasfj
This will be used to restrict mochitest actions to mochitest jobs only.


MozReview-Commit-ID: DbFb9V6s9Rb
2017-01-25 16:04:37 -05:00
Wander Lairson Costa
24ad558fcc Bug 1339038 - Replicate BB environment variables. r=dustin
There are some environment variables necessary to run test jobs in BB
which are also necessary for taskcluster-worker. They were copied from
[1].

Additionally, native-engine was broken by bug 1325701. We fix it in this
commit.

[1] https://github.com/mozilla-releng/build-buildbotcustom/blob/master/env.py#L89-L96
2017-02-22 14:47:00 -05:00
Andrew Halberstadt
5f9dc06f05 Bug 1003417 - Add task for running mozbase python tests on linux, r=dustin
This also adds a new 'py' group which should help make it obvious which tasks are python
unittests. The tg and MH tasks won't show up in this new py group right away due to a
caching bug in the treeherder database, but eventually they should move over.

MozReview-Commit-ID: JwL1NAR4bnY
2016-12-02 17:21:54 -05:00