Commit Graph

9366 Commits

Author SHA1 Message Date
serge-sans-paille
e2a779ca33 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
9f76db942b 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
d45bdf685a 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
aa1b652ab7 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
8e1ea636c0 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
3531208d3d 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
370ef271f2 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
59cea86488 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
0058ee0e1a 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
15157eea44 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
0329f8e784 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
7488ef3f8a 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
356594779d 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
8514acf075 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
5d6ec34b3a 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
dffbe01369 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
77ed9a6de6 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
13e7baef4d 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
67a95a9fb2 Backed out changeset d5d4782604fd (bug 1906824) for causing bustages on BigIntType. CLOSED TREE 2024-08-14 01:30:14 +03:00
serge-sans-paille
aebbe0ea57 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
8814ffd2ef 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
bc91793ab3 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
5d4ad37c57 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
dd6ebab429 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
0a4567ce2d 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
b6a8a23df1 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
078b6e5660 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
49d00e7fbe 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
817e11ed18 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
fc9b57303d 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
a84dc052f1 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
9c0704c7b3 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
f5c1f4fe7c 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
f351d96411 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
b3f84cff12 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
722f2c6a02 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
b99c0f9718 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
50f0a10387 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
ba25f33c1d 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
2bd5bbad46 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
e6c169befb 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
f89dfc0df9 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
a3b653aa32 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
08f2f9f860 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
492390b6f0 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
b60eaf45d8 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
2412069810 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
a0989ed0f0 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
c56643d50b 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
c681ca23ba 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