Commit Graph
307 Commits
Author SHA1 Message Date
Marco Castelluccio 77cccc32fa Bug 1489100 - Specify tests per suite in MOZHARNESS_TEST_PATHS. r=ahal 2018-11-15 17:54:13 +01:00
Johan Lorenzo 06117c24a2 Bug 1492245 - Switch Fennec format from jar to autograph_apk_fennec_sha1 r=mtabara
Switch Fennec format from `jar` to `autograph_apk_fennec_sha1`

Differential Revision: https://phabricator.services.mozilla.com/D12685
2018-11-22 17:09:51 +00:00
Aki Sasaki 81b020e7ba Bug 1501878 - required_signoffs attribute. r=tomprince
If a task has `required_signoffs` that match a release's `required_signoffs`, we should defer running that task until we have a matching `signoff_url`.

- add filter_out_missing_signoffs
- add transforms changes to inherit upstream `required_signoffs`
- add `mar-signing` `required_signoffs` to the `partials-signing`, `mar-signing`, and `mar-signing-l10n` kinds

Differential Revision: https://phabricator.services.mozilla.com/D11734
2018-11-20 21:26:18 +00:00
Tom Prince aeb665d94d Bug 1501878: [taskgraph] Verify that required signoffs propagate to dependent tasks; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D12041
2018-11-20 21:26:15 +00:00
Tom Prince 9fc24da1ba Bug 1507860: [taskgraph] Move most classes to use attrs; r=dustin
This moves most of the low-hanging fruit to use attrs.

Differential Revision: https://phabricator.services.mozilla.com/D1141
2018-11-21 23:50:04 +00:00
Tom Prince e5cb665282 Backed out changeset d1d4e3bf3945 (Bug 1507860) for causing decision task failures a=backout 2018-11-20 21:30:33 -07:00
Tom Prince e09b55569a Bug 1507860: [taskgraph] Move most clases to use attrs; r=dustin
This moves most of the low-hanging fruit to use attrs.

Differential Revision: https://phabricator.services.mozilla.com/D1141
2018-11-20 21:52:24 +00:00
Andreea Pavel b6d1437ae8 Backed out 7 changesets (bug 1501878) for breaking win partial generation nightlies a=backout
Backed out changeset 00f109437e82 (bug 1501878)
Backed out changeset f1843fdd4c0f (bug 1501878)
Backed out changeset af0ea80f7b08 (bug 1501878)
Backed out changeset 01311f87d287 (bug 1501878)
Backed out changeset 4e2dc6c23463 (bug 1501878)
Backed out changeset 050c4bba5d71 (bug 1501878)
Backed out changeset 9198c5a03b59 (bug 1501878)
2018-11-17 18:37:39 +02:00
Aki Sasaki 7d396d6d0f Bug 1501878 - required_signoffs attribute. r=tomprince
If a task has `required_signoffs` that match a release's `required_signoffs`, we should defer running that task until we have a matching `signoff_url`.

- add filter_out_missing_signoffs
- add transforms changes to inherit upstream `required_signoffs`
- add `mar-signing` `required_signoffs` to the `partials-signing`, `mar-signing`, and `mar-signing-l10n` kinds

Differential Revision: https://phabricator.services.mozilla.com/D11734
2018-11-16 21:04:01 +00:00
Tom Prince dc275dfcc8 Bug 1501878: [taskgraph] Verify that required signoffs propagate to dependent tasks; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D12041
2018-11-16 03:14:41 +00:00
Andreea Pavel 808a86b809 Backed out 5 changesets (bug 1498640, bug 1436037, bug 1497660, bug 1505579) for mass failures on a CLOSED TREE
Backed out changeset 914a7a899dd1 (bug 1436037)
Backed out changeset e072757bf691 (bug 1436037)
Backed out changeset b0805a8cf6eb (bug 1505579)
Backed out changeset aa32ba9e6df3 (bug 1498640)
Backed out changeset ce441b8a784c (bug 1497660)
2018-11-15 07:53:41 +02:00
Dustin J. Mitchell d347f980f8 Bug 1498640 - deploy latest image_builder image r=glandium
This uses the latest image_builder image (on docker hub) to build even the
image_builder image.

The change to `docker.py` handles a new API response (`aux`) from the Docker
daemon.  It's unclear what this key means, but displaying it is simple.

Differential Revision: https://phabricator.services.mozilla.com/D8441
2018-10-31 23:02:42 +00:00
Tom Prince 04309cb221 Bug 1506920: [taskgraph] Track parent images in docker image digests; r=dustin
The digest for a docker image task did not include the digest for the parent
image in it, and so in particular did not depend on the versions of packages
included in a parent image.

If two branches have a docker image with identical docker files, but different
parents, this would lead to them both getting the same digest, leading to
unexpected interference between the branches.

This fixes things by including the digest of the parent image as input into the
digest of child images.

Differential Revision: https://phabricator.services.mozilla.com/D11807
2018-11-14 14:29:26 +00:00
Mike Hommey 277a890d0d Bug 1486071 - Retry docker-image and packages tasks that fail during apt-get. r=dustin
When apt-get fails, it has a distinctive error code (100). Most of the
time, when apt-get fails, it's because of some network error, or
possibly some problem unpacking archives. When that happens, retrying
the task usually "fixes" the issue.

One of the (currently) most common causes of problems is
snapshot.debian.org not being available to some of the EC2 instances.

It would be possible to only set things up so that we only retry when we
detect such setup (checking the public IP of the instance is not in the
known list of problematic IPs), but that would require possibly wrapping
apt-get, or something along those line, which is not entirely trivial to
do for the packages tasks, because they don't rely on docker images.

However, since there aren't many apt-get failures other than these,
and since there have been, historically, some intermittent apt-get
failures of a different nature that were solved by re-running the tasks,
it seems fair to just retry wheneven apt-get fails.

One downside of the approach is that if for some reason a change to a
Dockerfile ends up mentioning a package that doesn't exist, that too
will result in multiple retries ; which might be inconvenient, but
that's not something that's going to happen often.

Differential Revision: https://phabricator.services.mozilla.com/D11420
2018-11-13 22:17:14 +00:00
Joel Maher acce9ecc04 Bug 1505167 - run raptor tests on reference laptops for mozilla-central and try. r=rwood
Run raptor tests on reference laptops for mozilla-central and try

Differential Revision: https://phabricator.services.mozilla.com/D11115
2018-11-13 19:21:18 +00:00
Justin Wood a7d73751ef Bug 1475510 - Use locale from dep job attributes. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D9333
2018-11-07 17:44:15 +00:00
shindli cd0140d68f Backed out changeset f33b9e6aca06 (bug 1498640) for mda permafailures with "Error in test execution: NotFoundError: The object can not be found here." message 2018-11-01 06:20:05 +02:00
Dustin J. Mitchell fd0132a8ea Bug 1498640 - deploy latest image_builder image r=glandium
This uses the latest image_builder image (on docker hub) to build even the
image_builder image.

The change to `docker.py` handles a new API response (`aux`) from the Docker
daemon.  It's unclear what this key means, but displaying it is simple.

Differential Revision: https://phabricator.services.mozilla.com/D8441
2018-10-31 23:02:42 +00:00
Johan Lorenzo 11665b9d0a Bug 1500897 - geckoview: only spin beetmover tasks on GECKOVIEW_XX_RELBRANCH r=dustin,tomprince
geckoview: only spin beetmover tasks on GECKOVIEW_XX_RELBRANCH

Differential Revision: https://phabricator.services.mozilla.com/D9551
2018-10-29 11:11:46 +00:00
Narcis Beleuzu 86c5949e5a Backed out changeset deb0260b33c1 (bug 1500897) for taskgraph test failure 2018-10-29 12:18:13 +02:00
Johan Lorenzo 5e801b0e4b Bug 1500897 - geckoview: only spin beetmover tasks on GECKOVIEW_XX_RELBRANCH r=dustin,tomprince
geckoview: only spin beetmover tasks on GECKOVIEW_XX_RELBRANCH

Differential Revision: https://phabricator.services.mozilla.com/D9551
2018-10-26 16:36:49 +00:00
Tom Prince b3f2ff0017 Bug 1501776: [taskgraph] Apply extra taskgraph checks to when extending schemas; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D9720
2018-10-25 00:37:50 +00:00
arthur.iakab 3022377646 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-10-24 01:22:06 +03:00
Tom Prince 176e5fdc1a Bug 1497575: [taskgraph] Handle missing value in by-* gracefully; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D8330
2018-10-17 17:15:52 +00:00
Dragos Crisan 2a30840701 Bug 1474570 - migrate talos linux tasks to run using generic-worker and use worker type gecko-t-linux-talos,r=pmoore 2018-10-23 10:53:34 +03:00
Mihai Tabara f9bc055729 Bug 1475101 - add mark-as-started task. r=rail a=release 2018-09-12 08:58:52 -04:00
Tom Prince bc45586604 Bug 1498019: [release] Don't handle beetmover scopes by target task; r=aki
- `beetmover-cdns` should always use `:beetmover:action:push-to-releases`,
  not every task that happens to be part of the push graph.
- All other beetmover scopes only change depending whether the builds is
  a nightly build, or on a production branch.

Differential Revision: https://phabricator.services.mozilla.com/D8304
2018-10-11 04:23:52 +00:00
Tom Prince 24b2d0346d Bug 1498019: [release] Don't set shipping phase based on target_tasks; r=aki
The phase of a task doesn't depend on which phase graph it is being generated in.

Differential Revision: https://phabricator.services.mozilla.com/D8303
2018-10-10 23:08:18 +00:00
Dustin J. Mitchell be080503c2 Bug 1491186: sanity check action scopes r=aki,tomprince
This provides a modicum of assurance that, for example, a non-generic action is
not being run with generic scopes. While scopes would prevent any serious
damage from such an action, this provides an extra layer of security to prevent
such abuse.

Differential Revision: https://phabricator.services.mozilla.com/D6271
2018-09-19 19:13:45 +00:00
Dragos Crisan 548df20895 Bug 1474570 - migrate talos linux tasks from worker type gecko-t-linux-talos to gecko-t-linux-talos-tw,r=pmoore 2018-09-19 11:55:36 +03:00
Tom Prince c33df04488 Bug 1473416: [release] Use dep googleplay scope on non-release branches; r=jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D5600
2018-09-12 08:32:15 +00:00
Johan Lorenzo 5c52fa6121 Bug 1488127 - Make 52 -> 60 updates signed with the old mar scheme (instead of mar_384)
Make 52 -> 60 updates signed with the old mar scheme (instead of mar_384)

Differential Revision: https://phabricator.services.mozilla.com/D5244
2018-09-07 10:18:21 +00:00
Tom Prince 4411bd840b Bug 1481121: [release] Record signed artifacts in release-artifacts; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D3815
2018-08-20 12:29:58 -06:00
Tom Prince 5a0d936eb1 Bug 1484264: [mozharness] Move repacakge config from mozharness to taskcluster; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D3624
2018-08-17 09:40:57 -06:00
Dustin J. Mitchell 6d381ffec0 Bug 1398277: special-case retriggering of tasks not in the taskgraph; r=bstack
This will apply to cron tasks, action tasks, and decision tasks.  It is a
distinct retrigger implementation because (a) we do not want to follow
dependencies, and (b) it takes a lot of scopes to create a decision task, so we
need to limit access to this action.

MozReview-Commit-ID: 21DVSiagcrO
2018-07-04 02:46:59 +00:00
Tom Prince c774ed0087 Bug 1477706: [test-verify] Move logic for finding locally changed files to a helper; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D2731
2018-08-03 10:07:04 -06:00
Tom Prince 7d22fab087 Bug 1477706: [test-verify] When asked to generate a taskgraph quickly, guess the number of chunks; r=ahal
When iterating on taskgraph changes, the exact number of chunks that
test-verify runs usually isn't important, so skip it when going fast.

Differential Revision: https://phabricator.services.mozilla.com/D2730
2018-08-03 10:34:56 -06:00
Tom Prince 98151c6529 Bug 1477706: [test-verify] Only look at locally changed files on try and in try-select; r=ahal
The taskgraph code for test-verify currently looks at locally changed files to
determine how many chunks should be run. This code exists so that
`mach try fuzzy` show the same chunks that would be run on a try push.

This changes it, so that local commts are only considered on try and when
called from try-select. This makes generating the taskgraph locally faster,
when not using `mach try`. It also makes test-verfiy not consider too many
files, if the try push happens to contain commits that have landed but havent
been pushed to try yet (i.e. the first push to try after a merge, or beta try
pushes).

Differential Revision: https://phabricator.services.mozilla.com/D2698
2018-08-03 10:26:17 -06:00
Geoff Brown 7d6f6b8e5d Bug 1460411 - Add taskcluster config support for Android x86 7.0 tests on packet.net in docker-worker; r=jmaher 2018-08-07 10:05:38 -06:00
Tom Prince 9dc7d48db2 Bug 1421062: [release] Enable production scriptworkers on comm-beta and comm-esr60; r=me 2018-07-13 11:03:37 -06:00
Simon Fraser 14b34fd636 Bug 1453253 - Taskgraph support for balrog esr60/jamun tasks p=sfraser r=aki 2018-04-19 17:13:59 +01:00
Christian Holler cbd1d1f203 Bug 1478312 - Fix platform string for Windows ASan Nightly Reporter builds. r=catlee 2018-07-25 13:01:06 +02:00
Christian Holler 8af1bb95f9 Bug 1473259 - Windows updates for ASan reporter nightly build. r=catlee
MozReview-Commit-ID: 6DQD5DnzyqB
2018-07-03 23:41:31 +02:00
Dustin J. Mitchell 7bd1e57433 Bug 1472777: add create-interactive action; r=bstack
The resulting action task isn't useful to the user, so instead we send an email
containing a link to the interaction console.

MozReview-Commit-ID: 5uHnQo9WTF6
2018-07-02 20:24:16 +00:00
Ciure Andrei c481e3e838 Backed out 1 changesets (bug 1472777) for linting failures create_interactive.py CLOSED TREE 2018-07-03 04:25:03 +03:00
Dustin J. Mitchell 02727a7bae Bug 1472777: add create-interactive action; r=bstack
The resulting action task isn't useful to the user, so instead we send an email
containing a link to the interaction console.

MozReview-Commit-ID: 5uHnQo9WTF6
2018-07-02 20:24:16 +00:00
Nick Thomas 89580a2129 Bug 1471767 - taskcluster documentation fixes, r=dustin
Assorted fixes from trawling the sphinx logs - malformed formatting, broken references, leftovers from renaming action-task to action-callback and removing
yaml-templates, docstring fixes to make sphinx happier, and typos.

MozReview-Commit-ID: 6jUOljdLoE2
2018-06-27 21:48:10 +12:00
Nick Thomas 76e74f3de9 Bug 1355482 - documentation cleanups for release promotion, r=aki
Various fixes for the docs to make docs better and sphinx happier
* remove unused targets which were duplicated in  balrog, partials
* fix up malformed targets and links
* convert docstrings to comments so sphinx ignores example response in utils/partials.py
* section underlines should match titles

MozReview-Commit-ID: GSYqsocBC4I
2018-06-27 17:42:08 +12:00
Margareta Eliza Balazs e3449ea5a3 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-26 12:24:32 +03:00
Gregory Szorc 61b22ffc3d Bug 1469999 - Use yaml.safe_load() in taskgraph; r=dustin
yaml.load() can evaluate arbitrary Python code via syntax such as
`!!python/object/apply:os.system`. Seriously.

Let's switch taskgraph to yaml.safe_load(), which is reasonable
about limiting magic.

Differential Revision: https://phabricator.services.mozilla.com/D1736
2018-06-25 21:34:30 +00:00