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

60 Коммитов

Автор SHA1 Сообщение Дата
Jim Porter 8e234c7598 Bug 1537763 - [mozproxy] Add a record mode; r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D84399
2020-08-05 19:43:55 +00:00
alexandru.ionescu 82ca0990cc Bug 1643263 Re-record amazon, apple, bing-search r=Bebe,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D79257
2020-07-15 14:42:06 +00:00
alexandru.ionescu 03b195d045 Bug 1643263 Update mitm from 5.0.1 to 5.1.1. r=perftest-reviewers,Bebe
This patch is updating the code to mitm 5.1.1 and mitmproxy manifest.

Differential Revision: https://phabricator.services.mozilla.com/D79256
2020-07-15 14:41:29 +00:00
Jim Porter 52f7e9ce53 Bug 1651928 - Fix test failures in testing/mozbase/mozversion/tests/<random>.py; r=tarek
The mozproxy command line interface is only designed to run under Python 3,
and restricting these tests to Python 3-only fixes the other failing tests.

Differential Revision: https://phabricator.services.mozilla.com/D83171
2020-07-10 20:45:54 +00:00
Jim Porter 5c759e3542 Bug 1631806 - [mozproxy] Add a command line interface r=tarek,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D76017
2020-07-08 13:41:24 +00:00
Florin Strugariu c1f5273a81 Bug 1645037 - Don not alert for moxproxy not-replayed, and replayed metrics r=perftest-reviewers,kimberlythegeek,igoldan
Differential Revision: https://phabricator.services.mozilla.com/D79293
2020-06-18 08:54:15 +00:00
Mihai Alexandru Michis 6387c1ed23 Backed out changeset fa227b47dac7 (bug 1631806) for causing awsy failures regarding mitmproxy.
CLOSED TREE
2020-06-18 00:27:47 +03:00
Jim Porter da72965e62 Bug 1631806 - [part 1] Update perftests to use new API and fix `--proxy` option; r=tarek
This patch fixes the tests in testing/performance/ that hadn't been updated to
the new API, as well as fixing a couple issues with the `--proxy` option:

 * `policy.json` wasn't being logged correctly, since mozlog was treating the
   data as a format string

 * Proxy prefs weren't being set correctly for the profile

Differential Revision: https://phabricator.services.mozilla.com/D79937
2020-06-17 09:41:24 +00:00
Cosmin Sabou 58c18a33bc Backed out changeset 04bda73f9d19 (bug 1628627) as requested by bebe. 2020-05-19 13:19:39 +03:00
Gregory Mierzwinski 5b6deb14a0 Bug 1625203 - Remove redundancy from mozproxy perfherder data names. r=perftest-reviewers,AlexandruIonescu,Bebe,davehunt
This patch reduces the redundancy in the mozproxy perfherder data names. It removes the `replay` suffix since it's already clear it's related to replay/not-replayed. The subtest names have the `mozproxy-replay` prefix removed through the addition of a new way of specifying supporting measurement values. Instead of only being able to submit the values with a `{measurement: values}` format, we can now submit it as `{measurement: {values: [], <SUBTEST-OPTIONS>}}`. The subtest options include perfherder-specific options, and some settings that change how the names are built. Furthermore, the full supporting data dictionary also includes two new fields: `summarize-values`, and `suffix-type`. The former dictates whether or not a summary value is produced, and the latter determines if the name should be suffixed with the data type.

Differential Revision: https://phabricator.services.mozilla.com/D72695
2020-05-05 19:54:46 +00:00
Florin Strugariu 31cfde3fdb Bug 1628627 - [mozproxy] Mitmproxy is ignoring 301 requests r=perftest-reviewers,tarek,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D72338
2020-04-30 07:39:32 +00:00
Florin Strugariu 419618a3aa Bug 1589141 - Add a check to ensure that page-load tests are using the mitmproxy recordings r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D68767

--HG--
extra : moz-landing-system : lando
2020-03-31 08:06:41 +00:00
Gregory Mierzwinski 77e548053a Bug 1615257 - Enable google chrome android browsertime tests. r=perftest-reviewers,AlexandruIonescu
This patch adds the capability to run Google Chrome for Android tests through Raptor-Browsertime.

Chrome must be available on the device being tested, and there are no installation steps being added in this patch since CI already has the latest Chrome version available to test with. That said, this patch adds the ability to find the version of Chrome that is being tested and stores this in the Perfherder artifact. Getting this version is also necessary to be able to run Chrome with the correct chromedriver.

Two tests are initially be enabled for Chrome in this patch: Amazon, and YouTube. They will only run through a cron task three days a week. The other changes done in this patch are required for Chrome to work with Raptor-Browsertime.

Differential Revision: https://phabricator.services.mozilla.com/D65610

--HG--
extra : moz-landing-system : lando
2020-03-27 14:31:28 +00:00
Florin Strugariu 5bf22279f2 Bug 1617551 - Add page load replay confidence as a subtest with alerting enabled r=tarek,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D64112

--HG--
extra : moz-landing-system : lando
2020-03-25 14:16:12 +00:00
Florin Strugariu 16ba0c2746 Bug 1621657 - [mozproxy] MozProxy is running mitm 4.02 on win nodes r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D66410

--HG--
extra : moz-landing-system : lando
2020-03-11 16:24:34 +00:00
Florin Strugariu 6d6c42e9ee Bug 1621233 - [mozproxy] Fix mitm version detection r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D66198

--HG--
extra : moz-landing-system : lando
2020-03-10 10:42:20 +00:00
Florin Strugariu 2fd5275d13 Bug 1614565 - [Mozproxy] Add mitmproxy 5.0.1 capability to mozproxy r=tarek,perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D62420

--HG--
rename : testing/mozbase/mozproxy/mozproxy/backends/mitm/scripts/alternate-server-replay-4.0.4.py => testing/mozbase/mozproxy/mozproxy/backends/mitm/scripts/alternate-server-replay.py
extra : moz-landing-system : lando
2020-03-09 10:37:31 +00:00
Florin Strugariu 6c2ef85237 Bug 1614282 - [Mozproxy] Add retry and custom error message to download_file_from_url r=whimboo,tarek
Differential Revision: https://phabricator.services.mozilla.com/D62201

--HG--
extra : moz-landing-system : lando
2020-02-11 21:04:04 +00:00
Tarek Ziadé ff9cba3dda Bug 1614664 - add more stats on calls r=Bebe
Adds a confidence value and details on status code per domain

Differential Revision: https://phabricator.services.mozilla.com/D62440

--HG--
extra : moz-landing-system : lando
2020-02-11 15:34:58 +00:00
Tarek Ziadé cbd75df0c0 Bug 1613175 - add more stats on calls r=Bebe
Added more stats and dumping them in JSON format.
Also, fixed the windows shutdown process for mitmproxy.

Differential Revision: https://phabricator.services.mozilla.com/D61796

--HG--
extra : moz-landing-system : lando
2020-02-07 08:32:11 +00:00
Tarek Ziadé 0360f3134e Bug 1612790 - Dump domain stats r=Bebe
This patch allows us to dump per-domain hit counts to add more insights in the
proxy usage.

Differential Revision: https://phabricator.services.mozilla.com/D61432

--HG--
extra : moz-landing-system : lando
2020-02-03 15:03:28 +00:00
Tarek Ziadé 600d034817 Bug 1568092 - don't ignore tooltool_download() exit code and add a retry r=AlexandruIonescu,Bebe
This patch will check the exit code of the ProcessHandler() that
calls the tooltool script, and will also retry when it fails.

Differential Revision: https://phabricator.services.mozilla.com/D60397

--HG--
extra : moz-landing-system : lando
2020-01-21 07:17:05 +00:00
Florin Strugariu 427855983b Bug 1587387 Ignore error 572 when stoping mitmproxy r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D59743

--HG--
extra : moz-landing-system : lando
2020-01-14 08:21:42 +00:00
Florin Strugariu 9696f02d54 Bug 1585456 - [mozproxy] Error out when mozproxy can't bind to port r=tarek,perftest-reviewers,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D50594

--HG--
extra : moz-landing-system : lando
2019-12-11 10:07:28 +00:00
Cosmin Sabou ac32e977d8 Backed out changeset ea612d6aa75b (bug 1585456) for causing regressions (Bug 1593351,1587387,1583680). 2019-11-01 23:22:05 +02:00
Florin Strugariu 85629f9e1e Bug 1585456 - [mozproxy] Error out when mozproxy can't bind to port r=tarek,perftest-reviewers,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D50594

--HG--
extra : moz-landing-system : lando
2019-11-01 09:41:36 +00:00
shindli 0d8d6e3278 Bug 1580141 - fix linting opt CLOSED TREE
--HG--
extra : histedit_source : aba59927311e468ffbf1209cf0ff9ea7855bdd0f
2019-10-14 16:40:13 +03:00
alexandru.ionescu c063b76364 Bug 1580141 Stop raptor tests execution and fail with propper message if mozproxy has issues initiating and starting the proxy r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D47781

--HG--
extra : moz-landing-system : lando
2019-10-14 13:14:48 +00:00
Florin Strugariu b4b1cbd754 Bug 1572142 - Intermittent Exception: nss cert db creation command failed to complete r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D45163

--HG--
extra : moz-landing-system : lando
2019-09-18 09:15:14 +00:00
Nick Alexander 93d82bb882 Bug 1581197 - Remove unused Android device parameter from `mozproxy`. r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D45885

--HG--
extra : moz-landing-system : lando
2019-09-16 18:35:15 +00:00
Cosmin Sabou f5e3f907e5 Backed out changeset 174569dad75b (bug 1581197) for causing massive raptor failures. CLOSED TREE 2019-09-14 02:39:36 +03:00
Nick Alexander 8b460d641c Bug 1581197 - Remove unused Android device parameter from `mozproxy`. r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D45885

--HG--
extra : moz-landing-system : lando
2019-09-13 19:13:04 +00:00
Florin Strugariu 37d17612f4 Bug 1563164 - Remove option to enable/disable upstream certs in raptor r=perftest-reviewers,tarek,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D44622

--HG--
extra : moz-landing-system : lando
2019-09-04 13:39:19 +00:00
Florin Strugariu 300a8a317b Bug 1563162 - remove mitmproxy 2.0.2 support in raptor r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D43748

--HG--
extra : moz-landing-system : lando
2019-09-03 10:38:10 +00:00
Florin Strugariu b846cf6646 Bug 1567137 Update AWSY tp6 tests to mitmproxy 4 r=perftest-reviewers,erahm,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D41343

--HG--
extra : moz-landing-system : lando
2019-08-28 08:36:48 +00:00
Florin Strugariu a9dde2d93d Bug 1539983 [mozproxy] Move alternate-server-replay script into mozproxy r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D41540

--HG--
rename : testing/mozbase/mozproxy/mozproxy/backends/mitm.py => testing/mozbase/mozproxy/mozproxy/backends/mitm/mitm.py
rename : testing/mozbase/mozproxy/mozproxy/backends/mitmproxy-rel-bin-4.0.4-linux64.manifest => testing/mozbase/mozproxy/mozproxy/backends/mitm/mitmproxy-rel-bin-4.0.4-linux64.manifest
rename : testing/mozbase/mozproxy/mozproxy/backends/mitmproxy-rel-bin-4.0.4-osx.manifest => testing/mozbase/mozproxy/mozproxy/backends/mitm/mitmproxy-rel-bin-4.0.4-osx.manifest
rename : testing/mozbase/mozproxy/mozproxy/backends/mitmproxy-rel-bin-4.0.4-win.manifest => testing/mozbase/mozproxy/mozproxy/backends/mitm/mitmproxy-rel-bin-4.0.4-win.manifest
rename : testing/mozbase/mozproxy/mozproxy/backends/mitmproxy-rel-bin-linux64.manifest => testing/mozbase/mozproxy/mozproxy/backends/mitm/mitmproxy-rel-bin-linux64.manifest
rename : testing/mozbase/mozproxy/mozproxy/backends/mitmproxy-rel-bin-osx.manifest => testing/mozbase/mozproxy/mozproxy/backends/mitm/mitmproxy-rel-bin-osx.manifest
rename : testing/mozbase/mozproxy/mozproxy/backends/mitmproxy-rel-bin-win.manifest => testing/mozbase/mozproxy/mozproxy/backends/mitm/mitmproxy-rel-bin-win.manifest
rename : testing/mozbase/mozproxy/mozproxy/backends/mitmproxy_requirements.txt => testing/mozbase/mozproxy/mozproxy/backends/mitm/mitmproxy_requirements.txt
rename : testing/raptor/raptor/playback/alternate-server-replay-2.0.2.py => testing/mozbase/mozproxy/mozproxy/backends/mitm/scripts/alternate-server-replay-2.0.2.py
rename : testing/raptor/raptor/playback/alternate-server-replay-4.0.4.py => testing/mozbase/mozproxy/mozproxy/backends/mitm/scripts/alternate-server-replay-4.0.4.py
rename : testing/raptor/raptor/playback/scripts/catapult/LICENSE => testing/mozbase/mozproxy/mozproxy/backends/mitm/scripts/catapult/LICENSE
rename : testing/raptor/raptor/playback/scripts/catapult/deterministic.js => testing/mozbase/mozproxy/mozproxy/backends/mitm/scripts/catapult/deterministic.js
rename : testing/raptor/raptor/playback/scripts/inject-deterministic.py => testing/mozbase/mozproxy/mozproxy/backends/mitm/scripts/inject-deterministic.py
extra : moz-landing-system : lando
2019-08-14 11:49:35 +00:00
Florin Strugariu c99ea2e1ba Bug 1553932 Update mozproxy certutil usage r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D39200

--HG--
extra : moz-landing-system : lando
2019-08-07 08:22:55 +00:00
Florin Strugariu 9d54d2da02 Bug 1548574 [mozproxy] mitmproxy failing to start when using both 2.x and 4.x in same test job r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D29996

--HG--
extra : moz-landing-system : lando
2019-05-07 13:36:37 +00:00
Andrew Erickson d869dc1418 Bug 1548008: update glob used to find host-utils in mozproxy r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D29400

--HG--
extra : moz-landing-system : lando
2019-05-01 17:28:36 +00:00
alexandru.ionescu faeccf1361 Bug 1532545 Add support for running page load tests against Fennec r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D25723

--HG--
extra : moz-landing-system : lando
2019-04-08 17:47:59 +00:00
Florin Strugariu 5446188f5f Bug 1541849 [mozproxy]mozproxy is not downloading mozproxy executable files when running localy r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D26132

--HG--
extra : moz-landing-system : lando
2019-04-05 08:47:22 +00:00
Tarek Ziadé fbf4fdacfb Bug 1527620 - Add youtube streaming tests - r=whimboo
This patch introduces a new marionette media test along
with a Youtube test.

To run the Youtube streaming test locally:

./mach marionette-test dom/media/test/marionette/test_youtube.py -vv --gecko-log -

Differential Revision: https://phabricator.services.mozilla.com/D23644

--HG--
extra : moz-landing-system : lando
2019-04-02 15:09:47 +00:00
Narcis Beleuzu 36a6694a8b Backed out changeset 304b957afe29 (bug 1527620) for marionette-media failures on test_youtube.py. CLOSED TREE 2019-04-02 11:19:26 +03:00
Tarek Ziadé 0d09d08c72 Bug 1527620 - Add youtube streaming tests - r=whimboo
This patch introduces a new marionette media test along
with a Youtube test.

To run the Youtube streaming test locally:

./mach marionette-test dom/media/test/marionette/test_youtube.py -vv --gecko-log -

Differential Revision: https://phabricator.services.mozilla.com/D23644

--HG--
extra : moz-landing-system : lando
2019-04-02 07:38:41 +00:00
Eric Rahm d27ee411ac Bug 1539317 - Add option to ignore mitmproxy shutdown error code. r=rwood
mitmproxy appears to return an error code of 1 if we use the `--no-upstream-cert`. The actual playback works fine. This patch adds an option to reduce the log level to `info` in order to prevent tests from being marked orange due to a shutdown error message.

Differential Revision: https://phabricator.services.mozilla.com/D25000

--HG--
extra : moz-landing-system : lando
2019-03-29 17:26:05 +00:00
Eric Rahm 6f2f0f61bf Bug 1539970 - Support taskcluster cache env var in mozproxy. r=tarek
TaskCluster tasks use the `TOOLTOOL_CACHE` env var to specify which directory to use for the `tooltool` cache. This patch falls back to that value if `TOOLTOOLCACHE` is not found.

Differential Revision: https://phabricator.services.mozilla.com/D25305

--HG--
extra : moz-landing-system : lando
2019-03-29 17:12:37 +00:00
Florin Strugariu 5ef71add7a Bug 1457274 Upgrade mitmproxy in production r=rwood,tarek
Differential Revision: https://phabricator.services.mozilla.com/D21374

--HG--
rename : testing/raptor/raptor/playback/alternate-server-replay.py => testing/raptor/raptor/playback/alternate-server-replay-2.0.2.py
extra : moz-landing-system : lando
2019-03-29 09:54:53 +00:00
Tarek Ziadé 032362875a Bug 1539540 - fix PATH separator r=rwood
The path separator is platform-specific

Differential Revision: https://phabricator.services.mozilla.com/D25095

--HG--
extra : moz-landing-system : lando
2019-03-27 17:10:54 +00:00
Henrik Skupin eea49fc824 Bug 1538677 - [mitmproxy] Allow mitmproxy commands at maximum 30s of runtime. r=rwood,tarek
Differential Revision: https://phabricator.services.mozilla.com/D24711

--HG--
extra : moz-landing-system : lando
2019-03-25 15:45:09 +00:00
Tarek Ziadé 9f92511bbb Bug 1532557 - Improve mitmdump start/stop process - r=whimboo
This patch will remove the very long wait on start and stop,
should be down to one second.

Differential Revision: https://phabricator.services.mozilla.com/D23668

--HG--
extra : moz-landing-system : lando
2019-03-21 10:20:39 +00:00