Wes Kocher
c871209b83
Merge autoland to central, a=merge
...
MozReview-Commit-ID: 5l8P3DzMNXz
2017-02-22 14:55:21 -08:00
Carsten "Tomcat" Book
20a26945dc
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
711501d98d
Backed out changeset 5ffd6c7264ce (bug 1341214)
2017-02-22 15:33:17 +01:00
Mike Hommey
c7945d8ea1
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.
2017-02-17 12:04:48 +09:00
Mike Hommey
eb5916da95
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.
2017-02-17 11:56:12 +09:00
Mike Hommey
b1ef1c8c3b
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.
2017-02-01 09:27:31 +09:00
Mike Hommey
61a753568c
Bug 1335651 - Move index_paths from DockerImageTask to the base Task class. r=dustin
...
This does slightly change the behavior when artifacts expire, in that
if for some reason the artifact for the task that was found expired,
we don't try to get the artifact from a lower level task. In practice,
that shouldn't be a concern.
2017-01-31 16:33:27 +09:00
Mihai Tabara
70a7e8b965
Bug 1305139 - schedule checksums related tasks in nightly graph. r=aki,Callek
...
MozReview-Commit-ID: 659wCXm3ob5
2017-02-07 22:44:12 -05:00
Mike Hommey
1b59835afd
Bug 1334401 - Prefer docker images from higher levels. r=jonasfj
...
Considering docker images contents depend very much on the moment they
were built, it is possible that two images with the same hash in the
taskcluster index (at different levels) have different contents. When
this happens, the build or test results could be significantly
different between e.g. try and mozilla-central, possibly leading to
misleading results at landing time.
So if for some reason multiple levels have images for the same hash, the
one used at the highest level should be prefered, such that try uses the
same as mozilla-central once mozilla-central generates the image for
that hash, even if there is an image previously generated for try.
2017-01-27 16:18:02 +09:00
Phil Ringnalda
52c56459b5
Backed out changeset 761ae4db38f4 (bug 1334401) for taskgraph-tests failure
2017-01-27 20:33:22 -08:00
Mike Hommey
aa11a1f139
Bug 1334401 - Prefer docker images from higher levels. r=jonasfj
...
Considering docker images contents depend very much on the moment they
were built, it is possible that two images with the same hash in the
taskcluster index (at different levels) have different contents. When
this happens, the build or test results could be significantly
different between e.g. try and mozilla-central, possibly leading to
misleading results at landing time.
So if for some reason multiple levels have images for the same hash, the
one used at the highest level should be prefered, such that try uses the
same as mozilla-central once mozilla-central generates the image for
that hash, even if there is an image previously generated for try.
2017-01-27 16:18:02 +09:00
Rob Wood
925da0ffe1
Bug 1333841 - Add seta timeout code to gecko decision task; r=jmaher
...
MozReview-Commit-ID: IavIAHZ1zgQ
2017-01-26 15:06:08 -05:00
Rob Wood
ffa1542b11
Bug 1340785 - SETA: Add support for TC BBB tasks; r=jmaher
...
MozReview-Commit-ID: 54UMq7OTrnR
2017-02-21 17:07:02 -05:00
Rob Wood
dc4f6115ec
Bug 1329783 - Have gecko decision task determine when to call seta; r=jmaher
...
MozReview-Commit-ID: H3hnDqS6Vgy
2017-01-19 16:00:33 -05:00
Justin Wood
55a2272fd5
Bug 1330668 - Schedule balrog submission tasks. r=dustin a=me
...
MozReview-Commit-ID: ASBDESDps8G
2017-01-12 21:01:54 -05:00
Justin Wood
8c22562045
Bug 1330668 - Schedule beetmover tasks. r=dustin
...
ToDo: attribute this cset to changes on date.
MozReview-Commit-ID: 7gl3aLGNWvP
2017-01-12 17:45:36 -05:00
Justin Wood
fb074289cc
Bug 1322041 - Sign nightly l10n jobs. r=dustin
...
Involved work which landed on the date project branch with:
* Bug 1312000, by [email protected] (https://hg.mozilla.org/projects/date/rev/79a2f66ff5c0 )
* Bug 1312500, by [email protected] (https://hg.mozilla.org/projects/date/rev/6ae07fa4b011 )
* Bug 1312585, by [email protected] (https://hg.mozilla.org/projects/date/rev/7cf267b61752 )
* Bug 1313662, by [email protected] (https://hg.mozilla.org/projects/date/rev/92f531d1cd77 )
* Bug 1314008, by [email protected] (https://hg.mozilla.org/projects/date/rev/bbc7608106c0 )
* Bug 1314847, by [email protected] (https://hg.mozilla.org/projects/date/rev/4a1231655fbb )
* Bug 1316214, by [email protected] (https://hg.mozilla.org/projects/date/rev/edae37481cab ,
https://hg.mozilla.org/projects/date/rev/62bd3371e954 ,
https://hg.mozilla.org/projects/date/rev/2cc558343951 )
* Bug 1319189, by [email protected] (https://hg.mozilla.org/projects/date/rev/4c33f8ccecf5 )
MozReview-Commit-ID: 3hadIi757jn
2016-12-13 11:43:47 -05:00
Justin Wood
57c425aefe
Bug 1322041 - Nightly l10n support, and docs. r=dustin
...
Involved work which landed on the date project branch with:
* No Bug, by [email protected] (https://hg.mozilla.org/projects/date/rev/e7af20515b1c ,
https://hg.mozilla.org/projects/date/rev/d7f0f1c6d564 ,
https://hg.mozilla.org/projects/date/rev/db530d7a4672 )
* Bug 1171738, by [email protected] (https://hg.mozilla.org/projects/date/rev/a906f6997731 ,
https://hg.mozilla.org/projects/date/rev/ada87315d4c0 ,
https://hg.mozilla.org/projects/date/rev/fbee52f145e9 ,
https://hg.mozilla.org/projects/date/rev/2939b68e59fc )
* Bug 1312000, by [email protected] (https://hg.mozilla.org/projects/date/rev/79a2f66ff5c0 )
* Bug 1312396, by [email protected] (https://hg.mozilla.org/projects/date/rev/dc06c58a5663 )
* Bug 1312585, by [email protected] (https://hg.mozilla.org/projects/date/rev/7cf267b61752 )
* Bug 1316527, by [email protected] (https://hg.mozilla.org/projects/date/rev/cc2d9365d9b9 )
* Bug 1318068, by [email protected] (https://hg.mozilla.org/projects/date/rev/7cb11cb76a09 )
* Bug 1326093, by [email protected] (https://hg.mozilla.org/projects/date/rev/f64a03d94ac7 )
MozReview-Commit-ID: Fhom5OcIWru
2017-01-06 09:13:41 -05:00
Justin Wood
6af8cc4942
Bug 1322041 - Add signing support for all nightlies. r=dustin
...
Involved work which landed on the date project branch with:
* Bug 1277579, by [email protected] (https://hg.mozilla.org/projects/date/rev/afd3823c852b ,
https://hg.mozilla.org/projects/date/rev/345f83708453 ,
https://hg.mozilla.org/projects/date/rev/8a3ed233af86 ,
https://hg.mozilla.org/projects/date/rev/0d737cf8e743 ,
https://hg.mozilla.org/projects/date/rev/e42b3d606002 ,
https://hg.mozilla.org/projects/date/rev/c3a160ac642b )
* Bug 1305096, by [email protected] (https://hg.mozilla.org/projects/date/rev/2287a2568038 )
* Bug 1277579, by [email protected] (https://hg.mozilla.org/projects/date/rev/79ceb7fa0589 )
* Bug 1306166, by [email protected] (https://hg.mozilla.org/projects/date/rev/d3fd1966095d ,
https://hg.mozilla.org/projects/date/rev/2f52061c02e6 ,
https://hg.mozilla.org/projects/date/rev/a9f52549a3c3 ,
https://hg.mozilla.org/projects/date/rev/f69efa90945a )
* Bug 1314847, by [email protected] (https://hg.mozilla.org/projects/date/rev/4a1231655fbb ,
https://hg.mozilla.org/projects/date/rev/3cd3a0d32f43 )
* Bug 1312000, by [email protected] (https://hg.mozilla.org/projects/date/rev/79a2f66ff5c0 )
* Bug 1312500, by [email protected] (https://hg.mozilla.org/projects/date/rev/6ae07fa4b011 )
* Bug 1316214, by [email protected] (https://hg.mozilla.org/projects/date/rev/edae37481cab ,
https://hg.mozilla.org/projects/date/rev/62bd3371e954 )
* Bug 1319189, by [email protected] (https://hg.mozilla.org/projects/date/rev/4c33f8ccecf5 )
* Bug 1319546, by [email protected] (https://hg.mozilla.org/projects/date/rev/70a23d243d2c )
* No Bug, by [email protected] (https://hg.mozilla.org/projects/date/rev/5d8ba3560ae9 )
* No Bug, by [email protected] (https://hg.mozilla.org/projects/date/rev/37d9733a7174 )
MozReview-Commit-ID: K1uOY4HOWPX
2016-12-21 11:21:06 -05:00
Justin Wood
5c97d49789
Bug 1322041 - Upload nightly symbols. r=dustin
...
Involved work which landed on the date project branch with (with some minor additions for this patch):
* Bug 1314345, by [email protected] (https://hg.mozilla.org/projects/date/rev/adbd9221a567 )
* Bug 1313190, by [email protected] (https://hg.mozilla.org/projects/date/rev/fc693ad74076 )
* Bug 1314073, by [email protected] (https://hg.mozilla.org/projects/date/rev/ad53900d1b67 , https://hg.mozilla.org/projects/date/rev/9c16a1693a53 , https://hg.mozilla.org/projects/date/rev/ebfd2671682b )
* Bug 1319546, by [email protected] (https://hg.mozilla.org/projects/date/rev/70a23d243d2c )
* Bug 1323485, by [email protected] (https://hg.mozilla.org/projects/date/rev/d5fbcf4aed19 )
* Bug 1324763, by [email protected] (https://hg.mozilla.org/projects/date/rev/89df88ad61ae )
* No Bug, by [email protected] (https://hg.mozilla.org/projects/date/rev/3fe8f44c7af6 )
MozReview-Commit-ID: LMIp6mc5U7w
2017-01-04 11:15:34 -05:00
Dustin J. Mitchell
c41dba3181
Bug 1316749: use taskcluster-proxy to hit index for docker image optimization; r=jonasfj
2017-01-06 22:04:56 +01:00
Sebastian Hengst
47f3840ee2
Backed out changeset 1f38938f4e9b (bug 1316749) for flake8 lint error. r=backout
2017-01-06 22:04:15 +01:00
Dustin J. Mitchell
27ad05b5e9
Bug 1316749: use taskcluster-proxy to hit index for docker image optimization; r=jonasfj
...
MozReview-Commit-ID: 9AL7HhBdjE1
2016-12-31 09:40:50 -05:00
Carsten "Tomcat" Book
3e18d75809
Backed out changeset bb576b8ab4fa (bug 1316749) on request from dustin
2017-01-04 16:11:12 +01:00
Dustin J. Mitchell
e7548eec09
Bug 1316749: use taskcluster-proxy to hit index for docker image optimization; r=jonasfj
...
MozReview-Commit-ID: 9AL7HhBdjE1
2016-12-31 09:40:50 -05:00
Dustin J. Mitchell
776aedcae7
Bug 1326544: remove redundant kind name from log messages; r=hammad13060+583205
...
MozReview-Commit-ID: DFEt4oJs3zO
2016-12-30 20:41:02 -05:00
Dustin J. Mitchell
78748b3a4b
Bug 1316877: allow 'test-sets' in test-platforms.yml; r=jmaher
...
This adds a simple layer of indirection to avoid needless repetition of long
lists of tests.
MozReview-Commit-ID: 4hHyoNMwwGy
2016-12-04 15:38:14 -05:00
CuriousLearner
f27a0ad144
Bug 1302763 - Move docker images out of testing/docker into taskcluster/docker; r=dustin r=CuriousLearner
...
MozReview-Commit-ID: 7v1uCDB5qoN
2016-10-20 18:25:34 +05:30
Hammad Akhtar
e8ff8cbded
Bug 1289779 - Make sure that different docker-image tasks use different job symbols; r=dustin
...
MozReview-Commit-ID: 2sn231bKJ1z
2016-12-13 13:39:47 +05:30
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