Commit Graph

9078 Commits

Author SHA1 Message Date
Mike Hommey
14c1084f72 Bug 1679938 - Don't recurse the build into mfbt for projects that don't need it. r=firefox-build-system-reviewers,mhentges
While all toolkit and js-based projects make use of mfbt, some others,
like tools/crashreporter and tools/update-packaging, don't.

So instead of including mfbt from the top-level directory, include it
from the relevant project top-level mozbuilds.

This allows to remove the dependency on mfbt files in the hash for the
minidump-stackwalk and mar-tools toolchains.

Differential Revision: https://phabricator.services.mozilla.com/D98378
2020-12-01 23:52:03 +00:00
Alexis Beingessner
e2c5b3cbbe Bug 1680124 - Document Rust builds (and add some pointers/links for clang ones). r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D98386
2020-12-01 23:55:34 +00:00
Csoregi Natalia
e1c9e65ec1 Backed out changeset 9bd89da852cf (bug 1680028) for causing gecko decision tasks to fail. CLOSED TREE 2020-12-01 21:34:50 +02:00
Julien Cristau
40bf7ed8c2 Bug 1680028 - run l10n-bumper daily instead of hourly. r=releng-reviewers,jmaher
To ensure l10n updates are still picked up by beta builds in a timely
fashion, remove "DONTBUILD" from commit messages when running on
mozilla-beta, and run a couple of hours before the "daily-releases" job
starts.

Differential Revision: https://phabricator.services.mozilla.com/D98349
2020-12-01 18:52:23 +00:00
Razvan Maries
1e986258d1 Backed out changeset f5532b7dc480 (bug 1672181) as per Gregory's request. CLOSED TREE 2020-12-01 17:12:11 +02:00
Julien Cristau
025ffb9f0a Bug 1677755 - turn the mac devedition build into a universal binary with x86-64 + aarch64. r=glandium DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D97347
2020-12-01 08:27:57 +00:00
Mike Hommey
5df4c50570 Bug 1679923 - Upgrade rustc to 1.49 beta 2 for arm64 mac builds. r=firefox-build-system-reviewers,dmajor
At the same time, remove the macosx64-rust-beta toolchain, unused since
bug 1678154.

Differential Revision: https://phabricator.services.mozilla.com/D98277
2020-12-01 03:53:16 +00:00
Mike Hommey
5a48880a05 Bug 1679924 - Setup plain debug mac builds on automation. r=firefox-build-system-reviewers,dmajor
Bug 1672888 set up a plain opt build that runs on m-c only, like the
other plain opt builds. It didn't add plain debug builds on integration
branches as well to avoid having too many jobs running on the slim
mac worker pool, but since bug 1678154 moved most jobs off them, we can
now add those.

Differential Revision: https://phabricator.services.mozilla.com/D98279
2020-12-01 03:56:19 +00:00
David Major
fc89cd6438 Bug 1679909 - Use PATH instead of -B in build-compiler-rt.sh r=glandium
As of version 12, clang doesn't accept `-B` for target-prefixed binaries. This is said to be for GCC compatibility: 3452a0d8c1

Differential Revision: https://phabricator.services.mozilla.com/D98261
2020-12-01 04:32:55 +00:00
Sebastian Hengst
c42742a46b Bug 1679886 - increase max task run time for Android profile generation to 45 minutes. r=aerickson DONTBUILD
It exceeded the timeout frequently after being close to it before.

Differential Revision: https://phabricator.services.mozilla.com/D98246
2020-11-30 22:59:04 +00:00
Jeff Gilbert
637fafc5a7 Bug 1662516 - Enable m-gli on Linux. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D95096
2020-11-30 18:13:19 +00:00
Andrew Halberstadt
6db2921d7f Bug 1672181 - [taskgraph] Make test tasks py3 by default and add a py2 override r=bc,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D97669
2020-11-26 17:42:27 +00:00
stransky
114cd41e5a Bug 1665844 [Wayland] Fix mutter to start in Wayland mode in Mozilla automation, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D97161
2020-11-30 07:10:57 +00:00
Bogdan Tara
168c45a7ac Backed out changeset 951e6717abf4 (bug 1662516) for M-gli failures CLOSED TREE 2020-11-30 09:19:00 +02:00
Jeff Gilbert
a10a4ccb9e Bug 1662516 - Enable m-gli on Linux. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D95096
2020-11-30 05:44:33 +00:00
Sylvestre Ledru
be678a9be7 Bug 1588710 - Try to use clang 11 for stackwalk r=firefox-build-system-reviewers,andi,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D97568
2020-11-28 13:34:01 +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
Mike Hommey
e68c3c3d3b Bug 1678451 - Split the Ubuntu test image and work around recent issues. r=releng-reviewers,bhearsum
To avoid breakage from Ubuntu package upgrades, we split the test image
into two, one that sets up the packages only, and that won't change when
we need to update our scripts, and another that derives from it, that
adds all our scripts and other setup.

Additionally, we work around the recent timeout issues due to the
upgrade of packages.

The timeout itself is due to gst-launch waiting indefinitely when it
crashes, rather than exiting with an error code. Bug 1679491 addresses
this issue, but the core problem is that gst-launch crashes, which seems
to be that some change in libc (presumably "Fix pthread_rwlock_try*lock
stalls") turns `gst_object_unref: assertion '((GObject *)
object)->ref_count > 0' failed` fatal warnings (which were already
happening) into actual crashes (presumably because a race condition is
lost on a use-after-free).

This workaround, however, will stop working as soon as the updated libc
package migrates from bionic-updates into bionic proper, presumaby on
the next 18.04 dot-release. Hopefully, we won't be rebuilding the base
image for a while, avoiding further problems. Eventually, we'll want to
upload the base image to docker hub so that it's set in stone, and
change the FROM in the base image to use that instead.

Differential Revision: https://phabricator.services.mozilla.com/D98045
2020-11-27 16:34:50 +00:00
Razvan Maries
960c5da1e7 Backed out changeset a39c15378e6f (bug 1672181) for Mochitest perma failures. CLOSED TREE 2020-11-26 19:38:22 +02:00
Andrew Halberstadt
5e91379180 Bug 1672181 - [taskgraph] Make test tasks py3 by default and add a py2 override r=bc,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D97669
2020-11-20 21:45:17 +00:00
Olivier Tilloy
75b4e18676 Bug 1677781 - add the mpris slot to snapcraft.yaml to enable media controls. r=jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D97889
2020-11-26 10:47:42 +00:00
Mike Hommey
d6a8360a45 Bug 1677022 - Followup to unbust toolchain tasks with no arguments.
Differential Revision: https://phabricator.services.mozilla.com/D97974
2020-11-26 01:52:30 +00:00
Alexis Beingessner
a2e4c21db2 Bug 1677593 - Add support for building rust from source. r=glandium
This adds a linux64-rust-dev toolchain and a git fetch of rust-lang/rust
that it can source from (stable tag for 1.47).

There are some issues with cross-compiling, so for now the toolchain only
builds a host build, although a lot of the machinery for cross compiling is
there for anyone brave/desperate enough to get it working.

Also note some changes were made to Rust's config.toml between 1.47 and 1.50,
so some version detection may need to be added in the future.

There is experimental support for providing patches via a new --patch flag.

Additionally, I documented the existence of the "bors-" mode.

Differential Revision: https://phabricator.services.mozilla.com/D97497
2020-11-26 00:42:27 +00:00
Cristina Coroiu
f795b6e3c2 Backed out 2 changesets (bug 1654817) on request by aklotz
Backed out changeset bf721cd8ab14 (bug 1654817)
Backed out changeset fb1c314e6394 (bug 1654817)
2020-11-23 19:12:29 +02:00
Andi-Bogdan Postelnicu
ccbacf12e5 Bug 1678399 - Make clang-tidy-external part of our clang-tidy suit. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D97643
2020-11-23 08:30:49 +00:00
Mike Hommey
9eae3b523e Bug 1678485 - Enable PGO on arm64 mac builds. r=firefox-build-system-reviewers,andi,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D97749
2020-11-20 15:16:14 +00:00
Ricky Stewart
c9720a8ee7 Bug 1676533 - Consult the base revision for file hashes instead of the on-disk files in mach artifact r=ahal
This enables `mach artifact` and `mach bootstrap` to not fail due to local changes.

Differential Revision: https://phabricator.services.mozilla.com/D96892
2020-11-20 18:58:51 +00:00
Joel Maher
37e2c77538 Bug 1677640 - remove windows7 talos-webgl-gli. r=sparky
remove windows7 talos-webgl-gli test from being scheduled.

Differential Revision: https://phabricator.services.mozilla.com/D97685
2020-11-20 14:08:57 +00:00
Mike Hommey
9604340588 Bug 1678154 - Change aarch64 macos builds to be more like the x86_64 ones. r=firefox-build-system-reviewers,dmajor
This also removes some differences between some json files in test
archives.

Differential Revision: https://phabricator.services.mozilla.com/D97700
2020-11-20 03:14:15 +00:00
Mike Hommey
ffd412896c Bug 1678154 - Create a clang repack including the aarch64 mac compiler-rt. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D97699
2020-11-20 01:54:33 +00:00
Mike Hommey
323c368072 Bug 1678154 - Enable aarch64 mac support to llvm-dsymutil. r=firefox-build-system-reviewers,dmajor
While here, upgrade it to LLVM 11.

Differential Revision: https://phabricator.services.mozilla.com/D97697
2020-11-20 02:09:20 +00:00
Mike Hommey
f27976b952 Bug 1678154 - Build compiler-rt for aarch64 macos. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D97696
2020-11-20 03:18:15 +00:00
Mike Hommey
d015ddb9b6 Bug 1678154 - Add aarch64-prefixed binaries to cctools. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D97695
2020-11-20 03:19:36 +00:00
Mike Hommey
4efa8e2b00 Bug 1678154 - Pack the mac OS SDK as a private artifact. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D97694
2020-11-20 00:03:13 +00:00
Mike Hommey
03bc6afe15 Bug 1677914 - Don't require the SHELL variable to be set. r=firefox-build-system-reviewers,mhentges
And don't set SHELL on mac workers (added in da452e43b5d5 because of the
exception thrown by this code not having a fallback)

Differential Revision: https://phabricator.services.mozilla.com/D97686
2020-11-19 22:43:05 +00:00
Mike Hommey
a6418700d5 Bug 1678439 - Upgrade rustc to 1.49 beta for arm64 mac builds. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D97666
2020-11-19 20:27:01 +00:00
Andrew Creskey
bbfaa4e2e8 Bug 1677617 - Disable the fenix MAIN test r=sparky
The test will no longer run on commits until we can resolve the failure, which is blocked on a Fenix issue.
https://github.com/mozilla-mobile/fenix/issues/13470

Differential Revision: https://phabricator.services.mozilla.com/D97226
2020-11-19 15:33:05 +00:00
Gregory Mierzwinski
b92c9ca167 Bug 1677119 - Fix run-on-projects settings for the live site tests. r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D97592
2020-11-19 14:53:03 +00:00
Johan Lorenzo
c83718f66d Bug 1676130 - part 1: Backed out changeset 19db5464f5d1 (bug 1668908) r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D96409
2020-11-19 13:31:00 +00:00
Frederik Braun
8ace599a12 Bug 1678295 - move civet to clang 11 r=andi
Differential Revision: https://phabricator.services.mozilla.com/D97562
2020-11-19 12:47:58 +00:00
Razvan Maries
fa10d6af82 Backed out changeset 684580bcc087 (bug 1672704) for Gecko Decision Task bustage. CLOSED TREE 2020-11-19 07:00:39 +02:00
Jean-Yves Avenard
6c4d6a6510 Bug 1672704 - Disable sanity test with talos. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D94920
2020-11-18 15:28:27 +00:00
Razvan Maries
4ce2cfb03a Backed out changeset bc0c64106daa (bug 1665844) for automation errors. CLOSED TREE 2020-11-19 01:10:48 +02:00
Aki Sasaki
4ac4b1acab Bug 1677914 - add SHELL env var to mac builders. r=taskgraph-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D97469
2020-11-18 20:51:27 +00:00
stransky
6e0f22f7e9 Bug 1665844 [Wayland] Fix mutter to start in Wayland mode in Mozilla automation, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D97161
2020-11-18 20:30:05 +00:00
Andrew Halberstadt
fbeb7bbe02 Bug 1672967 - [taskgraph.action] Ensure we copy the task definition when retriggering backfills, r=taskgraph-reviewers,jmaher
Backfill tasks might run with a slightly different definition than the task
with the same label in the current task graph. When we encounter them, ensure
we create a new task with an (almost) identical definition, rather than
grabbing it from the current push's full-task-graph.json.

There's already an action that has this behaviour (that is used for the
decision task). So rather than re-implement this behaviour in the regular
retrigger action, this patch ensures that the 'retrigger-decision' action
applies to backfills rather than the regular one.

Differential Revision: https://phabricator.services.mozilla.com/D97352
2020-11-18 16:45:56 +00:00
Andrew Halberstadt
43e87a2037 Bug 1672967 - [taskgraph.action] Fix bug in actions lookup, r=taskgraph-reviewers,jmaher
According to the documentation, actions are supposed to have an "order" system,
where the first action that applies to a task via its context, is supposed to
take precedence. But when running the match algorithm, we never break out of
the loop. So we end up applying the *last* action that matches a tasks' context.

As far as I can tell, this means we have been using the 'retrigger-disabled'
action for everything and things like retriggering Decision tasks don't work.

Differential Revision: https://phabricator.services.mozilla.com/D97351
2020-11-18 16:49:11 +00:00
Andrew Halberstadt
095481e67d Bug 1672967 - [taskgraph.action] Don't proceed with creating task if 'test_manifest_modifier' failed, r=taskgraph-reviewers,jmaher
If we aren't able to assign the appropriate manifests to the backfill, the
backfill is useless. Let's just let the exception propagate and fail loudly,
rather than log an error and keep going.

Differential Revision: https://phabricator.services.mozilla.com/D97350
2020-11-17 20:31:30 +00:00
Cristina Coroiu
e1be39b9e8 Backed out changeset 101792a18a59 (bug 1676533) on request by Ricky for causing regressions 2020-11-18 18:10:04 +02:00
Joel Maher
6f2b0274a7 Bug 1677640 - reduce scheduling of win32 perf tests on integration and release branches. r=sparky
remove default scheduling of talos, raptor, awsy on windows7-32.  Ensure these are still available on try server.  There is one exception, the talos-webgl-gli job, this is scheduled via a transform and I would rather leave that alone or remove all gli tests.

Differential Revision: https://phabricator.services.mozilla.com/D97310
2020-11-18 00:16:55 +00:00