Граф коммитов

1075 Коммитов

Автор SHA1 Сообщение Дата
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
Steve Fink d9c9e18d5b Bug 1774699 - Add `mach raptor --browsertime-existing-results` flag r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D149582
2022-07-13 22:59:29 +00:00
Steve Fink fa9834cf90 Bug 1774701 - add perfstats metrics to sample data r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D149583
2022-07-12 23:36:26 +00:00
Kash Shampur ef4119b8f5 Bug 1778573 - Add temporary exception when running Raptor-Browsertime with python 3.10 r=perftest-reviewers,sparky
Currently Raptor-Browsertime does not run with Python 3.10. Until then, an Exception that kills the Browsertime  process with a message telling the user to downgrade their Python version would be useful.

Differential Revision: https://phabricator.services.mozilla.com/D151330
2022-07-08 14:11:37 +00:00
Kash Shampur 5a8310f017 Bug 1775109 - Prevent Raptor-Browsertime login-logic from being used on live sites without Taskcluster secrets. r=perftest-reviewers,sparky
This patch addresses live login failures occuring in CI. It uses a similar implementation already in `perftest_record.js` to restrict login-logic to only happen on sites with Taskcluster secrets available. In the future we should improve this if/when more secrets are added and/or when we look into being able to easily share reusable code between Raptor and Mozperftest.

Differential Revision: https://phabricator.services.mozilla.com/D150623
2022-06-30 19:09:11 +00:00
Gregory Mierzwinski a7c0c18395 Bug 1770152 - Add option to collect perfstats in raptor-browsertime. r=perftest-reviewers,afinder
This patch enables the collection of perfstats through raptor-browsertime. It can be enabled by setting `perfstats = true` in the test manifest.

Differential Revision: https://phabricator.services.mozilla.com/D148903
2022-06-30 12:36:03 +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
Alex Ionescu 1be10545ab Bug 1769482 - Fix imgur intermittent r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D148688
2022-06-16 13:00:23 +00:00
Gregory Mierzwinski c596906253 Bug 1749331 - Prevent uploading more than 5 PNG/JPEG artifacts. r=perftest-reviewers,kshampur
This patch adds some logic to clean up the artifact folder from the hundreds of PNG/JPEGs generated on task failures. It sorts the files and attempts to only keep the 5 newest images so that we can still use them for debugging issues.

Differential Revision: https://phabricator.services.mozilla.com/D148943
2022-06-14 18:48:22 +00:00
Gregory Mierzwinski e14f0e58d9 Bug 1754830 - Port the login-logic to pageload tests in raptor. r=perftest-reviewers,sparky
This first patch in this series ports the login logic from Bug 1742103 into Raptor-Browsertime so that we may now have automated login into websites during a test (e.g. live pageloads in CI).
As of present, there is no convenient way to share reusable code between Raptor-Browsertime and Mozperftest so a large majority of the code was copied over as is from `perftest_record.js` with a few more methods added.
Additional logic was also added (e.g. in `base.py`) to ensure that pageload tests executes as desired based on if the website requires a login or not, as defined by the `pageload_sites.json`

Differential Revision: https://phabricator.services.mozilla.com/D145926
2022-06-14 13:47:09 +00:00
Alex Finder aee0603b73 Bug 1541448 Check if Speedometer tests have to run with 5 page cycles r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D148614
2022-06-09 11:01:28 +00:00
Molnar Sandor 8ea997a01d Bug 1741787 Fix lint failure in testing/raptor/raptor/browsertime/base.py CLOSED TREE 2022-06-08 16:35:36 +03:00
eng_esther 3bc1ac6dd7 Bug 1741787: add 20 sec delay after commands.measure.start r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D145803
2022-06-08 13:22:51 +00:00
andrej 2b3e9b96df Bug 1768061 - Increase wait time for obtaining video from android device, to resolve intermittent raptor-browsertime unexpected end of JSON input. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D148314
2022-06-07 14:52:57 +00:00
Gregory Mierzwinski d9297919a6 Bug 1772572 - Fix Browsertime installation on Windows. r=perftest-reviewers,kshampur
This patch changes how the browsertime command is called for installation to fix a failure on Windows.

Differential Revision: https://phabricator.services.mozilla.com/D148292
2022-06-06 15:56:53 +00:00
Gregory Mierzwinski db780d5b3f Bug 1655554 - Fix debug-mode in Raptor-Browsertime. r=perftest-reviewers,kshampur
This patch updates browsertime to add the following PR: https://github.com/sitespeedio/browsertime/pull/1798

It enables us to use a `--debug` flag in browsertime to pause test execution after each script iteration, and provides the ability for developers to pause it on their own by adding `debug.breakpoint(name)` calls to the test script. The execution can be unpaused by running `window.browsertime.pause = false` in the browser console.

The devtools panel is auto-opened when in debug-mode, and the browser is detached so it won't auto-close when you hit failures in raptor/browsertime.

This can only be used locally so we now raise a parser error when it's provided in CI.

Differential Revision: https://phabricator.services.mozilla.com/D148261
2022-06-06 12:59:54 +00:00
Gregory Mierzwinski 07294ec54e Bug 1771987 - Rename gecko profile paths while renaming video folders. r=perftest-reviewers,kshampur
Currently gecko profiling is broken in chimera mode because of the recent path changes that weren't updated in the browsertime.json file or for other files in the file entry. This patch changes the logic to iterate through all of the files found in the files key (including gecko profiles).

Differential Revision: https://phabricator.services.mozilla.com/D147800
2022-06-02 15:34:20 +00:00
Gregory Mierzwinski 314f94932c Bug 1771485 - Disable fission on mobile tests. r=perftest-reviewers,kimberlythegeek,Eng_Esther
This patch fixes up how fission is handled in raptor. Previously, there were multiple ways in which it was handled, and now, we make all the decisions when we parse the command-line options. It also fixes the issue with fission being enabled on mobile tests.

Differential Revision: https://phabricator.services.mozilla.com/D147527
2022-06-02 12:38:34 +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
Myeongjun Go 1d21e9c55c Bug 1756867 - Label the video folders in the browsertime-results archive more clearly. r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D145468
2022-05-26 21:18:38 +00:00
Gregory Mierzwinski 14ae0b1d65 Bug 1770221 - Remove fission option from chrome perfherder data. r=perftest-reviewers,AlexandruIonescu,kshampur
Differential Revision: https://phabricator.services.mozilla.com/D146840
2022-05-20 15:36:27 +00:00
Joel Maher 11b8e2df6b Bug 1762991 - fix raptor/btime to have the fission attribute. r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D146230
2022-05-12 19:14:09 +00:00
Alex Finder 218b3891f5 Bug 1762857 Fix permanent imdb non-live chrome/chromium raptor-browsertime r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D145963
2022-05-12 07:21:05 +00:00
Gregory Mierzwinski b7396a48df Bug 1767797 - Double the timeout on live site tests. r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D145495
2022-05-09 11:35:16 +00:00
Gregory Mierzwinski 521839f774 Bug 1768199 - Don't fail on visual metrics that are not measured. r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D145730
2022-05-06 17:55:22 +00:00
Gregory Mierzwinski 1f9862c2b4 Bug 1767436 - Fail when visual-metrics are 0. r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D145353
2022-05-05 14:57:00 +00:00
Marian-Vasile Laza eaa6f31297 Backed out changeset eb6c3eca6c94 (bug 1767436) for causing Btime test failures. CLOSED TREE 2022-05-05 06:39:25 +03:00
Gregory Mierzwinski 51d8406d34 Bug 1767436 - Fail when visual-metrics are 0. r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D145353
2022-05-04 15:00:26 +00:00
Gregory Mierzwinski 715892e27f Bug 1677559 - Trigger a clean rebuild for browsertime upgrades/installations. r=perftest-reviewers,kshampur
This patch causes us to trigger a rebuild for the python environment on browsertime upgrades and installations. This is needed for now because we are moving to python-based dependencies for visual-metrics processing and that requires a rebuild on the first upgrade/installation.

See bug 1766112 for the removal of this code.

Depends on D144464

Differential Revision: https://phabricator.services.mozilla.com/D144565
2022-05-02 12:26:15 +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
Kash Shampur 8c9b88cd70 Bug 1728338 - Stop alerting on tests not in alert_on r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D144216
2022-04-21 18:08:44 +00:00
Gregory Mierzwinski b9466bda67 Bug 1765457 - Enable custom browsertime testing through raptor. r=perftest-reviewers,kshampur
This patch builds off the ability to specify custom browsertime arguments on the command line in raptor to let the user run custom tests in "vanilla" browsertime. In this patch, we create a new test called `browsertime` that can be used to get a "dummy" template for a raptor test. Then, the user will be responsible for providing either a test script, or a URL to test.

To use a custom script we can pass something like `--browsertime-arg test_script=/path/to/script` or `--browsertime-arg url=https://www.sitespeed.io`. Furthermore, we can also use `test_script=pageload` to specify that we want to use the browsertime pageload script.

Differential Revision: https://phabricator.services.mozilla.com/D144168
2022-04-21 18:05:53 +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
Kash Shampur f04c1b1272 Bug 1762463 - Fix perma failing ytp tests on mozilla-release build r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D142621
2022-04-04 18:55:13 +00:00
Kash Shampur 1e5d8be145 Bug 1748821 - Support running visual metrics on Apple Silicon r=perftest-reviewers,Eng_Esther
Differential Revision: https://phabricator.services.mozilla.com/D141149
2022-03-24 15:05:05 +00:00
Myeongjun Go 9fd67f43ed Bug 1732376 - Add a --clean option to remove the raptor venv before running r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D139830
2022-03-16 12:39:55 +00:00
Kash Shampur 62b2d981fc Bug 1746207 - Fix OSX browsertime visual metrics installation r=perftest-reviewers,sparky
The patch aims to streamline the local installation of visual metric packages on Intel based OSX.
The user first needs to run (assuming a fresh `./mach clobber && ./mach build`):
`./mach browsertime --clobber --setup --install-vismet-reqs`

then the user should be able to run vismet tests locally right away e.g.
`./mach raptor --browsertime --browsertime-visualmetrics -t wikipedia`

Differential Revision: https://phabricator.services.mozilla.com/D139889
2022-03-11 15:41:16 +00:00
Gregory Mierzwinski cab117c6f9 Bug 1756863 - Pass the external test root found in raptor to condprof. r=perftest-reviewers,AlexandruIonescu
This patch modifies condprof to accept an optional `remote_test_root` argument so that we can change where the profile gets created and pulled from. Then we pass the external test root through this parameter from raptor to condprof. This fixes an issue on the Samsung A51 device as it can't store the profiles in the default location.

Differential Revision: https://phabricator.services.mozilla.com/D139517
2022-03-11 13:14:50 +00:00
Gregory Mierzwinski 107e3603fe Bug 1758992 - Update matrix-react-bench to v1.1. r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D140740
2022-03-11 13:12:58 +00:00
Florian Quèze 4f67f6d902 Bug 1755559 - remove the obsolete 'threads' profiler feature from automated performance tests, r=mstange,perftest-reviewers,sparky.
Differential Revision: https://phabricator.services.mozilla.com/D140541
2022-03-09 19:28:44 +00:00
Alex Ionescu 6115fa0556 Bug 1748849 - Update imdb recording to mitm7 r=perftest-reviewers,afinder
Differential Revision: https://phabricator.services.mozilla.com/D139682
2022-03-01 08:16:52 +00:00
Alex Finder 5c80a2cf1c Bug 1753592 - Update google-docs page load test to mitm7 and add secondary url r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D137834
2022-02-11 11:00:40 +00:00
Kash Shampur 7c7220dc7d Bug 1735216 - Update wikia page load test to mitm7 and add secondary url r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D138221
2022-02-10 14:09:08 +00:00
andrej 19c6bfb2a4 Bug 1735196 Update twitch to mitm7 and add secondary url r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D137561
2022-02-07 18:29:09 +00:00
Alex Finder 5321ba3379 Bug 1753457 - Update youtube page load test to mitm7 and add secondary url r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D137827
2022-02-04 10:19:24 +00:00
Henrik Skupin 418c9d87d5 Bug 1753445 - [raptor] Remove workaround for Firefox binary when running on Android. r=perftest-reviewers,sparky
Browsertime fixed the failure in version 14.19.1.

Depends on D137760

Differential Revision: https://phabricator.services.mozilla.com/D137761
2022-02-03 18:56:16 +00:00
Markus Stange d3ecc48afc Bug 1752607 - Enable screenshots when capturing profiles from browsertime. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D137328
2022-02-02 02:12:13 +00:00