Commit Graph

9452 Commits

Author SHA1 Message Date
Jan-Erik Rediger
c882ef6160 Bug 1928630 - Vendor Glean SDK v62.0.0 r=janerik,supply-chain-reviewers,mach-reviewers,android-reviewers,ahal,boek
Differential Revision: https://phabricator.services.mozilla.com/D228093
2024-11-11 13:07:47 +00:00
Jan-Erik Rediger
73bed99af9 Bug 1928630 - Update glean_parser to v15.2.1 r=janerik,mach-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D228092
2024-11-11 13:07:47 +00:00
Chidam Gopal
55c58339f0 Bug 1928224 - Add intent and NER performance test in local r=sparky,tarek,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D227416
2024-11-07 14:45:12 +00:00
Andrew Halberstadt
ec8622c7d9 Bug 1929372 - [mozversioncontrol] Refactor into vcs specific submodules, r=sheehan
I don't love monolithic files, this simply moves things around to
submodules without changing any logic.

Differential Revision: https://phabricator.services.mozilla.com/D228091
2024-11-07 14:26:19 +00:00
Greg Mierzwinski
74b438f3d4 Bug 1928135 - Output suite-level description missing error on all changed files. r=perftest-reviewers,fbilt DONTBUILD
This patch fixes an issue where the suite-level description error wasn't being output. Instead of using the manifest from the yaml for this error, we'll output the failure to all changed files. Some additional changes are made for mozperftest to handle tests with periods in their names.

Differential Revision: https://phabricator.services.mozilla.com/D227378
2024-11-07 12:17:51 +00:00
serge-sans-paille
d8a80fdff3 Bug 1915191 - Provide a minimal linter for configure help r=glandium,geckoview-reviewers,owlish
Currently makes sure all help message begins with an uppercase letter
and does *not* end with a dot.

Differential Revision: https://phabricator.services.mozilla.com/D220283
2024-11-07 10:43:43 +00:00
Henrik Skupin
86812cc161 Bug 1929112 - [wpt] Remove the wpt fissionregressions command and CI tests. r=jgraham,cpeterson,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D228146
2024-11-07 09:06:55 +00:00
Andrew Halberstadt
09d19b515b Bug 1928709 - Remove 'cram' test harness from the tree, r=jmaher,mach-reviewers,ahochheiden
This is no longer being used and the upstream project is unmaintained.

Differential Revision: https://phabricator.services.mozilla.com/D227869
2024-11-06 19:03:16 +00:00
Andrew Halberstadt
1be9df47d2 Bug 1928697 - [mach] Fix bug restoring parser defaults in Registrar.dispatch, r=mach-reviewers,ahochheiden
Wow, this one was fun to debug. I was attempting to write some Python
tests that wrap around mach.run and then validate the output (in order
to get rid of our cramtest framework). But I had an issue where any
tests that ran after an earlier test, would have the wrong arguments
set. It turns out that the earlier test hits a code path that calls into
Registrar.dispatch(). And this method is supposed to temporarily mutate
the defaults of the argument parser:
https://searchfox.org/mozilla-central/rev/0d0eef18ea91e38ddfb82a1ac5d6560a146da5c0/python/mach/mach/registrar.py#185

The problem is that it doesn't properly restore state. This is because
ArgumentParser.set_defaults mutates both, parser._defaults as well as
parser._actions (which themselves can have a default). So we need to
restore both of those. We also need to use deepcopy rather than copy or
it doesn't work. And for good measure I threw both of them into a
finally block in case parsing the arguments raises an exception that
would get caught and handled downstream (e.g a test that is testing
invalid arguments).

Differential Revision: https://phabricator.services.mozilla.com/D227679
2024-11-06 19:03:14 +00:00
Goloman Adrian
20c086f54e Backed out 3 changesets (bug 1661935) for causing xpc failures @test_subprocess.js.
Backed out changeset 620790051502 (bug 1661935)
Backed out changeset 7b10b4e274db (bug 1661935)
Backed out changeset 594beeb5e424 (bug 1661935)
2024-11-06 21:12:57 +02:00
Alexandre Lissy
902392c3b3 Bug 1661935 - Native Messaging WebExtensions portal tests r=robwu,ahal
Differential Revision: https://phabricator.services.mozilla.com/D227142
2024-11-06 14:57:49 +00:00
Sylvestre Ledru
d35ba16a18 Bug 1918098 - ruff: fix the errors identified by 0.6.4 r=linter-reviewers,taskgraph-reviewers,releng-reviewers,webdriver-reviewers,perftest-reviewers,migration-reviewers,jmaher,whimboo,sparky,xpcom-reviewers,beth,ahal,mconley
Differential Revision: https://phabricator.services.mozilla.com/D221874
2024-11-06 12:51:32 +00:00
Manuel Bucher
fb968aec40 Bug 1733498 - Migrate necko errors l10n strings from properties to Fluent r=necko-reviewers,valentin,flod
Differential Revision: https://phabricator.services.mozilla.com/D136612
2024-11-04 16:58:29 +00:00
Sylvestre Ledru
cd289bcb06 Bug 1921433 - reformat with black 24.8.0 r=linter-reviewers,webdriver-reviewers,perftest-reviewers,taskgraph-reviewers,releng-reviewers,dom-storage-reviewers,janv,jmaher,whimboo,afinder,ahal
Differential Revision: https://phabricator.services.mozilla.com/D223963
2024-11-03 20:28:59 +00:00
Alexandru Marc
71363f7504 Backed out 2 changesets (bug 1733498) for causing perma Localised repacks build bustages a=backout
Backed out changeset 2b0ab2780b86 (bug 1733498)
Backed out changeset 520270bde3eb (bug 1733498)
2024-11-01 11:37:29 +02:00
Vasish Baungally
d27d9480e0 Bug 1919861 - Add metrics for remote models running in CI - r=sparky,tarek,frontend-codestyle-reviewers,perftest-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D223990
2024-10-31 20:10:56 +00:00
Manuel Bucher
f75f7b7494 Bug 1733498 - Migrate necko errors l10n strings from properties to Fluent r=necko-reviewers,valentin,flod
Differential Revision: https://phabricator.services.mozilla.com/D136612
2024-10-31 17:53:03 +00:00
Alexandru Marc
714318814a Backed out changeset bfe4f7bcf0e7 (bug 1919861) for causing bc failures @ ModelHub.sys.mjs. CLOSED TREE 2024-10-31 16:24:13 +02:00
Vasish Baungally
5da652af25 Bug 1919861 - Add metrics for remote models running in CI - r=sparky,tarek,frontend-codestyle-reviewers,perftest-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D223990
2024-10-31 13:14:21 +00:00
Noemi Erli
d635f30118 Backed out 1 changesets (bug 1733498) for causing failures in browser_necko_l10n.js CLOSED TREE
Backed out changeset 005a00fa3096 (bug 1733498)
2024-10-30 23:57:31 +02:00
Manuel Bucher
0cdfe4a2e4 Bug 1733498 - Migrate necko errors l10n strings from properties to Fluent r=necko-reviewers,valentin,flod
Differential Revision: https://phabricator.services.mozilla.com/D136612
2024-10-30 20:38:41 +00:00
Nathan Barrett
1fbd376756 Bug 1927950 - Update pywatchman in watch.txt r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D227345
2024-10-30 15:26:37 +00:00
Stanca Serban
4760b04798 Backed out 2 changesets (bug 1733498) for causing mochitests failures.
Backed out changeset 27bdb3f9ad81 (bug 1733498)
Backed out changeset a0a8e9643810 (bug 1733498)
2024-10-28 19:54:02 +02:00
Manuel Bucher
5bd00204c7 Bug 1733498 - Migrate necko errors l10n strings from properties to Fluent r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D136612
2024-10-28 16:25:01 +00:00
Alexandru Marc
63e1b92a4f Backed out changeset 0643ca11931d (bug 1733498) for causing multiple failures. 2024-10-28 17:32:42 +02:00
Manuel Bucher
30108ed549 Bug 1733498 - Migrate necko errors l10n strings from properties to Fluent r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D136612
2024-10-28 14:34:04 +00:00
Chun-Min Chang
f64dbf04f0 Bug 1920813 - Add performance test for WebCodecs video encoding r=perftest-reviewers,media-playback-reviewers,aosmond,padenot,sparky
This patch introduces performance tests to evaluate the video encoding
performance in two usage scenarios: *Realtime* and *Record*. Each
scenario assesses the encoding using two key metrics:

1. Frame Encoding Latency: The time from encoding a single frame to
   receiving its encoded result
2. Total Encoding Time: The duration from the first encoding request to
   the reception of the last encoded result

In the *Realtime* scenario, minimizing the latency for each frame is
crucial. This metric is essential for applications like live streaming
and video conferencing, where timely delivery of each frame impacts user
experience.

In contrast, the *Record* scenarios prioritizes the total encoding time.
Here, the focus is on processing the entire sequence efficiently to
produce the final output.

By adding these tests, we aim to thoroughly assess and optimize the
encoder's performance under both scenarios, ensuring Gecko provides the
experience users expect.

Differential Revision: https://phabricator.services.mozilla.com/D224999
2024-10-25 21:43:26 +00:00
Ryan VanderMeulen
498942f48e Bug 1926968 - Update to Android NDK r27c. r=geckoview-reviewers,calu
Differential Revision: https://phabricator.services.mozilla.com/D226827
2024-10-25 15:59:16 +00:00
Vasish Baungally
e2772d926c Bug 1925273 - Set script type for mochitest using manifest flavor. r=perftest-reviewers,afinder
Differential Revision: https://phabricator.services.mozilla.com/D225972
2024-10-24 11:57:24 +00:00
Alex Franchuk
ceabd19bdd Bug 1917685 - Merge minidump-analyzer into the crash reporter client r=gsvelto,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D225234
2024-10-23 13:58:12 +00:00
Aaditya Dhingra
2c62134ede Bug 1897186 - Add fenix and focus tests to mach test. r=nalexander,ohall,jmaher
Commands added:

`mach test fenix` runs all tests for fenix
`mach test focus` runs all tests for focus
`mach test mobile/android/fenix/app/src/test/java/org/mozilla/fenix/translations/TranslationsDialogBindingTest.kt` will run all tests in the file.
`mach test mobile/android/fenix/app/src/test/java/org/mozilla/fenix/translations/` will run all tests in the directory.

Differential Revision: https://phabricator.services.mozilla.com/D224885
2024-10-22 16:49:36 +00:00
Julien Cristau
f8bce72dcc Bug 1926340 - use push-to-vcs for scriptworker-canary. r=releng-reviewers,bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D226525
2024-10-22 16:28:56 +00:00
Ryan VanderMeulen
8e76e0d597 Bug 1925526 - Update JDK 17 to version 17.0.13+11. r=geckoview-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D226151
2024-10-22 13:15:14 +00:00
Sandor Molnar
c2581af308 Backed out changeset bb90d095b8b8 (bug 1917685) for causing xpc failures @ test_crash_exc_guard / test_crash_service CLOSED TREE 2024-10-22 01:46:53 +03:00
Alex Franchuk
0996a5e236 Bug 1917685 - Merge minidump-analyzer into the crash reporter client r=gsvelto,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D225234
2024-10-21 16:46:06 +00:00
Erik Nordin
1b9a620c77 Bug 1924192 - Create mochitest-browser-translations test definition r=translations-reviewers,jmaher,sparky,gregtatum
Splits browser-translations mochitests into their own Treeherder group
with the label `tr8ns`.

Depends on D225983

Differential Revision: https://phabricator.services.mozilla.com/D225414
2024-10-18 15:57:48 +00:00
ahochheiden
f75509aa5c Bug 1925399 - Add a force flag to add_remove_files in mozversioncontrol r=sheehan
Git requires a `-f` flag to force adding files that are captured by the
`.gitignore` (hg does not need this). We need this because of changes
in bug 1894160 that requires vendoring to explicitly add `.egg-info`
files due to `.gitignore` and `.hgignore` changes. Since they are
captured by this `.gitignore`, we need to be able to forcibly add them.

We add the `force` flag to all `add_remove_files` to allow us to append
that flag when running the `GitRepository` variant. They are unused for
all other variants, but we need to maintain a consistent function
signature.

Note: Also moved up the hash file regeneration to happen earlier so that
it is automatically added to VCS instead of having to be done manually.

Differential Revision: https://phabricator.services.mozilla.com/D226064
2024-10-18 02:16:10 +00:00
Mike Hommey
119e8f8456 Bug 1906851 - Use mozbuild.shellutil.quote instead of pipes.quote. r=firefox-build-system-reviewers,ahochheiden
The latter was removed in python 3.13, and while it can be replaced with
shlex, we also have our own version that considers more characters as
needing quotes.

Differential Revision: https://phabricator.services.mozilla.com/D225329
2024-10-14 20:22:30 +00:00
Mike Hommey
0ef7e2a802 Bug 1924022 - Use urlopen's context parameter instead of cafile. r=firefox-build-system-reviewers,jcristau,ahochheiden
The latter was removed in python 3.13.

Differential Revision: https://phabricator.services.mozilla.com/D225318
2024-10-14 20:22:29 +00:00
Yoshi Cheng-Hao Huang
cbcd16068e Bug 1923577 - Bump aioquic to 1.2.0. r=jgraham
Update aioquic version to 1.2.0 according to https://bugzilla.mozilla.org/show_bug.cgi?id=1921144

Differential Revision: https://phabricator.services.mozilla.com/D225029
2024-10-11 08:58:47 +00:00
Michael Froman
d92e8b072e Bug 1921707 - support new google build directory location in python/mozbuild/mozbuild/gn_processor.py r=ng
Differential Revision: https://phabricator.services.mozilla.com/D224078
2024-10-10 13:42:40 +00:00
Paul Adenot
5084131713 Bug 1923830 - Print commands in a way that is easy to copy paste in case of non-zero return code. r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D225186
2024-10-10 12:23:02 +00:00
Bastian Gruber
b7941358f4 Bug 1923364 - Add topic guides for app-services, r=nanj,markh DONTBUILD
Bug 1923364 - cleanup extensions, r=nanj

Bug 1923364 - Adding tabs to lint, r=nanj

Bug 1923364 - Ignore tabs linting, r=nanj

Bug 1923364 - Restructure and combine rust components, r=nanj

Bug 1923364 - Replace rst with MyST markdown, r=nanj

Bug 1923364 - PR review fixes, r=nanj

Differential Revision: https://phabricator.services.mozilla.com/D224949
2024-10-09 23:24:17 +00:00
Greg Mierzwinski
68a66de9af Bug 1916538 - Add documentation about the mach perftest alet command. r=perftest-reviewers,fbilt
This patch adds some documentation about the mach perftest alert layer, and how to use it. This includes the additional options that it has.

Differential Revision: https://phabricator.services.mozilla.com/D224006
2024-10-09 14:51:30 +00:00
Greg Mierzwinski
782e00951b Bug 1921527 - Add option to select tests to run from an alert. r=perftest-reviewers,afinder
This patch adds an option to specify which tests from an alert should run through using the mozperftest alert layer.

Differential Revision: https://phabricator.services.mozilla.com/D224005
2024-10-09 14:51:29 +00:00
Julien Cristau
e6e6b733e3 Bug 1913141 - mozperftest: fix subprocess error handling on mac. r=mozperftest-reviewers,sparky
CalledProcessError's constructor doesn't have a `stdout` argument, it's called `output`.

Differential Revision: https://phabricator.services.mozilla.com/D224746
2024-10-09 12:03:43 +00:00
Mike Hommey
1487fa209f Bug 1923217 - Upgrade zstandard to 0.23.0. r=firefox-build-system-reviewers,mach-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D224850
2024-10-09 02:26:05 +00:00
ahochheiden
a4bb5511b6 Bug 1920152 - Prevent the absolute path from being written in requirements.txt and re-vendor r=ahal,mach-reviewers
We can continue using `-o` to generate the `requiriements.txt` file by just using the filename instead of the absolute path. This works because we're already setting the `cwd` to be where it needs to be generated. This makes the comment at the top of the generated `requirements.txt` file always be the same, regardless of who ran the vendor.

Differential Revision: https://phabricator.services.mozilla.com/D224508
2024-10-08 15:19:23 +00:00
Bob Owen
34b37adda5 Bug 1918069 p8: Add some documentation for the individual-files flavor. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D223146
2024-10-08 11:01:14 +00:00
Bob Owen
697024af6b Bug 1918069 p7: Add ability to use individual-files flavor for googlesource. r=tjr
googlesource only has a base64 encoded raw form, so this patch adds the facility
for a host to specify a function for the copy and decode from the temp download
file. It also allows the individual-files-default-upstream to be an empty str,
because it seems reasonable for a file to be relative to the base vendoring url.

Differential Revision: https://phabricator.services.mozilla.com/D223145
2024-10-08 11:01:14 +00:00