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

26 Коммитов

Автор SHA1 Сообщение Дата
Joel Maher 113df4f3a2 Bug 1692453 - remove activedata from test-info. r=releng-reviewers,aki CLOSED TREE
remove activedata from test-info

Differential Revision: https://phabricator.services.mozilla.com/D106301
2021-02-24 22:52:18 +00:00
Csoregi Natalia d8ef0fbfe6 Backed out changeset 24db9230985e (bug 1692453) for lint failure. CLOSED TREE 2021-02-25 02:27:35 +02:00
Joel Maher a9dd0fa077 Bug 1692453 - remove activedata from test-info. r=releng-reviewers,aki
remove activedata from test-info

Differential Revision: https://phabricator.services.mozilla.com/D106301
2021-02-24 22:52:18 +00:00
Bob Clary 05d29ba882 Bug 1681096 - python3 - pylint --py3k - W1633: round built-in referenced (round-builtin) r=marionette-reviewers,perftest-reviewers,aki,gbrown,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D99067
2020-12-09 15:10:53 +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
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
Geoff Brown d4f33f633f Bug 1656410 - Fix py3 sort failure in test-info report --show-manifests; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D85619
2020-07-31 18:52:29 +00:00
James Graham 2ade9fa1fd Bug 1644395 - Add wpt print reftests to TC config, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D79082
2020-06-23 10:00:28 +00:00
Narcis Beleuzu a0c8ce672c Backed out 4 changesets (bug 1644395) for bc failures on browser_all_files_referenced.js . CLOSED TREE
Backed out changeset 582c1dd945ca (bug 1644395)
Backed out changeset 9dbba532a700 (bug 1644395)
Backed out changeset 59e998eb5e59 (bug 1644395)
Backed out changeset 035ddba4a4d9 (bug 1644395)
2020-06-23 00:56:49 +03:00
James Graham 5706e82bce Bug 1644395 - Add wpt print reftests to TC config, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D79082
2020-06-22 13:44:13 +00:00
Geoff Brown 3937fb2108 Bug 1566017 - Improve 'mach test-info' run type handling; r=jmaher
- implement ekyle's tip for better grouping of run types
 - combine build and run types and eliminate duplicates when building the platform name
 - report '1proc' instead of 'e10s' so platform names look more similar to treeherder
The universal_newlines change is a ride-along, for improved py3 compat.

Differential Revision: https://phabricator.services.mozilla.com/D76211
2020-05-20 20:29:08 +00:00
Edwin Takahashi a853d06380 Bug 1608837 - fix incorrect names of reftest/crashtest variants of web-platform-tests r=ahal
The definition for reftest/crashtest variants of web-platform-tests in web-platform.yml has a trailing `s` which is technically incorrect.

This causes problems when querying ActiveData for the runtimes for these subsuites since the suite name recorded in ActiveData has the trailing s.

Changes:

  - remove the trailing `s` from the definitions

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

--HG--
extra : moz-landing-system : lando
2020-03-31 20:41:17 +00:00
Geoff Brown ab2019a124 Bug 1619693 - Implement 'mach test-info report-diff'; r=bc
A quick and basic implementation of 'mach test-info report-diff' to provide a
high level comparison of two reports generated by 'mach test-info report'.
Mostly this is trying to give an impression of how many and which tests
have been added and deleted during the time period between the reports.
There is more information in the reports; a more thorough comparison is
possible, but seems lower-value: To be considered in a future bug.

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

--HG--
extra : moz-landing-system : lando
2020-03-04 08:09:13 +00:00
Geoff Brown 74117bdeea Bug 1609508 - Adjust test-info report queries; r=jmaher
Minor changes to test-info report's interaction with ActiveData:
 - with improved reftest data in ActiveData, several path modifications can
be removed;
 - adjust some crashtest query data ranges to more efficiently handle the
new data;
 - add a missing path modification for xpcshell, to handle test names that
include manifests.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 09:05:11 +00:00
Geoff Brown 261d5d5628 Bug 1608901 - Add referer to http headers when querying ActiveData from test-info; r=egao
Simply add referer to ActiveData queries.

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

--HG--
extra : moz-landing-system : lando
2020-01-13 22:50:22 +00:00
Geoff Brown b165298c55 Bug 1607657 - Avoid AttributeError in 'mach test-info report'; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D59240

--HG--
extra : moz-landing-system : lando
2020-01-09 16:20:34 +00:00
James Graham 512caca24e Bug 1605381 - Schedule wpt crashtests in CI, r=ahal
This is a new test type identified by --test-type=crashtest

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

--HG--
extra : moz-landing-system : lando
2020-01-02 17:13:54 +00:00
Geoff Brown 6aa29a0e86 Bug 1605180 - In test-info, avoid ActiveData retries when no matching data; r=jmaher
When an ActiveData query returns HTTP 200 but no data, treat that as a permanent condition:
Do not retry. I expect that will be the case for some test-info queries for reftests
until reftest test names are normalized.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 23:31:24 +00:00
Geoff Brown 48455f980b Bug 1601388 - Parallelize ActiveData requests in 'mach test-info report'; r=jmaher
Currently 'mach test-info report --show-activedata' makes over a dozen requests to
ActiveData, one at a time. Most of the elapsed time for generating the report is
waiting for a response from ActiveData. A significant run-time savings is achieved
using threads to submit multiple requests concurrently.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 11:43:20 +00:00
Geoff Brown 9a69c6610b Bug 1601387 - Avoid some ActiveData over-flows in 'mach test-info report'; r=jmaher
Adjust ActiveData queries so that no query matches more than the ActiveData maximum
of 10000 records (crashtest excepted, until bug 1596567 is fixed). This provides a
dramatic improvement in the quality of run counts and run times reported for wpt and
reftests. Also adjusts some of the update mechanisms to handle duplicate paths better.
Also adds more (verbose) logging of match counts, report run times, etc in anticipation
of further refinements.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 21:41:34 +00:00
Geoff Brown be76d63ab7 Bug 1601472 - Add context describing 'mach test-info report'; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D56247

--HG--
extra : moz-landing-system : lando
2019-12-07 10:16:53 +00:00
Geoff Brown 17e2f934a6 Bug 1601383 - Re-structure 'mach test-info' code; r=jmaher
Move almost all test-info code out of mach_commands.py and into its own file
and consolidate logging and imports; no functional changes.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 13:27:54 +00:00