Commit Graph

9366 Commits

Author SHA1 Message Date
serge-sans-paille
384a41d933 Bug 1916786 - Modernize python/mozbuild/mozbuild to use exist_ok=True parameter from os.makedirs r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D221070
2024-09-05 05:52:56 +00:00
Mike Hommey
9d4f9a016e Bug 1916304 - Prevent running mach vendor rust with cargo < 1.80. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D220840
2024-09-05 02:06:57 +00:00
Emilio Cobos Álvarez
54385cf32f Bug 1916043 - Don't try to run clangd for artifact builds. r=sergesanspaille
This fixes the bad caller.

Differential Revision: https://phabricator.services.mozilla.com/D220802
2024-09-04 07:23:14 +00:00
Greg Mierzwinski
ef47fc84d4 Bug 1907926 - Add tests for the alert layer. r=perftest-reviewers,aglavic DONTBUILD
This patch adds tests, and mock test data for the alert layer.

Differential Revision: https://phabricator.services.mozilla.com/D219966
2024-09-03 11:42:29 +00:00
Greg Mierzwinski
c887480fe6 Bug 1907926 - Add an local alert test run layer to mozperftest. r=perftest-reviewers,aglavic DONTBUILD
This patch adds a new layer to mozperftest that allows people to run all the tests that produced an alert locally.

It does this by querying Treeherder for the alert information, and determining the tests to run from there. A `--alert-exact` option is added to enable users to run the exact same command as was run in CI as well. This is done by querying the task information of the alerting task, and parsing the options from it in a framework-specific manner.

All harnesses have option parsing implemented for them, however some of them, such as AWSY are more manual due to how the argument parser is implemented in that harness.

Differential Revision: https://phabricator.services.mozilla.com/D219965
2024-09-03 11:42:29 +00:00
Greg Mierzwinski
00a7660ec7 Bug 1914607 - Use harness-specific coveragerc files in unit tests. r=afinder,perftest-reviewers DONTBUILD
This patch changes how the coveragerc file is handled between raptor, and mozperftest unit test runs. Instead of using a single file, this patch adds a second one that is specific to raptor, and renames the original to `.mpt-coveragerc`.

Differential Revision: https://phabricator.services.mozilla.com/D219964
2024-09-03 11:42:29 +00:00
Noemi Erli
05963188e7 Backed out 3 changesets (bug 1907926, bug 1914607) for breaking unit tests
Backed out changeset 4be97f09160b (bug 1907926)
Backed out changeset b37a84f28d80 (bug 1907926)
Backed out changeset 166420d270d2 (bug 1914607)
2024-08-30 16:30:07 +03:00
Greg Mierzwinski
3b15bfed63 Bug 1907926 - Add tests for the alert layer. r=perftest-reviewers,aglavic
This patch adds tests, and mock test data for the alert layer.

Differential Revision: https://phabricator.services.mozilla.com/D219966
2024-08-30 13:18:49 +00:00
Greg Mierzwinski
5f5f56b094 Bug 1907926 - Add an local alert test run layer to mozperftest. r=perftest-reviewers,aglavic
This patch adds a new layer to mozperftest that allows people to run all the tests that produced an alert locally.

It does this by querying Treeherder for the alert information, and determining the tests to run from there. A `--alert-exact` option is added to enable users to run the exact same command as was run in CI as well. This is done by querying the task information of the alerting task, and parsing the options from it in a framework-specific manner.

All harnesses have option parsing implemented for them, however some of them, such as AWSY are more manual due to how the argument parser is implemented in that harness.

Differential Revision: https://phabricator.services.mozilla.com/D219965
2024-08-30 13:18:48 +00:00
Greg Mierzwinski
8e3532e324 Bug 1914607 - Use harness-specific coveragerc files in unit tests. r=afinder,perftest-reviewers
This patch changes how the coveragerc file is handled between raptor, and mozperftest unit test runs. Instead of using a single file, this patch adds a second one that is specific to raptor, and renames the original to `.mpt-coveragerc`.

Differential Revision: https://phabricator.services.mozilla.com/D219964
2024-08-30 13:18:48 +00:00
Kagami Sascha Rosylight
555040a062 Bug 1915182 - Add clang-tidy for aarch64 Windows r=glandium,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D220276
2024-08-28 06:29:16 +00:00
serge-sans-paille
f22bb193a8 Bug 1912993 - Remove reference to autoconfmk in js/src/old-configure.in r=glandium
And accordingly remove reference to autoconfmk now that it's no longer
parametric.

Differential Revision: https://phabricator.services.mozilla.com/D219115
2024-08-28 05:29:28 +00:00
Mike Hommey
46f3c64b1b Bug 1914501 - Don't run emerge when all packages have been filtered out. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D220203
2024-08-27 09:00:31 +00:00
Mike Hommey
4c28032ab8 Bug 1906191 - Change how ProcessHandler handles output_timeout. r=releng-reviewers,gbrown
First and foremost, this undoes the patch for bug 1845125, which causes
other problems (e.g. output being dropped past a certain point).

The rest of the patch addresses bug 1845125 at the root: Ultimately, this
is a similar problem to bug 1863675.

wait is blocked on joining the stream reader thread, but the stream
reader thread is blocked on readline because the process is finished but
hasn't been waited on yet.

So joining the stream reader thread after the process is known to have
been finished is expected to work more reliably... except when a child
has been spun up that keeps it alive. In this case, we just keep the
reader thread working in the background, which is a similar strategy to
what was done in bug 1863675.

Differential Revision: https://phabricator.services.mozilla.com/D218389
2024-08-26 23:49:06 +00:00
serge-sans-paille
4543f1d05e Bug 1907538 - Add metavar support to moz.configure options r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D216401
2024-08-15 23:27:17 +00:00
serge-sans-paille
2cc45bbcf1 Bug 1912959 - Use assertRaisesRegex instead of assertRaisesRegexp r=webdriver-reviewers,taskgraph-reviewers,jcristau,whimboo
The former is supported since python 3.2, the latter got removed in
python 3.12.

Differential Revision: https://phabricator.services.mozilla.com/D219102
2024-08-15 08:57:15 +00:00
serge-sans-paille
8f0984572a Bug 1906824 - Move MOZ_OPTIMIZE_FLAGS from old-configure to moz.configure r=glandium
As js has different flags compared to the remaining parts of the
codebase, set a specific variable (namely MOZ_JS_OPTIMIZE_FLAGS) and use
it instead of MOZ_OPTIMIZE_FLAGS using a specific hook in
python/mozbuild/mozbuild/frontend/context.py

Also:

- harmonize moz_optimize_flags type to always return a list.
- moz_optimize now either returns "1" or None (no use case distinguishes
  between returning 1 or 2)

Differential Revision: https://phabricator.services.mozilla.com/D216098
2024-08-14 21:14:42 +00:00
Alexandre Lissy
e5d03c3d3c Bug 1912866 - Move fluent import to avoid doc generation warning r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D219082
2024-08-14 15:19:09 +00:00
Cosmin Sabou
2ddad4db70 Backed out changeset d5d4782604fd (bug 1906824) for causing bustages on BigIntType. CLOSED TREE 2024-08-14 01:30:14 +03:00
serge-sans-paille
56ef5fe6c9 Bug 1906824 - Move MOZ_OPTIMIZE_FLAGS from old-configure to moz.configure r=glandium
As js has different flags compared to the remaining parts of the
codebase, set a specific variable (namely MOZ_JS_OPTIMIZE_FLAGS) and use
it instead of MOZ_OPTIMIZE_FLAGS using a specific hook in
python/mozbuild/mozbuild/frontend/context.py

Also:

- harmonize moz_optimize_flags type to always return a list.
- moz_optimize now either returns "1" or None (no use case distinguishes
  between returning 1 or 2)

Differential Revision: https://phabricator.services.mozilla.com/D216098
2024-08-13 22:04:33 +00:00
Dave Townsend
4f9bc460c7 Bug 1906260: Remove the -no-remote command line argument. r=glandium,webdriver-reviewers,perftest-reviewers,application-update-reviewers,taskgraph-reviewers,nalexander,bhearsum,jdescottes,sparky
Differential Revision: https://phabricator.services.mozilla.com/D217569
2024-08-13 14:13:10 +00:00
Narcis Beleuzu
ef4ef8198a Backed out changeset f0866652e65f (bug 1906260) for bc failure on /browser_startup_mainthreadio.js . CLOSED TREE 2024-08-09 12:33:45 +03:00
Dave Townsend
53057e9f02 Bug 1906260: Remove the -no-remote command line argument. r=glandium,webdriver-reviewers,perftest-reviewers,application-update-reviewers,taskgraph-reviewers,nalexander,bhearsum,jdescottes,sparky
Differential Revision: https://phabricator.services.mozilla.com/D217569
2024-08-08 19:35:41 +00:00
Jan-Erik Rediger
bb903b4fba Bug 1911767 - Update to Glean v60.5.0 r=chutten,glandium,supply-chain-reviewers,mach-reviewers,android-reviewers,twhite,ahal
Differential Revision: https://phabricator.services.mozilla.com/D218649
2024-08-08 14:58:04 +00:00
mcarare
bd142be578 Bug 1880792, 1880801, 1880805 - Compile Focus, Fenix, AC and GV with SDK 35. r=android-reviewers,geckoview-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D217428
2024-08-08 08:02:32 +00:00
Sylvestre Ledru
125b26683b Bug 1910311 - Update to sphinx 7.4.7 r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D217911
2024-08-08 07:32:50 +00:00
Noemi Erli
934126cb32 Backed out 9 changesets (bug 1880805, bug 1880792) for causing Android build bustages CLOSED TREE
Backed out changeset 31bdbc9aeaa4 (bug 1880805)
Backed out changeset 774f35ca40c6 (bug 1880805)
Backed out changeset 245c3192541e (bug 1880805)
Backed out changeset b6ebbf12ab50 (bug 1880805)
Backed out changeset 17995dc18511 (bug 1880805)
Backed out changeset 42b34af74a6b (bug 1880805)
Backed out changeset 2f77befbf593 (bug 1880805)
Backed out changeset 974b02a7b0c6 (bug 1880792)
Backed out changeset bb02a20ea5fd (bug 1880792)
2024-08-07 21:36:15 +03:00
mcarare
ea282ca424 Bug 1880792, 1880801, 1880805 - Compile Focus, Fenix, AC and GV with SDK 35. r=android-reviewers,geckoview-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D217428
2024-08-07 14:20:46 +00:00
Norisz Fay
e57b75b143 Backed out 9 changesets (bug 1880805, bug 1880792) for causing WR bustages
Backed out changeset b4a34334966e (bug 1880805)
Backed out changeset 930b186197c7 (bug 1880805)
Backed out changeset a123725cb63e (bug 1880805)
Backed out changeset 361853f53ba9 (bug 1880805)
Backed out changeset b23f3321ac09 (bug 1880805)
Backed out changeset ed4650fa6bec (bug 1880805)
Backed out changeset 413d884fda78 (bug 1880805)
Backed out changeset e7fff6a1e708 (bug 1880792)
Backed out changeset 781599462673 (bug 1880792)
2024-08-07 14:55:34 +03:00
mcarare
48cb18b4f9 Bug 1880792, 1880801, 1880805 - Compile Focus, Fenix, AC and GV with SDK 35. r=android-reviewers,geckoview-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D217428
2024-08-07 10:45:53 +00:00
Narcis Beleuzu
1f68e6ad0c Backed out 9 changesets (bug 1880805, bug 1880792) for gradle-dependencies TL bustages. CLOSED TREE
Backed out changeset f94e6acf0cd3 (bug 1880805)
Backed out changeset 22e14524bf1f (bug 1880805)
Backed out changeset 774b263652b5 (bug 1880805)
Backed out changeset 77fe8fb48620 (bug 1880805)
Backed out changeset 3ae77f91197e (bug 1880805)
Backed out changeset 1ffaa88f56da (bug 1880805)
Backed out changeset 1dee3246c6a2 (bug 1880805)
Backed out changeset 9abb09c562ef (bug 1880792)
Backed out changeset 24a1c7a574c4 (bug 1880792)
2024-08-06 22:41:06 +03:00
mcarare
fe507f0539 Bug 1880792, 1880801, 1880805 - Compile Focus, Fenix, AC and GV with SDK 35. r=android-reviewers,geckoview-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D217428
2024-08-06 17:38:52 +00:00
Sandor Molnar
e453f57a49 Backed out changeset 82cd657ce425 (bug 1906260) for causing mochitest failures @ test_interactive_widget.html & pup wd test failures CLOSED TREE 2024-08-06 18:06:20 +03:00
Anna Yeddi
39d02ec02f Bug 1884970 - Close current tab button is missing an accessible name and role. r=tabbrowser-reviewers,fluent-reviewers,dao,bolsson,flod
The [tab-close-button](https://searchfox.org/mozilla-central/rev/f9157a03835653cd3ece8d2dc713a782b7e4374e/browser/base/content/tabbrowser-tab.js#40) is not labeled and is missing an interactive role of button, while it is functioning as one.

Note: we do not want this control to be keyboard focusable, because keyboard-only user could close the tab via the context menu and we don't want to create an additional tab stop for the navigation as well, but making sure the control is marked up as a button with an accessible name would allow it to be actionable with speech-to-text software, with touch devices, with switch controls in scan mode, and for screen readers via their navigation shortcuts as well.

Differential Revision: https://phabricator.services.mozilla.com/D204413
2024-08-06 13:51:06 +00:00
Dave Townsend
11ce30d1cb Bug 1906260: Remove the -no-remote command line argument. r=glandium,webdriver-reviewers,perftest-reviewers,application-update-reviewers,taskgraph-reviewers,nalexander,bhearsum,jdescottes,sparky
Differential Revision: https://phabricator.services.mozilla.com/D217569
2024-08-06 11:46:07 +00:00
Alexandre Lissy
b1eb8a5dea Bug 1901703 - Update 'repackage-snap' to generate desktop file r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D216373
2024-08-05 15:01:01 +00:00
Alexandre Lissy
5c0642c9bc Bug 1901703 - Update 'repackage-deb' to changes for generated desktop file r=gabriel
Differential Revision: https://phabricator.services.mozilla.com/D216372
2024-08-05 15:01:01 +00:00
Alexandre Lissy
1068005df1 Bug 1901703 - Introduce mach repackage desktop-file command r=jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D216386
2024-08-05 15:01:00 +00:00
Alexandre Lissy
80180993cf Bug 1901703 - Change desktop_file generator to allow more customization r=gabriel
Differential Revision: https://phabricator.services.mozilla.com/D215917
2024-08-05 15:01:00 +00:00
Alexandre Lissy
8875ea5e43 Bug 1901703 - Extract desktop file generation from deb repackage r=gabriel
Differential Revision: https://phabricator.services.mozilla.com/D216051
2024-08-05 15:00:59 +00:00
Joshua Marshall
fd429c3f21 Bug 1903766 - Add perftests for service worker update r=perftest-reviewers,dom-worker-reviewers,sparky,asuth
Differential Revision: https://phabricator.services.mozilla.com/D218415
2024-08-02 19:04:40 +00:00
Greg Mierzwinski
cde4675ae4 Bug 1906102 - Modify the background-resource android test. r=perftest-reviewers,kshampur
This patch modifies the background-resource (formerly background-cpu) android test to collect resource information at distinct times rather than only at the end of the test run.

The collection script is split in two here for cpu, and memory. The python parsing script is also modified to be able to gather the resources from multiple files, and the name is changed to better reflect what it does.

This patch also renames the test to better reflect that it's a resource usage test and not just a cpu test.

Differential Revision: https://phabricator.services.mozilla.com/D217097
2024-08-01 18:30:45 +00:00
Mike Hommey
d2549d9999 Bug 1910819 - Remove OS_INCLUDES from WASM compile flags. r=firefox-build-system-reviewers,sergesanspaille
When targetting WASM, includes for OS libraries make no sense.

Differential Revision: https://phabricator.services.mozilla.com/D218168
2024-07-31 09:10:33 +00:00
Gabriel Bustamante
d3242bf7fb Bug 1876701 - Add man pages for Firefox .deb packages r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D215678
2024-07-30 20:17:28 +00:00
Cristina Horotan
31d462d101 Backed out 3 changesets (bug 1905073, bug 1876701, bug 1863757) for causing mbu failures at test_deb.py CLOSED TREE
Backed out changeset 989113ca866f (bug 1863757)
Backed out changeset 6d2df6fd6f11 (bug 1876701)
Backed out changeset 576f4de811d7 (bug 1905073)
2024-07-30 22:29:59 +03:00
Gabriel Bustamante
804bebe81c Bug 1876701 - Add man pages for Firefox .deb packages r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D215678
2024-07-30 16:59:15 +00:00
Stanca Serban
1ff77350d5 Backed out 2 changesets (bug 1910311) as requested by Sylvestre.
Backed out changeset 5b8997293aaa (bug 1910311)
Backed out changeset d9bfe8fcbecf (bug 1910311)
2024-07-30 11:55:46 +03:00
Sylvestre Ledru
a1ddae25bd Bug 1910311 - Update to sphinx 7.4.7 r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D217911
2024-07-29 18:58:49 +00:00
Daniel Darnell
d3745bcee5 Bug 1893603 - Modify .deb repackaging to accomodate Thunderbird. r=releng-reviewers,taskgraph-reviewers,jcristau
One notable change in this patch: a code path that checks for pre-existing distribution.ini and .desktop files.
If you place a distribution.ini or .desktop file in the root of any of the Linux .deb templates directories (paths specified in deb-templates and deb-l10n-templates), the supplied file will be used instead of generating or downloading a default file.

Differential Revision: https://phabricator.services.mozilla.com/D211141
2024-07-29 17:53:51 +00:00
Chris H-C
a0dad09e91 Bug 1907945 - Upgrade to glean v60.4.0 r=TravisLong,supply-chain-reviewers,mach-reviewers,android-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D217604
2024-07-25 13:40:54 +00:00