Commit graph

200 commits

Author SHA1 Message Date
Mike Hommey
5ce33a1833 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
da0c24cd5e 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
b343acaa32 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
5489063fa6 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
cd8aab1381 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
de7f8edd6f 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
06fa1e33cc 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
ca40ebd352 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
9ede1c5e81 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
f66d60dec4 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
39a14165d0 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
93e7a214c2 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
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
Mike Hommey
1b305c741e 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
49a9eeaf91 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
32ec3e64de 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
34344a8073 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
f24bd4fcff 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
d8119e6288 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
06103d0e92 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
69321f149f 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
2c0345bdaf 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
5daa65c47f 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
07550f5718 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
d235350b21 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
4d6b3ec016 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
2ba95a258e 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
1e6e466d99 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
Ricky Stewart
55f90afcca 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-12 15:58:05 +00:00
Steve Fink
6cf5fdbd02 Bug 1673103 - SM(pkg): Upload artifacts even if job fails r=calixte
Differential Revision: https://phabricator.services.mozilla.com/D94913
2020-10-28 16:38:53 +00:00
Ricky Stewart
233f65df7c Bug 1664567 - Set MOZ_OBJDIR in builder scripts for CI r=glandium
Without setting this variable, the call to `mach python` in `taskcluster/scripts/builder/build-linux.sh` will create a `virtualenv` in the default location -- on Linux in CI, that's `obj-x86_64-pc-linux-gnu`. Everything else about the build is going to end up in `obj-build`, so just set `MOZ_OBJDIR` appropriately to point to that directory.

Doing so enables us to land bug 1663755, as it causes the logic added to `symbols_archive.py` as part of bug 1654994 to behave as expected.

Differential Revision: https://phabricator.services.mozilla.com/D89975
2020-09-15 14:25:03 +00:00
David Major
4dfc47d2a0 Bug 1664482 - Make UPLOAD_DIR before referencing it in build-sm.sh r=froydnj
The script uses the `cd $FOO && pwd` trick to fix the path style on Windows, but currently this happens before the `mkdir`, so we get an incorrect result:

```
[task 2020-09-11T03:38:59.656Z] ++ cd Z:/task_1599794667/public/build
[task 2020-09-11T03:38:59.656Z] ./src/taskcluster/scripts/builder/build-sm.sh: line 10: cd: Z:/task_1599794667/public/build: No such file or directory
[task 2020-09-11T03:38:59.656Z] ++ pwd
[task 2020-09-11T03:38:59.657Z] + export MOZ_UPLOAD_DIR=/z/task_1599794667
```

Differential Revision: https://phabricator.services.mozilla.com/D89925
2020-09-11 16:24:25 +00:00
Chris Fallin
227741192b Bug 1649928: add CI jobs for Cranelift/aarch64 Wasm backend using simulator. r=sfink
This adds a new job variant `arm64-cranelift-sim` to the SpiderMonkey
build configurations, and adds a Taskherder CI configuration to run it.
The job uses the aarch64 simulator support built-in to SpiderMonkey, so
it does not need to run on native aarch64 hardware.

A few tests needed to be added to the "slow tests" list as they time out
under the simulator otherwise.

This also fixes an issue with an error message in `build-sm.sh` in which
the overloading of the backtick's meaning (code-quotes in
Markdown-world, and command interpolation in shell scripts) led to an
amusing attempt to execute parts of the error message.

Finally, this fixes an error that seems unrelated to Cranelift or
WebAssembly in a GC jit-test, wherein its way of measuring maximum stack
recursion depth was failing.

Differential Revision: https://phabricator.services.mozilla.com/D86131
2020-08-07 18:17:37 +00:00
Steve Fink
14202a2c79 Bug 1655789 - Use build/moz.build for JS standalone builds r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D85178
2020-08-05 21:27:10 +00:00
Nathan Froyd
726b4f3b99 Bug 1649757 - don't upload artifacts for various SM builds; r=sfink
The artifacts (`js`, `jsapi-tests`) generated by these builds are rather
large, and we don't need them for anything.

Differential Revision: https://phabricator.services.mozilla.com/D81880
2020-07-10 15:53:38 +00:00
Tooru Fujisawa
a2591607d9 Bug 1641369 - Part 5: Make sure the workspace is clean in SM package build. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D77643
2020-06-03 05:34:20 +00:00
Tooru Fujisawa
34aa7e8d55 Bug 1641369 - Part 3: Move objdir of SpiderMonkey jobs outside of checkouts directory. r=tomprince
Depends on D77642

Differential Revision: https://phabricator.services.mozilla.com/D77991
2020-06-10 18:27:18 +00:00
Tooru Fujisawa
d2368696d6 Bug 1641369 - Part 1: Use GECKO_PATH instead of SRCDIR in SpiderMonkey jobs. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D77990
2020-06-10 18:21:20 +00:00
Steve Fink
f77a8187af Bug 1618923 - Fix llvm-symbolizer filename on Windows r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D65383

--HG--
extra : moz-landing-system : lando
2020-03-13 09:19:18 +00:00
Tom Prince
fa69ebf563 Bug 1527313: Move objdir out of source directory for all mozharness builds; r=glandium,Callek
This moves the object directory and source directories around in all mozharness
jobs, to allow enabling caching on windows builders.

This makes a number of changes that all need to land at once:
- Move the source checkout for the workspace cache mount, to the checkouts
  cache mount.
- Makes the object directoy from underneath the source directory, to directly
  in the work directory (which is still under `workspace`).
- Sets the object directory to `obj-build` instead of `obj-firefox`.
- Stops caching the workspace directory (it is still a volume in docker workers,
  so writes perform well; a followup revision add some checks around this).
- Removes one level of directory in the mozharness workdir (things were under
  `workspace/build`, but are now just under `workspace/`.
- Adjust paths in environment variables and artifact specifications to match
  the above changes.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 08:51:21 +00:00
Tooru Fujisawa
91f0366117 Bug 1612686 - Part 1: Fix autospider.py caller to set RUSTC/CARGO/CBINDGEN env. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D64555

--HG--
extra : moz-landing-system : lando
2020-02-28 14:17:28 +00:00
Tom Prince
3a1632ef7a Bug 1527313: Reduce extraneous differences in taskcluster mozharness scripts; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D62408

--HG--
extra : moz-landing-system : lando
2020-02-11 19:47:09 +00:00
Steve Fink
28b7bb1932 Bug 1597005 - autospider.py: Run with Python3
Differential Revision: https://phabricator.services.mozilla.com/D57393

--HG--
extra : moz-landing-system : lando
2019-12-20 03:35:12 +00:00
Narcis Beleuzu
ce00124553 Backed out 9 changesets (bug 1597005) for SM bustages on autospider.py . CLOSED TREE
Backed out changeset eb0d6b29ae1d (bug 1597005)
Backed out changeset 48267c5a8d23 (bug 1597005)
Backed out changeset 159a37cef898 (bug 1597005)
Backed out changeset e050ede804bb (bug 1597005)
Backed out changeset 1e511ad72b2d (bug 1597005)
Backed out changeset 1cd0d40914b6 (bug 1597005)
Backed out changeset 89dd6ea71d80 (bug 1597005)
Backed out changeset 7dac8fdaeada (bug 1597005)
Backed out changeset 124766c078e2 (bug 1597005)
2019-12-16 22:14:31 +02:00
Steve Fink
ec4b6cda91 Bug 1597005 - Switch autospider.py to be run with python3. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D54226

--HG--
extra : moz-landing-system : lando
2019-11-22 21:51:59 +00:00
Steve Fink
bcc464ad31 Bug 1603627 - Write out a minimal target.json file for spidermonkey shell builds. r=froydnj
The browser build generates this file during the packaging step, which does not exist for JS shell builds. I made a brief attempt to call informulate.py as it does, but that seemed to require some things that are not available during the shell build. So I went with the cheap and easy approach to provide just the fields :jkratzer uses.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 22:42:18 +00:00
Emilio Cobos Álvarez
b9e29077e8 Bug 1602651 - Explicitly point to rustfmt during spidermonkey rust build. r=glandium
We build bindgen without the `which` feeature, which means it won't try to
look for `rustfmt` in $PATH. So point at it explicitly so that the bindings are
properly formatted.

We do the same for regular Gecko builds in `build/mozconfig.rust`.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 07:34:35 +00:00
Tom Prince
069263ab46 Bug 1595368: [firefox-ci] Use consitent logic to determine tooltool url; r=sfraser a=task-fix
Differential Revision: https://phabricator.services.mozilla.com/D52498

Depends on D52497

--HG--
extra : histedit_source : 4b7e40193155303d8757f08aabe670e4dd127924
2019-11-11 05:50:11 +01:00
Steve Fink
6cf5bd1291 Bug 1560667 - Switch hazard analysis over to gcc 8.3.0 r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D46682

--HG--
extra : moz-landing-system : lando
2019-10-02 03:19:06 +00:00
Steve Fink
c16fe33b0e Bug 1531951 - [hazards] Comments and refactoring r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D46543

--HG--
extra : moz-landing-system : lando
2019-09-30 03:57:52 +00:00