Commit graph

467 commits

Author SHA1 Message Date
Aki Sasaki
db6510e6be Bug 1728330 - remove pushsnap tasks. r=releng-reviewers,bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D124411
2021-09-03 18:14:31 +00:00
Andrew Halberstadt
aac357d350 Bug 1726573 - [taskgraph] Remove remaining uses of 'six', r=taskgraph-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D123235
2021-08-24 19:35:47 +00:00
Andrew Halberstadt
d024a31639 Bug 1726573 - Run 'pyupgrade --py36-plus' on taskcluster/taskgraph directory, r=taskgraph-reviewers,bhearsum
This patch was generated via:

  $ pyupgrade --py36-plus $(find taskcluster/taskgraph -name "*.py" -type f)
  $ autoflake --remove-all-unused-imports -i $(find taskcluster/taskgraph -name "*.py" -type f)

The same set of commands are being applied to standalone taskgraph as well so
they remain in sync.

Differential Revision: https://phabricator.services.mozilla.com/D123234
2021-08-24 19:35:46 +00:00
Julien Cristau
b21406c612 Bug 1716793 - add a maxRunTime for notarization-poller jobs. r=aki
As of https://github.com/mozilla-releng/scriptworker-scripts/pull/369
the notarization_poller worker can stop tasks after a certain amount
of time.

Differential Revision: https://phabricator.services.mozilla.com/D118018
2021-08-24 07:18:50 +00:00
Aki Sasaki
eede91443b Bug 1720974 - move balrog behavior to payload instead of scope. r=releng-reviewers,ahal,bhearsum DONTBUILD
Balrogscript already supports specifying the task behavior via
task.payload.behavior:
6707ccf227/balrogscript/src/balrogscript/task.py (L27-L45)

Let's make that the default, and deprecate using scopes.

Differential Revision: https://phabricator.services.mozilla.com/D120126
2021-07-19 18:43:55 +00:00
Aki Sasaki
0d46cbdc54 Bug 1689232 - sign mac openh264 on mac r=bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D103425
2021-02-01 21:12:19 +00:00
Andreea Pavel
425a0f1be9 Backed out changeset 292d5c030eff (bug 1689232) on suspicion of cause macOS startup crashes (bug 1689807) a=backout 2021-01-30 16:46:35 +02:00
Aki Sasaki
28ce0f37e8 Bug 1689232 - sign mac openh264 on mac r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D103425
2021-01-29 20:47:52 +00:00
Mike Hommey
eb485ced35 Bug 1677020 - Always cap try tasks to a 28 days expiry. r=taskgraph-reviewers,jmaher
Currently, if a task defines its own expiry with a very large value,
that will be respected even on try, where we actually don't want that to
happen.

This also helps simplify the setup for docker images.

We also take on the occasion to remove the discrepancy between the
default expiry for tasks in general and tests in particular. Bug 1258497
set the original expiry to 14 days, bug 1281004 added another place
where the expiry was set to 14 days for tests specifically, and then bug
1304180 changed the expiry to 28 days, but it just seems the location
for tests was overlooked rather than deliberately left to 14 days.

Differential Revision: https://phabricator.services.mozilla.com/D96962
2020-11-16 23:51:22 +00:00
Ricky Stewart
02a7b4ebdf Bug 1654103: Standardize on Black for Python code in mozilla-central.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara
da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart
c0cea3b0fa Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Alex Lopez
1508f89c46 Bug 1600916 - Change version field on geckoview beetmover to valid Maven version. r=jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D93882
2020-10-22 08:26:13 +00:00
Dorel Luca
1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart
50762dacab Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Mike Hommey
93b282a460 Bug 1651538 - Relabel docker images with the prefix "docker-image" instead of "build-docker-image". r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D82807
2020-10-09 00:07:56 +00:00
Justin Wood
220c75d1e4 Bug 1634757 - Use v2 actions for balrog submittal. r=releng-reviewers,aki DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D73498
2020-09-16 02:36:04 +00:00
Rob Lemley
142c37fe5d Bug 1661493 - Support extending OptimizationSchema in taskgraph projects. r=taskgraph-reviewers,ahal
In order for Thunderbird to effectively cut down on excess builds, there needs
to be a way to define taskgraph optimization strategies beyond what is made
available in the mozilla repository.
taskgraph.optimize.register_strategy gets half of the job done. The other piece
is task schema validation which checks optimizations against OptimizationSchema.

OptimizationSchema gets moved to taskgraph.optimize.schema so that it is not set
too early by taskgraph.util.schema. Projects then call set_optimization_schema()
to replace the default schema object. set_optimization_schema() needs to be called
in the project's taskgraph:register function before any transform code is loaded.

Differential Revision: https://phabricator.services.mozilla.com/D88429
2020-09-15 23:08:52 +00:00
Andrew Halberstadt
e07398454b Bug 1659187 - [taskgraph] Implement a mechanism to only run tasks when a specified dependency is present, r=bhearsum
Certain tasks are meant to perform follow-up work to another task. For example,
a 'signing' task signs an artifact from a dependency task. An 'upload-symbols'
tasks uploads an artifact from a dependency task.

In general, we only want to run these types of tasks when the dependency task
is running. But in practice, these tasks often cause the dependency to get
pulled in.

We've tried to fix this in the past by making the 'run-on-projects' and
'optimization' keys match their primary dependency. But it's very easy to
mess this up, and some optimizations (like bugbug) take the content of the
task definition into account. So even if both tasks use the same optimization,
they could have different results.

This revision adds a new 'if-dependencies' key that denotes a task that should
only run if one of the dependencies specified in this list is also run. It
will allow us to stop playing whack-a-mole when trying to make sure tasks
aren't being pulled in solely due to these types of dependencies.

This feature is implemented independently of the 'optimization', so tasks that
specify this can still be optimized even if their primary dependency does run.

Differential Revision: https://phabricator.services.mozilla.com/D80508
2020-08-27 20:45:33 +00:00
Aki Sasaki
16c7337f1e Bug 1600657 - l10n-bumper should use the latest revisions. r=releng-reviewers,bhearsum DONTBUILD
- disable esr l10n-bumper on 81
- use l10n-repo-url instead of revision-url (l10n-central instead of elmo)

Differential Revision: https://phabricator.services.mozilla.com/D87693
2020-08-21 03:14:19 +00:00
Narcis Beleuzu
6cc48251bb Backed out changeset 3755692f8d5f (bug 1649987) as per glandium req 2020-08-19 10:32:09 +03:00
Joel Maher
955e4bc421 Bug 1649987 - Set default task expiry to 12 weeks r=bhearsum
Set default task expiry for artifacts

Differential Revision: https://phabricator.services.mozilla.com/D87496
2020-08-18 20:39:58 +00:00
Mihai Alexandru Michis
df36200714 Backed out changeset d244e80dc826 (bug 1649987) for causing builds to fail as exceptions.
CLOSED TREE
2020-08-13 17:56:12 +03:00
Chris AtLee
08158e2184 Bug 1649987: Set default task expiry to 12 weeks r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D82229
2020-08-12 20:54:39 +00:00
Bogdan Tara
c203033e7b Backed out changeset 49da43027193 (bug 1649987) for gecko decision bustage CLOSED TREE 2020-08-12 18:18:23 +03:00
Chris AtLee
547fc35411 Bug 1649987: Set default task expiry to 12 weeks r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D82229
2020-08-12 14:51:05 +00:00
Tom Prince
e74feb3286 No bug: [taskgraph] Remove unused scriptengine-autophone worker support; r=bc DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D84046
2020-08-04 17:59:27 +00:00
Tom Prince
7c05ff5c43 Bug 1653717: [taskgraph] Handle composite description nicely; r=Callek
When links to specific tasks in treeherder was added to the description in
Bug 1630710, This caused the descriptions for several derived tasks to include
the `{'task-reference': '...'}` wrapper in the derived description. This is
in addition to the already duplicate links to treeherder those tasks had.

To ameliorate this issue, keep track of the original description without the
treeherder link and use that in derived tasks.

Differential Revision: https://phabricator.services.mozilla.com/D84047
2020-07-18 15:59:27 +00:00
Tom Prince
a22772e2a2 Bug 1626058: Build docker images with kaniko, instead of dind; r=glandium,hwine
Differential Revision: https://phabricator.services.mozilla.com/D77864
2020-07-07 19:53:32 +00:00
Tom Prince
7ed26bf1c6 Bug 1637544: Rename needs-sccache to use-sccache; r=glandium
I'm going to change this from being autodected, to specified explicitly, and so
`use-sccache` better captures the meaning.

Differential Revision: https://phabricator.services.mozilla.com/D82483
2020-07-07 16:39:33 +00:00
Mihai Alexandru Michis
5acb93239f Backed out 3 changesets (bug 1637544) for causing gecko decision task bustages.
CLOSED TREE

Backed out changeset 93b955e5c048 (bug 1637544)
Backed out changeset be0717d76643 (bug 1637544)
Backed out changeset 447fea64b68d (bug 1637544)
2020-07-07 19:31:41 +03:00
Tom Prince
8a8dbbb549 Bug 1637544: Rename needs-sccache to use-sccache; r=glandium
I'm going to change this from being autodected, to specified explicitly, and so
`use-sccache` better captures the meaning.

Differential Revision: https://phabricator.services.mozilla.com/D82483
2020-07-07 08:39:19 +00:00
Tom Prince
b89d332bae No bug: Don't include push-id in treeherder routes; r=aki
Treeherder ignores this.

Differential Revision: https://phabricator.services.mozilla.com/D82251
2020-07-03 23:37:49 +00:00
Tom Prince
78f88bf76b Bug 1649356: [taskgraph] We do not honour voluptuous default values, so don't specify them; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D81655
2020-06-30 14:10:36 +00:00
Tom Prince
9d6432258c Bug 1630710: Add link to specfic as specific task in treeherder; r=Callek
Since treeherder added support for linking to a specific task, lets make use of
it in taskgraph.

Differential Revision: https://phabricator.services.mozilla.com/D76049
2020-06-11 23:45:58 +00:00
Tom Prince
8073961f7e Bug 1641971: [taskgraph] Use task-reference to refer to the decision task in task; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D77552
2020-06-03 02:35:00 +00:00
Tom Prince
01e244f62c Bug 1641971: Allow making references to a task itself in the task definition; r=Callek
This is to support linking to the a specific task in taskcluster.

Differential Revision: https://phabricator.services.mozilla.com/D77529
2020-06-03 02:35:14 +00:00
Narcis Beleuzu
479c45bbea Backed out 7 changesets (bug 1641971) for breaking Gecko Decision Task opt . CLOSED TREE
Backed out changeset a039e60a26d2 (bug 1641971)
Backed out changeset e7d4c490c31a (bug 1641971)
Backed out changeset f2322981b294 (bug 1641971)
Backed out changeset d123b08d2c20 (bug 1641971)
Backed out changeset 57772c0b9b3e (bug 1641971)
Backed out changeset 11a887f73dbb (bug 1641971)
Backed out changeset e9c7a59d4bc5 (bug 1641971)
2020-06-03 05:30:51 +03:00
Tom Prince
6f0a7bbba6 Bug 1641971: [taskgraph] Use task-reference to refer to the decision task in task; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D77552
2020-06-02 18:23:23 +00:00
Tom Prince
de6126516d Bug 1641971: Allow making references to a task itself in the task definition; r=Callek
This is to support linking to the a specific task in taskcluster.

Differential Revision: https://phabricator.services.mozilla.com/D77529
2020-06-02 18:22:55 +00:00
Justin Wood
3f24c1f0f0 Bug 1617481 - Remove nightly index's. r=aki
They only really worked for promoted builds when the build was generated on the nightly cron anyway.

Differential Revision: https://phabricator.services.mozilla.com/D74509
2020-05-21 16:30:11 +00:00
Justin Wood
27e43125b2 Bug 1623355 - Part 8/9 - Set new shippable index's for Android shippable builds. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D74360
2020-05-21 16:29:48 +00:00
Narcis Beleuzu
da52584dcb Backed out 13 changesets (bug 1636637, bug 1623355, bug 1636635, bug 1617481) buid signing failures. CLOSED TREE
Backed out changeset 1b340fa71d16 (bug 1617481)
Backed out changeset 607d65d6e48a (bug 1617481)
Backed out changeset d3b4ed0caa09 (bug 1636637)
Backed out changeset bff6ecc8bb12 (bug 1636637)
Backed out changeset 12774c2e7cfc (bug 1636635)
Backed out changeset f94e3f8179a5 (bug 1623355)
Backed out changeset 001eb6623a75 (bug 1623355)
Backed out changeset 87331010321a (bug 1623355)
Backed out changeset fd76f6bc0797 (bug 1623355)
Backed out changeset b4ffd5ccbfc7 (bug 1623355)
Backed out changeset 888df247ba6e (bug 1623355)
Backed out changeset dc3076515342 (bug 1623355)
Backed out changeset de5f01ae37fa (bug 1623355)
2020-05-18 21:37:31 +03:00
Justin Wood
ecc9bdc401 Bug 1617481 - Remove nightly index's. r=aki
They only really worked for promoted builds when the build was generated on the nightly cron anyway.

Differential Revision: https://phabricator.services.mozilla.com/D74509
2020-05-18 14:41:17 +00:00
Justin Wood
85ded20c61 Bug 1623355 - Part 7/8 - Set new shippable index's for Android shippable builds. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D74360
2020-05-18 14:41:00 +00:00
Justin Wood
d55e3df106 Bug 1623081 - Remove unused Fennec-only android release/nightly tasks. r=jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D67152
2020-05-18 14:37:12 +00:00
Wander Lairson Costa
ea1c1973c0 Bug 1635877: move all android-em tests to AWS baremetal r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D74166
2020-05-08 01:56:55 +00:00
Simon Fraser
f15beb98d7 Bug 1626933 Support bump_esr action in merge automation action r=jlorenzo
The action now requires a 'behavior' and not a 'merge_flavor'. An example log is https://firefox-ci-tc.services.mozilla.com/tasks/Qzsu8CY2QnylZSpO66Dy-g/runs/0/logs/https%3A%2F%2Ffirefox-ci-tc.services.mozilla.com%2Fapi%2Fqueue%2Fv1%2Ftask%2FQzsu8CY2QnylZSpO66Dy-g%2Fruns%2F0%2Fartifacts%2Fpublic%2Flogs%2Fesr68.diff

Differential Revision: https://phabricator.services.mozilla.com/D69425

--HG--
extra : moz-landing-system : lando
2020-04-03 10:36:42 +00:00
James Graham
28b1ea3d10 Bug 1624280 - Add support for routes in try_task_config.json, r=ahal
This adds an optional routes key to the task_task_config schema,
 which is a list of strings. Anything in this key is added to the list
of routes for tasks scheduled by the decision task.

Differential Revision: https://phabricator.services.mozilla.com/D67827

--HG--
extra : moz-landing-system : lando
2020-04-01 09:18:37 +00:00
Geoff Brown
534483c227 Bug 1177545 - Remove automation.py.in entirely; r=egao,bc
Remove the remainder of automation.py.in and the build support for generating
automation.py.
Some of this functionality was in use, especially for android tests.
Some code was moved or re-implemented in remoteautomation.py or in the affected
harness(es). Some features were removed: There are some minor changes in behavior.
For instance, instead of using a different server startup timeout for debug builds,
one value is used for all builds (due to performance improvements over time,
the longer timeout is no longer needed).

Differential Revision: https://phabricator.services.mozilla.com/D66839

--HG--
extra : moz-landing-system : lando
2020-03-17 19:06:34 +00:00