11852 Commits

Author SHA1 Message Date
Marco Castelluccio
56f93684c9 Bug 1804450 - Use 'shortest' expiration for crashreporter symbols. r=taskgraph-reviewers,jmaher DONTBUILD
Depends on D173012

Differential Revision: https://phabricator.services.mozilla.com/D173013
2023-03-20 14:03:51 +00:00
Marco Castelluccio
d3c0a68b9c Bug 1804450 - Add a 'shortest' expiration policy. r=taskgraph-reviewers,jmaher DONTBUILD
This is to be used for artifacts that are ingested by other services right away, e.g. crash symbols or coverage data.

Differential Revision: https://phabricator.services.mozilla.com/D173012
2023-03-20 14:03:50 +00:00
Andrew Halberstadt
577c4dacfe Bug 1811850 - [lint] Fix ruff errors resulting from new configuration, r=webdriver-reviewers,perftest-reviewers,whimboo,sparky,firefox-build-system-reviewers,ahochheiden
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D172359
2023-03-20 13:06:28 +00:00
Andrew Halberstadt
82d9947901 Bug 1811850 - [lint] Replace pylint linter with ruff, r=linter-reviewers,marco
This is enabling the PLE and PLC rules across a much larger swatch of the code
base. The PLR and PLW are additionally enabled at the warning level (introduces
~2500 new warnings).

To avoid extraneous changes in people's patches, rules at the warning level are
excluded from --fix.

Differential Revision: https://phabricator.services.mozilla.com/D172358
2023-03-20 13:06:28 +00:00
Andrew Halberstadt
441546dc79 Bug 1811850 - [lint] Replace isort linter with ruff, r=taskgraph-reviewers,linter-reviewers,marco,jcristau
This results in some changes from our current `isort` configuration. I'm
unclear if it's because ruff isn't at 100% parity with isort, they choose
different defaults or if I missed some configuration.

Either way, the changes all look reasonable to me (see child commit), so I'm
inclined to just accept the new import format it imposes.

Differential Revision: https://phabricator.services.mozilla.com/D172348
2023-03-20 13:06:27 +00:00
Andrew Halberstadt
dd673c2fb2 Bug 1811850 - [lint] Replace flake8 linter with ruff, r=linter-reviewers,sylvestre
Ruff is a very fast linter implemented in Rust and it can act as a drop-in
replacement for flake8. When running the same set of rules across all files
in mozilla-central (without mozlint), flake8 takes 900 seconds whereas ruff
takes 0.9 seconds.

Ruff also implements rules from other popular Python linters such as pylint,
isort and pyupgrade. There are even plans to implement feature parity with
black in the future. Ultimately, it can become our one stop shop for all Python
linting and formatting.

This stack will swap out all our Python lint tools for ruff (excluding black
for now).

Differential Revision: https://phabricator.services.mozilla.com/D172313
2023-03-20 13:06:27 +00:00
Cosmin Sabou
5a03595206 Bug 1821918 - Increase the number of chunks for windows debug web-platform tests due to hitting max run time. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D172904
2023-03-18 02:54:49 +00:00
Cristian Tuns
c1b52fd95e Backed out 5 changesets (bug 1811850) for causing linting bustages(bugzilla) CLOSED TREE
Backed out changeset e8fcfc7f8108 (bug 1811850)
Backed out changeset f8950d716c9e (bug 1811850)
Backed out changeset f650123cc188 (bug 1811850)
Backed out changeset d96f90c2c58b (bug 1811850)
Backed out changeset c3b0f9666183 (bug 1811850)
2023-03-16 22:16:30 -04:00
Andrew Halberstadt
d93be6a402 Bug 1811850 - [lint] Fix ruff errors resulting from new configuration, r=webdriver-reviewers,perftest-reviewers,whimboo,sparky,firefox-build-system-reviewers,ahochheiden
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D172359
2023-03-17 01:54:00 +00:00
Andrew Halberstadt
054d07c54f Bug 1811850 - [lint] Replace pylint linter with ruff, r=linter-reviewers,marco
This is enabling the PLE and PLC rules across a much larger swatch of the code
base. The PLR and PLW are additionally enabled at the warning level (introduces
~2500 new warnings).

To avoid extraneous changes in people's patches, rules at the warning level are
excluded from --fix.

Differential Revision: https://phabricator.services.mozilla.com/D172358
2023-03-17 01:54:00 +00:00
Andrew Halberstadt
8b4f890651 Bug 1811850 - [lint] Replace isort linter with ruff, r=taskgraph-reviewers,linter-reviewers,marco,jcristau
This results in some changes from our current `isort` configuration. I'm
unclear if it's because ruff isn't at 100% parity with isort, they choose
different defaults or if I missed some configuration.

Either way, the changes all look reasonable to me (see child commit), so I'm
inclined to just accept the new import format it imposes.

Differential Revision: https://phabricator.services.mozilla.com/D172348
2023-03-17 01:53:59 +00:00
Andrew Halberstadt
8a4d48a70d Bug 1811850 - [lint] Replace flake8 linter with ruff, r=linter-reviewers,sylvestre
Ruff is a very fast linter implemented in Rust and it can act as a drop-in
replacement for flake8. When running the same set of rules across all files
in mozilla-central (without mozlint), flake8 takes 900 seconds whereas ruff
takes 0.9 seconds.

Ruff also implements rules from other popular Python linters such as pylint,
isort and pyupgrade. There are even plans to implement feature parity with
black in the future. Ultimately, it can become our one stop shop for all Python
linting and formatting.

This stack will swap out all our Python lint tools for ruff (excluding black
for now).

Differential Revision: https://phabricator.services.mozilla.com/D172313
2023-03-17 01:53:58 +00:00
Noemi Erli
2de6906fbc Backed out changeset 41589839f711 (bug 1821221) for causing build bustage CLOSED TREE 2023-03-17 00:43:28 +02:00
Mike Hommey
c53db6818d Bug 1821221 - Switch Android builds to compiler-rt + libunwind. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D172076
2023-03-16 21:39:24 +00:00
alwu
3e63bd59ed Bug 1822826 - correct component name. r=ci-and-tooling,suhaib DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D172822
2023-03-16 19:25:15 +00:00
Ryan VanderMeulen
2cfa8ad2d0 Bug 1822861 - Temporarily disable HSTS pinning updates due to crashes during the run. r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D172821
2023-03-16 18:25:40 +00:00
Julien Cristau
d2ed6328b6 Bug 1732929 - use release_type parameter in release-bouncer-aliases task config r=bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D172261
2023-03-16 14:07:08 +00:00
Marian-Vasile Laza
703b1846fd Backed out 2 changesets (bug 1720941) for web-platform tests failures. CLOSED TREE
Backed out changeset f7fed5fde8b7 (bug 1720941)
Backed out changeset a211d76a5e01 (bug 1720941)
2023-03-16 02:14:02 +02:00
Bobby Holley
13cee562c0 Bug 1822691 — Bump cargo-vet to b31b5428709583d0de0fa1b54d88624fd04f8a50. r=nika,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D172727
2023-03-15 21:52:06 +00:00
Mike Hommey
f16ddf3bf5 Bug 1822462 - Use TARGET_C{,XX}FLAGS consistently between platforms. r=firefox-build-system-reviewers,andi
In some cases, TARGET_CC/TARGET_CXX are ignored by build scripts.
For consistency, also use TARGET_CFLAGS/TARGET_CXXFLAGS for Linux.

Differential Revision: https://phabricator.services.mozilla.com/D172646
2023-03-15 20:50:12 +00:00
Mike Hommey
2baef56ab0 Bug 1820947 - Use "new style" sysroot when building Android compiler-rt. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D172073
2023-03-15 20:44:02 +00:00
Erich Gubler
af02a85436 Bug 1720941, part 1: build(ci): integrate WebGPU CTS into CI r=webgpu-reviewers,taskgraph-reviewers,jmaher,jimb
Vendor in WebGPU CTS so that we can run it against our implementation of WebGPU. This patch includes:

1. Some linting configuration tweaks, to silence issues that weren't straightforward to fix in CTS upstream.
2. Some WPT runner configuration to enable preferences, and skip MacOS testing altogether (since it's not targeted by our current work).
3. A new Rust binary crate that, when run from a development environment:
    1. Creates a vendored copy of WebGPU CTS in `<gecko>/dom/webgpu/tests/cts/checkout/`.
    2. Generates private Web Platform Tests (see also `<gecko>/testing/web-platform/docs/index.rst`). To do this, we:
        1. Use upstream test generation via `npm` scripts, which creates a single `cts.https.html` file with thousands of variants.
        2. Chunk the `cts.https.html` file into parts that Taskcluster can distribute without timing out individual jobs. IMO, this is the most likely part of these changes to need further iteration, because:
            1. We currently naively divide tests by number of variant, and have made no effort to empirically prove that we're dividing execution time of chunks.
            2. There is currently no stability in the distribution of tests per chunk. Test variants are essentially a flattened list of the tree structure used to organize tests. Adding a few tests that end up being placed in the middle of the list can cause the chunk with new tests _and all subsequent chunks_ to have their contents changed, which will probably cause a disproportionate number of line changes to review.:
        3. Fix `script` tag(s) so they actually work with the WPT test runner for private tests (viz., in the `testing/web-platform/mozilla` directory).

The output of the new vendoring binary is designed make the above steps transparent. N.B. that no actual vendoring in of files has happened yet; the next patch will add the results of running this script.

Differential Revision: https://phabricator.services.mozilla.com/D169951
2023-03-15 20:13:45 +00:00
Steve Fink
231aa8be0a Bug 1814295 - Handle references in the analysis, in particular AutoCheckCannotGC&&. r=jonco
The hazard analysis needs to be able to pass a parameter of type AutoCheckCannotGC&& that can be considered to be "consumed" either explicitly by calling reset() on it, or given over to a calle with std::move().

Differential Revision: https://phabricator.services.mozilla.com/D170142
2023-03-15 17:43:35 +00:00
Greg Mierzwinski
101e73714c Bug 1821791 - Remove the extra summary metrics using mean. r=perftest-reviewers,AlexandruIonescu
Depends on D172320

Differential Revision: https://phabricator.services.mozilla.com/D172672
2023-03-15 13:10:46 +00:00
Gabriel Bustamante
168dc2dc37 Bug 1799508 - Upload the langpack .deb packages to the Mozilla archive r=hneiva
Differential Revision: https://phabricator.services.mozilla.com/D172599
2023-03-14 23:38:58 +00:00
Gabriel Bustamante
e576956c6f Bug 1799504 - Upload the Firefox .deb packages to the Mozilla archive r=hneiva
Differential Revision: https://phabricator.services.mozilla.com/D172598
2023-03-14 23:38:58 +00:00
Ben Hearsum
a1611f4f11 Bug 1822285: fix group name for l10n attribution tasks. r=releng-reviewers,jcristau
Differential Revision: https://phabricator.services.mozilla.com/D172560
2023-03-14 13:22:26 +00:00
Nicolas Chevobbe
59858d2342 Bug 1636599 - Generate artifact for reviewbot from devtools-node-test-runner.js . r=jdescottes,ahal,andi,devtools-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D171534
2023-03-14 08:55:01 +00:00
Norisz Fay
4a35828e21 Backed out 2 changesets (bug 1820947) for causing build bustage CLOSED TREE
Backed out changeset eb6419bb8748 (bug 1820947)
Backed out changeset 9990083e8ea2 (bug 1820947)
2023-03-14 01:20:54 +02:00
Mike Hommey
2cb3bbb9ce Bug 1820947 - Use "new style" sysroot when building Android compiler-rt. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D172073
2023-03-13 21:14:47 +00:00
Joel Maher
c2110307de Bug 1821144 - remove old windows worker definitions. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D172069
2023-03-13 20:57:13 +00:00
Ben Hearsum
17754b77e7 Bug 1822174: set worker implementation in push langpack transform to avoid tripping logic that adds extra tags, and breaks CoT verification r=releng-reviewers,ahal
This function (https://searchfox.org/mozilla-central/rev/af78418c4b5f2c8721d1a06486cf4cf0b33e1e8d/taskcluster/gecko_taskgraph/transforms/job/__init__.py#133) ends up setting the `worker-implementation` tag. This ends up giving us two worker implementation types in scriptworker (b895fdd92b/src/scriptworker/cot/verify.py (L331)), which ultimately causes us to hit this exception (b895fdd92b/src/scriptworker/cot/verify.py (L375))

(It seems to me that `set_implementation` setting this tag will always cause this issue, so perhaps we need to remove that part of its code. At the very least, we should re-examine this...we support setting implementation and os in multiple places....which is very confusing.)

Differential Revision: https://phabricator.services.mozilla.com/D172477
2023-03-13 20:39:03 +00:00
Ben Hearsum
439f5b3603 Bug 1814727: adjust beetmover tasks to be downstream of attribution tasks for Windows r=releng-reviewers,gbrown
This is mostly just switching the upstream tasks with pull the Windows installers from. The only wrinkle is that we're not attributing the asan-reporter installers (and we shouldn't IMO), so I had to add support for keying upstream tasks on platform in the beetmover manifests. (If we simply listed all three possible upstreams, we ended up pulling _two_ installers for platforms that are attributed...and I don't even know which one would get published, or if both would.)

Differential Revision: https://phabricator.services.mozilla.com/D170246
2023-03-13 19:04:07 +00:00
Ben Hearsum
abd2a1fcbb Bug 1814727: add tasks for attributing l10n builds r=ahal
The kind is more or less the same as the en-US counterpart in the previous revision.

As with the en-US attribution kind, this also does does _not_ use the `multi_dep` loader to set up the per-locale tasks. Of course, we do need to split by locale, which is now being done quite explicitly by the new `split_by_locale` that looks at the specified locales file, and uses specific platforms specified in the kind. As with the previous revision, please feel free to push back if any of you feel any of this is going in the wrong direction, is worse than multi_dep, etc. etc.

Differential Revision: https://phabricator.services.mozilla.com/D170245
2023-03-13 19:04:06 +00:00
Ben Hearsum
8e86487f21 Bug 1814727: add tasks for attributing en-US builds r=ahal,nalexander
Notably, the actual attribution code we're using is stored in `browser`. This was largely motivated by the fact that the subsequent revision in this stack will also need it, and this seemed like the best way to make it shareable between the two. The only alternative I could come up with was stuffing it into a transforms - but it's really just data - there's no reason it ought to live in such a place. (We do have precedent for this sort of thing with both locale and whats new page information, so I don't think it's breaking huge new ground.) Nick - I'm tagging you mainly on this part, but I welcome any other comments you may have (here or in the rest of the stack for that matter).

The other notable part of this patch is that I've _explicitly_ decided not to use the `multi_dep` loader, nor reimplement any of its magic pulling of properties in a transform. I find that this makes it more clear what's _actually_ going on, and easier to debug when making changes. The dwonside, of course, is that there's some verboseness in the kind - all platforms we need to run this for must be explicitly listed. I'm open to debate on whether or not this is the right trade-off, so feel free to push back if you disagree.

Differential Revision: https://phabricator.services.mozilla.com/D170243
2023-03-13 19:04:06 +00:00
Ben Hearsum
30b7f31ee6 Bug 1814727: Add a transform that knows how to pull in command-context from an external file r=taskgraph-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D170242
2023-03-13 19:04:06 +00:00
Ben Hearsum
89e06a6146 Bug 1814727: Rename partner_attribution.py to a more generic name r=releng-reviewers,gbrown
There's actually nothing partner-specific in this script, and it's about to be used for other types of attribution as well.

Differential Revision: https://phabricator.services.mozilla.com/D170239
2023-03-13 19:04:04 +00:00
Nicolas Chevobbe
00b67e5e84 Bug 1822111 - Use expected artifact file name in devtools-verify-bundle task. r=devtools-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D172447
2023-03-13 17:58:41 +00:00
Marian-Vasile Laza
ee72efd1e9 Backed out 5 changesets (bug 1809843) for causing Cargo related build bustages. CLOSED TREE
Backed out changeset 5c494680f448 (bug 1809843)
Backed out changeset 02742b38edab (bug 1809843)
Backed out changeset 2b9b32ca8294 (bug 1809843)
Backed out changeset 56631cb02ae6 (bug 1809843)
Backed out changeset 37e35a60a71f (bug 1809843)
2023-03-13 13:53:26 +02:00
Kershaw Chang
7d99157362 Bug 1809843 - Run mochitest with Http/3 server on try, r=gbrown,necko-reviewers,ci-and-tooling,valentin,suhaib,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D167515
2023-03-13 11:12:33 +00:00
Bastien Abadie
e35576a832 Bug 1821365 - Only count line additions and removals in tgdiff changes, r=marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D172217
2023-03-10 16:16:13 +00:00
Greg Mierzwinski
37711bb4ba Bug 1821666 - Use perftest-alerts email for fxrecord alerts. r=perftest-reviewers,kshampur DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D172259
2023-03-10 15:37:06 +00:00
Jan de Mooij
904c88a916 Bug 1821313 - Add a SpiderMonkey WASI Intl/ICU build. r=sfink,taskgraph-reviewers
The only difference with `SM(wasi)` is that this doesn't use `--without-intl-api`.
The resulting Wasm file is almost 3x larger because of this.

Maybe this could replace the non-intl build at some point, but considering the large
size difference it still seems useful to keep both for now.

Differential Revision: https://phabricator.services.mozilla.com/D172113
2023-03-10 07:52:51 +00:00
Mike Hommey
1a25231b19 Bug 1821226 - Build dump_syms with the rust-toolchain artifact. r=firefox-build-system-reviewers,ahochheiden
Back when they were made to use an explicit version, the rust-toolchain
artifacts were on an older version.

Differential Revision: https://phabricator.services.mozilla.com/D172077
2023-03-09 22:22:40 +00:00
Julien Cristau
b9e0747e98 Bug 1820779 - move addon worker type to config.yml. r=releng-reviewers,gbrown DONTBUILD
This makes it possible to use e.g. `mach try fuzzy --worker-suffix addon=-dev` to use the dev pool.

Differential Revision: https://phabricator.services.mozilla.com/D171872
2023-03-09 10:55:24 +00:00
Alex Hochheiden
ae24cee9f1 Bug 1820915 - Use more recent python versions on Rocky Linux 8 and OpenSuSE Leap. r=firefox-build-system-reviewers,andi
- For OpenSUSE Leap `python39-curses` has to be explicitly installed for Python 3.9
- For OpenSUSE Python 3.9 the `pip` binary is named `pip3.9`, so we must symlink it to `pip3` for the various Mach commands that expect it to be called `pip3`.

Differential Revision: https://phabricator.services.mozilla.com/D171934
2023-03-09 10:53:16 +00:00
Tom Ritter
bf27261630 Bug 1700396: Bump updatebot to get the phab fix r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D171763
2023-03-08 17:39:56 +00:00
Greg Mierzwinski
aba4fbcf67 Bug 1816453 - Update chromedriver to v111. r=perftest-reviewers,kshampur
Differential Revision: https://phabricator.services.mozilla.com/D171710
2023-03-08 14:06:28 +00:00
Bobby Holley
1472d5301a Bug 1820851 — Update cargo-vet to 5461e5a3d459bea2c544002d9154c38f43f118a7. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D171890
2023-03-07 23:15:18 +00:00
Johan Lorenzo
d0ccca1c26 Bug 1799042 - part 9: Create repackage-deb-l10n tasks r=gabriel
Depends on D171124

Differential Revision: https://phabricator.services.mozilla.com/D171125
2023-03-07 19:28:25 +00:00