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

67 Коммитов

Автор SHA1 Сообщение Дата
Andrew Halberstadt 95449daa6d Bug 1732723 - Rename "taskgraph" Python module to "gecko_taskgraph". r=jmaher
For a long time two copies of the 'taskgraph' module have existed in parallel.
We've attempted to keep them in sync, but over time they have diverged and the
maintenance burden has increased.

In order to reduce this burden, we'd like to re-join the two code bases. The
canonical repo will be the one that lives outside of mozilla-central, and this
module will depend on it. Since they both have the same module name (taskgraph)
we need to rename the version in mozilla-central to avoid collisions.

Other consumers of 'taskgraph' (like mobile repos) have standardized on
'<project>_taskgraph' as their module names. So replicating that here as well.

Differential Revision: https://phabricator.services.mozilla.com/D127118
2021-09-30 09:50:08 -04:00
Mike Hommey 6474710c7a Bug 1724522 - Split wasi-sysroot in two separate toolchains. r=firefox-build-system-reviewers,mhentges
The wasi-sysroot toolchain contains both a sysroot for wasi and a
compiler-rt for clang. That makes it impractical to use as a
bootstrapped sysroot for wasm32-wasi builds of Spidermonkey.

We thus split the toolchain in two, one for the compiler-rt and one
for the sysroot. Ideally, the compiler-rt one would avoid building
clang/llvm the same way the sysroot one does, but that leads to
a case of chicken-and-egg, because the compiler-rt is needed to build
the clang toolchain. Eventually, the clang build would be split from
the addition of the compiler-rt, but we're not there yet.

Differential Revision: https://phabricator.services.mozilla.com/D122402
2021-08-13 07:07:45 +00:00
Mike Hommey 6a6c2f5079 Bug 1720828 - Switch wasm sandboxing Linux x64 and Mac x64 builds from lucet to wasm2c. r=shravanrn,firefox-build-system-reviewers,andi
Still allow to explicitly opt-in lucetc with a non-empty LUCETC value.

Differential Revision: https://phabricator.services.mozilla.com/D120668
2021-08-04 21:37:45 +00:00
Alexandru Michis d0864df559 Backed out changeset 93c0dc15cc3b (bug 1720828) for causing xpcshell failures in test_hunspell.js 2021-07-30 19:21:46 +03:00
Mike Hommey c07cacf0ad Bug 1720828 - Switch wasm sandboxing Linux x64 and Mac x64 builds from lucet to wasm2c. r=shravanrn,firefox-build-system-reviewers,andi
Still allow to explicitly opt-in lucetc with a non-empty LUCETC value.

Differential Revision: https://phabricator.services.mozilla.com/D120668
2021-07-30 12:03:52 +00:00
Mike Hommey 162f9b6800 Bug 1719229 - Rename the bootstrappable sysroot toolchains. r=firefox-build-system-reviewers,andi
In cross-compilation setups (x86_64 host, i686 or aarch64 target), we're
going to need two sysroots. Obviously, we need the sysroot paths to be
different in that case, so the sysroot path themselves need to contain
some distinctive name, and we'll use the `target.toolchain` name for
that (the target triplet with the vendor/machine stripped out).

Because the path name needs to be reflected in the artifact name as well
as the toolchain name, we also change them.

And because the current prefix in the toolchain name is now redundant
with the suffix, we remove the prefix, and allow the bootstrapping
mechanism to try toolchains without the prefix.

Differential Revision: https://phabricator.services.mozilla.com/D119846
2021-07-14 08:54:43 +00:00
Mike Hommey 8da6bc9f03 Bug 1719229 - Don't replace _ with - in toolchain names to bootstrap. r=firefox-build-system-reviewers,andi
This was originally done to avoid renaming the dump_syms toolchain, but
is going to cause problems for the next change.

Differential Revision: https://phabricator.services.mozilla.com/D119845
2021-07-14 08:54:42 +00:00
Andrew Osmond 89a5777c5b Bug 1715306 - Rename Valgrind job to reflect running with Software WebRender. r=jmaher
Bug 1715132 ended up switching the Valgrind jobs to run with Software
WebRender. Let's explicitly mark the task as running with WebRender and
set the prefs to make this clear.

Differential Revision: https://phabricator.services.mozilla.com/D117188
2021-06-08 21:42:02 +00:00
Mike Hommey e3fdb7209c Bug 1694784 - Switch Linux builds to using sysroots. r=firefox-build-system-reviewers,andi,sheehan,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D106353
2021-03-02 02:06:37 +00:00
Andrew Halberstadt 455f1d3e89 Bug 1656465 - [taskgraph.optimize] Rename 'push-interval-{10,20}' strategies to 'expanded' and 'backstop' respectively, r=marco
This removes the last uses of the 'push-interval-10' and 'push-interval-20' strategies.
They are being removed because they are dangerous in that its easy to accidentally not run
tasks when they should.

Instead, task authors should decide whether they want their tasks to run on
"backstop" pushes (run everything) or "expanded" pushes (run more than usual,
but still not as much as a backstop). Note that using "expanded" means the task
will *also* run on backstop pushes. It'll just additionally run on "expanded"
pushes.

In practice 'backstop' pushes will be every 20th push and 'expanded' pushes
will be every 10th push. Though this may vary due to the time component in
backstops.

Differential Revision: https://phabricator.services.mozilla.com/D89503
2020-09-10 14:47:02 +00:00
Cosmin Sabou 1d24c0738c Bug 1641928 - Add linux64-dump-syms to valgrind/kind.yml. r=froydnj CLOSED TREE 2020-07-21 23:23:24 +03:00
Tom Prince cfe40e25ca Bug 1637544: Set `use-sccache` explicitly, rather than based on an sccache toolchain being provided; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D82484
2020-07-07 16:39:31 +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 2d287e7d96 Bug 1637544: Set `use-sccache` explicitly, rather than based on an sccache toolchain being provided; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D82484
2020-07-07 08:39:20 +00:00
Mike Hommey 81697e521f Bug 1632735 - Upgrade valgrind builds to the same rust version as other builds. r=erahm
And add suppressions for the new errors that this adds to the valgrind
run. It's not clear if it's a legitimate thing that LLVM does that
valgrind doesn't cope with, like many others, but the fact is running
valgrind on a PGO/LTO build doesn't show these errors, so we're not
actually shipping them anyways (but does show _different_ errors that we
don't see on the build the valgrind jobs do)

Differential Revision: https://phabricator.services.mozilla.com/D81016
2020-06-25 22:29:59 +00:00
Andrew Halberstadt 191a0b1695 Bug 1641131 - [taskgraph] Fix the 'push-interval-*' schema to not require an argument, r=jmaher
The Backstop optimization doesn't take any arguments, yet the schema for 'push-optimization-*'
requires a 'schedules-component' that goes ignored. Fix this.

Differential Revision: https://phabricator.services.mozilla.com/D77058
2020-06-05 15:38:24 +00:00
Bogdan Tara c72f5589b1 Backed out changeset 2c18e64584af (bug 1641131) for gecko decision task bustage CLOSED TREE 2020-05-29 18:33:23 +03:00
Andrew Halberstadt bd5660af34 Bug 1641131 - [taskgraph] Fix the 'push-interval-*' schema to not require an argument, r=jmaher
The Backstop optimization doesn't take any arguments, yet the schema for 'push-optimization-*'
requires a 'schedules-component' that goes ignored. Fix this.

Differential Revision: https://phabricator.services.mozilla.com/D77058
2020-05-29 14:48:07 +00:00
Sebastian Hengst cc52ab7df9 Backed out 3 changesets (bug 1641131) for gecko decision task bustage. CLOSED TREE
Backed out changeset 6f3a65196d88 (bug 1641131)
Backed out changeset 2e034897a64f (bug 1641131)
Backed out changeset 48e73dbc588e (bug 1641131)
2020-05-29 10:26:05 +02:00
Andrew Halberstadt edd18338b6 Bug 1641131 - [taskgraph] Fix the 'push-interval-*' schema to not require an argument, r=jmaher
The Backstop optimization doesn't take any arguments, yet the schema for 'push-optimization-*'
requires a 'schedules-component' that goes ignored. Fix this.

Differential Revision: https://phabricator.services.mozilla.com/D77058
2020-05-27 16:22:27 +00:00
Mike Hommey e062c7cbfd Bug 1632723 - Update builders to rustc 1.43. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D72771
2020-04-29 21:21:36 +00:00
Bob Clary ecd63e101e Bug 1621764 - Apply push-interval strategies for linux, windows plain and aarch64 builds, r=jmaher.
This patch uses the new push-interval-10 to schedule the linux, windows plain and aarch64
builds on autoland every 10th push.

Tested locally with a local checkout whose pushlog_id was not divisible
by 10 using parameters.yml downloaded from the Gecko Decision Task using

./mach taskgraph optimized --verbose --parameters /tmp/parameters.yml

parameters.yml from autoland showed the following optimizations.

 0:56.13 PushIntervalStrategy: Removing task build-linux64-aarch64/opt interval 10
 0:56.13 PushIntervalStrategy: Removing task build-linux64-plain/debug interval 10
 0:56.13 PushIntervalStrategy: Removing task build-signing-win64-aarch64/opt interval 10
 0:56.13 PushIntervalStrategy: Removing task build-win64-aarch64/debug interval 10
 0:56.13 PushIntervalStrategy: Removing task build-win64-plain/debug interval 10
 0:56.18 PushIntervalStrategy: Removing task valgrind-linux64-valgrind/opt interval 10

while parameters.yml from mozilla-central did not show any PushIntervalStrategy
optimizations.

Differential Revision: https://phabricator.services.mozilla.com/D70182
2020-04-24 19:08:40 +00:00
Wander Lairson Costa 7dfb4e5ccb Bug 1614855: Run valgrind builds in AWS r=froydnj
GCE instances use Ubuntu 18.04, which is known to cause issues in
valgrind builds (Bug 1545094), while EC2 uses Ubuntu 14.04.

Move valgrind builds back to GCE to avoid perma fail of these jobs.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 11:15:56 +00:00
Nathan Froyd 14178935f1 Bug 1608428 - rename lucetc toolchain task; r=rstewart
We're going to build `lucetc` for other platforms; let's prefix this
task with the platform name like we do for other toolchains.

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

--HG--
extra : moz-landing-system : lando
2020-01-10 16:21:40 +00:00
Nathan Froyd 9be53fe0cd Bug 1605875 - add lucetc/wasi-sysroot toolchains to more linux64 builds; r=firefox-build-system-reviewers,rstewart
Some of these were busted in the initial push for wasm sandboxing; some
of these didn't break in that push, but seem likely to if/when we have
more complete coverage of turning on wasm sandboxing.

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

--HG--
extra : moz-landing-system : lando
2019-12-26 14:19:00 +00:00
Mike Hommey ace4568daa Bug 1573435 - Use toolchain fetches for all remaining toolchain uses, part 2. r=nalexander
This part removes the use_toolchains transform, and adjusts all task
definitions accordingly.

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

MANUAL PUSH: avoid closing autoland while docker images and toolchains
are rebuilt.
2019-08-15 11:22:23 +09:00
Tom Prince 85e8be2031 Bug 1550816: Enforce consistent indenting in taskcluster yaml; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D30684

--HG--
extra : moz-landing-system : lando
2019-05-10 21:19:48 +00:00
Tom Prince e0ca5b4dd8 Bug 1532783: [taskgraph] Switch to using worker aliases for docker-worker and generic-worker; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D24238

--HG--
extra : moz-landing-system : lando
2019-04-30 22:58:06 +00:00
Tom Prince 34f2b043a9 Bug 1450012: [taskgraph] Disable retrigger action for many tasks; r=dustin
Many tasks (release tasks and cached tasks, in particular) should be re-run rather
than retriggered. Disable retrigger action for those tasks by default.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 22:02:46 +00:00
Thomas Daede 2e3619211c Bug 1520163 - Add linux64-nasm toolchain. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D20037

--HG--
extra : moz-landing-system : lando
2019-02-25 21:10:41 +00:00
Ciure Andrei ea1096a1f5 Backed out changeset e9e880f7aee4 (bug 1520163) for failing nightly builds a=backout
--HG--
extra : amend_source : 49a3d640d1784faa6a017315a73b94c109c64aa5
2019-02-25 11:36:37 +02:00
Thomas Daede 3484d62a4b Bug 1520163 - Add linux64-nasm toolchain. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D20037

--HG--
extra : moz-landing-system : lando
2019-02-22 21:52:41 +00:00
Ciure Andrei 0497e5f2f4 Backed out changeset e89b6e3d3de8 (bug 1520163) for profile-guided optimization builds bustage CLOSED TREE 2019-02-22 23:27:42 +02:00
Thomas Daede 4602595bb6 Bug 1520163 - Add linux64-nasm toolchain. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D20037

--HG--
extra : moz-landing-system : lando
2019-02-22 20:41:20 +00:00
Tom Prince 510dc168cf Bug 1497860: [taskgraph] Use yaml lists for mozharness actions; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D8451

--HG--
extra : moz-landing-system : lando
2018-10-22 21:50:26 +00:00
Mike Hommey 6e78f08178 Bug 1486998 - Use the binutils toolchain instead of gcc for builds using clang. r=froydnj
This avoids downloading and unpacking a large package that we only use
for binutils when building with clang.

Differential Revision: https://phabricator.services.mozilla.com/D4516
2018-08-30 07:30:30 +09:00
Mike Hommey 866a1313ee Bug 1485219 - Switch valgrind builds to clang. r=chmanchester 2018-08-24 21:44:13 +09:00
Emilio Cobos Álvarez 583727a597 Bug 1478813 - Auto-generate ServoStyleConsts. r=xidorn,ted
Differential Revision: https://phabricator.services.mozilla.com/D2447
2018-08-17 19:48:23 +02:00
Mike Hommey 49dd99e3a3 Bug 1480631 - Switch Linux builds to clang. r=froydnj
This change switches most CI builds to clang, with a few exceptions:
- valgrind builds, until bug 1481670 is figured out.
- PGO and nightly builds, until that's fully tested.
- coverage builds, per bug 1471339 comment 17.
- base toolchain builds, to keep some builds on GCC even when we're
  fully switched to clang.
- any build that doesn't use build/unix/mozconfig.linux (e.g. probably
  all those driven by autospider.py, maybe others).
2018-08-16 10:32:33 +09:00
Daniel Varga 14af3949fc Backed out 3 changesets (bug 1480631) for failure at /home/cltbld/workspace/build/tests/talos/talos/run_tests.py
Backed out changeset ed7dba433629 (bug 1480631)
Backed out changeset dd64a5e6d4df (bug 1480631)
Backed out changeset 910a805c960d (bug 1480631)
2018-08-09 01:46:40 +03:00
Mike Hommey 6fe1432f2e Bug 1480631 - Switch Linux builds to clang. r=froydnj
This change switches most CI builds to clang, with a few exceptions:
- valgrind builds, until bug 1481670 is figured out.
- PGO and nightly builds, until that's fully tested.
- coverage builds, per bug 1471339 comment 17.
- base toolchain builds, to keep some builds on GCC even when we're
  fully switched to clang.
- any build that doesn't use build/unix/mozconfig.linux (e.g. probably
  all those driven by autospider.py, maybe others).
2018-08-09 06:08:19 +09:00
Dan Mosedale d2201e2b26 Bug 1478995 - Add node toolchains to each automated build, r=gps
MozReview-Commit-ID: BQCAVP0nk4S

--HG--
extra : rebase_source : bcd0d3a8b26058ed3354f72d626362660bf7b5b9
2018-07-26 13:34:44 -07:00
Mike Hommey de808cbccf Bug 1465659 - Move perfherder extra options from mozharness to taskcluster. r=nalexander
While some builds have a PERFHERDER_EXTRA_OPTIONS environment set on the
taskcluster side, many others have the equivalent set at the mozharness
level. But only the former are actually linted against, which,
unsurprisingly, translates to conflicting values between some of the
mozharness configs.

So we move those configurations to taskcluster, enable the lint on all
the kinds that look like builds (based on them using the build_attrs
transform), and adjust the values to stop conflicting. Notably, for
searchfox and static-analysis-autotest.

--HG--
extra : rebase_source : 097333608e61e1df66e5d8f914e15784f35e58f2
2018-05-31 13:02:38 +09:00
Tom Prince 89180e14a3 Bug 1429603: Don't specify balrog servers for builds; r=jlund
Differential Revision: https://phabricator.services.mozilla.com/D415

--HG--
extra : rebase_source : 7c823a0b90a26ab6a0384a185b4a68f2a30c38c8
2018-01-18 10:20:51 -07:00
Andrew Halberstadt 7d764294a7 Bug 1386857 - [ci] Remove the 'tc' treeherder group prefix from all tasks, r=dustin
There are now only a handful of buildbot jobs remaining and the concern over
outdated treeherder exclusion profiles has largely been resolved.

This does remove the tc() group from a substantial number of tasks which will
now show up as top level tasks, potentially adding clutter. In some cases, we
might want to re-add a new group (e.g group builds or compiled tests together).
However rather than try to predict the best group names for tasks I'm unfamiliar
with, I think it's best to land this as is. Then if things are looking too
cluttered at the root namespace, file follow-up bugs as needed.

MozReview-Commit-ID: 8SMwjDwAOzV

--HG--
extra : rebase_source : 2f6d89d11c139bdcd404e7537db799d0e36ee4c3
2018-01-12 15:49:58 -05:00
Mike Hommey 035f2cbe49 Bug 1426785 - Remove uses of the gtk+3 tooltool package. r=gps
It turns out that in all cases it was the last tooltool manifest entry,
so we can remove the tooltool manifests entirely, and remove all
references to them.

--HG--
extra : rebase_source : d8447b5422e63e88444008fddb76d658829694de
2017-12-22 07:54:58 +09:00
Coroiu Cristina dbb27acb6d Backed out 5 changesets (bug 1426785) for failing repackage the nightly build on Linux a=backout.
Backed out changeset 08b5850633de (bug 1426785)
Backed out changeset 61453b6473f1 (bug 1426785)
Backed out changeset 851ce8944b41 (bug 1426785)
Backed out changeset 386cd0532519 (bug 1426785)
Backed out changeset 2a52bf9e0898 (bug 1426785)
2017-12-24 14:03:02 +02:00
Mike Hommey 370b8cf0ff Bug 1426785 - Remove uses of the gtk+3 tooltool package. r=gps
It turns out that in all cases it was the last tooltool manifest entry,
so we can remove the tooltool manifests entirely, and remove all
references to them.

--HG--
extra : rebase_source : 0aa9ef8151c2fccf62507dfecc0bc57b157772e1
2017-12-22 07:54:58 +09:00
Steve Armand f9ec1d54e7 Bug 1414824 - Enable stricter linting in taskcluster yaml files. r=Callek
MozReview-Commit-ID: AX1cDUkwrBh

--HG--
extra : rebase_source : 4e3d0f5e4b7d1b4d2196c431ae03bc2e9b95387b
2017-11-11 00:36:41 -05:00
Tom Prince 8d12c10568 Bug 1413668: Factor out objdir configuration in mozharness. r=jlund
MozReview-Commit-ID: 14l6kxcTav5

--HG--
extra : rebase_source : b6cfbb44cf08760f84d45f454aaba5d6f9910e5f
2017-10-27 12:44:13 -06:00