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

142 Коммитов

Автор SHA1 Сообщение Дата
Alex Lopez 455d9a088b Bug 1696251 - Pass MachCommandBase object as first argument for Mach Commands. r=mhentges,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers
As an intermediate step to allow mach commands as standalone functions, the MachCommandBase
subclass instance that currently corresponds to self has to be made available as a separate
argument (named command_context).

Differential Revision: https://phabricator.services.mozilla.com/D109650
2021-05-17 16:15:58 +00:00
Florin Strugariu 0005c02e9b Bug 1700955 - Use mitmproxy 5.1.1 recordings for AWSY tp6 page load tests; r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D114948
2021-05-13 07:14:51 +00:00
Kimberly Sereduck afadbdf9a1 Bug 1706627: Migrate static wiki content for AWSY tests to PerfDocs r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D113858
2021-05-11 20:08:08 +00:00
Butkovits Atila 2e34e363b9 Backed out 2 changesets (bug 1696251) for causing js-bench-sm failures. CLOSED TREE
Backed out changeset 1c84c9a34575 (bug 1696251)
Backed out changeset e169193b7423 (bug 1696251)
2021-04-23 02:53:36 +03:00
Alex Lopez d1a82b8092 Bug 1696251 - Pass MachCommandBase object as first argument for Mach Commands. r=mhentges,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers
As an intermediate step to allow mach commands as standalone functions, the MachCommandBase
subclass instance that currently corresponds to self has to be made available as a separate
argument (named command_context).

Differential Revision: https://phabricator.services.mozilla.com/D109650
2021-04-22 18:56:15 +00:00
Cosmin Sabou 785f9b8a87 Backed out changeset d4a5d8567977 (bug 1696251) for non-unified build bustages. CLOSED TREE 2021-04-19 19:43:31 +03:00
Alex Lopez 75dfe35468 Bug 1696251 - Pass MachCommandBase object as first argument for Mach Commands. r=mhentges,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers
As an intermediate step to allow mach commands as standalone functions, the MachCommandBase
subclass instance that currently corresponds to self has to be made available as a separate
argument (named command_context).

Differential Revision: https://phabricator.services.mozilla.com/D109650
2021-04-19 16:15:11 +00:00
Andrew McCreight 069c0a0ffc Bug 1668383 - Limit the number of errors in Webservers.start(). r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D100346
2021-01-08 21:14:16 +00:00
Bob Clary 841da37d77 Bug 1681096 - python3 - pylint --py3k - W1636: map built-in referenced when not iterating (map-builtin-not-iterating) r=perftest-reviewers,aki,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D99079
2020-12-09 08:05:21 +00:00
Bob Clary 191a877dd1 Bug 1681096 - python3 - pylint --py3k - W1620: Calling a dict.iter*() method (dict-iter-method) r=marionette-reviewers,perftest-reviewers,jmaher,jgraham,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D99049
2020-12-09 09:02:22 +00:00
Bob Clary f86c9fed5a Bug 1681164 - python3 - awsy - python3 fixes. r=perftest-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D99047
2020-12-14 20:10:22 +00:00
Bob Clary 9e125ea710 Bug 1681096 - python3 - pylint --py3k - W1619: from __future__ import division r=marionette-reviewers,perftest-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D98938
2020-12-11 16:05:25 +00:00
Sylvestre Ledru c0f6fe8caf Bug 1562642 - Add missing license headers r=mhoye,marionette-reviewers,webdriver-reviewers,perftest-reviewers,tarek
Differential Revision: https://phabricator.services.mozilla.com/D97138
2020-11-17 02:06:54 +00:00
Maja Frydrychowicz 6fa12333a5 Bug 1534582 - [AWSY] Use spec-compliant Marionette actions r=perftest-reviewers,marionette-reviewers,AlexandruIonescu
AWSY has been using Marionette's "legacy" actions implementation
because spec-compliant actions didn't work yet in chrome scope.

With Marionette's new JSWindowActor-based architecture, which
is now enabled on all builds, chrome scope is now supported by
spec-compliant actions, so AWSY can now use them.

Differential Revision: https://phabricator.services.mozilla.com/D97019
2020-11-16 07:53:26 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Florin Strugariu ccd808d402 Bug 1670874 - [mozproxy]Setup mozproxy to use 1 entry point for recordings (zip, manifest, url) r=perftest-reviewers,tarek,sparky
Differential Revision: https://phabricator.services.mozilla.com/D93341
2020-10-20 14:29:09 +00:00
Andrew McCreight 1373630e20 Bug 1653669 - Minimize memory usage via dumpMemoryReportsToNamedFile(). r=perftest-reviewers,kmag,sparky
This ensures that we don't proceed until the child processes have
finished, and that we don't minimize too many child processes at the
same time.

This drops a settle from the base memory test, between the GC and
the report, but hopefully we don't need to do the settle any more
because we are actually waiting for the GC to finish in the child
processes.

In testing, the AWSY base noise metric was 18% lower, and the TP6
AWSY noise metric was 44% lower, so hopefully this is an
improvement.

Differential Revision: https://phabricator.services.mozilla.com/D93116
2020-10-13 16:59:30 +00:00
Florin Strugariu c6a83dc1a4 Bug 1666264 - [Mozproxy] Implement a recording .zip file manager r=tarek,perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D90954
2020-10-09 12:32:26 +00:00
Narcis Beleuzu d4efb23149 Backed out changeset 272700ebb8c9 (bug 1666264) as requested by :Bebe 2020-10-08 11:35:50 +03:00
Florin Strugariu 9e8634cedc Bug 1666264 - [Mozproxy] Implement a recording .zip file manager r=tarek,perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D90954
2020-10-07 11:44:45 +00:00
Andrew McCreight 0102845923 Bug 1667473, part 2 - Fix some AWSY typos. r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D91478
2020-09-28 10:07:01 +00:00
Andrew McCreight bcc149bb5f Bug 1667473, part 1 - Fix uses of format with print in AWSY. r=perftest-reviewers,Bebe
These weren't noticed before because these are problems either in error
messages, or in the logging for a top-level script we don't run.

Differential Revision: https://phabricator.services.mozilla.com/D91477
2020-09-28 10:06:40 +00:00
Punam Dahiya 154225ecec Bug 1659150 - Remove about:welcome trailhead, full page and ReturnToAMO templates r=perftest-reviewers,Mardak,mkaply,nanj,sparky
Differential Revision: https://phabricator.services.mozilla.com/D89077
2020-09-11 16:35:04 +00:00
Cosmin Sabou 00b09a0063 Backed out changeset 08f94ba4c50c (bug 1659150) for bc failures on browser_all_files_referenced.js. CLOSED TREE 2020-09-11 08:32:46 +03:00
Punam Dahiya 744a5e4c1e Bug 1659150 - Remove about:welcome trailhead, full page and ReturnToAMO templates r=perftest-reviewers,Mardak,mkaply,nanj,sparky
Differential Revision: https://phabricator.services.mozilla.com/D89077
2020-09-11 00:31:11 +00:00
Andrew McCreight 4e95b07530 Bug 1653671 - Add aMinimizeMemoryUsage argument to dumpMemoryReportsToNamedFile(). r=froydnj
This functionality already exists, so it is just a matter of threading
an extra bool around. This patch should not actually change the behavior
anywhere.

The goal of this is to consider using it for AWSY. Currently AWSY
asks every process to minimize memory usage at once, but with
this option the minimization will be batched along with the memory
reports, which should make it less likely to overwhelm the system
when there are a lot of content processes.

Differential Revision: https://phabricator.services.mozilla.com/D87475
2020-08-21 17:11:03 +00:00
David Teller 73d1a0e5ff Bug 1597562 - about:memory now displays process types;r=mccr8,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D77541
2020-07-17 15:51:21 +00:00
Ted Campbell c72c2a34d1 Bug 1642708 - Stop running BinAST tests in automation r=perftest-reviewers,Bebe,sfink
Remove the BinAST tests from following jobs:
    - SM(p)
    - SM(cgc)

Remove the BinAST performance tests:
    - binast-instagram

Mark the WPT BinAST tests as backlog.

Differential Revision: https://phabricator.services.mozilla.com/D77919
2020-06-17 13:57:04 +00:00
Csoregi Natalia e722c196bc Backed out 5 changesets (bug 1642708) for build bustages. CLOSED TREE
Backed out changeset d307b00c7e1b (bug 1642708)
Backed out changeset d210a60ad435 (bug 1642708)
Backed out changeset bcc2728b5ca5 (bug 1642708)
Backed out changeset 1c245d4e8244 (bug 1642708)
Backed out changeset ad613fa94a83 (bug 1642708)
2020-06-17 16:51:16 +03:00
Ted Campbell c2620d4c2f Bug 1642708 - Stop running BinAST tests in automation r=perftest-reviewers,Bebe,sfink
Remove the BinAST tests from following jobs:
    - SM(p)
    - SM(cgc)

Remove the BinAST performance tests:
    - binast-instagram

Mark the WPT BinAST tests as backlog.

Differential Revision: https://phabricator.services.mozilla.com/D77919
2020-06-17 08:06:08 +00:00
Cosmin Sabou 53c2d5ebb9 Backed out 2 changesets (bug 1628527) for causing wpt failures and a spike in bug 1622119. CLOSED TREE
Backed out changeset d9dfb6439761 (bug 1628527)
Backed out changeset 8235287622a8 (bug 1628527)
2020-04-21 23:12:09 +03:00
Tooru Fujisawa 2108f90fcf Bug 1623965 - Improve error message when binary not found while testing. r=glandium,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,Bebe,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D67726
2020-04-21 11:58:04 +00:00
Nicholas Nethercote 88cd51aa6d Bug 1628527 - Introduce explicit initialization and finalization of `fix-stacks`. r=erahm,perftest-reviewers,sparky,gbrown
Currently AWSY-with-DMD doesn't work on Windows. This is because `fix-stacks`
is initialized lazily, and by the time the initialization happens some file
descriptors for files are open, and that leads to some major Python2-on-Windows
sadness as described in the big comment in the commit.

To fix the problem, this commit adds an `init` function to `fix_stacks.py` so
that `fix-stacks` can be initialized eagerly, hopefully before any file
descriptors for files are open.

For `dmd.py`, other than fixing the AWSY problems, this has little effect,
because `fix-stacks` is always initialized.

For `utils.py`, which is used to process the output of most tests, this has a
more noticeable effect: the `fix-stacks` process is always spawned, rather than
being spawned only when needed. If no stack traces appear in the test output,
this means that `fix-stacks` is spawned unnecessarily. But it's cheap to spawn;
the expensive part only happens when stack traces start getting fixed. So I
think this change in behaviour is acceptable.

Furthermore, the commit adds a `finish` function to `fix_stacks.py`, so that
the `fix-stacks` process can be explicitly shut down. This has never been done
for processes spawned for any of the stack fixing scripts. It's never caused
problems on Linux/Mac, but it seems to be necessary on Windows to avoid
similar "this file is locked" problems with the test_dmd.js test.

The commit also renames some things to more standard Python style, e.g.
`json_mode` instead of `jsonMode`.

Finally, Android tests use `utils.py` from the repository but `fix_stacks.py`
from the Android host utils. Because the two scripts must be updated in tandem,
this commit also updates the Android host utils to a version that contains the
updated `fix_stacks.py`. Thanks to aerickson for packaging up the new Android
host utils and providing the change to the `hostutils.manifest` file.

Differential Revision: https://phabricator.services.mozilla.com/D69478
2020-04-20 22:43:25 +00:00
Nicholas Nethercote 8f6eed94e5 Bug 1626272 - Disable stack fixing on Windows awsy-dmd jobs. r=erahm,perftest-reviewers,sparky
Unfortunate, but it gets us back to where we were before `fix_stacks.py` came
along, and getting it working isn't worth the effort right now.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 21:19:52 +00:00
Bob Clary 48aea3100e Bug 1617656 - Use correct field names for suite.unit, suite.subtests.unit, r=jmaher.
Differential Revision: https://phabricator.services.mozilla.com/D64022

--HG--
extra : moz-landing-system : lando
2020-02-25 11:57:06 +00:00
Dão Gottwald c5e3d9ecd6 Bug 1616568 - Stop trying to call gBrowser.removePreloadedBrowser from awsy. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D63330

--HG--
extra : moz-landing-system : lando
2020-02-20 16:23:54 +00:00
Stephen Donner 14559f8276 Fix Bug 1607344; remove legacy stylo-seq linux64 jobs. r=erahm,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D59466

--HG--
extra : moz-landing-system : lando
2020-01-14 22:36:47 +00:00
Mihai Alexandru Michis 227405cbbd Backed out changeset fd1001cea260 (bug 1607344) for causing wpt failures regarding single_stylo_traversal.
CLOSED TREE
2020-01-11 09:55:56 +02:00
Stephen Donner 37fa3ade04 Fix Bug 1607344; remove legacy stylo-seq linux64 jobs. r=erahm,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D59466

--HG--
extra : moz-landing-system : lando
2020-01-11 07:20:50 +00:00
Daniel Varga 5546045f1c Backed out changeset 05f81cc8b39c (bug 1607344) for causing multiple failures at builds/worker/workspace/mozharness/mozharness/base/script.py
CLOSED TREE
2020-01-11 01:33:35 +02:00
Stephen Donner ace7e6d13b Fix Bug 1607344; remove legacy stylo-seq linux64 jobs. r=erahm,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D59466

--HG--
extra : moz-landing-system : lando
2020-01-10 21:39:19 +00:00
Rob Wood fba75b1823 Bug 1605880 - Use consistent fission perfherder data naming for talos/raptor/awsy r=sparky,Marian
Differential Revision: https://phabricator.services.mozilla.com/D58299

--HG--
extra : moz-landing-system : lando
2019-12-27 17:11:55 +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
Punam Dahiya 5448031408 Bug 1600332 - Fix awsy tests to measure common case non-triplets new tab page r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D55530

--HG--
extra : moz-landing-system : lando
2019-12-02 20:56:25 +00:00
Marian Raiciof c85e0d2447 Bug 1599495 - Fission preferences have additional quotation marks r=perftest-reviewers,rwood,stephendonner
This was causing false results when using marionette.get_pref() method

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

--HG--
extra : moz-landing-system : lando
2019-11-28 08:56:40 +00:00
Marian Raiciof fd401a7368 Bug 1567122 - Enable Fission for AWSY r=perftest-reviewers,stephendonner,sparky,erahm
Differential Revision: https://phabricator.services.mozilla.com/D48660

--HG--
extra : moz-landing-system : lando
2019-11-26 08:46:24 +00:00