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

585 Коммитов

Автор SHA1 Сообщение Дата
Wander Lairson Costa faf6866243 Bug 1316077 part 1: Support buildbot-bridge for talos tests. r=dustin
While we don't have physical machines running taskcluster-worker, we
want to schedule talos tests on Taskcluster and run them on buildbot.

buildbot-bridge acts as a worker that runs its tasks in buildbot
machines. Any talos task is redirected to buildbot-bridge.

MozReview-Commit-ID: Im9IhhT0Mr1

--HG--
extra : rebase_source : ede38a683abdf411612e885f6985c79b0532cb46
2016-11-18 16:52:15 -02:00
Gregory Szorc 743fc9a44c Bug 1318200 - Filter Stylo platforms when Servo isn't available; r=dustin
Stylo automation doesn't work unless Servo is present in the source
directory. This commit introduces a "check_servo" filter that prunes
tasks requiring Servo. Currently, this is implemented as a test against
platforms that are unique to Servo.

The use of relative path checking to find the topsrcdir is a bit
unfortunate. But we use this pattern elsewhere in this code.

MozReview-Commit-ID: IRtd53tudJW

--HG--
extra : rebase_source : 8c4742c13878d762fe7970eedfa5937fdaebe8c4
2016-11-17 17:10:01 -08:00
Gregory Szorc 0e12f1cc60 Bug 1318200 - Introduce task graph filtering; r=dustin
Previously, we ran a single "target task" function to mutate the full
task graph into a subset based on input parameters (try syntax,
repository being built for, etc). This concept is useful. But
the implementation was limiting because we could only have a single
"target tasks" function.

This commit introduces the concept of "filters." They conceptually
do the same thing as "target tasks methods" but you can run more than
1 of them.

Filters are simply functions that examine an input graph+parameters
and emit nodes that should be retained. Filters, like target tasks
methods, are defined via decorated functions in a module.

TaskGraphGenerator has been converted to use filters. The list of
defined filters can be defined in the parameters dict passed into
TaskGraphGenerator. A default filter list is provided in decision.py.

The intent is to eventually convert target tasks to filters. Until
that happens, we always run the registered target tasks method via
a filter proxy function.

No new tests have been added because we don't yet have any
functionality relying explicitly on filters. Tests will be added in
a subsequent commit once we add a new filter.

While I was here, I also snuck in some logging on the size of the
graphs.

MozReview-Commit-ID: ERn2hIYbMRp

--HG--
extra : rebase_source : 36b8e86aa64b2f52b03b31b5497759b0009fb921
2016-11-17 15:53:30 -08:00
Gregory Szorc bd86442e13 Bug 1318200 - Obtain target tasks method from parameters; r=dustin
Previously, all callers outside of tests that passed
"target_tasks_method" to TaskGraphGenerator all used the same pattern
of looking for a key in the parameters and calling a function in
the target_tasks module.

Future commits will refactor how target tasks graph work. To
make the transition easier, we move the logic for obtaining the
target tasks method into TaskGraphGenerator.

MozReview-Commit-ID: 3QU09iGhoXh

--HG--
extra : rebase_source : fbcc31d705c4b0e148aa3709ddcb18ad99953231
2016-11-17 16:29:51 -08:00
Gregory Szorc 6fd7392903 Bug 1318200 - TaskCluster CI for Stylo; r=dustin
This commit introduces support for performing build and test variations
with Stylo enabled.

From a high level, this is similar to the e10s/non-e10s variations that
we currently run. However, it is different in that Stylo is a build
time (not run time) flag. So, we need to perform separate builds for
Stylo.

In the current implementation of the task graph, we can either
introduce a new platform or a new build type/configuration. I've
chosen to introduce a new platform if nothing else so the Treeherder
results clearly separate Stylo from non-Stylo. This decision can be
revisited in the future once Stylo becomes more stable and visible
outside the "stylo" repository.

Stylo functionality is limited to layout functionality and Stylo
developers aren't very interested in many tests not related to layout
at the moment. So we introduce a new test set running a limited
functionality of tests in Stylo builds.

In the current state of this commit, Stylo builds will permafail.
This is because Stylo builds require a vendored copy of Servo. Logic
for pruning the task graph of Stylo/Servo related tasks will be
implemented in subsequent commits.

MozReview-Commit-ID: JivhkpXDjIw

--HG--
extra : rebase_source : fdc9a5300c0bfa27133478fc456bc618f26fb9b2
2016-11-17 09:52:39 -08:00
Carsten "Tomcat" Book 866da9f9c6 merge mozilla-inbound to mozilla-central a=merge 2016-11-18 16:51:17 +01:00
Phil Ringnalda e3b53628aa Merge m-c to m-i
MozReview-Commit-ID: GwBaSZdoAZK
2016-11-17 20:33:59 -08:00
Dustin J. Mitchell b5ab76194d Bug 1302786: add help message for mach taskgraph --tasks-regex r=me
MozReview-Commit-ID: EK4GqfMhUA4
2016-11-17 23:46:25 +00:00
Hammad Akhtar 688be53397 Bug 1302786 - Support filtering output from task-graph generation; r=dustin
MozReview-Commit-ID: 7efKKRgvX3r

--HG--
extra : rebase_source : c4a4ad8793c7ea63f42fb1f1e3a69089211adf31
extra : source : c4def8be4e01e4dc9de0a7fc24678de963b8aefd
2016-11-18 04:38:28 +05:30
Mike Shal ad4478f15e Bug 1183613 - Cross compile universal OSX builds in Taskcluster; r=froydnj,ted
MozReview-Commit-ID: HNTqiVF9gov

--HG--
extra : rebase_source : 3e02cd433e45f4bb5759f093aaccade2d49745c3
2016-10-21 13:54:10 -04:00
Carsten "Tomcat" Book e0ff800a74 merge mozilla-inbound to mozilla-central a=merge 2016-11-17 14:34:44 +01:00
Geoff Brown 12edaac33e Bug 1318192 - Increase Android Debug mochitest chunks; r=me 2016-11-16 21:28:01 -07:00
Brian Stack ee34799ca7 Bug 1316961 - Fix parameters for action tasks. r=dustin
MozReview-Commit-ID: 95xs7NRHSdi

--HG--
extra : rebase_source : acfcd50ddced904c4a9e3aace8808a097caab398
2016-11-14 10:28:58 -08:00
Ting-Yu Chou aa40a97c47 Bug 1316537 part 1 - Add 64-bit clang-cl toolchain build. r=dustin
MozReview-Commit-ID: 5EKWZ94TrMD

--HG--
rename : taskcluster/scripts/misc/build-clang-windows.sh => taskcluster/scripts/misc/build-clang32-windows.sh
extra : rebase_source : 369d9da0dd0527833cc900fe56abd27d64953ebf
2016-11-15 09:06:08 +08:00
Jonas Finnemann Jensen d83197756c Bug 1316446 - Improve mach taskcluster-load-image r=gps
MozReview-Commit-ID: 3Y8fI5WXP1Y

--HG--
extra : rebase_source : a6411fd161bc9222e4a6c788f077d7d9b1fada35
2016-11-10 18:05:52 -08:00
Andrew Halberstadt adbd485b6e Bug 1275943 - Ensure job tasks are added to target set even if no try syntax specified, r=dustin
Job tasks are tasks that are not tied to a specific build or test. As such, they cannot be scheduled
with the regular -p/-u try syntax options. There exists a -j try syntax option, to schedule them, which
defaults to running "all" of them if not specified.

However, there is a bug here where they will only default to "all" if a try syntax exists in the commit
message. They will not be considered if a developer pushes to try without a try syntax. This happens
because self.jobs is initially initialized with '[]' and we use None to determine when to schedule "all"
later on.

I want to move towards a world without try syntax, so we should start improving the UX of the no try
syntax use case.

Note: When I say "schedule" here, I mean added to the target set. They may still be optimized away.

MozReview-Commit-ID: 4TrC84RGiaL

--HG--
extra : rebase_source : 8fd50113c37745bc10181e1311cc62d75485723a
2016-11-14 14:29:50 -05:00
Rob Thijssen e8a2815ded Bug 1311966 - symlink rather than copy artifacts; r=pmoore
MozReview-Commit-ID: 5cFjuwtUgEr

--HG--
extra : rebase_source : ab58c9d091b51235566e97b139de365873e41aaa
2016-11-16 13:31:48 +00:00
Sebastian Hengst 0acd4ede3e 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 9cb5f9e9cf Bug 1318099 - Disable artifact build tasks on the graphics branch. r=dustin
MozReview-Commit-ID: 2whpCUpZTtv

--HG--
extra : rebase_source : 1406fe794e3e6c28139a83b75489444cd6f9f9d7
2016-11-16 15:40:55 -05:00
Geoff Brown 3af077cc43 Bug 1317390 - Increase test chunks for linux64-asan browser-chrome; r=jmaher 2016-11-14 18:37:55 -07:00
Nick Alexander 73d0e38845 Bug 1291372 - Produce Maven repository with GeckoView Javadoc and Sources JARs. r=snorp
We use a Maven repository and the (misleadingly named!) uploadArchives
task because this is the best way to make Android Studio download and
recognize the Javadoc and sources.  With this, it's automatic; with a
single AAR file, it's a nightmare of point-and-click configuration.

This patch does a bunch of Gradle hacking to make -javadoc and
-sources JARs; there's nothing special or particularly likely to break
here.

This patch also adds Proguard declarations to the :geckoview library
project.  That involves moving a good part of the Proguard
configuration into mobile/android/geckoview.  (I also expand upon the
existing configuration.)  This should be only a re-arrangement, and
the resulting file is included in the original, so nothing should be
changed.

MozReview-Commit-ID: BGNW1v92J0k

--HG--
extra : rebase_source : 94633d27e8ae6bafa3d6823996355c22d2e2e6eb
2016-11-07 20:07:30 -08:00
Jonas Finnemann Jensen 2cd49e189e 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

--HG--
extra : rebase_source : 677d8030a15af3288866a70fc648a10b22c396a3
2016-11-07 11:26:27 -08:00
Henrik Skupin 6dd0c8733c Bug 1315760 - Use Ubuntu 16.04 docker image for Marionette tests. r=dustin
MozReview-Commit-ID: 9ISchR3EGar

--HG--
extra : rebase_source : 8ce100b3f12576ca23d5485a12c194daece3b051
2016-11-08 13:53:34 +01:00
Wes Kocher 41c087935b Merge m-c to inbound, a=merge 2016-11-08 14:08:34 -08:00
Wander Lairson Costa 9950817294 Bug 1274980 part 2: Support Mac OS tests in tc intree config. r=dustin
We add support for Mac OSX tests in Taskcluster by support
taskcluster-worker macosx engine. We also add a new configuration
blob-upload-branch needed by mochitest-other.

MozReview-Commit-ID: 5ZaYYRueRVr

--HG--
extra : rebase_source : f81b3d97d44797a323431a640b1f8e29bf192606
2016-11-08 12:11:15 -02:00
Wander Lairson Costa 9caaae3ed3 Bug 1274980 part 1: Add support for test platform regex match. r=dustin
Often we need to setup a test configuration for different platforms, but
not for different platform builds (opt/debug). This leads to cumbersome
configuration duplicates. This patch adds support for platform regular
expression matching. For example, if you want to configure the chunk
size for linux64 platform both for opt and debug, originally you would
do this:

chunks:
    by-test-platform:
        linux64/opt: 4
        linux64/debug: 4
        default: 8

With regular expression matching, you only need:

chunks:
    by-test-platform:
        linux64/.*: 4
        default: 8

This patch was originally written by Geoffrey Brown for Windows support.

MozReview-Commit-ID: KbMHV7UkTLe

--HG--
extra : rebase_source : 79a4344c7e3e978bb6b93713c6e6e4114ba5d5b8
2016-11-08 12:11:15 -02:00
Kim Moir 9e85c7c832 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 35b93a38b7 Bug 1315690 - Limit cedar TC tests to Linux64 mochitest* and xpcshell only u=aselagea r=dustin 2016-11-08 09:22:17 -05:00
Kim Moir 1fd1338b7d Bug 1315287 - update docker-worker:image:taskclusterprivate/upload_symbols:0.0.3 r=kmoir DONTBUILD
--HG--
extra : amend_source : 95250dcc5f1ed28eb26d12b170d3f787552f7d0c
2016-11-07 12:40:08 -05:00
Phil Ringnalda 9a35a9e7b6 Merge m-c to autoland 2016-11-07 20:41:56 -08:00
Dustin J. Mitchell aaabbac964 Bug 1296842: check parameters; r=jmaher
MozReview-Commit-ID: 1JCpufowNHD

--HG--
extra : rebase_source : 3409f417070751615d799cbda3f99d8e9029dda3
2016-11-07 19:13:40 +00:00
Dustin J. Mitchell 51aa1fc9fb 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

--HG--
extra : rebase_source : 85affd063a543c549afaaa36ce7ee31ed1f943d5
2016-11-07 19:13:34 +00:00
Dustin J. Mitchell 80f5b88beb Bug 1296842: document `triggered_by` property; r=jmaher
MozReview-Commit-ID: 8sAsWbCpUft

--HG--
extra : rebase_source : 496681aec6d0a340db38126464739888b5a8d5ac
2016-11-07 15:26:44 +00:00
Dustin J. Mitchell a0c1d93465 Bug 1296842: better parameter documentation to help readers; r=jmaher
MozReview-Commit-ID: N9EHe2s6PS

--HG--
extra : rebase_source : 768eb016e09afeffce32ed836bdb0716041b37b9
2016-11-07 15:02:13 +00:00
Joel Maher bbfd3040db Bug 1315145 - disable SETA on tier-1 platforms temporarily. r=dustin
MozReview-Commit-ID: 2royNntQxB2

--HG--
extra : rebase_source : b77fa8845d2b7e3370e2470370f280114644b906
2016-11-07 13:39:23 -05:00
Sebastian Hengst c663cd7c34 Backed out changeset b8760b0b11ac (bug 1274980) on suspicion of breaking marionette tests in taskcluster. r=backout on a CLOSED TREE 2016-11-07 18:57:58 +01:00
Sebastian Hengst ebc8c22b60 Backed out changeset 6228dfcfac3b (bug 1274980) 2016-11-07 17:57:04 +01:00
Sebastian Hengst acb7cd32d4 Backed out changeset c45f2ebe0e66 (bug 1274980) 2016-11-07 17:56:41 +01:00
Wander Lairson Costa f03f376d43 Bug 1274980 part 3: Fix flake8 errors. r=tomcat 2016-11-07 05:15:00 +01:00
Wander Lairson Costa 41ed0a2cdf Bug 1274980 part 2: Support Mac OS tests in tc intree config. r=dustin
We add support for Mac OSX tests in Taskcluster by support
taskcluster-worker macosx engine. We also add a new configuration
blob-upload-branch needed by mochitest-other.

MozReview-Commit-ID: CxT3BP3sydG

--HG--
extra : rebase_source : 25e16bf5b5d5a8121fd431788185d318612d7ea5
2016-11-07 09:20:50 -02:00
Wander Lairson Costa 4e8662ab83 Bug 1274980 part 1: Add support for test platform regex match. r=dustin
Often we need to setup a test configuration for different platforms, but
not for different platform builds (opt/debug). This leads to cumbersome
configuration duplicates. This patch adds support for platform regular
expression matching. For example, if you want to configure the chunk
size for linux64 platform both for opt and debug, originally you would
do this:

chunks:
    by-test-platform:
        linux64/opt: 4
        linux64/debug: 4
        default: 8

With regular expression matching, you only need:

chunks:
    by-test-platform:
        linux64/.*: 4
        default: 8

This patch was originally written by Geoffrey Brown for Windows support.

MozReview-Commit-ID: HFP52N9Ef0k

--HG--
extra : rebase_source : d2a5129b7459fc7f71f59da76d45526cef028e44
2016-11-07 09:20:50 -02:00
Jordan Lund c569b6a415 Bug 1314795 - introduce build_date to params that defaults to pushdate, r=dustin
MozReview-Commit-ID: AviPKtw3BiY

--HG--
extra : rebase_source : 03ea3a98f84ecf977280beff88e69b292c12886d
2016-11-02 19:23:27 -07:00
Wes Kocher db15df3e50 Merge m-c to inbound, a=merge CLOSED TREE 2016-11-04 15:19:49 -07:00
Nathan Froyd 2beeb3efa6 Bug 1306650 - part 16 - make the toolchain builds also depend on their taskcluster transforms; r=dustin
This seems like something that the in-tree taskcluster infrastructure
ought to be able to handle, but in the absence of that functionality,
this is the next best option.
2016-11-04 20:24:38 -04:00
Nathan Froyd 8742cf38dc Bug 1306650 - part 15 - update windows toolchain builds to use |hg robustcheckout|; r=pmoore
This change is needed after recent changes removed the shared hg checkout on C:.
2016-11-04 20:24:38 -04:00
Wes Kocher 16a45d598b Backed out changeset 36b1cce63e74 (bug 1314795) for lint failures a=backout CLOSED TREE 2016-11-03 17:04:16 -07:00
Jordan Lund 124d2f3f4c Bug 1314795 - introduce build_date to params that defaults to pushdate, r=dustin
MozReview-Commit-ID: AviPKtw3BiY

--HG--
extra : rebase_source : aed70ad54badfdd3e200acbbca85cf8372f54698
2016-11-02 19:23:27 -07:00
Greg Mierzwinski da1990f283 Bug 1301981 - Add devtools test task definition to linux64-jsdcov. r=jmaher
This patch provides the implementation that makes it possible to run the devtools test suite with the linux64-jsdcov build to collect js code coverage.

MozReview-Commit-ID: KFmFhKsDq5s

--HG--
extra : rebase_source : 78894caa6b45a0e43fd1a4c29190788523b10e12
2016-10-19 21:20:10 -04:00
Gregory Szorc c328879fc5 Bug 1314807 - Change ownership of files in workspace; r=dustin
The other changesets for this bug worked on Try but failed on
autoland due to permissions failures in /home/worker/workspace.
Ensure the files have the proper permissions.

The path is a cache with the repo and build type keyed into it.
So there should be no problem with this change causing permissions
issues for other tasks.

--HG--
extra : amend_source : 1fa1c2f7a22afabd4b2e252a268b2f492238966c
2016-11-03 08:10:15 -07:00
Gregory Szorc dbb85be2ac Bug 1314807 - Use vendored tooltool.py; r=dustin
Do not speak to github.com as part of CI. Do not open ourselves to a
MitM attack. Be more deterministic.

MozReview-Commit-ID: JRGbraQtqJi

--HG--
extra : rebase_source : b03c36f0c604995f396d49ab3d046637ef864613
2016-11-02 16:26:49 -07:00