Commit Graph

3469 Commits

Author SHA1 Message Date
ahochheiden
700d2d5ffb Bug 1777414 - Replace all uses of distutils.version.LooseVersion with looseversion.LooseVersion r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D151064
2022-08-26 23:05:25 +00:00
Julien Cristau
18683d6ef7 Bug 1780573 - tell pip list not to phone home. r=gbrown DONTBUILD
We don't need pip to do its version check or look up its index here.

Differential Revision: https://phabricator.services.mozilla.com/D152413
2022-08-22 16:57:56 +00:00
Sylvestre Ledru
e9eade44dc Bug 1784857 - ride along: fix some 'line too long' r=linter-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D154641
2022-08-15 20:09:05 +00:00
Geoff Brown
8731632079 Bug 1783689 - Fix typo in mozharness warning; r=releng-reviewers,aki
Differential Revision: https://phabricator.services.mozilla.com/D153978
2022-08-08 19:06:25 +00:00
Gregory Mierzwinski
09044ce53f Bug 1780763 - Add ability to skip tests to Talos. r=perftest-reviewers,kshampur
This patch adds the ability to skip tests to Talos. This lets us prevent tests from running depending on which branch we are on. It also adds some code that will skip tests on the pine branch.

Differential Revision: https://phabricator.services.mozilla.com/D152513
2022-07-29 11:16:52 +00:00
Julien Cristau
4c730616cf Bug 1781202 - use the same configs for "mach try release" migrations as for actual merge automation r=releng-reviewers,aki DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D152733
2022-07-28 15:51:34 +00:00
Julien Cristau
5e1b2c76b2 Bug 1777521 - enable bouncer-check for Firefox-esr-next-msix-latest-SSL. r=gabriel DONTBUILD
Now that 102.1.0esr has shipped the Firefox-esr-next-msix-latest-SSL
product is populated in bouncer so we can enable the check.

Differential Revision: https://phabricator.services.mozilla.com/D152764
2022-07-26 16:36:30 +00:00
Joel Maher
07bf82568a Bug 1780996 - Adjust windows10 screen resolution to match physical hardware if using gpu instance. r=gbrown,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D152612
2022-07-25 17:33:50 +00:00
Mike Hommey
0cbf56a774 Bug 1762037 - Switch mozharness tox config to python 3.9. r=ahal
Also remove the unused test environments from the tox config.

Differential Revision: https://phabricator.services.mozilla.com/D152247
2022-07-20 20:31:14 +00:00
Geoff Brown
b70fc939c9 Bug 1565125 - Use TASKCLUSTER_PROXY_URL for mozharness secrets; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D151399
2022-07-20 15:00:20 +00:00
Geoff Brown
843a1b6c03 Bug 1774669 - Move Windows openh264 CFLAGS to env; r=aki
By using environment variables, the earlier _HAS_EXCEPTIONS hack
can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D152115
2022-07-18 18:54:25 +00:00
Myeongjun Go
ff40390107 Bug 1770152 - Enable perfstats for windows Browsertime essential tests r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D151624
2022-07-18 11:23:49 +00:00
Gregory Mierzwinski
162485037c Bug 1779468 - Add browsertime-tp6-bytecode tests for bytecode cache. r=perftest-reviewers,AlexandruIonescu,aglavic
This patch adds a new set of tests (essential only) to run in CI at tier 2. A command line argument is added to turn bytecode cache testing on in warm pageloads. This also disables the testing in our primary pageload tests to fix the variance and increases in runtime.

Differential Revision: https://phabricator.services.mozilla.com/D151757
2022-07-14 12:17:13 +00:00
Tooru Fujisawa
a04d47efb9 Bug 1667455 - Part 13: Stop importing Services.jsm from marionette tests. r=kmag,webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D150902
2022-07-11 12:41:54 +00:00
Mark Banner
d4798a7d59 Bug 1762571 - Don't force set nodejs_path in remove_executables as this causes tests to use the wrong node version. r=firefox-build-system-reviewers,ahochheiden
Depends on D150796

Differential Revision: https://phabricator.services.mozilla.com/D151021
2022-07-07 22:09:01 +00:00
Geoff Brown
e94eea3418 Bug 1677557 - Remove gecko_migration.py; r=jlorenzo
Remove unused mozharness script. See the discussion in
https://phabricator.services.mozilla.com/D97200
I can find no in-tree references to gecko_migration.py, but
'mach try release' still uses some of the merge_day configs,
https://searchfox.org/mozilla-central/rev/3e1a721bce1da3ae04675539b39a4e95b25a046d/tools/tryselect/selectors/release.py#130
I removed the configs not matching the choices at
https://searchfox.org/mozilla-central/rev/3e1a721bce1da3ae04675539b39a4e95b25a046d/tools/tryselect/selectors/release.py#44

Differential Revision: https://phabricator.services.mozilla.com/D151154
2022-07-07 15:11:07 +00:00
Gabriel Bustamante
89f28310c3 Bug 1768747 - Disables msix-latest and msix-next-latest uptake check on esr. Enables the esr102 bouncer check in .cron.yml r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D150767
2022-06-30 15:47:53 +00:00
Myeongjun Go
d06eb5a8cc Bug 1768204 - Run browsertime by default instead of webextension. r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D148885
2022-06-29 13:19:54 +00:00
Geoff Brown
eb87ca62cb Bug 1774669 - Fix openh264 builds; r=releng-reviewers,aki
This greens up the openh264 build tasks and gets them running with python 3.

I had a look at modernizing gittool.py, but that seemed complicated and unnecessary for our needs: we just need to checkout the git repo.

There's some discussion about the Windows CFLAGS. I had a look and tried various approaches, but this was really the only way that worked for me (thanks jcristau!). Certainly I'm open to other suggestions...or we can revisit later.

This change does not affect the signing format, which still requires work for OSX.

Differential Revision: https://phabricator.services.mozilla.com/D149578
2022-06-20 15:42:06 +00:00
Kash Shampur
cfddc3aa51 Bug 1767437 - Clean up browsertime documentation of vismet installation references. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D147443
2022-05-31 14:18:37 +00:00
Ryan VanderMeulen
7e196f5e1b Bug 1771189 - Make update-verify-config-creator.py use distutils again instead of packaging. r=backout DONTBUILD CLOSED TREE 2022-05-25 15:45:43 -04:00
Agi Sferro
0cf67ce1eb Bug 1759052 - Add a gv-junit webContentIsolationStrategy=0. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D146942
2022-05-25 17:44:51 +00:00
Cristian Tuns
8fccda0740 Backed out changeset fee428f38f17 (bug 1759052) for breaking nofis jobs CLOSED TREE 2022-05-23 12:55:54 -04:00
Agi Sferro
07d23cf253 Bug 1759052 - Add a gv-junit webContentIsolationStrategy=0. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D146942
2022-05-23 16:29:38 +00:00
Julien Cristau
d985e37e2c Bug 1770711 - fix run_command logging calls with a tuple command. r=releng-reviewers,gabriel
Differential Revision: https://phabricator.services.mozilla.com/D147059
2022-05-23 14:22:26 +00:00
Alexandre Lissy
77b2fd2985 Bug 1769952 - Fix running raptor on a Win10-64 VM r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D146698
2022-05-18 14:14:28 +00:00
Ryan VanderMeulen
b1015d9c01 Bug 1766085 - Replace some uses of distutils.version with packaging.version. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D145806
2022-05-17 01:04:17 +00:00
Joel Maher
db28226dd1 Bug 1769098 - initial work to allow taskcluster/mozbase/mozharness to support conditioned profiles. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D146220
2022-05-16 19:11:46 +00:00
Iulian Moraru
bdd514047e Backed out changeset fee2a1521dfe (bug 1769098) for causing python failures. CLOSED TREE 2022-05-13 21:03:32 +03:00
Joel Maher
e041c47bdc Bug 1769098 - initial work to allow taskcluster/mozbase/mozharness to support conditioned profiles. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D146220
2022-05-13 15:21:23 +00:00
Joel Maher
ab1727d3e3 Bug 1762991 - switch to --disable-fission and fission by default. r=gbrown,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D144985
2022-05-10 17:41:03 +00:00
Butkovits Atila
8a2fe790ec Backed out changeset 1ce55e10b927 (bug 1762991) for causing jit failures. CLOSED TREE 2022-05-10 09:41:32 +03:00
Joel Maher
f33bac2082 Bug 1762991 - switch to --disable-fission and fission by default. r=gbrown,webdriver-reviewers,whimboo
updated patch for android_hardware_unittests.py, asking for a review- please look at the interdiff to see recent changes.

Differential Revision: https://phabricator.services.mozilla.com/D144985
2022-05-10 00:41:01 +00:00
Cristian Tuns
9462119251 Backed out changeset 60dcc095f627 (bug 1762991) for causing multiple failures (exit status 2). CLOSED TREE 2022-05-06 14:34:10 -04:00
Joel Maher
8e2741c219 Bug 1762991 - switch to --disable-fission and fission by default. r=gbrown,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D144985
2022-05-06 15:01:22 +00:00
Jamie Nicol
696fe23ef3 Bug 1766990 - Redirect stdout and stderr to file for wrench tests on Android. r=gfx-reviewers,nical
On Android long lines are truncated by logcat, meaning the base64
images output by wrench's reftest harness get truncated. The glue code
used by the old version of cargo-apk automatically split long lines,
which we then stitched back together again when parsing the
log. However, the glue used by the new cargo-apk no longer does this.

While we could manually split the long strings ourselves, this method
has always been unreliable. Instead, this patch makes us additionally
write stdout and stderr to a file as well as logcat. The test runner
script then pulls this file from the device and scrapes it rather than
the logcat.

Differential Revision: https://phabricator.services.mozilla.com/D145076
2022-05-03 15:37:49 +00:00
Tooru Fujisawa
3adaeb29bb Bug 1765167 - Part 9: Stop using Cu.import in testing/. r=webdriver-reviewers,perftest-reviewers,whimboo,sparky,mossop
Differential Revision: https://phabricator.services.mozilla.com/D144102
2022-05-03 06:32:32 +00:00
Gregory Mierzwinski
a2c6f436f4 Bug 1677559 - Re-install browsertime when FFMPEG is not found. r=perftest-reviewers,kshampur
This patch forces us to re-install browsertime if FFMPEG is not found in the cache. This fixes an issue where deleting the `.mozbuild/browsertime` folder would go undetected and cause failures later when running browsertime.

Alongside these changes, the patch also enables detecting for FFMPEG on Linux, and Windows machines. It works in the same way as mac, but it also requires using `browsertime_ffmpeg` since the `os.environ` settings don't get transferred to the required environment.

Depends on D143603

Differential Revision: https://phabricator.services.mozilla.com/D144464
2022-05-02 12:26:14 +00:00
Gregory Mierzwinski
6fdd339b84 Bug 1677559 - Run visual-metrics in the browsertime test task. r=perftest-reviewers,kshampur
This patch runs the visual-metrics processing within the test task rather than the (deleted) `-vismet` tasks. It also updates the browsertime version to v15. It requires an update to node16 so new code was added to pull, and install the *-node-16 toolchain artifacts from CI.

This patch is possible because the browsertime update gives us the new `visualmetrics-portable.py` script which doesn't require ImageMagick anymore (they've been converted to Python dependencies). We did this conversion here: https://github.com/sitespeedio/browsertime/pull/1741

Furthermore, some changes are made to handle timeouts better, and increase the timeout for an interactive test.

Depends on D143502

Differential Revision: https://phabricator.services.mozilla.com/D142838
2022-05-02 12:26:14 +00:00
Gregory Mierzwinski
bd9eac6efd Bug 1677559 - Download, and install node-16 from the toolchain task. r=perftest-reviewers,kshampur
This patch adds the ability to raptor-browsertime for downloading, and installing a node binary from our Taskcluster CI. This makes it possible to seamlessly use raptor-browsertime with node-16, while using node-12 for the rest of the mozilla-central tooling.

Depends on D142837

Differential Revision: https://phabricator.services.mozilla.com/D143502
2022-05-02 12:26:13 +00:00
Jamie Nicol
7792217d05 Bug 1615148 - Fix wrench on android. r=jrmuizel
This uses a patched version of glutin 0.28 which builds successfully
on Android. It has the caveat that the application is now responsible
to ensure we only create a GL context when the application has been
resumed and the window is valid. This patch does so by spinning an
event loop on startup until we receive a Resume event. This is a bit
of a hack, and will break if the app is minimised, but it is good
enough for wrench's use case.

Cargo-apk no longer supports specifying a separate target_sdk_version
and android_version, meaning we must use a target_sdk_version of
31. This means we no longer have permission to read from "/sdcard", so
wrench and its scripts have been updated to use the application's
"external data dir".

Finally, when running on CI we use a patched version of cargo-apk
which allows building with SDK version 31 and NDK r21d. We should be
able to switch to the upstream git version once we update to NDK r23.

Differential Revision: https://phabricator.services.mozilla.com/D144418
2022-04-27 15:31:56 +00:00
Gregory Mierzwinski
3b88452e0b Bug 1750976 - Add ability to provide custom browsertime arguments. r=perftest-reviewers,kshampur
This patch adds the ability to provide custom browsertime arguments through the command line option `--browsertime-arg`. It is used like so:

`
./mach raptor --browsertime -t browsertime --browsertime-arg test_script=/home/sparky/mozilla-source/mozilla-central/testing/raptor/browsertime/browsertime_pageload.js --browsertime-arg browsertime.url=https://www.sitespeed.io --browsertime-arg iterations=3
`

Differential Revision: https://phabricator.services.mozilla.com/D144166
2022-04-21 18:05:52 +00:00
Joel Maher
d468c10ff2 Bug 1765223 - Adjust Android compiled tests to display 1proc. r=agi,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D144024
2022-04-20 15:59:23 +00:00
Mike Hommey
891f7a50c3 Bug 1289641 - Don't pull Visual Studio in tasks that don't use it. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D143124
2022-04-12 22:52:52 +00:00
Butkovits Atila
59ebe1ff72 Backed out 7 changesets (bug 1289641) for causing Python failures. CLOSED TREE
Backed out changeset 0c1cedebf915 (bug 1289641)
Backed out changeset 575732020bd2 (bug 1289641)
Backed out changeset 55b68a71e03a (bug 1289641)
Backed out changeset 0b16a05aa405 (bug 1289641)
Backed out changeset acbff13b91b3 (bug 1289641)
Backed out changeset 2645367da7cb (bug 1289641)
Backed out changeset 8b22a8ec44fe (bug 1289641)
2022-04-12 22:23:27 +03:00
Andrew Erickson
7ef6cfd630 Bug 1521378: pip installs wait until the pypi server resolves and connects, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D143213
2022-04-12 17:11:20 +00:00
Mike Hommey
5f988372c9 Bug 1289641 - Don't pull Visual Studio in tasks that don't use it. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D143124
2022-04-11 23:00:08 +00:00
Julian Descottes
53332db0fc Bug 1749928 - Add support for extra_prefs argument for talos suite definition r=perftest-reviewers,sparky
The idea is to use this configuration to pass a DAMP suite name to the DAMP tests without having to create separate talos test classes.
Rather than passing a hardcoded `damp_suite` value, `extra_prefs` might be useful for other tests and at least should be generic.

Differential Revision: https://phabricator.services.mozilla.com/D141966
2022-03-31 13:54:04 +00:00
Marian-Vasile Laza
2719b0d9cf Backed out 2 changesets (bug 1749928) for causing webgl failures. CLOSED TREE
Backed out changeset d654d3fcfa8e (bug 1749928)
Backed out changeset 49e91c2434f7 (bug 1749928)
2022-03-30 11:18:07 -07:00
Julian Descottes
7c3bf8a3fa Bug 1749928 - Add support for extra_prefs argument for talos suite definition r=perftest-reviewers,sparky
The idea is to use this configuration to pass a DAMP suite name to the DAMP tests without having to create separate talos test classes.
Rather than passing a hardcoded `damp_suite` value, `extra_prefs` might be useful for other tests and at least should be generic.

Differential Revision: https://phabricator.services.mozilla.com/D141966
2022-03-30 16:53:09 +00:00