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

1094 Коммитов

Автор SHA1 Сообщение Дата
Henrik Skupin 6ca4317d5a Bug 1669172 - [marionette] Remove --disable-actors command line argument. r=marionette-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D100943
2021-02-14 14:09:21 +00:00
Narcis Beleuzu 891e453d2f Backed out 4 changesets (bug 1669172) for marionette failures on test_navigation.py . CLOSED TREE
Backed out changeset 226b7b7e0ee8 (bug 1669172)
Backed out changeset 07e433cbf1d8 (bug 1669172)
Backed out changeset 74add9dbce91 (bug 1669172)
Backed out changeset 8781218cfac4 (bug 1669172)
2021-02-14 01:06:49 +02:00
Henrik Skupin 9653901388 Bug 1669172 - [marionette] Remove --disable-actors command line argument. r=marionette-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D100943
2021-02-13 22:28:03 +00:00
Joel Maher c6c9ae717e Bug 1683001 - xpcshell support for --run-failures. r=aki
add support to xpcshell harness + mozharess for --run-failures

Differential Revision: https://phabricator.services.mozilla.com/D101662
2021-01-22 21:14:27 +00:00
Mike Hommey 49a9eeaf91 Bug 1687594 - Don't take path@task-id arguments on `mach artifact toolchain`. r=firefox-build-system-reviewers,mhentges
This form hasn't been used since bug 1573435.

Differential Revision: https://phabricator.services.mozilla.com/D102375
2021-01-20 15:04:49 +00:00
Mike Hommey 32ec3e64de Bug 1687594 - Remove the --authentication-file option to `mach artifact toolchain`. r=firefox-build-system-reviewers,mhentges
It has been a no-op since bug 1595368.

Differential Revision: https://phabricator.services.mozilla.com/D102374
2021-01-20 15:03:45 +00:00
Yura Zenevich 13a44570ff Bug 1667998 - [ci] Add cli flag in desktop_unittest.py. Ensure M-a11y-checks runs on Linux x64 opt build. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D102042
2021-01-20 14:25:26 +00:00
Mitchell Hentges 51b1c98bf1 Bug 1680802: Install marionette requirements with legacy resolver r=sheehan
Marionette requirements fail to install with the new pip resolver due
to a conflict between `h2` and `wptserve`.
Use the legacy resolver with Marionette until the dependencies are
reorganized by the Marionette maintainers.

Depends on D99940

Differential Revision: https://phabricator.services.mozilla.com/D100811
2021-01-08 18:52:14 +00:00
Bob Clary b64141b6f6 Bug 1681096 - python3 - pylint --py3k - W1658: Accessing a removed attribute on the urllib module (deprecated-urllib-function) r=marionette-reviewers,jgraham,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D99096
2020-12-10 14:13:37 +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
James Graham 860526d8a2 Bug 1682505 - Don't use execfile in mozharness, r=emilio
This is incompatible with Python 3 and should be replaced by opening the file
and calling exec() on the text.

Differential Revision: https://phabricator.services.mozilla.com/D99767
2020-12-15 11:27:09 +00:00
Bob Clary 90186726d1 Bug 1681146 - python3 - Programatically select appropriate websocketprocessbridge_requirements for Python version. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D99024
2020-12-14 20:12:56 +00:00
Bob Clary 1584100fb2 Bug 1681096 - python3 - pylint --py3k - W1618: from __future__ import absolute_import r=perftest-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D98939
2020-12-14 17:50:17 +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
Mike Hommey fba6ec43e7 Bug 1680185 - Add openh264 builds for Apple silicon mac. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D98427
2020-12-02 22:26:03 +00:00
Ricky Stewart 6d5379a8a7 Bug 1678048 - Fix type error in `desktop_unittest.py` r=ahal
In context the `dir` referenced here was the builtin `dir()` function, which is not appropriate to pass into `os.path.join()`. I've replaced it with what I think was intended.

Differential Revision: https://phabricator.services.mozilla.com/D97456
2020-11-19 15:38:35 +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
Henrik Skupin 76416a2e1f Bug 1669169 - [marionette] Add --disable-actors command line argument to force usage of deprecated framescripts instead of actors. r=marionette-reviewers,jdescottes,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D96465
2020-11-10 19:13:55 +00:00
Agi Sferro 0308170ebf Bug 1673100 - Add version of gv-junit that runs with fission. r=esawin,ahal
Differential Revision: https://phabricator.services.mozilla.com/D95062
2020-11-02 19:39:38 +00:00
Aaron Klotz c592bffdfb Bug 1650118: Part 6 - Update test harnesses; r=bc,sparky,perftest-reviewers,jgraham
e10s is no longer a GeckoView option, so I'd like to remove it from test
harnesses when possible.

Depends on D90934

Differential Revision: https://phabricator.services.mozilla.com/D91640
2020-10-27 18:16:30 +00:00
Razvan Maries f3f6721caa Backed out 8 changesets (bug 1650118) for wpt failures on inside-dedicated-worker.html. CLOSED TREE
Backed out changeset ab6218dd84f5 (bug 1650118)
Backed out changeset a99d1aae6e2e (bug 1650118)
Backed out changeset ed357b8bb07e (bug 1650118)
Backed out changeset cd5155e732d9 (bug 1650118)
Backed out changeset 63cc752924f2 (bug 1650118)
Backed out changeset 7f0a281a399e (bug 1650118)
Backed out changeset 0fd77fef3c95 (bug 1650118)
Backed out changeset f397e86fd61e (bug 1650118)
2020-10-27 18:39:11 +02:00
Aaron Klotz b7a9856e97 Bug 1650118: Part 6 - Update test harnesses; r=bc,sparky,perftest-reviewers,jgraham
e10s is no longer a GeckoView option, so I'd like to remove it from test
harnesses when possible.

Depends on D90934

Differential Revision: https://phabricator.services.mozilla.com/D91640
2020-10-27 11:41:28 +00:00
Ricky Stewart 210585edd2 Bug 1672023 - Remove excluded files from `black.yml`
These files were omitted from the original patch because reformatting them required some manual intervention in order to avoid breaking unit tests. Generally the `noqa` lines were already there and just needed to be moved from one line to another (due to the reformatting by `black`), but sometimes `black` saw fit to move a bunch of stuff all onto one line, requiring me to introduce new `noqa` lines.

Besides the autoformat by `black` and some manual fixups, this patch contains no other changes.

# ignore-this-changeset

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

Depends on D94045
2020-10-26 18:21:44 +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 fe80718d67 Bug 1672023 - Remove excluded files from `black.yml` r=sylvestre,perftest-reviewers,geckoview-reviewers,agi
These files were omitted from the original patch because reformatting them required some manual intervention in order to avoid breaking unit tests. Generally the `noqa` lines were already there and just needed to be moved from one line to another (due to the reformatting by `black`), but sometimes `black` saw fit to move a bunch of stuff all onto one line, requiring me to introduce new `noqa` lines.

Besides the autoformat by `black` and some manual fixups, this patch contains no other changes.

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94052
2020-10-23 20:40:44 +00: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
Joel Maher 4dd326cbea Bug 1670995 - run android mochitest/wpt on -qr by default. r=jnicol
run android mochitest/wpt on -qr by default

Differential Revision: https://phabricator.services.mozilla.com/D94334
2020-10-21 19:16:06 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Dorel Luca 26941cf2f5 Backed out changeset 94ec15429e21 (bug 1672023) for Backout conflicts with Bug 1654103. CLOSED TREE 2020-10-22 03:43:01 +03:00
Ricky Stewart 8b352f1843 Bug 1672023 - Remove excluded files from `black.yml` r=sylvestre,perftest-reviewers,geckoview-reviewers,agi
These files were omitted from the original patch because reformatting them required some manual intervention in order to avoid breaking unit tests. Generally the `noqa` lines were already there and just needed to be moved from one line to another (due to the reformatting by `black`), but sometimes `black` saw fit to move a bunch of stuff all onto one line, requiring me to introduce new `noqa` lines.

Besides the autoformat by `black` and some manual fixups, this patch contains no other changes.

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94052
2020-10-21 21:29:30 +00: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
Razvan Maries 5e0d52e2cc Backed out 6 changesets (bug 1650118) as per Aaron's request. CLOSED TREE
Backed out changeset 4a7fc6398ad6 (bug 1650118)
Backed out changeset b9fa3dd9c05d (bug 1650118)
Backed out changeset 2cb9109dee0a (bug 1650118)
Backed out changeset a6ca38804021 (bug 1650118)
Backed out changeset 66b9527aecad (bug 1650118)
Backed out changeset 74fd3eb970a6 (bug 1650118)
2020-10-21 07:32:57 +03:00
Aaron Klotz 1876a00d8b Bug 1650118: Part 6 - Update test harnesses; r=bc,sparky,perftest-reviewers
e10s is no longer a GeckoView option, so I'd like to remove it from test
harnesses when possible.

Differential Revision: https://phabricator.services.mozilla.com/D91640
2020-10-19 18:17:16 +00:00
James Graham ec26b652e7 Bug 1668458 - Load specialPowers web extension in gecko-only wpt tests, r=jmaher,twisniewski,whimboo
Lack of support for specialPowers is often cited as a reason for
developers to write mochitests rather than wpt. Although using
specialPowers means that the tests can't be upstreamed, having it
available in gecko-only tests should reduce the need to write
mochitests and potentially means that a patch which previously would
be written with just mochitests would instead be written with just
wpt, a fraction of which would be unsuitable for sharing.

Nevertheless a gecko-only specialPowers-using test should be
considered the option of last resort when cross-browser APIs such as
testdriver aren't sufficient.

This patch installs the specialPowers extension when the path to the
XPI is provided via a --specialpowers-path command line argument. To
ensure this only happens for gecko-only tests, the url_base is added
to the Test object, and the firefox settings() method is updated to
contain a specialpowers setting, which uses the url_base of the test
to determine if this is a gecko-only test.

Because the extension has to be enabled using marionette, we also need
to route this setting through the to executor, along with the provided
XPI path.

Differential Revision: https://phabricator.services.mozilla.com/D92035
2020-10-06 14:01:24 +00:00
Bogdan Tara 50effb1629 Backed out changeset 5f2252c9e774 (bug 1668458) for wpt failures CLOSED TREE 2020-10-06 16:32:01 +03:00
James Graham d248b39a61 Bug 1668458 - Load specialPowers web extension in gecko-only wpt tests, r=jmaher,twisniewski,whimboo
Lack of support for specialPowers is often cited as a reason for
developers to write mochitests rather than wpt. Although using
specialPowers means that the tests can't be upstreamed, having it
available in gecko-only tests should reduce the need to write
mochitests and potentially means that a patch which previously would
be written with just mochitests would instead be written with just
wpt, a fraction of which would be unsuitable for sharing.

Nevertheless a gecko-only specialPowers-using test should be
considered the option of last resort when cross-browser APIs such as
testdriver aren't sufficient.

This patch installs the specialPowers extension when the path to the
XPI is provided via a --specialpowers-path command line argument. To
ensure this only happens for gecko-only tests, the url_base is added
to the Test object, and the firefox settings() method is updated to
contain a specialpowers setting, which uses the url_base of the test
to determine if this is a gecko-only test.

Because the extension has to be enabled using marionette, we also need
to route this setting through the to executor, along with the provided
XPI path.

Differential Revision: https://phabricator.services.mozilla.com/D92035
2020-10-06 12:54:36 +00:00
Noemi Erli 112f24b054 Backed out 2 changesets (bug 1668458) for causing web platform test failures CLOSED TREE
Backed out changeset 8739d75e13dc (bug 1668458)
Backed out changeset e45a73a47c37 (bug 1668458)
2020-10-05 18:24:36 +03:00
James Graham e30a02602c Bug 1668458 - Load specialPowers web extension in gecko-only wpt tests, r=jmaher,twisniewski
Lack of support for specialPowers is often cited as a reason for
developers to write mochitests rather than wpt. Although using
specialPowers means that the tests can't be upstreamed, having it
available in gecko-only tests should reduce the need to write
mochitests and potentially means that a patch which previously would
be written with just mochitests would instead be written with just
wpt, a fraction of which would be unsuitable for sharing.

Nevertheless a gecko-only specialPowers-using test should be
considered the option of last resort when cross-browser APIs such as
testdriver aren't sufficient.

This patch installs the specialPowers extension when the path to the
XPI is provided via a --specialpowers-path command line argument. To
ensure this only happens for gecko-only tests, the url_base is added
to the Test object, and the firefox settings() method is updated to
contain a specialpowers setting, which uses the url_base of the test
to determine if this is a gecko-only test.

Because the extension has to be enabled using marionette, we also need
to route this setting through the to executor, along with the provided
XPI path.

Differential Revision: https://phabricator.services.mozilla.com/D92035
2020-10-02 19:34:10 +00:00
Nick Thomas ffceb1c957 Bug 1653476 - import partner repack script into tree and convert to py3, r=aki
Differential Revision: https://phabricator.services.mozilla.com/D88374
2020-08-27 22:19:32 +00:00
Butkovits Atila b8629b8d1e Backed out 9 changesets (bug 1630809, bug 1653476) for Gecko Decision failures. CLOSED TREE
Backed out changeset 02a27bfc76dd (bug 1653476)
Backed out changeset afb5df61943a (bug 1630809)
Backed out changeset 04628c1f98e9 (bug 1630809)
Backed out changeset 4b4d50e0b1bf (bug 1630809)
Backed out changeset 2fa2deb5c993 (bug 1630809)
Backed out changeset d6652114cac3 (bug 1630809)
Backed out changeset ad5e4caa3291 (bug 1630809)
Backed out changeset d3d841cd14f3 (bug 1630809)
Backed out changeset b3746502e227 (bug 1630809)
2020-08-28 01:15:03 +03:00
Nick Thomas 9c0467f88b Bug 1653476 - import partner repack script into tree and convert to py3, r=aki
Differential Revision: https://phabricator.services.mozilla.com/D88374
2020-08-27 14:56:47 +00:00
Tom Prince bd8a8ba4cd Bug 1492362: [mozharness] Set reasonable `avds_dir` values; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D86671
2020-08-25 01:35:29 +00:00
Narcis Beleuzu 9b1cd3b0bd Backed out 4 changesets (bug 1492362) for android wpt failures. CLOSED TREE
Backed out changeset ac0fdd0c661e (bug 1492362)
Backed out changeset 89ecd6ee8edd (bug 1492362)
Backed out changeset ae17b683bf71 (bug 1492362)
Backed out changeset 485f333bc3b7 (bug 1492362)
2020-08-19 13:54:36 +03:00
Tom Prince 08f2a71b7d Bug 1492362: [mozharness] Set reasonable `avds_dir` values; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D86671
2020-08-19 01:05:39 +00:00
Csoregi Natalia 2dd1b9f726 Backed out 4 changesets (bug 1492362) for gecko decision bustage. CLOSED TREE
Backed out changeset 8e6cf79c70f7 (bug 1492362)
Backed out changeset 225a6bfe8cbf (bug 1492362)
Backed out changeset ea667ccd4b19 (bug 1492362)
Backed out changeset a20562dbfece (bug 1492362)
2020-08-19 04:01:35 +03:00
Tom Prince 89d475d924 Bug 1492362: [mozharness] Set reasonable `avds_dir` values; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D86671
2020-08-18 20:41:09 +00:00
Chris H-C 047e478174 Bug 1650282 - Ignore NSS Shutdown leaks on telemetry integration tests r=raphael DONTBUILD
My original patch just ignored it for locally-run tests.
This one makes a similar change for when it's run on try.

Differential Revision: https://phabricator.services.mozilla.com/D86814
2020-08-12 13:06:56 +00:00
Henrik Skupin f00a1ae811 Bug 1651297 - [web-platform] Run tests for Windows7 debug with a single Firefox process. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D84524
2020-07-27 09:23:56 +00:00
Tom Prince 67ea30d732 Bug 1653190: Fix handling of checksum format in python 2 vs 3; r=mtabara
We switched to using python 3 to run generate-checksums, this caused the
checksum files to have an extra `b''` in them. The original fix caused the
generation of merkletree to fail. This moves the code that encodes the hash
closer to where it is output.

Differential Revision: https://phabricator.services.mozilla.com/D85196
2020-07-28 20:30:12 +00:00