Commit Graph

232 Commits

Author SHA1 Message Date
Wes Kocher
ac26ac7873 Backed out changeset 7478b9959a51 (bug 1341352) at developer's request a=backout
MozReview-Commit-ID: KqOIgSLg2I4
2017-02-28 17:54:58 -08:00
Mihai Tabara
e77c1e0621 Bug 1341352 - add balrogworker support for releases. r=aki
MozReview-Commit-ID: 3bfloRD7fHx

--HG--
extra : rebase_source : 9be48d8708cbeaa60b767881d969a901d6861ecf
2017-02-28 16:30:46 +00:00
Mike Hommey
3854c3f71d Bug 1341214 - Add a small API to handle taskcluster queue and index requests. r=dustin
Various modules under taskcluster are doing ad-hoc url formatting or
requests to taskcluster services. While we could use the taskcluster
client python module, it's kind of overkill for the simple requests done
here. So instead of vendoring that module, create a smaller one with
a limited set of functions we need.

This changes the behavior of the get_artifact function to return a
file-like object when the file is neither a json nor a yaml, but that
branch was never used (and was actually returning an unassigned
variable, so it was broken anyways).

At the same time, make the function that does HTTP requests more
error-resistant, using urllib3's Retry with a backoff factor.

Also add a function that retrieves the list of artifacts, that while
currently unused, will be used by `mach artifact` shortly.

--HG--
extra : rebase_source : d7ef633e8e5041dc8450f3ff2f3751c85f144cdc
2017-02-17 12:04:48 +09:00
Mike Hommey
28cdcbdebb Bug 1341214 - Define GECKO in a single location. r=dustin
Instead of every file trying to get the top source directory having an
ad-hoc definition that gets wrong if the files gets moved around for
some reason, define it in a more central location.

--HG--
extra : rebase_source : 1a0cbea267193f6b388b88b36166353e20ac8569
2017-02-17 11:56:12 +09:00
Justin Wood
c61a67c094 Bug 1337240: Cleanup, re-sort JOB_NAME_WHITELIST. r=dustin
MozReview-Commit-ID: CTpW53dAN6P

--HG--
extra : rebase_source : 3535fd6d19332881939034ec9c8b6db9038288ca
2017-02-05 22:24:26 -05:00
Justin Wood
f7a102bbb2 Bug 1337240: Cleanup, remove unused entries from gecko_v2_whitelist. r=dustin
MozReview-Commit-ID: GZDui8mNWlu

--HG--
extra : rebase_source : 4492d3197959373eb65470dce877df793783eddb
2017-02-05 22:22:11 -05:00
Wander Lairson Costa
15db056695 Bug 1330310: Switch macosx tests to buildbot-bridge. r=catlee,dustin
We use buildbot-bridge to schedule macosx tests in buildbot, and disable
scheduling on buildbot. Also, schedule a subset of unittests in
taskcluster-worker Tier 3 machines.

MozReview-Commit-ID: Dbn6U4V2NLp

--HG--
extra : rebase_source : 4f2e5edb4da73975d6634e6313f76a1a9c7651a8
2017-02-27 09:52:22 -03:00
Mihai Tabara
c822738661 Bug 1338186 - assign bucket specific scopes per type of release. r=aki
MozReview-Commit-ID: 7OAIvkaFF2a

--HG--
extra : rebase_source : c85a88fbff77e360531578709de4a39490fcf245
2017-02-24 17:30:46 +02:00
Andrew Halberstadt
2d35842ffc Bug 1336559 - Add ability to depend on build artifacts to 'run_task' based tasks, r=dustin
Currently 'run_task' tasks have no easy way to depend on a build task. For example, some
python unittests need a Firefox binary for their tests, like the mozrunner tests and future
test harness selftests (like mochitest tests).

This patch allows kinds to add a new key to the kind config which maps test platforms to
build-labels. Then 'run_task' jobs can add a 'requires-build': true field to get a build
dependency automatically added. The build artifact url will also be stored in the
$GECKO_INSTALLER_URL environment variable on the test host.

MozReview-Commit-ID: Jqyhbj7nC6z

--HG--
extra : rebase_source : 2f44b6c94f35a0d2e11464cf773e821ae6fe8538
2017-02-24 09:04:22 -05:00
William Lachance
5b60333fe6 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

--HG--
extra : rebase_source : 16ebd751bf7048fd46d71bd350119ca3f8a68302
2017-01-25 16:04:37 -05:00
Wander Lairson Costa
90611046e2 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
Wes Kocher
29443ed98c Merge m-c to inbound, a=merge
MozReview-Commit-ID: HDHJC8X9xWG
2017-02-22 15:06:46 -08:00
Aki Sasaki
344d405df7 bug 1340609 - toggle nightly scopes on-demand. r=dustin a=release
MozReview-Commit-ID: JiBpEWfGefh

--HG--
extra : rebase_source : f78b4bf97a90890d941141cd147f6ab8541ae0ef
2017-02-22 10:50:38 -08:00
Carsten "Tomcat" Book
197fbb6eb9 Backed out changeset d8122277e9fd (bug 1341214) for causing on m-c problems in vp tc tasks 2017-02-22 15:33:42 +01:00
Carsten "Tomcat" Book
42bc96ae3d Backed out changeset 5ffd6c7264ce (bug 1341214) 2017-02-22 15:33:17 +01:00
Mike Hommey
3e79befa4b Bug 1341214 - Add a small API to handle taskcluster queue and index requests. r=dustin
Various modules under taskcluster are doing ad-hoc url formatting or
requests to taskcluster services. While we could use the taskcluster
client python module, it's kind of overkill for the simple requests done
here. So instead of vendoring that module, create a smaller one with
a limited set of functions we need.

This changes the behavior of the get_artifact function to return a
file-like object when the file is neither a json nor a yaml, but that
branch was never used (and was actually returning an unassigned
variable, so it was broken anyways).

At the same time, make the function that does HTTP requests more
error-resistant, using urllib3's Retry with a backoff factor.

Also add a function that retrieves the list of artifacts, that while
currently unused, will be used by `mach artifact` shortly.

--HG--
extra : rebase_source : 06777dea62e884f546a5b951baad80fd8aec1f1e
2017-02-17 12:04:48 +09:00
Mike Hommey
f99718e272 Bug 1341214 - Define GECKO in a single location. r=dustin
Instead of every file trying to get the top source directory having an
ad-hoc definition that gets wrong if the files gets moved around for
some reason, define it in a more central location.

--HG--
extra : rebase_source : 06fa06d47732223e19b0201f8791fdbffdc9ee03
2017-02-17 11:56:12 +09:00
Kim Moir
ff5a946da7 Bug 1339604 - stylo builds + tests should only run on limited branches to reduce budget impact r=dustin a=merge
MozReview-Commit-ID: 8SOmDuN6TTL

--HG--
extra : source : 5fbcbdd6849379c48ce869d4ed0e8083af9b8d23
2017-02-17 13:31:39 -05:00
Johan Lorenzo
d1082915e4 Bug 1337825 - Schedule l10n repacks for fennec with specified locale revisions using an intree changesets file r=aki
MozReview-Commit-ID: 1DEIjFYAx74

--HG--
extra : histedit_source : fe73d536f0ae6bf1d60279fec210e16b7ffb913f%2Ca439f62086a4b85a8d46edd0fcf0000bc376f2f0
2017-02-17 15:57:11 +01:00
Carsten "Tomcat" Book
5f96998164 Backed out changeset c7c9f7712163 (bug 1337825) for flake8 failure 2017-02-17 15:52:10 +01:00
Johan Lorenzo
903b044aae Bug 1337825 - Schedule l10n repacks for fennec with specified locale revisions using an intree changesets file r=aki
MozReview-Commit-ID: 1DEIjFYAx74
2017-02-14 15:04:54 +01:00
Wes Kocher
adaec16e2b Merge m-c to inbound, a=merge
MozReview-Commit-ID: HtopB4vot9e
2017-02-16 17:23:00 -08:00
Hammad Akhtar
9477d8c0f5 Bug 1325701 - test transform should produce a job description, not a task description; r=dustin
MozReview-Commit-ID: CrSSWI0aBCZ

--HG--
extra : rebase_source : a7e6c4fcaa59c593ae05b2a28eccfa9cf2e88947
extra : source : 57a270511494875bd76a4c72065fa5320159090f
2017-01-18 16:55:53 +05:30
Mike Hommey
3cfb819aa7 Bug 1335651 - Setup an index path in the gecko.cache namespace for toolchain builds. r=dustin
This allows to find them and optimize them out during the taskgraph
optimization phase, and will allow to get toolchain artifacts through a
mach command for developers.

The index path is generated similarly to git trees or mercurial
manifests, and allows to find the right task corresponding to the the
contents of the files in the task `extra.resources` along the toolchain
scripts.

`when.files-changed` is not used when a task has index paths because we
need tasks to happen independently of whether there were changes to
those files when the index or artifacts expire.

--HG--
extra : rebase_source : e9995cee0ee39d7b64090a243e380aeae336a69f
2017-02-01 09:27:31 +09:00
Mike Hommey
2953294ad5 Bug 1335651 - Automatically add the script to files-changed for toolchain jobs. r=dustin
Also automatically add the job.toolchain python module itself.

--HG--
extra : rebase_source : ed8c2cfe07af8549cc63fd3e8a403f70ceaf7ea5
2017-01-31 18:00:55 +09:00
Kim Moir
89b11b3083 Bug 1333155 - convert buildbot addon devel Linux64 builds to taskcluster r=mtabara 2017-02-15 13:39:26 -05:00
Mike Hommey
8526ef3e1a Bug 1338061 - Move toolchain tasks to a separate "platform". r=dustin
The toolchain tasks are hard to spot on treeherder, in the ocean of
build and test jobs associated with the platforms they are currently
under.

Now that we have a significant number of toolchain tasks across
different platforms, it's even worse, especially combined with the fact
that they don't happen on every push.

To make them more easily visible, we move them to a new, separate,
"platform", with the name "toolchains", instead of having them in
different platforms. But since the distinction between Linux, OSX and
Windows 32/64 is still interesting to have, we create groups for each of
those platforms.

But because of bug 1215587, the jobs still end up associated to their
previous group, defeating the new grouping, so to work around that bug,
we also rename the jobs in subtle ways.

--HG--
extra : rebase_source : 6c093c070c18a64eba1c21bf2a2c97b2a9aaabc5
2017-01-27 11:46:22 +09:00
Mike Hommey
dc878bc63f Bug 1337980 - Use run-task for docker-based toolchain tasks. r=dustin
--HG--
extra : rebase_source : bb5b42f91eda03c2cea64339ee7e7ebe73e93937
2017-02-09 10:41:35 +09:00
Sebastian Hengst
512e79b796 Backed out changeset 9f402afa3864 (bug 1330310) on wcosta's request. r=backout on a CLOSED TREE 2017-02-10 19:03:31 +01:00
Wander Lairson Costa
18cd648928 Bug 1330310: Switch macosx tests to buildbot-bridge. r=catlee,dustin
We use buildbot-bridge to schedule macosx tests in buildbot, and disable
scheduling on buildbot. Also, schedule a subset of unittests in
taskcluster-worker Tier 3 machines.

MozReview-Commit-ID: 38I33BlUvmt

--HG--
extra : rebase_source : 36347b6fb976f8ec0a90e239ec05ebaedbdf2253
2017-02-10 06:00:28 -02:00
Justin Wood
a9669b7b51 Bug 1334506 - Beetmove mbsdiff and mar binaries with tc nightly. r=aki
MozReview-Commit-ID: DAWJVALNpe

--HG--
extra : rebase_source : b2f97df7207edfc6ec8cd30e876e96af6c8507d0
2017-01-27 16:01:44 -05:00
Kartikaya Gupta
87e89d52b7 Bug 1336479 - Add 32-bit windows QR builds. r=kmoir
MozReview-Commit-ID: FrlTIhMdKS7

--HG--
extra : rebase_source : 5891fc4b6b47b6a6ec23916d99c1e5a4d1aeab71
2017-02-08 15:02:47 -05:00
Kartikaya Gupta
72e032c7c3 Bug 1336479 - Add 32-bit linux QR builds. r=kmoir
MozReview-Commit-ID: 3zOp1fQFdxt

--HG--
extra : rebase_source : 28a195054e3572b9c8091e0b00f7a7a6eef42432
2017-02-08 15:02:45 -05:00
Justin Wood
398e032818 Bug 1305139 - followup for flake8 failures. r=Tomcat
MozReview-Commit-ID: 37vASUHI1xI
2017-02-08 10:43:45 -05:00
Mihai Tabara
0065603413 Bug 1305139 - schedule checksums related tasks in nightly graph. r=aki,Callek
MozReview-Commit-ID: 659wCXm3ob5

--HG--
extra : rebase_source : 356175ba6ffa8678f412d333376d3a86e7919988
2017-02-07 22:44:12 -05:00
Andrew Halberstadt
5faf8fa2b3 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

--HG--
extra : rebase_source : 62cc240f490cf1a79021a5b0b0eae8121410ac8a
2016-12-02 17:21:54 -05:00
Justin Wood
c49c5962c5 Bug 1334624 - Set index routes for signing tasks based on build jobs. r=aki
MozReview-Commit-ID: BhO0FTo3DKk

--HG--
extra : rebase_source : 180dfee0fa7dd16af5ef496a5b8abf59aefe5b03
2017-01-27 14:24:31 -05:00
Wes Kocher
e88bb6a257 Merge autoland to m-c a=merge
MozReview-Commit-ID: EcBWp8VLx1x
2017-02-06 17:37:51 -08:00
Kartikaya Gupta
cfaa530dc3 Bug 1335748 - Enable QR builds on win64 on m-c and graphics. r=kmoir
MozReview-Commit-ID: KDYwa748wkz
2017-02-06 11:42:54 -05:00
Kartikaya Gupta
a3871b75b2 Bug 1335748 - Enable QR builds on macosx64 on m-c and graphics. r=kmoir
MozReview-Commit-ID: BQDcraYBJy3
2017-02-06 11:42:54 -05:00
Kartikaya Gupta
f4d5f20a60 Bug 1335748 - Enable QR builds on linux64 on m-c and graphics. r=kmoir
MozReview-Commit-ID: EB6WjIiBARv
2017-02-06 11:42:54 -05:00
Wander Lairson Costa
5e9e6df1fa Bug 1336427: add try option to run tc-worker jobs. r=dustin
-w, --taskcluster-worker: schedule taskcluster-worker jobs.

This is necessary to relieve the load of the small pool of data center
machines.

MozReview-Commit-ID: IiOLHUs2ALi

--HG--
extra : rebase_source : 96acbbd40aef856f68c7ab94ae23bcee4f2f078d
2017-02-03 16:38:51 -02:00
Greg Mierzwinski
091ab435b5 Bug 1336813 - Use transform for the run-on-projects flag in linux64-jsdcov. r=jmaher
This patch enables the use of the transform 'enable_code_coverage' to set the 'run-on-projects' for all test suites used by linux64-jsdcov. It also removes the occurences of that flag from the test definition yaml.

MozReview-Commit-ID: 66zG9MrFn2i

--HG--
extra : rebase_source : 7d2b16c5c4c0c6d8c931f7f344db745432b92412
2017-02-05 11:35:18 -05:00
Dustin J. Mitchell
53b7bc583c Bug 1334167: allow by-project for cron jobs' when property; r=Callek
This requires moving the schema utilities to their own util module.

MozReview-Commit-ID: KR5xSJ9ak5Y

--HG--
extra : rebase_source : 1c1f6bfb6a08deb8c0be4b2b58db02d85aafeb89
2017-02-01 00:30:52 +00:00
Wander Lairson Costa
56c96fa18d 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

--HG--
extra : rebase_source : b992786158851f1099aedfce8669a163228edc51
2017-02-02 09:34:43 -02:00
Wander Lairson Costa
0ad3cf17fa Bug 1334829 - Enable native-engine jobs only on try. r=dustin
--HG--
extra : rebase_source : ffabf4926e92e17557f4265cb6b457950ec4edc1
2017-01-31 12:42:00 -05:00
Kim Moir
44d6d6f60d Bug 1333155 - convert buildbot addon devel Linux64 builds to taskcluster r=mtabara 2017-01-31 10:55:44 -05:00
Wes Kocher
e457683b2d Merge m-c to autoland, a=merge
MozReview-Commit-ID: BipzgOEInZh
2017-01-30 15:54:34 -08:00
Wes Kocher
584127af5f Merge inbound to central, a=merge
MozReview-Commit-ID: 4GYZ5Pzy7BY
2017-01-30 15:44:58 -08:00
Mitchell Hentges
591e9ae130 Bug 1334402 - Don't use sccache in taskcluster builds r=gmierz,jmaher+560562
MozReview-Commit-ID: JDldupP7fZN

--HG--
extra : rebase_source : f05581ab576ab31d9e3b8f00d6d0ca3e4a819655
2017-01-27 00:21:32 -08:00