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

10515 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 73230b8c3e Bug 1744234 - Bump minimum Rust version to 1.57. r=firefox-build-system-reviewers,andi
Also update the table of Firefox requirements. It's worth noting that I
actually upgraded to 1.57 earlier than I should have (too close to
freeze), but what is done is done.

Differential Revision: https://phabricator.services.mozilla.com/D134124
2021-12-17 08:37:39 +00:00
Michelle Goossens e086e59357 Bug 1746473 - Make wrench jobs run on all branches r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D134058
2021-12-16 19:38:50 +00:00
Andrew Halberstadt 67c757f108 Bug 1741745 - [taskgraph] Stop setting 'e10s' attribute in test tasks, r=jmaher
This attribute isn't necessary as e10s is the default. Instead consumers can
check if the string '1proc' appears in the unittest_variant attribute.

Depends on D133225

Differential Revision: https://phabricator.services.mozilla.com/D133226
2021-12-16 14:48:01 +00:00
Michelle Goossens 3fd8b48e47 Bug 1740943 - Migrate wrench from Windows 10 on AWS to Azure r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D132848
2021-12-15 23:01:38 +00:00
Tom Ritter 2b2425407f Bug 1745938: Fix the Updatebot Verify job to exclude the review suffix r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D133767
2021-12-15 16:48:31 +00:00
Andrew Halberstadt 6798e0de5a Bug 1741745 - [taskgraph] Introduce a 'run-without-variant' key, r=jmaher
Tasks that set this key to false *will not* run under the standard no variant
configuration.

This is needed to replace the 'e10s=false' case (i.e tasks that *only* run with
1proc like mochitest-chrome or mochitest-a11y.

Depends on D133224

Differential Revision: https://phabricator.services.mozilla.com/D133225
2021-12-13 16:38:02 +00:00
Andrew Halberstadt 73391222d7 Bug 1741745 - [taskgraph] Create a '1proc' variant, r=jmaher
This replaces the 'e10s' key with a standard variant in task configuration.

Depends on D133222

Differential Revision: https://phabricator.services.mozilla.com/D133224
2021-12-13 16:38:01 +00:00
Andrew Halberstadt 5a6cdfe644 Bug 1741745 - [taskgraph] Only validate parts of test schema that are actually needed in job/mozharness_test.py, r=jmaher
Previously we we're validating the entire 'test_description_schema' again, even
though the vast majority of those keys were in fact no longer needed. This was
preventing us from ever removing keys from the 'task' object. Which I believe
is a good practice to keep things simple.

Differential Revision: https://phabricator.services.mozilla.com/D133222
2021-12-13 16:38:01 +00:00
Ryan VanderMeulen 1aa61d071a Bug 1277320 - Run GTests on all Windows flavors as Tier 1. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D133450
2021-12-10 12:49:54 +00:00
Mike Hommey e0e86945f5 Bug 1745115 - Refactor clang configs. r=firefox-build-system-reviewers,andi
We separate the patchset from the per-platform configuration, which
will ensure we keep the same patchset across them (spoiler alert: we
weren't).
Also, as most builds are PGO, use that in per-platform configurations,
and add an override config that sets it back to 2-stages for the
builds we don't want to PGO.

Differential Revision: https://phabricator.services.mozilla.com/D133317
2021-12-10 00:29:58 +00:00
Mike Hommey 8c429c53cc Bug 1745115 - Allow to give multiple configs to build-clang.py. r=firefox-build-system-reviewers,andi
And merge them. This will allow to deduplicate and uniformize them.

Differential Revision: https://phabricator.services.mozilla.com/D133316
2021-12-10 00:29:58 +00:00
Andrew Halberstadt 49a4e150ef Bug 1745124 - [ci] Never apply the 'wayland' variant to non-Linux tasks, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D133351
2021-12-09 22:08:52 +00:00
Gregory Mierzwinski c9513d1fdb Bug 1736999 - Disable instagram live-site test. r=perftest-reviewers,kimberlythegeek
Differential Revision: https://phabricator.services.mozilla.com/D133085
2021-12-09 18:37:22 +00:00
Noemi Erli 88ea88a467 Backed out 2 changesets (bug 1724480) for causing Bug 1745152 and Bug 1745153 CLOSED TREE
Backed out changeset f988b79d58f4 (bug 1724480)
Backed out changeset 8a2fb9a2a3db (bug 1724480)
2021-12-09 18:58:02 +02:00
Agi Sferro 49ed81f7e0 Bug 1724480 - Upgrade JDK to Java 17. r=glandium,ahal,calu
Differential Revision: https://phabricator.services.mozilla.com/D131972
2021-12-08 23:55:53 +00:00
Alexis Beingessner 56d643b6f7 Bug 1741205 - add more robust version checking to mozcrash.py. r=KrisWright
I forgot that mozboot only pulls in updates when you run `./mach bootstrap`,
so some people got the new mozcrash.py locally without actually having the
new rust-minidump-based version. So now we first run the stackwalk binary
with -V to check what version it is.

The rest of the details can be found in the comments I added.

Also updates rust-minidump to 0.9.6 get some CLI parsing fixes
and better --help documentation (socorro staging is already updated to
this version).

Differential Revision: https://phabricator.services.mozilla.com/D133251
2021-12-08 21:48:00 +00:00
Mike Hommey 7373e2d918 Bug 1744890 - Remove unused clang toolchains. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D133180
2021-12-08 06:29:15 +00:00
Mike Hommey e529e10f53 Bug 1744890 - Use clang 13 for mar-tools toolchain builds. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D133179
2021-12-08 06:29:15 +00:00
Mike Hommey 12592ace70 Bug 1744673 - Upgrade valgrind to 3.18.1. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D133037
2021-12-08 06:29:13 +00:00
Mike Hommey c546e95e3a Bug 1744706 - Always show the git commit in fetch task logs. r=taskgraph-reviewers,aki
99% of the fetch tasks that pull from a git repo pull from a specific
revision, as specifically intended. There is however one exception,
which is the clang-trunk fetch, which is intended to always pull the
last revision on clang trunk. Unfortunately, the log also doesn't say
what specific commit it checked out.

Ironically, the log for all the other tasks does say which commit is
checked out, because git prints it out when it goes in detached head
state, which it does when checking out a specific sha1 (so in that
case, it's printing something we already know).

In the one instance where we checkout a branch, we don't rely on the
branch being checked out, so we just forcibly go in the same state of
detached head in that case too.

Differential Revision: https://phabricator.services.mozilla.com/D133063
2021-12-08 06:29:12 +00:00
Joel Maher 6b02e865d7 Bug 1639850 - adjust xpcshell on windows to remove frequent failures. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D133119
2021-12-07 19:55:03 +00:00
Barret Rennie af25f00cc5 Bug 1743026 - Re-enable fxrecord jobs on m-c r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D132957
2021-12-07 14:28:38 +00:00
Tom Ritter ba690ef334 Bug 1700396: Bump updatebot for the mach vendor fix and the state dir fix r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D132701
2021-12-06 19:33:29 +00:00
Mike Hommey d027a596b9 Bug 1743945 - Avoid duplication of code in `use_fetches`. r=taskgraph-reviewers,ahal
Now that `use_fetches` runs after `make_task_description`, tasks that
come in look more like tasks from kind_dependencies, and the code to
extract the alias, artifact and environment info can now be shared.

Differential Revision: https://phabricator.services.mozilla.com/D132650
2021-12-02 22:29:46 +00:00
Mike Hommey ac3a843420 Bug 1743945 - Move the `use_fetches` transform after `make_task_description`. r=taskgraph-reviewers,jmaher,ahal
This will help to avoid the duplication of the code that takes artifact
names, environment and aliases for each fetch, and will allow changes to
toolchain.py that wouldn't be possible otherwise.

The only difference it makes to the resulting taskgraph is that scopes
are not in the same order as before, but that doesn't matter.

Differential Revision: https://phabricator.services.mozilla.com/D132649
2021-12-02 22:29:46 +00:00
Mike Hommey b1a0e8915c Bug 1742749 - Update builders to rustc 1.57. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D132534
2021-12-02 21:07:37 +00:00
Andrew Halberstadt 3cefe9155d Bug 1700774 - [taskgraph] Move 'set_worker_type' transform to a separate file, r=gbrown
This is being split to a new file mainly because the worker definitions take up
a lot of LOC. Getting this out of the main transforms makes it easier to
navigate.

Differential Revision: https://phabricator.services.mozilla.com/D132411
2021-12-02 17:01:09 +00:00
Andrew Halberstadt 2236ebbf60 Bug 1700774 - [taskgraph] Move chunking related transforms to a separate file, r=gbrown
Chunking transforms should always go last since there should never be
configuration that is different between chunks (other than what is set by the
chunking transforms themselves).

Running them last also ensures we don't do extra work as the number of tasks
grows by 10x or more after splitting chunks.

Differential Revision: https://phabricator.services.mozilla.com/D132410
2021-12-02 17:01:09 +00:00
Andrew Halberstadt 70a9b5a848 Bug 1700774 - [taskgraph] Move almost all test transforms to an 'other.py' file, r=gbrown
Future commits will tease this apart a bit more, but for now this helps
crystallize the order in which transforms are applied. The flow of the overall
test transforms goes something like this:

1. Enter 'transforms/test/__init__.py'
2. Validate all tasks against the test_description_schema
3. Run sibling transforms (starting with 'variant.py' and ending with 'other.py' for now)
4. Make the job description

As we pull more transforms out of 'other.py' and into their own smaller
transform files, it will be clear that the order in which these smaller files
run is important. Adding new transforms will no longer involve picking some
random spot to insert it.

Differential Revision: https://phabricator.services.mozilla.com/D132409
2021-12-02 17:01:09 +00:00
Andrew Halberstadt 00e45a753a Bug 1700774 - [taskgraph] Split 'variant' transform to a new file, r=gbrown
Many things need to be set "by variant", so therefore we need to resolve them
early on in the process. By pulling them out into a separate file that
explicitly runs before the "__init__.py" transforms, we A) make it harder
for someone to accidentally add their transform ahead of them, and B) reduce
some of the clutter in "__init__.py".

Differential Revision: https://phabricator.services.mozilla.com/D132408
2021-12-02 17:01:08 +00:00
Mike Hommey deafabcff7 Bug 1743742 - Reduce amount of duplication in *_worker_toolchain. r=taskgraph-reviewers,aki
Differential Revision: https://phabricator.services.mozilla.com/D132539
2021-12-02 02:40:02 +00:00
Mike Hommey 2ecdd86522 Bug 1743741 - Avoid repetition of the task kind in some `use_fetches` error messages. r=taskgraph-reviewers,aki
Differential Revision: https://phabricator.services.mozilla.com/D132538
2021-12-02 02:40:02 +00:00
Alexandru Michis 079496ab6c Merge mozilla-central to autoland. a=merge 2021-12-01 23:50:46 +02:00
Heitor Neiva 14114bef56 Bug 1740339 - Skip triggering actions when testing action-callbacks r=aki
Added test mode check before actually triggering actions

Differential Revision: https://phabricator.services.mozilla.com/D130898
2021-12-01 21:35:03 +00:00
Alexandru Michis 13b9681914 Merge autoland to mozilla-central. a=merge 2021-12-01 23:48:49 +02:00
Sandor Molnar e3932a5144 Backed out changeset 572b175efb09 (bug 1696504) for causing regressions. a=backout 2021-12-01 19:48:29 +02:00
Sylvestre Ledru 5a82675956 Bug 1743088 - Mozlint/trojan-source: enable it on the whole code base r=linter-reviewers,ahal DONTBUILD
Depends on D132235

Differential Revision: https://phabricator.services.mozilla.com/D132236
2021-12-01 15:34:58 +00:00
Julien Cristau 0e1c070b32 Bug 1314136 - ship PGP public key alongside nightly builds. r=releng-reviewers,aki DONTBUILD
Bug 1713258 added KEY to the beetmover manifest, but it gets excluded
from `upstreamArtifacts` in `generate_beetmover_upstream_artifacts`
because it's not in the signing task's `release-artifacts` attribute,
and so it doesn't actually work.

Differential Revision: https://phabricator.services.mozilla.com/D132470
2021-11-30 17:51:12 +00:00
Gregory Mierzwinski 703105950c Bug 1741754 - Increase number of viewports to try to 60. r=perftest-reviewers,kimberlythegeek
This patch changes the viewport retries to 60. This means that we will now check the first 1 second of the video to try to find a viewport.

Differential Revision: https://phabricator.services.mozilla.com/D132379
2021-11-30 16:56:44 +00:00
Agi Sferro 9ce9bd86e7 Bug 1740358 - Use Java JDK from Adoptium in CI. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D131928
2021-11-30 16:11:00 +00:00
Agi Sferro acc50579ec Bug 1740358 - Add toolchain-env r=ahal
This patch adds a new toolchain run property: toolchain-env which allows
specifying additional environment variables that will be added to the worker
when consuming the toolchain artifact.

Differential Revision: https://phabricator.services.mozilla.com/D131987
2021-11-30 16:11:00 +00:00
Andrew Halberstadt 9355c6173c Bug 1700774 - Fix missed test import after renaming file, r=gbrown
This reference was in a new test which wasn't on searchfox yet.

Differential Revision: https://phabricator.services.mozilla.com/D132384
2021-11-29 16:43:48 +00:00
Andrew Halberstadt 713a86b13d Bug 1700774 - [taskgraph] Fix circular dependency on 'get_mobile_project' in variants transform, r=gbrown
We have a 3 way circular dependency in the test transforms:

1. The 'raptor' transforms depend on 'split_variants'
2. The 'get_mobile_project' utility function depends on the 'raptor' transforms
3. The 'split_variants' transform depends on the 'get_mobile_project' utility function

The only reason things are working is that in step 3 we don't need the result
of 'get_mobile_project' to be perfect. This revision breaks the circular
dependency by checking for 'android' in the test-platform rather than relying
on 'get_mobile_project == geckoview'.

While this is admittedly not as precise, we only apply the particular variant
that needs this to geckoview tasks in the first place. In other words, this
revision does not cause any additional tasks to be added / removed.

Differential Revision: https://phabricator.services.mozilla.com/D132072
2021-11-29 15:52:21 +00:00
Andrew Halberstadt eaf63cd905 Bug 1700774 - [taskgraph] Convert 'raptor' transform into general purpose 'run_siblings' transform, r=gbrown
We'd like to break down the test transforms into smaller well-ordered pieces.
This will allow us to run any transforms defined in files under the
'transforms.test' directory.

Differential Revision: https://phabricator.services.mozilla.com/D132071
2021-11-29 15:52:21 +00:00
Andrew Halberstadt 7a2498c4db Bug 1700774 - [taskgraph] Run test schema validation immediately after setting defaults, r=gbrown
This ensures validation happens before we handle variants and raptor. It means
we no longer make any meaningful changes to the graph before validating.

Differential Revision: https://phabricator.services.mozilla.com/D132070
2021-11-29 15:52:20 +00:00
Andrew Halberstadt bd0cdd71ce Bug 1700774 - [taskgraph] Group 'raptor' specific test configs together, r=perftest-reviewers,sparky
In the test transforms we currently have general 'test_description_schema' and
a schema for raptor / browsertime tasks. Prior, the raptor schema was validated
*before* the test schema, and we were doing a lot of validation twice.

This revision switches the order such that the test schema is first evaluated,
and then the raptor one is. To accomplish this, we create a 'raptor' subconfig
that the 'test_description_schema' completely ignores (and leaves up to the
raptor schema to evaluate).

The benefit of this change is that all test tasks will have a single entry point
when they get into the 'test' transforms. This makes reasoning about their
configuration much easier and lays the ground work to start splitting even more
transforms out into other modules.

Differential Revision: https://phabricator.services.mozilla.com/D132069
2021-11-29 15:52:20 +00:00
Andrew Halberstadt 89cabb3dc5 Bug 1700774 - [taskgraph] Move test transforms to a 'transforms/test' directory, r=gbrown
This includes:

    transforms/tests.py -> transforms/test/__init__.py
    transforms/raptor.py -> transforms/test/raptor.py

This is a pre-cursor to splitting the file up into multiple smaller files under
the new 'test' transform directory.

Differential Revision: https://phabricator.services.mozilla.com/D132068
2021-11-29 15:52:19 +00:00
Marco Castelluccio f8e70b1514 Bug 1742652 - Use topsrcdir from build task mozinfo.json instead of hardcoding the path for the gcov prefix. r=releng-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D132147
2021-11-29 11:09:29 +00:00
Barret Rennie f266d9f90f Bug 1743015 - Temporarily disable fxrecord jobs due to Toronto office outage r=mhentges
Differential Revision: https://phabricator.services.mozilla.com/D132176
2021-11-25 19:01:18 +00:00
Nicolas Chevobbe 7d7d367707 Bug 1742332 - Enable devtools no eft config. r=jdescottes,jmaher.
Since we're going to enable EFT on Nightly and let it bake there a bit to
get feedback, we might face a situation where we have to disable EFT.
Having these test variants will help us to not regress non-EFT cases so if
we ever have to rollback EFT, there wouldn't be extra work.

Depends on D131477

Differential Revision: https://phabricator.services.mozilla.com/D131600
2021-11-25 06:24:12 +00:00