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

302 Коммитов

Автор SHA1 Сообщение Дата
Lata 5528bda290 Bug 1823612 - Remove usage of marionette.log.level from Log.sys.mjs. r=whimboo,webdriver-reviewers,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D173207
2023-03-29 15:21:16 +00:00
Joel Maher 5606860f34 Bug 1816015 - remove unnecessary force-terminate* messages as errors, print as info. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D169501
2023-02-16 18:32:28 +00:00
Marco Castelluccio f69e697461 Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D165395
2022-12-23 22:45:46 +00:00
Marco Castelluccio d5ba50dc9f Bug 1790816 - Reformat layout/ with isort. r=linter-reviewers,ahal DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162669
2022-11-24 17:23:27 +00:00
Daniel Holbert 4209467c50 Bug 1786210: Remove mentions of unused pref gfx.font_loader.interval. r=emilio
This patch doesn't impact behavior.

The pref "gfx.font_loader.interval" used to control certain aspects of
font-loading behavior, but that code has evolved and we no longer read the
value of this pref anywhere.

Differential Revision: https://phabricator.services.mozilla.com/D155183
2022-08-21 23:45:56 +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
Geoff Brown e87630dcdc Bug 1744091 - Update test harnesses to run with fission by default, except on android; r=perftest-reviewers,releng-reviewers,jmaher,AlexandruIonescu
Run with fission by default in test harnesses, with --disable-fission available as an
option.
Android mach commands automatically set --disable-fission; this can be over-ridden by
--setpref=fission.autostart=true.
fission.autostart is removed from all test profiles.
No changes to wpt, handled already in bug 1743714.

Differential Revision: https://phabricator.services.mozilla.com/D135137
2022-01-07 20:30:45 +00:00
Butkovits Atila 311094ffb4 Backed out 2 changesets (bug 1744091) for causing Jit failures. CLOSED TREE
Backed out changeset 0c43fef8293a (bug 1744091)
Backed out changeset fd582a6dca2d (bug 1744091)
2022-01-07 21:37:10 +02:00
Geoff Brown 618f09cd4c Bug 1744091 - Update test harnesses to run with fission by default, except on android; r=perftest-reviewers,releng-reviewers,jmaher,AlexandruIonescu
Run with fission by default in test harnesses, with --disable-fission available as an
option.
Android mach commands automatically set --disable-fission; this can be over-ridden by
--setpref=fission.autostart=true.
fission.autostart is removed from all test profiles.
No changes to wpt, handled already in bug 1743714.

Differential Revision: https://phabricator.services.mozilla.com/D135137
2022-01-07 15:34:02 +00:00
Joel Maher a5ba850543 Bug 1743907 - remove reftest sandbox references to webrender. r=ahal,tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D132728
2021-12-10 16:19:54 +00:00
Iulian Moraru 9b600caf7e Backed out changeset 950519715871 (bug 1743907) for causing install python package failures. CLOSED TREE 2021-12-10 04:50:20 +02:00
Joel Maher 2afd09590e Bug 1743907 - remove reftest sandbox references to webrender. r=ahal,tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D132728
2021-12-09 19:41:48 +00:00
criss b610902f30 Backed out changeset 5d547fd3bf59 (bug 1743907) for causing failures on short.mp4.firstframe.html 2021-12-07 10:57:54 +02:00
Joel Maher f214a1bf0e Bug 1743907 - remove reftest sandbox references to webrender. r=ahal,tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D132728
2021-12-07 00:47:09 +00:00
Noemi Erli 96786684ac cBacked out changeset feff6d3ebdcd (bug 1743907) for causing reftest failures in short.mp4.firstframe.html CLOSED TREE 2021-12-06 19:38:36 +02:00
Joel Maher daa6fd4b48 Bug 1743907 - remove reftest sandbox references to webrender. r=ahal,tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D132728
2021-12-06 13:43:37 +00:00
Geoff Brown 57e56287c3 Bug 1714406 - Run test-verify and test-coverage tasks with python 3; r=jmaher
Run TV and TC tasks with python 3. Several issues are addressed for TV:
 - minor Android-only str/int type confusion for mozinfo parameter;
 - the type of mozlog-generated log* options changes under py3, causing
   difficulty when deepcopy'ing options; avoided by removing the need
   for deepcopy;
 - on Windows, with py 3.6, repeated process launches trigger a python
   bug; avoided by running self-tests only once per TV session.

Differential Revision: https://phabricator.services.mozilla.com/D118769
2021-06-24 23:29:28 +00:00
Joel Maher 9547663454 Bug 1699241 - support appleSilicon as a keyword in reftest manifests r=ahal
support appleSilicon as a keyword in reftest manifests

Differential Revision: https://phabricator.services.mozilla.com/D108837
2021-03-17 19:50:23 +00:00
James Graham b9682a9785 Bug 1695263 - Import marionette from driver not harness, r=marionette-reviewers,whimboo
This avoids a lot of unnecessary extra work and dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D106760
2021-03-03 10:03:03 +00:00
Tooru Fujisawa fe9e88dcf7 Bug 1642709 - Make a relative path from topsrcdir work in jstestbrowser. r=jmaher
jsreftest tests are staged into objdir, and specifying a path inside it isn't
user friendly.

Made it automatically try resolving the relative path from staged area, if
the relative path doesn't find any test.

Differential Revision: https://phabricator.services.mozilla.com/D106010
2021-02-22 20:32:26 +00:00
Jonathan Kew 4a675c2c2f Bug 1692498 - Let the emoji font pref override Unicode presentation style only if it's explicitly user-set. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D105102
2021-02-16 10:06:10 +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 a2e1392505 Bug 1390884 - Enable all test-verify chaos modes except TimerScheduling; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D89214
2020-09-02 21:13:40 +00:00
Jonathan Kew 936d5b55b1 Bug 1533462 - Execute the deferred font-info loader immediately when running reftests, to avoid intermittent issues due to async completion triggering an extra reflow mid-test. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D87194
2020-08-21 14:28:50 +00:00
Geoff Brown 04295788b2 Bug 1622436 - Support --enable-fission option in reftest harness and reftest family mach commands; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D78570
2020-06-08 19:20:45 +00:00
Joel Maher 9e0ee8988a Bug 1641160 - add support for isCoverageBuild in reftests. r=gbrown
add support for isCoverageBuild in reftests.

Differential Revision: https://phabricator.services.mozilla.com/D77139
2020-05-27 21:22:54 +00:00
Bob Clary 6a0aed7b99 Bug 1638981 - enable mach reftests to run with Python 3. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D76650
2020-05-27 13:07:07 +00:00
Oana Pop Rus 4a954448c2 Backed out changeset 94d6a3fe4b57 (bug 1625250) requested by kats - diagnostic patch. on a CLOSED TREE 2020-05-01 18:07:20 +03:00
Geoff Brown c09c016576 Bug 1634111 - Enhance search for profile data in test harnesses; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D73105
2020-04-29 19:16:43 +00:00
Kartikaya Gupta 6066dbc1b7 Bug 1625250 - Set a couple of env vars to help debug MIT-SHM error. r=jgraham
This sets the env vars when running with WR enabled in reftests or WPT,
which is where the errors seem to be manifesting.

Differential Revision: https://phabricator.services.mozilla.com/D71375
2020-04-17 18:59:14 +00:00
Geoff Brown 4f620e31e9 Bug 1617637 - Use string rather than tuple for reftest test ids in suite_start; r=ahal
reftest-plain test identifiers may be tuples like ['this', '==', 'that'], which are
undesirable to ActiveData. This patch converts such identifiers to simple strings,
'this == that' in the suite_start message (string format is already used in other
messages, like test_start).

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

--HG--
extra : moz-landing-system : lando
2020-02-26 15:45:33 +00:00
Andrew Halberstadt 4ebb46cb17 Bug 1616879 - [reftest] Exit gracefully when there is an error parsing the manifests, r=dbaron
Currently a parsing error causes reftest.jsm to hang, leaving the browser open.
Once the browser is manually closed, the Python side then emits an unrelated
traceback (since it assumes that parsing was succesful).

This ensures we both quit Firefox and check that parsing was successful (and
exit gracefully if not).

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

--HG--
extra : moz-landing-system : lando
2020-02-26 14:25:46 +00:00
Geoff Brown 12a26f2d5a Bug 1613929 - Normalize reftest manifest identifiers; r=jmaher
Use the manifest ID rather than the manifest path in the reftest suite_start message.

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

--HG--
extra : moz-landing-system : lando
2020-02-10 14:42:09 +00:00
Geoff Brown fc3f08846e Bug 1596567 - Normalize test ids for reftests, crashtests, and jsreftests; r=ahal,jmaher
Use test identifiers that look like posix-compliant relative file paths rather than URLs; identifier "paths" are relative to topsrcdir -- an intuitive, brief mapping from identifier to test file.

This patch adds (expands) a --topsrcdir option to runreftest.py and updates CI configuration to set it appropriately. runreftest.py calculates a manifest ID, a path relative to topsrcdir, for each requested manifest and passes those manifest IDs to manifest.jsm. In manifest.jsm, a new manifest ID is generated when a manifest is included from a new directory. Test identifiers are generated by adding the test file name to the manifest ID.

Examples (url -> identifier):

  - file:///builds/worker/workspace/build/tests/reftest/tests/dom/svg/crashtests/398926-fill.svg -> dom/svg/crashtests/398926-fill.svg
  - file:///Z:/task_1577755655/build/tests/reftest/tests/dom/svg/crashtests/398926-fill.svg -> dom/svg/crashtests/398926-fill.svg
  - http://10.7.205.207:8854/tests/dom/svg/crashtests/398926-fill.svg -> dom/svg/crashtests/398926-fill.svg
  - file:///builds/worker/workspace/build/tests/jsreftest/tests/js/src/tests/jsreftest.html?test=test262/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-31.js -> js/src/tests/test262/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-31.js
  - chrome://reftest/content/bugs/299837-2.xhtml -> layout/reftests/bugs/299837-2.xhtml
  - http://localhost:36067/1577754972876/1/289480.html#top -> layout/reftests/bugs/289480.html#top
  - about:blank -> about:blank
  - data:text/html,<body> -> data:text/html,<body>

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

--HG--
extra : moz-landing-system : lando
2020-01-09 19:25:58 +00:00
Justin Wood 997253f286 Bug 1559975 - Make layout/tools/reftest lint with 'py2' and 'py3' r=catlee
Depends on D36093

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

--HG--
extra : moz-landing-system : lando
2019-12-26 21:17:55 +00:00
Cameron McCormack 23dcc18ebf Bug 1603016 - Add a --headless option for `mach reftest`. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D56663

--HG--
extra : moz-landing-system : lando
2019-12-13 00:01:06 +00:00
Geoff Brown d5a1276fec Bug 1405175 - Repeat reftest --run-until-failure up to 30 times by default; r=ahal
Make reftest --run-until-failure consistent with mochitest:
if --run-until-failure requested without --repeat, repeat up to 30 times;
if --run-until-failure requested with --repeat=N, repeat up to N times.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 18:26:03 +00:00
Xidorn Quan 82cc547ab8 Bug 1578377 - Render dark scrollbars for element with dark background on Windows. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D48289

--HG--
extra : moz-landing-system : lando
2019-10-23 21:00:28 +00:00
Andrew Halberstadt 142851700b Bug 1587206 - [lint.flake8] Enable F811 across the tree, r=sylvestre
This prevents redefinition of unused variables.

Depends on D48610

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

--HG--
extra : moz-landing-system : lando
2019-10-10 18:51:20 +00:00
Andrew Halberstadt b6461aa946 Bug 1567642 - [reftest] Fix flake8 under Python 3 lint issues r=gbrown
Depends on D45415

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

--HG--
extra : moz-landing-system : lando
2019-09-10 19:15:30 +00:00
L. David Baron 85cac89c70 Bug 1561792 - Rename the pref gfx.font_ahem_antialias_none to gfx.font_rendering.ahem_antialias_none to avoid the additional pref observer added in the previous patch. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D41068

--HG--
extra : moz-landing-system : lando
2019-08-07 20:46:04 +00:00
Edwin Gao 29f92afa77 Bug 1562745 - Make OSX10.14 debug tests actually use debug builds. r=jmaher
As far as I can tell, the intermittent suite_start failures are due to
stdout/stderr output interleaving -- a known issue for reftest logging,
without a clear way forward. Let's work around it the same way we did
on Windows.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 16:18:20 +00:00