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

2012 Коммитов

Автор SHA1 Сообщение Дата
Bogdan Tara a5112d03db Backed out changeset 97280448a042 (bug 1621095) for test_ext_test.html failures CLOSED TREE 2020-04-24 17:09:37 +03:00
Joel Maher b9a6e9d31c Bug 1621095 - add reftest-qr to run focused webrender reftests on android phones. r=bc
add reftest-qr to run focused webrender reftests on android phones.

Differential Revision: https://phabricator.services.mozilla.com/D72312
2020-04-24 12:35:12 +00:00
Mike Hommey 631e3b46ff Bug 1632727 - Remove use of deprecated Error::description. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D72285
2020-04-24 05:23:32 +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
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
Joel Maher 87cf0d2b49 Bug 1631534 - Fix moztest to support windows paths for running wpt tests locally. r=jgraham
moztest assumes os.path but that fails for windows to compare against inputs that use mozpath commands with a posix slash.

Differential Revision: https://phabricator.services.mozilla.com/D71619
2020-04-20 19:04:26 +00:00
Edwin Takahashi e35338238b Bug 1608837 - add build_flavor and subsuite information to web-platform-tests r=ahal
Changes:

  - add build_flavor attribute in order to support writeruntimes and resolve().
  - add subsuite attribute to web-platform-tests in resolve.py so that resolve() does not filter out test objects.

Differential Revision: https://phabricator.services.mozilla.com/D71086
2020-04-17 17:44:33 +00:00
Geoff Brown c9edfe9424 Bug 1562339 - Allow customization of command line used to start emulator by 'mach android-emulator'; r=jmaher
Add a --gpu option to 'mach android-emulator' as a convenient way to over-ride the -gpu argument
passed to the emulator.
Also check the environment for MOZ_EMULATOR_COMMAND_ARGS to allow for additional over-rides
of the emulator command line.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 17:58:49 +00:00
Andrea Marchesini 13481ea877 Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D70040

--HG--
rename : extensions/permissions/nsPermissionManager.cpp => extensions/permissions/PermissionManager.cpp
rename : extensions/permissions/nsPermissionManager.h => extensions/permissions/PermissionManager.h
extra : moz-landing-system : lando
2020-04-11 13:42:12 +00:00
Bastien Orivel 9c5bd43624 Bug 1581062 - Part 2: Remove the unicode feature from a few crates. r=froydnj,emilio,jgraham,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65863

--HG--
extra : moz-landing-system : lando
2020-04-11 08:55:12 +00:00
Razvan Maries b74e338c98 Backed out 6 changesets (bug 1363541) for perma failures. CLOSED TREE
Backed out changeset a775f6e9eb41 (bug 1363541)
Backed out changeset 9212bfd89eca (bug 1363541)
Backed out changeset bf41b0c139f6 (bug 1363541)
Backed out changeset aa7c6668b249 (bug 1363541)
Backed out changeset 9f413a8a47bb (bug 1363541)
Backed out changeset 827a9a2866bd (bug 1363541)

--HG--
rename : extensions/permissions/Permission.cpp => extensions/permissions/nsPermission.cpp
rename : extensions/permissions/Permission.h => extensions/permissions/nsPermission.h
rename : extensions/permissions/PermissionManager.cpp => extensions/permissions/nsPermissionManager.cpp
rename : extensions/permissions/PermissionManager.h => extensions/permissions/nsPermissionManager.h
2020-04-10 11:31:20 +03:00
Andrea Marchesini b523b552a4 Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D70040

--HG--
rename : extensions/permissions/nsPermissionManager.cpp => extensions/permissions/PermissionManager.cpp
rename : extensions/permissions/nsPermissionManager.h => extensions/permissions/PermissionManager.h
extra : moz-landing-system : lando
2020-04-09 22:08:02 +00:00
Coroiu Cristina d37de5ed78 Backed out 6 changesets (bug 1363541) for browser-chrome failures at browser/base/content/test/performance/browser_startup_mainthreadio.js on a CLOSED TREE
Backed out changeset 947073be919f (bug 1363541)
Backed out changeset 1f397b686c11 (bug 1363541)
Backed out changeset d2ba944a47a3 (bug 1363541)
Backed out changeset 80d4d1f0c921 (bug 1363541)
Backed out changeset 9d6b9052f413 (bug 1363541)
Backed out changeset aeaa10789071 (bug 1363541)

--HG--
rename : extensions/permissions/Permission.cpp => extensions/permissions/nsPermission.cpp
rename : extensions/permissions/Permission.h => extensions/permissions/nsPermission.h
rename : extensions/permissions/PermissionManager.cpp => extensions/permissions/nsPermissionManager.cpp
rename : extensions/permissions/PermissionManager.h => extensions/permissions/nsPermissionManager.h
2020-04-10 01:00:15 +03:00
Andrea Marchesini 8764c55c53 Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D70040

--HG--
rename : extensions/permissions/nsPermissionManager.cpp => extensions/permissions/PermissionManager.cpp
rename : extensions/permissions/nsPermissionManager.h => extensions/permissions/PermissionManager.h
extra : moz-landing-system : lando
2020-04-09 13:27:35 +00:00
Ricky Stewart 6805c2f318 Bug 1625285 - A few small fixes to prevent bustage under Python 3 in lint/resource monitor/testing r=marionette-reviewers,glandium,whimboo
Update code in a few places to work with Python 3, especially with regard to how we invoke subprocesses with text output. Note that the Marionette test harness code needs to be updated so that text is written out in the correct encoding (see bug 1615748).

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

--HG--
extra : moz-landing-system : lando
2020-04-08 11:42:52 +00:00
Ricky Stewart e6118a466b Bug 1623701 - Ensure processhandler.py supports Python 3.5 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D67532

--HG--
extra : moz-landing-system : lando
2020-04-03 17:04:41 +00:00
Nicholas Nethercote e2b825bbe9 Bug 1622701 - Eliminate use of `fix_stack_using_bpsyms.py` in `utils.py`. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D66918

--HG--
extra : moz-landing-system : lando
2020-04-08 06:55:13 +00:00
Bogdan Tara 7d56f86092 Backed out changeset 916894e8b8fc (bug 1626272) for frequent test_dmd.js failures CLOSED TREE 2020-04-07 03:52:49 +03:00
Nicholas Nethercote ba62a51069 Bug 1626272 - Make `fix-stacks` initialization eager. r=erahm
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.

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

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

--HG--
extra : moz-landing-system : lando
2020-04-06 19:49:54 +00:00
Geoff Brown d0dc11cfdb Bug 1625888 - In Talos, check_for_crashes even when exception raised after browser run; r=perftest-reviewers,AlexandruIonescu
In some cases, a browser crash may subsequently cause an exception in the harness before
check_for_crashes is called, effectively bypassing crash reporting. This patch catches
the exception to ensure that check_for_crashes is called regardless of such exceptions.
It also fixes the check for non-unicode file names and adds more diagnostic logging.

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

--HG--
extra : moz-landing-system : lando
2020-04-03 13:09:05 +00:00
Tarek Ziadé 59a04dec16 Bug 1626924 - fix the streamer for Python 3 r=ahal
Cleans up how we convert the EOL for all Python versions.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 13:12:42 +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
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
Geoff Brown 2c14e23080 Bug 1626097 - [mozcrash] Report dump directory in check_for_crashes; r=bc
Add a line of output whenever check_for_crashes is called (unless suppressed with
quiet parameter). The dump directory seems like the most important thing to report.

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

--HG--
extra : moz-landing-system : lando
2020-03-30 21:38:45 +00:00
Barret Rennie 43b564f3c8 Bug 1617810 - Specify host serial when dispatching adb requests r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D66272

--HG--
extra : moz-landing-system : lando
2020-03-27 20:47:17 +00:00
Barret Rennie 3450d76ee5 Bug 1618286 - Test for subset of adb features in unit test, not exact set r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65176

--HG--
extra : moz-landing-system : lando
2020-03-27 20:47:07 +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
Stefan Hindli ee18f66aca Backed out 3 changesets (bug 1625014, bug 1617748, bug 1623701) for causing linting failure CLOSED TREE
Backed out changeset e62f3effd132 (bug 1617748)
Backed out changeset 14968570b2f5 (bug 1623701)
Backed out changeset 60ac25427773 (bug 1625014)
2020-03-26 17:13:39 +02:00
Ricky Stewart 9ad5a09fe7 Bug 1623701 - Ensure processhandler.py supports Python 3.5 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D67532

--HG--
extra : moz-landing-system : lando
2020-03-26 14:33:46 +00:00
Coroiu Cristina 8df06c6842 Backed out 2 changesets (bug 1617748, bug 1623701) on request by dev
Backed out changeset 547716d123e2 (bug 1617748)
Backed out changeset dc80296ade17 (bug 1623701)
2020-03-26 00:01:03 +02:00
Ricky Stewart 85214f60fc Bug 1623701 - Ensure processhandler.py supports Python 3.5 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D67532

--HG--
extra : moz-landing-system : lando
2020-03-23 18:24:46 +00:00
Dorel Luca fa0a3dc9d7 Backed out 2 changesets (bug 1581062) for Toolchain failures. CLOSED TREE
Backed out changeset c333f6f9d1bd (bug 1581062)
Backed out changeset 485c738acdb1 (bug 1581062)
2020-03-25 22:23:26 +02:00
Bastien Orivel 1f0110b95e Bug 1581062 - Part 2: Remove the unicode feature from a few crates. r=froydnj,emilio,jgraham,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65863

--HG--
extra : moz-landing-system : lando
2020-03-25 10:28:00 +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
Sylvestre Ledru 180e76f20c Bug 1617369 - Reformat recent rust changes r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D67563

--HG--
extra : moz-landing-system : lando
2020-03-20 11:36:56 +00:00
Oana Pop Rus 6355d03aca Backed out changeset 3b38351e9979 (bug 1622701) for multiple crashtest failures. on a CLOSED TREE 2020-03-20 04:40:42 +02:00
Nicholas Nethercote 5219cd1204 Bug 1622701 - Eliminate use of `fix_stack_using_bpsyms.py` in `utils.py`. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D66918

--HG--
extra : moz-landing-system : lando
2020-03-17 02:59:29 +00:00
Bob Clary 1299676ff5 Bug 1623209 - [mozdevice] Catch and report IndexError when parsing ps output in get_process_list, r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D67324

--HG--
extra : moz-landing-system : lando
2020-03-18 15:12:44 +00:00
Bob Clary 607e26c1e6 Bug 1622799 - [mozdevice 3.1.1] - Fix adb command line processing when arguments contain both single and double quotes, r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D66969

--HG--
extra : moz-landing-system : lando
2020-03-17 18:26:59 +00:00
Edwin Takahashi 6bd1266774 Bug 1603842 - separate mochitest-gpu tasks into mochitest-chrome-gpu and mochitest-plain-gpu r=ahal,gbrown
Changes:

Remove references to `mochitest-browser-chrome-gpu` as this suite does not exist.

In `test-sets.yml`, split existing `mochitest-gpu` task into `plain` and `chrome` variants.

In `mochitest.yml` split the existing `mochitest-gpu` task into `plain` and `chrome` variants with separate symbols on treeherder.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 13:36:28 +00:00
William Lachance 96b10ced72 Bug 1622637 - Fix exception reraising in mozrunner r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D66895

--HG--
extra : moz-landing-system : lando
2020-03-16 16:42:01 +00:00
Kartikaya Gupta b94a7e4f32 Bug 1622256 - Remove deprecated Error::description and use Display trait instead. r=jgraham,webdriver-reviewers
Depends on D66765

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

--HG--
extra : moz-landing-system : lando
2020-03-14 04:21:22 +00:00
Kartikaya Gupta 5626457b9b Bug 1622256 - Remove deprecated Error::description implementation. r=jgraham,webdriver-reviewers
The Display trait is already implemented a few lines up.

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

--HG--
extra : moz-landing-system : lando
2020-03-14 04:21:21 +00:00
Brendan Dahl a1088aa304 Bug 1566930 - Default to auto install on the various android mach commands. r=gbrown,perftest-reviewers,whimboo,sparky
Differential Revision: https://phabricator.services.mozilla.com/D64230

--HG--
extra : moz-landing-system : lando
2020-03-13 20:48:52 +00:00
Andrew Halberstadt 31e8f2e640 Bug 1615333 - [taskgraph] Upload an artifact from the decision task mapping tests to manifests r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D62822

--HG--
extra : moz-landing-system : lando
2020-03-13 20:30:09 +00:00
Nicholas Nethercote d17a9a9a55 Bug 1602717 - Re-enable stackwalking on local macOS builds. r=erahm
Now that `fix_stacks.py` is being used instead of `fix_macosx_stack.py`,
stack-fixing time has dropped from about 14 minutes to about 30 seconds on my
new MacBook Pro.

Also, print a warning about stacks not being fixed if `MOZ_DISABLE_STACK_FIX`
is set. This warning shows up at the start of the test run.

Also, print a warning about stack fixing slowness, because 30 seconds is long
enough to possibly be surprising. This warning shows up just before the first
stack frame is fixed, like this:
```
Assertion failure: false (BEEP BOOP), at /home/njn/moz/au3/dom/base/nsGlobalWindowOuter.cpp:1342
Initializing stack-fixing for the first stack frame, this may take a while...
#01: nsGlobalWindowOuter::nsGlobalWindowOuter(unsigned long) (/home/njn/moz/au3/dom/base/nsGlobalWindowOuter.cpp:1342)
#02: ...
```

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

--HG--
extra : moz-landing-system : lando
2020-03-12 22:03:19 +00:00
Ricky Stewart 6f89b5b06f Bug 1622021 - processhandler.py supports Python 3 r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D66638

--HG--
extra : moz-landing-system : lando
2020-03-12 21:11:48 +00:00
Geoff Brown 9ff45f39cd Bug 1556051 - Remove 'mach android-emulator' support for 'x86-4.2' avd; r=aerickson
This is a really old avd, no longer used in automation; it is obsolete.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 16:57:37 +00:00
Nicholas Nethercote cb551719ad Bug 1619837 - Eliminate use of `fix_{linux,macosx}_stack.py` in `utils.py`. r=gsvelto
Because `fix_stacks.py` is faster and cross-platform.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 00:58:34 +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
Geoff Brown 26468447d6 Bug 1616965 - [mozcrash] Recognize mozalloc_abort signature in Windows crash reports; r=bc
Add additional function signature for mozalloc_abort, as observed in Windows crash reports.
I am a little concerned that there is a more generic issue, but since I cannot find
any other examples, adding this signature seems like the most expedient and least risky
way forward.

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

--HG--
extra : moz-landing-system : lando
2020-03-11 15:51:19 +00:00
shindli 535724a741 Backed out changeset c6bc4817cea2 (bug 1619837) for causing perma mochitest tier2 failure in testing/mochitest/tests/python/test_basic_mochitest_plain.py CLOSED TREE 2020-03-11 09:57:06 +02:00
Nicholas Nethercote 335dcb2537 Bug 1619837 - Eliminate use of `fix_{linux,macosx}_stack.py` in `utils.py`. r=gsvelto
Because `fix_stacks.py` is faster and cross-platform.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 06:19:41 +00:00
Geoff Brown da6461365b Bug 1621106 - Bump minor version for mozbase modules depending on mozlog 6.0 and/or mozcrash 2.0; r=wlach
Minor version bumps in preparation for new pypi releases of modules now requiring mozlog 6.0 and/or mozcrash 2.0.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 13:05:13 +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
Mark Banner 15cfe23b88 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Geoff Brown dc64cf08e6 Bug 1619586 - Major version bump for mozlog and mozcrash; r=bc,marionette-reviewers,perftest-reviewers,jgraham,whimboo
Major version number bump for both mozlog and mozcrash + requirements update.
This is very much like the previous mozlog major bump - see bug 1591384.
This patch does not update testing/web-platform/tests/tools/wptrunner/requirements.txt;
I expect that will be automatically updated by the pyup.io bot once mozlog is re-released.

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

--HG--
extra : moz-landing-system : lando
2020-03-04 00:32:38 +00:00
Kartikaya Gupta 232e9231e5 Bug 1618353 - Rename the mochitest jobs to mochitest-plain. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D64733

--HG--
extra : moz-landing-system : lando
2020-03-02 15:23:13 +00:00
Ricky Stewart 42b2820e92 Bug 1616989 - mozbuild/frontend/reader.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63566

--HG--
extra : moz-landing-system : lando
2020-02-27 16:22:26 +00:00
Mihai Alexandru Michis 6455032f2c Backed out 6 changesets (bug 1617303, bug 1617313, bug 1616885, bug 1616920, bug 1616989, bug 1617014) for causing gecko decision task bustages in talos/unittests/python.ini
CLOSED TREE

Backed out changeset 409619387576 (bug 1617313)
Backed out changeset 538f415043e2 (bug 1617303)
Backed out changeset 544cb78b8946 (bug 1617014)
Backed out changeset 0f0bf0824a95 (bug 1616989)
Backed out changeset ec9f0b18c0a7 (bug 1616920)
Backed out changeset a32c3300a011 (bug 1616885)
2020-02-27 18:16:31 +02:00
Ricky Stewart 4b8061d7cf Bug 1616989 - mozbuild/frontend/reader.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63566

--HG--
extra : moz-landing-system : lando
2020-02-26 00:35:49 +00:00
Sylvestre Ledru 98a5cfa00d Bug 1617369 - Reformat testing/ using rustfmt r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D63940

--HG--
extra : moz-landing-system : lando
2020-02-24 21:40:06 +00:00
Geoff Brown 23ff5b47cd Bug 1615744 - [mozcrash] Bump version to 1.2.0; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D63228

--HG--
extra : moz-landing-system : lando
2020-02-18 21:51:15 +00:00
Bob Clary 330b580f32 Bug 1615280 - [mozdevice] ADBDevice.get_top_activity() should use dumpsys window on Android 10, r=gbrown,snorp.
Differential Revision: https://phabricator.services.mozilla.com/D62975

--HG--
extra : moz-landing-system : lando
2020-02-18 14:12:31 +00:00
Bob Clary 05c4d91a51 Bug 1614954 - [mozdevice] Do not attempt to grant android.permission.FOREGROUND_SERVICE, r=gbrown,snorp
Depends on D62593

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

--HG--
extra : moz-landing-system : lando
2020-02-12 17:42:34 +00:00
Bob Clary d6d0b3b1b8 Bug 1614954 - [mozdevice] Do not terminate ADBDevice.grant_runtime_permissions on error, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D62593

--HG--
extra : moz-landing-system : lando
2020-02-12 17:13:52 +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
James Graham 37c0e62643 Bug 1613975 - Convert mozrunner to Rust 2018, r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D62211

--HG--
extra : moz-landing-system : lando
2020-02-10 14:53:42 +00:00
James Graham 39895175d5 Bug 1613975 - Mark mozdevice as Rust 2018, r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D62210

--HG--
extra : moz-landing-system : lando
2020-02-10 14:53:42 +00:00
James Graham 70726e619c Bug 1613975 - Mark mozprofile as Rust 2018, r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D62209

--HG--
extra : moz-landing-system : lando
2020-02-10 14:53:42 +00:00
James Graham 5c8d3f9051 Bug 1613975 - Mark mozversion as Rust 2018, r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D62208

--HG--
extra : moz-landing-system : lando
2020-02-10 14:53:42 +00:00
Geoff Brown 3161788df7 Bug 1603499 - Report java exceptions from minidump .extra files; r=bc
Stop using mozcrash.check_for_java_exception(), which scans logcat for uncaught
exceptions. Instead, check for java_stack in the extra dump information during
normal crash reporting; if java_stack is present, display the java exception and
stack instead of dumping a full native crash report.

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

--HG--
extra : moz-landing-system : lando
2020-02-07 16:05:52 +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
Kristen Wright 5db748537b Bug 1572244 - Print the MozCrashReason as 'Mozilla crash reason' r=ahal,gbrown
As an `INFO` line under the top crash message, output MozCrashReason in the format `Mozilla crash reason: SOME_CRASH_REASON()`. This doesn't affect the top line (for bug filing) but issues some extra info from the .extra file, which may be useful to report assertion failures on Android. The format used looks something like this:

```
20:43:14  WARNING -  PROCESS-CRASH | remoteautomation.py | application crashed [@ BackgroundEventTarget::Dispatch(already_AddRefed<nsIRunnable>, unsigned int)]
20:43:14     INFO -  Mozilla crash reason: MOZ_CRASH()
```

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

--HG--
extra : moz-landing-system : lando
2020-01-31 13:17:30 +00:00
Kristen Wright 8c1f257dcd Bug 1605328 - Always print the crashing process dump file first r=gbrown
The list of crash dumps in the dump directory appears as something like `['uuid.dmp, uuid-browser.dmp']`. When iterating over the list of files, the files are always sorted alphabetically, meaning any `uuid-<something>.dmp` goes before `uuid.dmp`. We only really care that `uuid.dmp` comes first, as the rest are just additional data not necessarily related to the crashing process, so iterating the list in reverse should put the right .dmp file first.

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

--HG--
extra : moz-landing-system : lando
2020-01-29 12:54:23 +00:00
Kristen Wright c0aff2f5ef Bug 1572355 - Add a function to parse the .extra file r=ahal
Adds `parse_extra_file(path)` to simply read some json .extra file and return a json dict, or an empty dict if it raises a `ValueError`. In patches for Bug 1572244 this function is used.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 22:25:16 +00:00
Edwin Takahashi 1568067289 Bug 1609483 - ensure linux distributions that don't report os_version or codename have the field populated r=jmaher,gbrown
Changes:

`distro` and `platform` have differing behavior when presented with edgier cases such as Arch Linux.

In some cases, the output of `mozinfo.info` when run on Arch Linux comes out to:

```
(u'Arch Linux', '', '')
```

This causes problems for things that rely on mozinfo downstream because the `os_version` value is not set, and during the comparison stage of manifests, manifestparser attempts to run `somevalue > unset value` that then causes mach to error.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 18:19:41 +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
Geoff Brown 5043f050ec Bug 1604542 - Make test chunking more consistent; r=ahal,jmaher
The issue here is that the sort order of 2 or more elements with the same key
is indeterminate: One run (say, one test chunk) may order them one way and another
run (another test chunk) may order them another. The chunk_by_manifest() filter
relies on sort order in two places, in both cases using list length as the key
for sorting; as equal list lengths are not uncommon, multiple runs can assign
very different lists of tests to the chunks, even though all the inputs are the
same. Extending keys with unique data provides a simple fix.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 19:14:59 +00:00
championshuttler 686ef45b08 Bug 1428705 - Fix the manifest file for manifestparser.r=egao
Differential Revision: https://phabricator.services.mozilla.com/D58690

--HG--
extra : moz-landing-system : lando
2020-01-07 18:50:11 +00:00
Bob Clary 36db61af8f Bug 1606378 - [mozdevice] Update version to 3.0.7, r=gbrown.
Depends on D59130

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

--HG--
extra : moz-landing-system : lando
2020-01-08 16:11:33 +00:00
Bob Clary c875ef7713 Bug 1606378 - [mozdevice] Do not use message property of exception objects, r=gbrown.
To work around the lack of Exception.message in Python 3, I've switched adb.py to using str(e) instead of e.message where we either output or check for a substring in the exception message. This doesn't not work for cases where we want to do an equality comparison but fortunately adb.py does not use exact comparisons.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 16:13:06 +00:00
Jeff Gilbert dfde69a462 Bug 1585683 - Add mochitest-webgpu jobs, add subsuite = webgpu. r=jmaher,kvark
Differential Revision: https://phabricator.services.mozilla.com/D58892

--HG--
extra : moz-landing-system : lando
2020-01-07 22:42:07 +00:00
Bogdan Tara c0e1f5a876 Backed out changeset 33ccfb45bb3f (bug 1585683) on jgilbert's request 2020-01-07 23:21:45 +02:00
Ricky Stewart a637967924 Bug 1606728 - mozfile.which() should consult the registry for registered binaries r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D58562

--HG--
extra : moz-landing-system : lando
2020-01-07 19:33:23 +00:00
Jeff Gilbert 4d2067b9ca Bug 1585683 - Add mochitest-webgpu jobs, add subsuite = webgpu. r=jmaher,kvark
Differential Revision: https://phabricator.services.mozilla.com/D58892

--HG--
extra : moz-landing-system : lando
2020-01-07 20:58:37 +00:00
Geoff Brown 7473ead2b4 Bug 1606954 - Avoid KeyError in android arm 'mach install' r=jmaher
AVD names were updated in bug 1599534, but this case - auto-selecting an avd for an arm
build - was missed.

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

--HG--
extra : moz-landing-system : lando
2020-01-04 21:54:51 +00:00
Andrew Halberstadt 2f2d1f7fc1 Bug 1604360 - [manifestparser] Remove mention of 'server-root' from the docs, r=egao
Differential Revision: https://phabricator.services.mozilla.com/D58791

--HG--
extra : moz-landing-system : lando
2020-01-06 18:21:30 +00:00
James Graham 0bdbadefa3 Bug 1605731 - Fix assertion in mach formatter with multiple repetitions of suite, r=ahal
When we run a suite more than once we can get more than one result for
a test. Iterate over all results when writing the summary rather than
erroring out in this case.

Probably a better solution would be to only write the result from the
current run, but we don't necessarily know what that is, since it's
not tracked by the SummaryHandler.

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

--HG--
extra : moz-landing-system : lando
2020-01-02 21:21:09 +00:00
Geoff Brown dcb3e57282 Bug 1598920 - Enable android_device.py to find file paths regardless of cwd; r=jgraham
Join <topsrcdir> with MANIFEST_PATH in android_device.py. I was concerned about TOOLTOOL_PATH
also, but that is already consistently joined with <topsrcdir> before use. I think these
are the only cases that needed attention.

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

--HG--
extra : moz-landing-system : lando
2020-01-02 18:52:53 +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
Edwin Takahashi fd9fae78a2 Bug 1428705 - use assertEqual in test_manifest.py and add formal python3 compatibility in setup.py for manifestparser r=Callek
Changes:

Change assert from `assertEquals` to `assertEqual` since the former has been technically deprecated as of 2.7.
Add python3 compatibility in `setup.py`.

This should be the last item to bring full python3 compatibility to manifestparser.

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

--HG--
extra : moz-landing-system : lando
2019-12-26 13:28:53 +00:00
Andrew Halberstadt b9e9d2e942 Bug 1603844 - Remove ability to 'install-to-subdir' from test objects, r=firefox-build-system-reviewers,rstewart
There was only a single use of 'install-to-subdir' in all our manifests (which
was removed in the previous commit). All the comments around it suggest that it
was a giant hack. Removing it cleans up a lot of complexity and saves me the
trouble of needing to support it in the new sourcedir based TestResolver.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 16:48:00 +00:00
Andrew Halberstadt 8ced09349b Bug 1603844 - [manifestparser] Merge 'prefs' from defaults instead of overwriting them, r=gbrown
While the 'prefs' key can only exist in the DEFAULT section of manifests, this
allows parent manifests to propagate their prefs down to included ones.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 17:31:27 +00:00
Andrew Halberstadt d278f4494d Bug 1604360 - [manifestparser] Version bump to 2.0.0, r=egao
Since we made backwards incompatible changes, let's do a major version bump.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 15:53:42 +00:00
Andrew Halberstadt d98bab47bb Bug 1604901 - [mozprocess] Version bump to 1.1.0, r=gbrown
Perusing the changelog, the differences since last version bump are mostly
centered around ironing Python 3 issues. Nothing that should be backwards
incompatible, but larger changes than a dot release might warrant. So bumping
the minor version.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 19:43:57 +00:00
Sebastian Hengst 927bcd02f8 Bug 1604001 - Add the missing process type of the fork server for tests: fix flake8 linting issue. a=lint-fix CLOSED TREE 2019-12-19 19:52:48 +01:00
Thinker Li 238a08c7d3 Bug 1604001 - Add the missing process type of the fork server for tests. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D57218

--HG--
extra : moz-landing-system : lando
2019-12-19 15:50:03 +00:00
Andrew Halberstadt e6f858b2fb Bug 1604360 - [manifestparser] Properly merge [DEFAULT] section of manifest with parent defaults r=gbrown
Previously the [DEFAULT] section of a manifest would simply overwrite whatever
values were passed down from the parent. This patch ensures we use
'combine_fields' so things like 'skip-if' and 'support-files' are properly
merged.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 23:54:26 +00:00
Andrew Halberstadt 4c525b8a42 Bug 1604360 - [manifestparser] Convert 'test_read_ini' to the pytest format r=egao
Make it nicer to read and edit.

Depends on D57408

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

--HG--
extra : moz-landing-system : lando
2019-12-18 22:19:46 +00:00
Andrew Halberstadt 2f17f15aab Bug 1604360 - [manifestparser] Remove unused 'defaults_only' logic r=egao
This flag is not passed in from anywhere in mozilla-central.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 22:19:28 +00:00
Andrew Halberstadt f360e451f9 Bug 1604360 - [manifestparser] Remove unused 'parent' feature r=egao
There aren't any manifests using '[parent:<manifest>]' in mozilla-central.

Depends on D57406

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

--HG--
extra : moz-landing-system : lando
2019-12-17 18:14:04 +00:00
Andrew Halberstadt 0e2a4f08b4 Bug 1604360 - [manifestparser] Remove unused treatment of 'server-root' key r=egao
This was probably a remnant from Mozmill. I don't see any uses of it in mozilla-central
anywhere (or even comm-central for that matter).

Depends on D57405

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

--HG--
extra : moz-landing-system : lando
2019-12-17 18:13:42 +00:00
Edwin Takahashi dc60cf7e90 Bug 1428705 - fix manifestparser/test_chunking.py for python3 r=ahal,whimboo
Changes:

Fix syntax in the test file to work under python3.

Assorted changes to the code style, and eliminating unnecessary warnings.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 22:18:55 +00:00
Andrew Halberstadt c64802ef87 Bug 1583353 - [manifestparser] Take 'ancestor_manifest' into account in the pathprefix filter, r=gbrown
Previously, when running |mach mochitest path/to/manifest.ini|, any tests in
manifests that that one includes would not be run.

This fixes that behaviour.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 23:09:54 +00:00
Edwin Takahashi e6e05ff21c Bug 1428705 - fix manifestparser/manifestparser for python3 and enable test_convert_directory.py r=ahal
Changes:

Import the appropriate version of `StringIO` instead of `BytesIO` depending on the version of python, and use it in `manifestparser.py`.

This is required for `test_convert_directory.py` to pass on both python versions. Changes to the test was not required.

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

--HG--
extra : moz-landing-system : lando
2019-12-14 03:10:45 +00:00
Andrew Halberstadt 26e9db86f8 Bug 1583353 - [taskgraph] Implement test chunking in transforms r=gbrown
We've long handled chunks by defining the total number of chunks in our CI
configuration, and then passing that value down into the test harnesses at task
runtime (via the '--this-chunk' and '--total-chunks' parameters).  The test
harness then runs an algorithm to determine which tests should be run in "this"
chunk.

There are several problems with this approach, but by far the biggest is that
we can't use test information in our scheduling algorithms. The information
simply isn't available yet. This patch switches things around such that we
determine which tests go in which tasks during the taskgraph generation. This
means we have perfect information around which tasks are running which tests,
and if e.g a ccov or machine learning algorithm deems a particular test
important, we can make sure to *only* schedule the tasks that contain that
test.

I'm planning to enable this a couple suites at a time so we don't accidentally
stop running tests. This specifically only enables this mode for
'mochitest-media', 'mochitest-browser-chrome' and 'mochitest-devtools-chrome'.
I chose these suites because they are the ones that are already using the
'chunk_by_runtime' algorithm.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 21:10:48 +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
Geoff Brown 3f66236867 Bug 1599534 - Update help and version names for 'mach android-emulator'; r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D54802

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:59 +00:00
Gijs Kruitbosch 758921e735 Bug 1543447 - disable stack walking on mac for non-automation uses of mozrunner because of perf issues, r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D56513

--HG--
extra : moz-landing-system : lando
2019-12-10 02:19:47 +00:00
Edwin Takahashi a54f1b1dae Bug 1428705 - [manifestparser] Add support for Python 3. r=egao
Differential Revision: https://phabricator.services.mozilla.com/D54113

--HG--
extra : moz-landing-system : lando
2019-12-06 22:25:58 +00:00
Mike Hommey 4b7d2e300b Bug 1601544 - Upgrade mozversion to semver 0.9. r=whimboo
This was the only use of semver 0.6.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 09:21:58 +00:00
Andrew Halberstadt e68e5e2ee6 Bug 1600314 - [manifestparser] Use 'ancestor_manifest' in the 'chunk_by_runtime' filter (if it exists), r=gbrown
Ensures child (aka included) manifests always run in the same chunk as their parent.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 14:23:32 +00:00
Andrew Halberstadt 9e97c79054 Bug 1600314 - [manifestparser] Make 'ancestor_manifest' a relative path, r=gbrown
Also rename the key from 'ancestor-manifest' to 'ancestor_manifest' to be
consistent with other keys.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 21:19:45 +00:00
Nathan Froyd a36959414d Bug 1600771 - turn on --show-mismatched-frees=no for valgrind tests; r=jseward
Otherwise, Valgrind is liable to see false positives from mismatched
`new` where the `delete` has been inlined to `free` or vice versa.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 13:32:27 +00:00
Geoff Brown d2bcfce6f8 Bug 1600713 - Grant FOREGROUND_SERVICE permission to android test apps; r=bc
Simple addition of one item to list of granted permissions, for Android P+; see bug 1553515.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 23:17:40 +00:00
Mihai Alexandru Michis 3f8e4cc2e1 Backed out 3 changesets (bug 1600314) for causing bc and dt failures regarding manifest filters. CLOSED TREE
Backed out changeset 4c4e74df38bd (bug 1600314)
Backed out changeset 3c4063b93ce7 (bug 1600314)
Backed out changeset d28d71c964c7 (bug 1600314)
2019-12-02 16:44:35 +02:00
Andrew Halberstadt 8c10901652 Bug 1600314 - [manifestparser] Use 'ancestor_manifest' in the 'chunk_by_runtime' filter (if it exists), r=gbrown
Ensures child (aka included) manifests always run in the same chunk as their parent.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 14:24:30 +00:00
Andrew Halberstadt c66002dc20 Bug 1600314 - [manifestparser] Make 'ancestor_manifest' a relative path, r=gbrown
Also rename the key from 'ancestor-manifest' to 'ancestor_manifest' to be
consistent with other keys.

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

--HG--
extra : moz-landing-system : lando
2019-11-29 16:16:09 +00:00
Edwin Takahashi 58c1a14caa Bug 1428718 - make moztest syntax python3 compatible r=gbrown,mozbase
Changes:

Replace `<list>.items()` calls with `six.iteritems()`.

Remove `try/except` handling of `unittest` import as we have standardized on python2.7 in CI.

Use `six` to handle metaclass changes while python2/3 intercompatibility is required.

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

--HG--
extra : moz-landing-system : lando
2019-11-27 21:12:18 +00:00
Andrew Halberstadt 434b6657f5 Bug 1583364 - [manifestparser] Fix regression to ChunkByManifest filter, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D54369

--HG--
extra : moz-landing-system : lando
2019-11-27 14:07:54 +00:00
Andrew Halberstadt c531d1a91a Bug 1583364 - Generate 'manifest-runtimes.json' and update mochitest harness to use it, r=gbrown
As a side-effect this will also update runtime data for all suites using
'--chunk-by-runtime'.

This change simultaneously:

1. Stores runtime data from all suites
2. Stores runtime data from all tests (no more percentile)
3. Stores distinct data for android, unix (osx/linux) and windows
4. Reduces the size of 'testing/runtimes' from 408k -> 168k

The chunks look more balanced from my unscientific glance (especially on Windows).

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

--HG--
extra : moz-landing-system : lando
2019-11-23 05:29:32 +00:00
Andrew Halberstadt 61fd53eabe Bug 1583364 - Create a 'build_flavor' key mapping 'moztest.resolve.TEST_SUITES' to their build flavor, r=gbrown
Build flavors are defined in 'python/mozbuild/mozbuild/testing.py'.

This change is needed by D52729 but it's also a good way to tell which suites
are integrated into the TestManifestBackend in the build system. So I'm landing
it here instead.

Depends on D53030

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

--HG--
extra : moz-landing-system : lando
2019-11-27 13:57:20 +00:00
Geoff Brown 4286faeb7b Bug 1590354 - Remove checks for remote minidumps directory; r=jmaher
Whereas:
 - desktop tests don't make this check;
 - the check for directory existence has been troublesome and almost never useful;
 - bug classification of this condition has been troublesome;
 - if a startup crash actually did occur before crashreporter init, there would still be an indication in logcat and possibly a tombstone, and the "No test summary found" check would definitely be triggered;
Let's stop checking for minidumps directory creation.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 16:38:44 +00:00
Botond Ballo 83bfe6cee0 Bug 1590857 - Don't prompt to install Android app if the user is running 'mach install'. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D54381

--HG--
extra : moz-landing-system : lando
2019-11-25 22:17:59 +00:00
Andrew McCreight d25c3b20ae Bug 1598787 - Rename XRE_ChildProcessTypeToString to XRE_GeckoProcessTypeToString. r=froydnj
This function works on all GeckoProcessTypes, not just those for child
processes.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 22:45:31 +00:00
Edwin Takahashi a202b3bcbf Bug 1428718 - remove moztest/moztest/output directory r=gbrown,mozbase
Changes:

These files do not appear to be referred to by anything as searched on searchfox.

I believe we are safe to remove them.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 19:43:17 +00:00
Cosmin Sabou 4b33ed7836 Backed out 6 changesets (bug 1583364) for making bug 1593402 near permafail.
Backed out changeset b22b8ed60c0c (bug 1583364)
Backed out changeset ed4d544f3db4 (bug 1583364)
Backed out changeset 6ce87f7cc6f8 (bug 1583364)
Backed out changeset fd9f3064ec85 (bug 1583364)
Backed out changeset 20a16191cee2 (bug 1583364)
Backed out changeset 38314b60638c (bug 1583364)

--HG--
rename : testing/runtimes/writeruntimes => testing/runtimes/writeruntimes.py
extra : rebase_source : c4de0a09adfe4a94e45827860da68328ef33da6b
2019-11-23 05:36:20 +02:00
Andrew Halberstadt 5099e76c5d Bug 1583364 - [manifestparser] Fix regression to ChunkByManifest filter. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D54369

--HG--
extra : histedit_source : 6728719847f307627f3ff10535169ee71354b14b
2019-11-22 23:27:21 +02:00
Andrew Halberstadt b483d6326c Bug 1583364 - Generate 'manifest-runtimes.json' and update mochitest harness to use it, r=gbrown
As a side-effect this will also update runtime data for all suites using
'--chunk-by-runtime'.

This change simultaneously:

1. Stores runtime data from all suites
2. Stores runtime data from all tests (no more percentile)
3. Stores distinct data for android, unix (osx/linux) and windows
4. Reduces the size of 'testing/runtimes' from 408k -> 168k

The chunks look more balanced from my unscientific glance (especially on Windows).

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

--HG--
extra : moz-landing-system : lando
2019-11-22 19:23:17 +00:00
Andrew Halberstadt a1d66863ae Bug 1583364 - Create a 'build_flavor' key mapping 'moztest.resolve.TEST_SUITES' to their build flavor, r=gbrown
Build flavors are defined in 'python/mozbuild/mozbuild/testing.py'.

This change is needed by D52729 but it's also a good way to tell which suites
are integrated into the TestManifestBackend in the build system. So I'm landing
it here instead.

Depends on D53030

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

--HG--
extra : moz-landing-system : lando
2019-11-19 00:30:21 +00:00
Gregory Mierzwinski 9d477bcb3a Bug 1597975 - Fix manifestparser in python 3 r=ahal
This patch fixes a minor issue with manifestparser when it is used in python 3. The problem was that dict.items() returns a generator in python 3 instead of a list.

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

--HG--
extra : moz-landing-system : lando
2019-11-20 20:33:23 +00:00
Bob Clary 5f979fe576 Bug 1597317 - bump mozdevice to version 3.0.6, r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D53669

--HG--
extra : moz-landing-system : lando
2019-11-18 18:02:18 +00:00
Edwin Takahashi 691d1901bc Bug 1428711 - add python3 compatibility to moznetwork r=ahal
Changes:
- rename `test.py` to a more descriptive `test_moznetwork.py` and change associated names in the manifest
- added `r` specifier to strings as per PEP warning
- bump version to 1.0.0 pending release to pypi

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

--HG--
extra : moz-landing-system : lando
2019-11-15 22:45:12 +00:00
Mike Hommey 87b77cda38 Bug 1594998 - Make standalone SpiderMonkey use libxul-like panic. r=froydnj
This moves the parts of toolkit/library/rust/shared/lib.rs related to
panic hooking to a new mozglue subdirectory, which will be used for
things that can be statically linked to e.g. libxul, rather than in
a "shared library".

The panic hook is disabled when building spidermonkey via the mozjs_sys
crate.

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

--HG--
extra : moz-landing-system : lando
2019-11-15 13:14:42 +00:00
Ciure Andrei 70b54837ac Backed out changeset 7a28c229e654 (bug 1594998) for causing bustages CLOSED TREE 2019-11-15 03:26:34 +02:00
Mike Hommey 63489b5491 Bug 1594998 - Make standalone SpiderMonkey use libxul-like panic. r=froydnj
This moves the parts of toolkit/library/rust/shared/lib.rs related to
panic hooking to a new mozglue subdirectory, which will be used for
things that can be statically linked to e.g. libxul, rather than in
a "shared library".

The panic hook is disabled when building spidermonkey via the mozjs_sys
crate.

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

--HG--
extra : moz-landing-system : lando
2019-11-15 00:21:32 +00:00
Gurzau Raul f4fadbbe04 Backed out changeset 4cf8f3f89042 (bug 1594998) for xpcshell failures at test_crash_rust_panic.js on a CLOSED TREE. 2019-11-14 03:52:52 +02:00
Mike Hommey f33a622429 Bug 1594998 - Make standalone SpiderMonkey use libxul-like panic. r=froydnj,jandem
This moves the parts of toolkit/library/rust/shared/lib.rs related to
panic hooking to a new mozglue subdirectory, which will be used for
things that can be statically linked to e.g. libxul, rather than in
a "shared library".

The panic hook is disabled when building spidermonkey via the mozjs_sys
crate.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 22:07:08 +00:00
Edwin Takahashi c43a1bb5e8 Bug 1595220 - streamline and sanitize output of distro/platform linux_distribution call in mozinfo r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D52440

--HG--
extra : moz-landing-system : lando
2019-11-13 19:42:41 +00:00
Cosmin Sabou ec14bf90ea Backed out changeset 4b4f0fb8292c (bug 1595220) for several reftest failures. 2019-11-13 06:59:07 +02:00
Edwin Takahashi 87cd6febcd Bug 1595220 - streamline and sanitize output of distro/platform linux_distribution call in mozinfo r=jmaher
Simplified and streamlined the logic in the Linux side of things, to address 1595147.

Only attempt to import and use either `platform` or `distro`, not both.

Perform sanitization of the output string since `distro.linux_distribution()` has a slightly different output than the `platform` equivalent.

Minor version bump to 1.2.1 denoting a bugfix for release to pypi.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 19:23:31 +00:00
Andrew Halberstadt 418f34f9f7 Bug 1583353 - [moztest.resolve] Add ability to resolve manifest paths, r=gbrown
While not strictly necessary for this series, this patch allows:
./mach test path/to/manifest.ini

Which will be especially useful to have now that we are switching to running
tasks by manifest.

Depends on D52241

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

--HG--
rename : testing/mozbase/moztest/tests/data/srcdir/apple/mochitest.ini => testing/mozbase/moztest/tests/data/srcdir/apple/a11y.ini
extra : moz-landing-system : lando
2019-11-08 16:01:28 +00:00
Andrew Halberstadt 64c3a4f64d Bug 1583353 - [moztest.resolve] Add ability to resolve only tests *without* a subsuite, r=gbrown
This gives us the ability to retrieve all browser-chrome tests (no flavor) but
not devtools-chrome (have a flavor).

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

--HG--
extra : moz-landing-system : lando
2019-11-08 16:04:27 +00:00
Andrew Halberstadt a3466c3c3c Bug 1583353 - [manifestparser] Support manifests in the 'pathprefix' filter, r=egao
Allows 'paths' passed into the pathprefix filter to be manifests. Any path that
ends with '.ini' is considered a manifest.

Depends on D51899

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

--HG--
extra : moz-landing-system : lando
2019-11-08 18:58:09 +00:00
Andrew Halberstadt 746c6aaf3a Bug 1583353 - [manifestparser] Convert test_filters.py to the pytest format, r=egao
Differential Revision: https://phabricator.services.mozilla.com/D51899

--HG--
extra : moz-landing-system : lando
2019-11-08 18:58:34 +00:00
Andrew Halberstadt 99f6a2c376 Bug 1583353 - [moztest.resolve] Implement a TestLoader that doesn't rely on the build system, r=gbrown
This loader uses 'reader.find_variables_from_ast' to parse all *_MANIFESTS variables from
moz.build files using the abstract syntax tree. This means it will find all such variables
regardless of the current buildconfig.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 17:13:20 +00:00
Andrew Halberstadt fc9cc8ceed Bug 1583353 - [moztest] Simplify the test data in test_resolve.py, r=egao
Test test data looks like it was pulled from a live all_tests.pkl file. There
are way more path components than necessary.

This simplifies the test paths so they are easy to manipulate/add/inspect. It
will also make it easier to craft a fake "sourcedir" to test the
TestManifestLoader in the next commit such that the data from both matches.

I decided to use a fruit theme for directories because:

1. Using real directories will pollute grep/searchfox/etc queries with junk.
2. Using a 'dirA', 'dirB', 'dirC' scheme is hard to read.
3. Why not?

This change does not functionally modify what is being tested.

Depends on D51832

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

--HG--
extra : moz-landing-system : lando
2019-11-05 19:37:33 +00:00
J.C. Jones cbfe5fd32a Bug 1594559 - Set env var NSS_MAX_MP_PBE_ITERATION_COUNT for tests r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D52212

--HG--
extra : moz-landing-system : lando
2019-11-12 15:40:24 +00:00
Edwin Takahashi 16d5d677ce Bug 1212502 - bump mozinfo version up to 1.2.0 in preparation for upload to pypi r=gbrown
When I updated the dependencies and the `mozinfo.py` code I forgot to bump up the version denoting some changes. This will bump up the version from 1.1.0 to 1.2.0 and permit me to upload a new version to pypi.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 21:19:39 +00:00
Andrew Halberstadt d8dbe1133d Bug 1593360 - Version bump mozdebug to 0.2.0, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D51819

--HG--
extra : moz-landing-system : lando
2019-11-05 14:19:19 +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
Andrew Halberstadt 241303e38f Bug 1583353 - [moztest] Use a fixture to generate the test data in test_resolve.py, r=egao
I'm making this refactor now because a future commit is going to completely re-write the
test data (so that it matches the data that a future TestManifestLoader is going to use).

With this method, updating the data will be a lot less tedious.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 20:13:35 +00:00
Andrew Halberstadt a7bb490dc3 Bug 1583353 - [moztest] Convert test_resolve.py to the pytest format, r=egao
Depends on D51174

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

--HG--
extra : moz-landing-system : lando
2019-10-31 14:43:56 +00: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
Gregory Mierzwinski 8fd3e10993 Bug 1578487 - Add frequency and watts metric to mozpower IPG output. r=stephendonner
This patch adds GPU and CPU clock frequencies as well as Watts used to the metrics that are gathered into perfherder from mozpower.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 15:59:10 +00:00
Nathan Froyd 78ea1e07d0 Bug 1592971 - handle starting the android emulator from non-topsrcdir; r=gbrown
Other places take care to handle this case, but not running the tooltool
script.  Let's fix that.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 14:09:53 +00:00
Edwin Takahashi 128ef1e636 Bug 1212502 - Switch mozinfo to using the 'distro' package to get linux distribution info r=ahal,KWierso
Differential Revision: https://phabricator.services.mozilla.com/D49366

--HG--
extra : moz-landing-system : lando
2019-10-30 20:42:50 +00:00
Andrew Halberstadt 930fe5fab6 Bug 1591512 - [moztest.resolve] Fix bug where loaded wpt tests were being overwritten r=automatedtester
Differential Revision: https://phabricator.services.mozilla.com/D50649

--HG--
extra : moz-landing-system : lando
2019-10-25 19:41:50 +00:00
Philip Jägenstedt 9bca24019b Bug 1589056 - [mozprofile][mozrunner][mozrunner] bump minor versions r=jgraham
This is needed because the currently released versions use dependencies
like 'mozlog ~= 4.2.0', which won't match the newly released mozlog 5.0.
The dependencies were updated to 'mozlog >= 5.0' recently:
https://hg.mozilla.org/mozilla-central/rev/753beb12fdf6984c0a2ca8786fb9db1317e171b4

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

--HG--
extra : moz-landing-system : lando
2019-10-25 13:15:01 +00:00
Sylvestre Ledru ba7c03e388 Bug 1590310 - Hide the copyright section by default r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D50028

--HG--
extra : moz-landing-system : lando
2019-10-22 17:37:38 +00:00
Philip Jägenstedt 21b473eac4 Bug 1589056 - [mozlog] Update mozlog version number to 5.0 r=jgraham
This is needed to release a new mozlog with the PRECONDITION_FAILED
test and subtest status for use in web-platform-tests.

Update all in-tree dependencies on mozlog to >=5.0. These were found
with `hg grep 'mozlog.*[0-9]'`.

Only testing/web-platform/tests/tools/wptrunner/requirements.txt
remains on 4.2.0, and it will be updated in upstream wpt after mozlog
5.0 has been released.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 14:12:32 +00:00
Philip Jägenstedt d51b560efd Bug 1589056 - [mozlog] tests for PRECONDITION_FAILED status r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D50200

--HG--
extra : moz-landing-system : lando
2019-10-24 08:34:05 +00:00
Philip Jägenstedt bd199f39ce Bug 1589056 - [mozlog] introduce PRECONDITION_FAILED status r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D50175

--HG--
extra : moz-landing-system : lando
2019-10-24 08:34:35 +00:00
Andrew Halberstadt 2a03d935f5 Bug 1590680 - [moztest.resolve] Fix edge case where puppeteer/wpt manifest data is requested before the main tests, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D50207

--HG--
extra : moz-landing-system : lando
2019-10-23 14:09:52 +00:00
Razvan Maries a5f7ecde59 Backed out 2 changesets (bug 1589056) for lint failure on test_formatters.py. CLOSED TREE
Backed out changeset 6bd10819c814 (bug 1589056)
Backed out changeset 4253a2fb8848 (bug 1589056)
2019-10-23 15:48:39 +03:00
Philip Jägenstedt 312d02c6c1 Bug 1589056 - [mozlog] tests for PRECONDITION_FAILED status r=jgraham
Depends on D50175

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

--HG--
extra : moz-landing-system : lando
2019-10-23 12:34:13 +00:00
Philip Jägenstedt d1054d01d7 Bug 1589056 - [mozlog] introduce PRECONDITION_FAILED status r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D50175

--HG--
extra : moz-landing-system : lando
2019-10-23 12:35:09 +00:00
Andrew Halberstadt e9369fc3d9 Bug 1583353 - [moztest.resolve] Move everything from TestMetadata into the TestResolver class (except the load_tests function) r=gbrown
Previously there was a somewhat strange setup where we had both TestResolver
and TestMetadata classes. Both had 'resolve_tests' function and the separation
of concerns between the two were not clear.

With this change, all of the logic that is related to manipulating and
resolving the loaded tests has been moved to the TestResolver class. Also, the
TestMetadata class has been renamed to TestLoader, and it is solely responsible
for loading the metadata (from the build backend).

Future commits will add other types of TestLoaders.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 14:31:50 +00:00
Andrew Halberstadt d7fb00cbc4 Bug 1583353 - [moztest.resolve] Move test_rewrites to a class property r=gbrown
A minor cleanup. Re-write paths will now automatically be joined to
self.topobjdir.

Depends on D49766

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

--HG--
extra : moz-landing-system : lando
2019-10-21 19:22:05 +00:00
Andrew Halberstadt 48488f8138 Bug 1583353 - [moztest.resolve] Use MozbuildObject.mozbuild_reader to resolve outgoing files r=gbrown
Similar to the vcs change, the MozbuildObject already has a reader attribute
available. So we can re-use that instead of creating our own.

Depends on D49765

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

--HG--
extra : moz-landing-system : lando
2019-10-21 19:26:08 +00:00
Andrew Halberstadt 79bb28fefb Bug 1583353 - [moztest.resolve] Move all mozbuild backend logic into the TestMetadata class r=gbrown
Encapsulates all the logic around generating and loading the build backend
metadata on the TestMetadata class. Previously the TestResolver would trigger
the generation if necessary, and TestMetadata would load it. Now both
generation and loading happens in TestMetadata.load_tests.

This change also adds some convenience properties to make it easier to query
the loaded data.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 21:36:08 +00:00
Andrew Halberstadt ca37f985b6 Bug 1583353 - [moztest.resolve] Create an 'is_puppeteer_loaded' flag r=gbrown
This prevents us from adding the puppeteer tests over and over again. It
follows the wpt example.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 19:24:06 +00:00
Andrew Halberstadt fb84f5763d Bug 1583353 - [moztest.resolve] Use 'MozbuildObject.repository' in the TestResolver class r=gbrown
Since TestResolver is a subclass of MozbuildObject, there's no need to create
separate repository object. It already has one.

Depends on D49761

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

--HG--
extra : moz-landing-system : lando
2019-10-21 14:20:10 +00:00
Andrew Halberstadt d59b14c3fa Bug 1583353 - [moztest.resolve] Remove unused 'tests_with_flavor' function from metadata class r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D49761

--HG--
extra : moz-landing-system : lando
2019-10-21 14:17:25 +00:00
Dorel Luca 3d43b20c77 Backed out changeset ca117d13ca06 (bug 1212502) for Windows 2012 build bustage. CLOSED TREE 2019-10-22 20:53:27 +03:00
Wes Kocher 49fba76f39 Bug 1212502 - Switch mozinfo to using the 'distro' package to get linux distribution info r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D49366

--HG--
extra : moz-landing-system : lando
2019-10-22 17:33:13 +00:00
Chris Manchester 079c3c1179 Bug 1587715 - Fix TypeError when submitting build telemetry without cpu_percent present. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D49342

--HG--
extra : moz-landing-system : lando
2019-10-16 04:01:26 +00:00
Christian Holler ea24b118e4 Bug 1589413 - Bump mozrunner version to 7.6. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D49623

--HG--
extra : moz-landing-system : lando
2019-10-17 16:31:57 +00:00
Christian Holler a157a20300 Bug 1587463 - Remove LSan/UBSan suppressions option from automation. r=ahal
Depends on D48786

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

--HG--
extra : moz-landing-system : lando
2019-10-16 16:11:23 +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
Andrew Halberstadt 2b0d90e3ad Bug 1587206 - [lint.flake8] Enable F632 across the tree, r=sylvestre
This ensures we use ==/!= to strings and ints (instead of is/is not).

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

--HG--
extra : moz-landing-system : lando
2019-10-10 18:50:33 +00:00
Henrik Skupin 3886e9c12c Bug 1585274 - "mach test" for Puppeteer unit test has to default to non-headless mode. r=mozbase,ahal
Depends on D48823

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

--HG--
extra : moz-landing-system : lando
2019-10-10 12:53:42 +00:00
Andrew Halberstadt cb2eb80652 Bug 1585702 - [mozprocess] Fix "Embedded null character" error in Windows with Python 3, r=gbrown
This works around a bug in Python:
https://bugs.python.org/issue32745

Null characters aren't allowed in 'c_wchar_p' types anymore, but we can get around
the issue by allocating a buffer in memory and casting it after the fact. This was
discovered via trial and error and I'm not really sure why it works.. But it does.

This also enables the tests under Python 3 on Windows (which thankfully all
seem to pass).

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

--HG--
extra : moz-landing-system : lando
2019-10-04 17:46:38 +00:00
Andrew Halberstadt ac8e519112 Bug 1585702 - [mozprocess] Temporarily disable 'env' default on Windows with Python 3, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D47974

--HG--
extra : moz-landing-system : lando
2019-10-03 13:17:34 +00:00
championshuttler c244a4d41d Bug 1428716 - Create setup.cfg for universal wheels in mozsystemmonitor. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D47204

--HG--
extra : moz-landing-system : lando
2019-09-27 19:30:52 +00:00
championshuttler dc7639a923 Bug 1428716 - Bump mozsystemmonitor to v1.0.0 and add classifiers. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D47203

--HG--
extra : moz-landing-system : lando
2019-09-27 19:46:45 +00:00
Gregory Mierzwinski f62dd43b6a Bug 1575575 - Add fullscreen and windowed youtube-playback power tests. r=perftest-reviewers,stephendonner,dhouse,rwood
This patch adds fullscreen and windowed youtube tests for the V9 and H264 encoding at 1080p30 and 1080p60. Each subtest runs for 20 page cycles which amounts to about 5 minutes each. It also begins adding these to power test tasks running on the macosx-1014 reference hardware.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 22:18:54 +00:00
Henrik Skupin 2b151b0ce6 Bug 1525126 - [mozbase] Add Rust `mozdevice` crate speaking ADB over TCP/IP. r=jgraham,webdriver-reviewers,nalexander
This implementation speaks the ADB wire protocol over TCP/IP. This is
in constrast to the Python implementation, which generally invokes adb
on the command line. In thousands of runs across multiple devices,
this implementation has proved surprisingly robust.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 23:01:56 +00:00
James Graham 18b6b7a5db Bug 1583602 - Use a real colour for printing intermittent failures, r=maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D46999

--HG--
extra : moz-landing-system : lando
2019-09-25 18:57:47 +00:00
championshuttler d80122b971 Bug 1428715 - Create setup.cfg for universal wheels in mozscreenshot. r=ahal
Depends on D46717

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

--HG--
extra : moz-landing-system : lando
2019-09-24 05:59:57 +00:00
championshuttler 58487351c3 Bug 1428715 - Bump mozscreenshot to v1.0.0 and update classifiers. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D46717

--HG--
extra : moz-landing-system : lando
2019-09-24 05:59:57 +00:00
b4hand 754a4dc42b Bug 1578255 - Update mozprofile tests to use wptserve; r=raphael
Differential Revision: https://phabricator.services.mozilla.com/D45431

--HG--
extra : moz-landing-system : lando
2019-09-19 15:14:50 +00:00
championshuttler 36dcc34bfa Bug 1428710 - Update the classifiers for Python 3.5. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D46512

--HG--
extra : moz-landing-system : lando
2019-09-19 19:45:22 +00:00
championshuttler 2aab9454f8 Bug 1428710 - Add support for Python 3 for mozleak. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D46480

--HG--
extra : moz-landing-system : lando
2019-09-19 16:12:49 +00:00