Commit Graph
222 Commits
Author SHA1 Message Date
Geoff Brown 7ea7089879 Bug 1881513 - Remove android-gradle-python-envs toolchain r=releng-reviewers,jcristau
Move the contents of the gradle-python-envs artifact into gradle-android-dependencies, stop referencing gradle-python-envs, and remove the android-gradle-python-envs toolchain task.

Differential Revision: https://phabricator.services.mozilla.com/D209149
2024-05-02 17:12:29 +00:00
Julien Cristau 4fe4ab7649 Bug 1886541 - don't re-download gradle in firefox-android CI tasks. r=releng-reviewers,bhearsum
The android-gradle-dependencies toolchain task already downloads gradle,
so we can reuse it instead of going through the wrapper.

Differential Revision: https://phabricator.services.mozilla.com/D205333
2024-03-26 14:27:27 +00:00
Julien Cristau f3755fdc3a Bug 1824856 - use maven repos populated by a-g-d in firefox-android tasks. r=glandium,bhearsum,firefox-build-system-reviewers
Not using gradle-offline at this point because that needs more work for glean_parser.

Differential Revision: https://phabricator.services.mozilla.com/D201542
2024-01-25 19:10:08 +01:00
Julien Cristau 9404f573bd Bug 1822393 - move some logic from android_taskgraph to a script. r=glandium,firefox-build-system-reviewers
The logic around this was getting too messy to keep directly in the
payload.  We now use mozconfig.no-compile since we don't actually need
to build any C++ in these tasks.  Likewise nodejs and API keys.
We also point GRADLE_MAVEN_REPOSITORIES at the upstream geckoview build.

Differential Revision: https://phabricator.services.mozilla.com/D201517
2024-01-16 13:56:34 +01:00
Mike Hommey 4457e478c9 Bug 1869128 - Fix llvm-symbolizer condition in build-sm.sh. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D195960
2023-12-11 20:11:58 +00:00
Steve Fink b673cc74b7 Bug 1841130 - Update hazard documentation r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D182499
2023-07-08 00:06:59 +00:00
Steve Fink 6bd34c15ce Bug 1836094 - look in the correct file for hazards to fail the job r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D177623
2023-05-31 23:31:47 +00:00
Iulian Moraru 75897e581b Backed out 3 changesets (bug 1832284) for making a failure line appear in treeherder for hazard builds. CLOSED TREE
Backed out changeset 4a6677357f72 (bug 1832284)
Backed out changeset 121223207989 (bug 1832284)
Backed out changeset 467f78dfb259 (bug 1832284)
2023-05-31 11:03:51 +03:00
Steve Fink b46dca549e Bug 1832284 - look in the correct file for hazards to fail the job r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D177623
2023-05-30 22:53:52 +00:00
Steve Fink 285b3419b4 Bug 1817092 - Implement mach hazards view: run a web server to serve the hazards page and annotated source r=jonco,firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D170112
2023-03-23 21:07:05 +00:00
Mike Hommey 4056026e55 Bug 1798865 - Use the right llvm-symbolizer on spidermonkey builds. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D161206
2022-11-08 08:16:22 +00:00
Cosmin Sabou 3a04b15550 Backed out 2 changesets (bug 1798865) for causing spidermonkey exceptions.
Backed out changeset e14f128a212e (bug 1798865)
Backed out changeset 70a4325293f5 (bug 1798865)
2022-11-08 07:15:14 +02:00
Mike Hommey 6a7004d9cd Bug 1798865 - Use the right llvm-symbolizer on spidermonkey builds. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D161206
2022-11-07 22:19:43 +00:00
Mike Hommey f1b8a3c1b8 Bug 1796508 - Remove xvfb.sh where we don't use it. r=taskgraph-reviewers,releng-reviewers,jlorenzo,jcristau
Differential Revision: https://phabricator.services.mozilla.com/D159829
2022-10-25 20:32:01 +00:00
Stanca Serban 7b186303a1 Backed out 3 changesets (bug 1796517, bug 1796508) for causing hazard bustages. CLOSED TREE
Backed out changeset 710fed5a2813 (bug 1796517)
Backed out changeset a32dbcfbd95f (bug 1796508)
Backed out changeset f176ec0054f0 (bug 1796517)
2022-10-25 14:17:43 +03:00
Mike Hommey ef03d42951 Bug 1796508 - Remove xvfb.sh where we don't use it. r=taskgraph-reviewers,releng-reviewers,jlorenzo,jcristau
Differential Revision: https://phabricator.services.mozilla.com/D159829
2022-10-25 07:00:26 +00:00
Mike Hommey fb4dff3f7f Bug 1289641 - Replace uses of the vs2017-15.9 tooltool manifest. r=firefox-build-system-reviewers,mhentges
Now that we have a toolchain artifact with the same function, we can use
that instead.

Differential Revision: https://phabricator.services.mozilla.com/D143127
2022-04-12 22:52:54 +00:00
Butkovits Atila 4e5f6bf343 Backed out 7 changesets (bug 1289641) for causing Python failures. CLOSED TREE
Backed out changeset 0c1cedebf915 (bug 1289641)
Backed out changeset 575732020bd2 (bug 1289641)
Backed out changeset 55b68a71e03a (bug 1289641)
Backed out changeset 0b16a05aa405 (bug 1289641)
Backed out changeset acbff13b91b3 (bug 1289641)
Backed out changeset 2645367da7cb (bug 1289641)
Backed out changeset 8b22a8ec44fe (bug 1289641)
2022-04-12 22:23:27 +03:00
Mike Hommey ed0369a01a Bug 1289641 - Replace uses of the vs2017-15.9 tooltool manifest. r=firefox-build-system-reviewers,mhentges
Now that we have a toolchain artifact with the same function, we can use
that instead.

Differential Revision: https://phabricator.services.mozilla.com/D143127
2022-04-11 23:00:10 +00:00
Mitchell Hentges 3825a7b6c1 Bug 1755516: Explicitly use system Python packages for Firefox build CI r=ahal
Updates all build-related jobs (`artifact-build`, `build` and
`instrumented-build`) tasks to explicitly set
`MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system`. This allows them
to consume `psutil` (if installed on the system) without needing
to hit PyPI.org.

Modifies `build-l10n.sh` and `build-linux.sh` to no longer
explicitly fetch `psutil` from PyPI
(`./mach python --virtualenv psutil`), since that is replaced
by Mach's "native package source" behaviour.

Differential Revision: https://phabricator.services.mozilla.com/D140257
2022-03-11 18:34:13 +00:00
Mitchell Hentges 6706092fe6 Bug 1717051: Automatically create and activate Mach virtualenv r=ahal
Consolidate Mach virtualenv management to the front of the
Mach process. This obsoletes `./mach create-mach-environment`
and simplifies the `sh` portion of the top-level `./mach` script.

This helps ensure that the Mach virtualenv doesn't become
out-of-sync and simplifies the mental model of the Mach
virtualenv situation.

Differential Revision: https://phabricator.services.mozilla.com/D120401
2021-11-24 20:06:33 +00:00
Mitchell Hentges 917740f81e Bug 1731836: Simplify ./mach python arguments r=ahal
`--no-virtualenv` was needed for one use case: the
`get_and_diffoscope` task, despite not needing `psutil`, would
run into failures during virtualenv-creation because we used to
unconditionally build the `psutil` package, and `get_and_diffoscope`
didn't have the environment needed for such a build.

Since we no longer build and install `psutil` into every virtualenv,
it's no longer needed for its one usage, which means that it can be
removed.

`--requirements` is replaced by `--virtualenv`, which removes an
ad-hoc pip package installation and embraces the centralized dep
system.

`--no-activate` is now implied by default: a virtualenv is only
created and activated if `--virtualenv` is provided.`

`ipython==7.16.1` was the chosen version because it is the last
one compatible with Python 3.6.

Differential Revision: https://phabricator.services.mozilla.com/D131529
2021-11-24 20:06:33 +00:00
Mike Hommey a244fd3b56 Bug 1725566 - Remove unnecessary "library paths". r=taskgraph-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D122573
2021-08-13 21:02:13 +00:00
Steve Fink eb4cad6686 Bug 1713405 - Package and compress spidermonkey CI job binaries r=jkratzer
Differential Revision: https://phabricator.services.mozilla.com/D116299
2021-06-01 22:28:50 +00:00
Steve Fink 6283aba57d Bug 1713367 - Fix spidermonkey uploads r=jkratzer
Differential Revision: https://phabricator.services.mozilla.com/D116279
2021-05-28 18:21:34 +00:00
Steve Fink b708ddd673 Bug 1705783 - add configure option --js-package and stop clearing MOZ_AUTOMATION for SM(pkg) r=glandium,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112627
2021-05-26 16:54:04 +00:00
Steve Fink 95b8d87b8e Bug 1706364 - Upload mozinfo.json r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D112754
2021-04-29 22:54:32 +00:00
Steve Fink 6cdeb2091d Bug 1706118 - Minor updates to spidermonkey source package r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D112629
2021-04-19 18:11:06 +00:00
Steve Fink 5b17c60ef1 Bug 1697929 - Make mach work in the spidermonkey release package r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D108129
2021-04-19 14:21:43 +00:00
Steve Fink 114a491be8 Bug 1697929 - autospider: remove use of tooltool r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D109164
2021-04-19 14:21:43 +00:00
Steve Fink 73017adaf2 Bug 1697929 - Switch autospider.py to use mach for configure, builds, recurse_syms using an autogenerated mozconfig r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D108128
2021-04-19 14:21:43 +00:00
Steve Fink ad5c715306 Bug 1697929 - Do not use MOZ_AUTOMATION_UPLOAD for controlling SM uploads because it breaks mach build when set r=andi
Differential Revision: https://phabricator.services.mozilla.com/D108113
2021-04-19 14:21:41 +00:00
Mike Hommey 4f3317da55 Bug 1694318 - Remove the mozjs_sys rust crate. r=jandem
The mozjs_sys crate is actually responsible for all the problems
encountered with the js crate we just removed, but the sm-mozjs-crate
task that builds and runs tests for it doesn't fail because... there is
actually no test to build and run, so all it builds is a static library,
which doesn't expose all the problems that exist.

The content of this crate in mozilla-central is also outdated compared
to servo upstream.

Differential Revision: https://phabricator.services.mozilla.com/D106390
2021-03-02 08:09:35 +00:00
Mike Hommey 5557ea33cf Bug 1694318 - Remove the js rust crate. r=jandem,sheehan
The sm-rust-bindings task that builds and runs tests for it actually only
doesn't fail by three(!) distinct happenstances of chance:
- It somehow doesn't hit a race condition that can happen, but that
  attempting to change the build process for jsglue.cpp did,
- The second call to `cargo test` without `--feature debugmozjs` only
  works because nothing was cleaned up from the first and the second
  build uses artifacts from the first that are otherwise not there if
  only running the second.
- The addition of rust code to spidermonkey (the jsrust crate in
  js/src/rust) somehow didsn't cause problems in the current
  configuration, but in other configurations (which fixing the second
  thing above unveils) the build fails because of the multiple
  definition of rust_eh_personality between the jsrust staticlib and the
  rust stdlib that rustc links to test programs.

On top of all the above, the content of the crate in mozilla-central
has not received updates from upstream servo in years, and doesn't
reflect what servo actually uses.

Differential Revision: https://phabricator.services.mozilla.com/D106389
2021-03-02 08:09:35 +00:00
Mike Hommey 1424ba41b0 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
Mike Hommey 99be577558 Bug 1694323 - Upgrade psutil to 5.8.0. r=firefox-build-system-reviewers,andi,sheehan,mhentges
It is the first version that comes with wheels for most platforms.

Differential Revision: https://phabricator.services.mozilla.com/D106066
2021-02-24 02:45:59 +00:00
Mike Hommey d5dc376ab5 Bug 1687594 - Don't take path@task-id arguments on mach artifact toolchain. r=firefox-build-system-reviewers,mhentges
This form hasn't been used since bug 1573435.

Differential Revision: https://phabricator.services.mozilla.com/D102375
2021-01-20 15:04:49 +00:00
Mike Hommey deeafac998 Bug 1687594 - Remove the --authentication-file option to mach artifact toolchain. r=firefox-build-system-reviewers,mhentges
It has been a no-op since bug 1595368.

Differential Revision: https://phabricator.services.mozilla.com/D102374
2021-01-20 15:03:45 +00:00
Ricky Stewart dd89582db6 Bug 1661624 - Include psutil in the mach virtualenvs r=firefox-build-system-reviewers,rstewart
Install `psutil` when setting up the `mach` `virtualenv`s and stop importing the in-tree version in the build.

Nothing in-tree currently assumes or mandates the installation of `psutil` (all uses of `psutil` are guarded with imports of the form `try : import psutil; except ImportError: psutil = None`), so there's no back-incompatibility concerns here. There will be an awkward period where telemetry will be lacking CPU/disk data for everyone until they re-run `mach bootstrap` or `mach create-mach-environment`, but that will come back as people gradually update their `virtualenv`s.

An alternative to circumvent that issue is REQUIRING that `psutil` be installed by adding an assertion in `mach` that `psutil` can be found (allowing us to remove all the conditional logic in-tree around whether `psutil` is installed), but I wouldn't claim that we're ready to do that and deal with whatever fallout might occur.

Differential Revision: https://phabricator.services.mozilla.com/D90914
2020-11-27 21:05:00 +00:00
Noemi Erli 8daece26d4 Backed out 4 changesets (bug 1666345, bug 1661624, bug 1667152, bug 1666347) for causing mochitest failures CLOSED TREE
Backed out changeset 8ce536574e74 (bug 1666347)
Backed out changeset 7cc5b13a3bf6 (bug 1666345)
Backed out changeset e112876ba18b (bug 1661624)
Backed out changeset 0f03ce337449 (bug 1667152)
2020-11-16 21:06:12 +02:00
Ricky Stewart 3c2c97e3d7 Bug 1661624 - Include psutil in the mach virtualenvs r=firefox-build-system-reviewers,mhentges
Install `psutil` when setting up the `mach` `virtualenv`s and stop importing the in-tree version in the build.

Nothing in-tree currently assumes or mandates the installation of `psutil` (all uses of `psutil` are guarded with imports of the form `try : import psutil; except ImportError: psutil = None`), so there's no back-incompatibility concerns here. There will be an awkward period where telemetry will be lacking CPU/disk data for everyone until they re-run `mach bootstrap` or `mach create-mach-environment`, but that will come back as people gradually update their `virtualenv`s.

An alternative to circumvent that issue is REQUIRING that `psutil` be installed by adding an assertion in `mach` that `psutil` can be found (allowing us to remove all the conditional logic in-tree around whether `psutil` is installed), but I wouldn't claim that we're ready to do that and deal with whatever fallout might occur.

Differential Revision: https://phabricator.services.mozilla.com/D90914
2020-11-13 20:21:45 +00:00
Mihai Alexandru Michis 6f613de51b Backed out 3 changesets (bug 1666345, bug 1667152, bug 1661624) for causing mochitest timeouts.
CLOSED TREE

Backed out changeset baa1f7a615e4 (bug 1666345)
Backed out changeset b6646baa866d (bug 1661624)
Backed out changeset e4d550db6037 (bug 1667152)
2020-11-13 22:14:45 +02:00
Ricky Stewart 6656e5960f Bug 1661624 - Include psutil in the mach virtualenvs r=firefox-build-system-reviewers,mhentges
Install `psutil` when setting up the `mach` `virtualenv`s and stop importing the in-tree version in the build.

Nothing in-tree currently assumes or mandates the installation of `psutil` (all uses of `psutil` are guarded with imports of the form `try : import psutil; except ImportError: psutil = None`), so there's no back-incompatibility concerns here. There will be an awkward period where telemetry will be lacking CPU/disk data for everyone until they re-run `mach bootstrap` or `mach create-mach-environment`, but that will come back as people gradually update their `virtualenv`s.

An alternative to circumvent that issue is REQUIRING that `psutil` be installed by adding an assertion in `mach` that `psutil` can be found (allowing us to remove all the conditional logic in-tree around whether `psutil` is installed), but I wouldn't claim that we're ready to do that and deal with whatever fallout might occur.

Differential Revision: https://phabricator.services.mozilla.com/D90914
2020-11-13 03:03:33 +00:00
Steve Fink 0e68866c2e Bug 1672428 - Remove hazard-analysis.sh r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D95467
2020-11-12 20:12:28 +00:00
Steve Fink e9b03c23d4 Bug 1672428 - Run a self-test before doing the actual analysis. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D95442
2020-11-12 20:00:24 +00:00
Steve Fink f90e2ef27f Bug 1672428 - Switch the actual analysis to mach r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D95441
2020-11-12 19:58:16 +00:00
Steve Fink e09de63517 Bug 1672428 - Remove a layer of mapping from "project" to "application" r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D95438
2020-11-12 19:26:26 +00:00
Steve Fink 1da6067bf9 Bug 1672428 - Allow simultaneous browser and shell instances of the hazard analysis r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D95436
2020-11-12 19:26:12 +00:00
Steve Fink a66171cacc Bug 1672428 - Use mach hazards build-shell for actual hazard job JS shell r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D95094
2020-11-12 19:26:06 +00:00
smolnar c6bf78c569 Backed out 4 changesets (bug 1666347, bug 1667152, bug 1661624, bug 1666345) for causing mingw bustage. CLOSED TREE
Backed out changeset 19f707f5c097 (bug 1666347)
Backed out changeset 3732ee259759 (bug 1666345)
Backed out changeset 353d3c9e74b9 (bug 1661624)
Backed out changeset a651515586a8 (bug 1667152)
2020-11-12 19:55:58 +02:00