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

1496 Коммитов

Автор SHA1 Сообщение Дата
Nupur Baghel 2c34e28fb4 bug 1529278: mozrunner: support macOS application bundle paths; r=ato 2019-03-15 16:22:37 +00:00
Kriti Singh 1301ea21a7 bug 1529282: mozrunner: support searching for Nightly’s default path on macOS. r=ato 2019-03-15 14:53:07 +00:00
Kriti Singh 4438287276 Bug 1529273 - replaces the current implementation of Profile::new with dedicated Profile::new and Profile::new_from_path. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D23310

--HG--
extra : moz-landing-system : lando
2019-03-13 16:42:23 +00:00
Tarek Ziadé 2f3c136a11 Bug 1534788 - add the playback_args option r=Bebe,rwood
This patch also removes custom_script and stops
executing start() in the constructor.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 14:50:03 +00:00
Florin Strugariu 5ee219394c Bug 1518447 Capture full Mitmproxy logs and have them available as treeherder artifact r=rwood,davehunt,tarek
Differential Revision: https://phabricator.services.mozilla.com/D21923

--HG--
extra : moz-landing-system : lando
2019-03-12 14:57:43 +00:00
Kartikaya Gupta 5486eb421d Bug 1533517 - [mozdevice] Remove FirefoxOS candidate test root paths. r=bc
Differential Revision: https://phabricator.services.mozilla.com/D22952

--HG--
extra : moz-landing-system : lando
2019-03-12 13:55:51 +00:00
Nikki S c1eaf010be mozlog: move the capture io class from web-platform/tests to mozlog (bug 1021926) r=jgraham
The ability to capture the parent process' stdio is suggested to be a useful feature
to move from web-platform/tests into mozlog. To do so, I have created a new capture.py
file within mozlog/mozlog. This includes the CaptureIO class and its dependencies,
including the LoggingWrapper and LogThread classes. These have been removed from their
original location, to avoid duplication, and the files depending on them updated
accordingly.

It would be useful to add unittests testing the CaptureIO enter and exit methods, and
the original_stdio, logging_queue and logging_thread properties. I have begun such a
file with test_capture.py in mozlog/tests. This is a work in progress, however I may
need some guidance, please, in regards to creating appropriate mock data to assert.

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

--HG--
extra : moz-landing-system : lando
2019-03-12 10:21:12 +00:00
Andrew Erickson df02d36a9b Bug 1532434: don't hardcode host-utils path r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D22019

--HG--
extra : moz-landing-system : lando
2019-03-11 15:02:03 +00:00
Tarek Ziadé de084db3fd Bug 1533671 - Tweak some options in mozproxy r=Bebe
- adds playback_artifacts
- make playback_pageset_manifest optional
- adds the MOZPROXY_DIR environment variable

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

--HG--
extra : moz-landing-system : lando
2019-03-08 13:23:28 +00:00
Tarek Ziadé 2b9f2e9f59 Bug 1533670 - extend download_file_from_url so it can extract archive r=Bebe
Adds archive extraction support to download_file_from_url (and also make it py3
compatible)

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

--HG--
extra : moz-landing-system : lando
2019-03-08 13:25:09 +00:00
Tarek Ziadé b8a3774d97 Bug 1533488 - Fix typo in mozproxy setup.py - r=davehunt
Fix a typo.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 19:56:09 +00:00
Tarek Ziadé 5e459d846d Bug 1533309 - Correct process shutdown on setup error - r=Bebe
Make sure we shutdown the mitmproxy process in case the setup fails.

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

--HG--
rename : testing/mozbase/mozproxy/tests/test.py => testing/mozbase/mozproxy/tests/test_proxy.py
extra : moz-landing-system : lando
2019-03-07 14:31:46 +00:00
Tarek Ziadé 9ed1006ca9 Bug 1528992 - extract raptor mitmproxy integration - r=rwood,Bebe,gbrown
This patch moves testing/raptor/raptor/playback into its own testing package in testing/mozbase/mozproxy
so we can use the proxy in other places than Raptor.

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

--HG--
rename : testing/raptor/raptor/playback/__init__.py => testing/mozbase/mozproxy/mozproxy/__init__.py
rename : testing/raptor/raptor/playback/base.py => testing/mozbase/mozproxy/mozproxy/backends/base.py
rename : testing/raptor/raptor/playback/mitmproxy.py => testing/mozbase/mozproxy/mozproxy/backends/mitm.py
rename : testing/raptor/raptor/playback/mitmproxy-rel-bin-linux64.manifest => testing/mozbase/mozproxy/mozproxy/backends/mitmproxy-rel-bin-linux64.manifest
rename : testing/raptor/raptor/playback/mitmproxy-rel-bin-osx.manifest => testing/mozbase/mozproxy/mozproxy/backends/mitmproxy-rel-bin-osx.manifest
rename : testing/raptor/raptor/playback/mitmproxy-rel-bin-win.manifest => testing/mozbase/mozproxy/mozproxy/backends/mitmproxy-rel-bin-win.manifest
rename : testing/raptor/raptor/playback/mitmproxy_requirements.txt => testing/mozbase/mozproxy/mozproxy/backends/mitmproxy_requirements.txt
extra : moz-landing-system : lando
2019-03-06 17:13:21 +00:00
Florian Quèze a65779bd47 Bug 1529000 - add a way to provide environment variables to use at startup in mochitest manifests, r=ahal.
Differential Revision: https://phabricator.services.mozilla.com/D21726

--HG--
extra : moz-landing-system : lando
2019-03-06 19:03:51 +00:00
Andrew Erickson 9864393fc6 Bug 1530846: fix issue when installing hostutils r=gbrown
Per https://pythonhosted.org/six/index.html, urlopen resides in urllib.request.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 22:38:35 +00:00
Asfiya ce78b3d73a Bug 1166355 - HTML formatter generates correct link for the gecko revision to hg.mozilla.org r=jgraham
The HTML formatter now references the correct link and does not produce a 404 error

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

--HG--
extra : moz-landing-system : lando
2019-02-26 14:00:56 +00:00
Narcis Beleuzu 977db21160 Backed out changeset 615d38401d49 (bug 1166355) for flake8 failure. CLOSED TREE 2019-02-26 14:42:18 +02:00
Asfiya 5d3428aca9 Bug 1166355 - HTML formatter generates correct link for the gecko revision to hg.mozilla.org r=jgraham
The HTML formatter now references the correct link and does not produce a 404 error

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

--HG--
extra : moz-landing-system : lando
2019-02-26 11:35:23 +00:00
Geoff Brown 1fdf3c890e Bug 1529960 - [mozdevice] Retry pidof if no output; r=bc
On the Android 7.0 x86_64 emulator, pidof occasionally returns
no results for a running process. To guard against this case, mozdevice
retries exactly once.

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

--HG--
extra : moz-landing-system : lando
2019-02-25 20:42:46 +00:00
Geoff Brown 35e32aae80 Bug 1530463 - [mozdevice] Update android version_codes up to Pie; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D21058

--HG--
extra : moz-landing-system : lando
2019-02-25 20:39:07 +00:00
Coroiu Cristina 0f56da86e3 Backed out changeset a465a9a1a913 (bug 1526752) for mochitest failures with ValueError: need more than 1 value to unpack 2019-02-22 15:32:03 +02:00
Dave Hunt bf8987e947 Bug 1526752 - [mozdevice] Run modernize over adb.py; r=ahal
Improve support for Python 3 by running modernize over adb.py and a few other related changes.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 12:33:14 +00:00
AndreiH d2f3c89b98 Bug 1428714 - [mozrunner] Add support for Python 3 r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D20486

--HG--
extra : moz-landing-system : lando
2019-02-22 10:16:17 +00:00
Geoff Brown b994aed230 Bug 1528361 - Avoid unnecessary error message from Android marionette/wpt tests when profile is missing r=bc
Differential Revision: https://phabricator.services.mozilla.com/D20739

--HG--
extra : moz-landing-system : lando
2019-02-22 00:21:27 +00:00
Andreea Pavel 41802224f4 Backed out changeset 1995ec00c434 (bug 1428714) for lint failure at mozrunner/utils.py on a CLOSED TREE 2019-02-20 16:19:58 +02:00
AndreiH 24d18c114c Bug 1428714 - [mozrunner] Add support for Python 3 r=ahal,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D18975

--HG--
extra : moz-landing-system : lando
2019-02-20 14:00:15 +00:00
Jan Henning 4dc81a9cde Bug 1527708 - Fix default emulator selection for ARM. r=gbrown
This bit of code annoyingly runs before we know whether we really need an
emulator or not, so the error blocks testing even with a real device.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 20:43:14 +00:00
Dave Hunt a7adf87dd6 Bug 1428706 - [mozcrash] Bump version number to 1.2.0 and prepare for release with Python 3 support; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D19133

--HG--
extra : moz-landing-system : lando
2019-02-11 15:51:24 +00:00
James Graham 13aadbebec Bug 1526990 - Bump mozprofile to 2.2, r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D19374

--HG--
extra : moz-landing-system : lando
2019-02-11 21:59:09 +00:00
Andrew Erickson cbb252c256 Bug 1519489 - remove the android 7.0 arm emulator r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D19095

--HG--
extra : moz-landing-system : lando
2019-02-08 01:26:25 +00:00
A. Wilcox cc96901400 Bug 1428706 - [mozcrash] Add support for Python 3; r=ted
Differential Revision: https://phabricator.services.mozilla.com/D19132

--HG--
extra : moz-landing-system : lando
2019-02-11 13:37:25 +00:00
James Graham ba9df1b470 Bug 1526973 - Bump mozrunner version to 7.3, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D19372

--HG--
extra : moz-landing-system : lando
2019-02-11 15:48:39 +00:00
Dave Hunt 4811b2cb05 Bug 1471920 - Fix Python 3 support in mozversion; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D18063

--HG--
extra : moz-landing-system : lando
2019-02-08 15:28:00 +00:00
Rob Wu 0e858ea76c Bug 1498636 - Separate "include" variables from manifest defaults r=ahal
Test manifests may be included by multiple other manifests, optionally
with additional variables below the `[include:...]` section header.
These additional variables are specific to the manifest that contained
the "include" section, and should not inadvertently be shared with other
manifests that also happen to include this manifest.

To achieve that, store the defaults for included manifests in a (path to
parent manifest, path to included manifest) tuple instead of just the
included manifest.

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

--HG--
extra : moz-landing-system : lando
2019-02-07 15:10:25 +00:00
AndreiH 0598a8a3b9 Bug 1428713 [mozprocess] Add support for Python 3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D18048

--HG--
extra : moz-landing-system : lando
2019-02-06 09:13:44 +00:00
Razvan Maries f86459d5dc Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-05 18:59:13 +02:00
Paolo Amadini 289bde6908 Bug 1523907 - Fix building the new "about:config" page on release channels. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D18082

--HG--
extra : rebase_source : 7094aa1a5dbfc33d7b77a387f12eb14cff66d9e9
2019-02-02 17:49:41 +00:00
Nathan Froyd 79a1262103 Bug 1247453 - part 1 - request synchronization privileges in kill_pid; r=gbrown
Windows documentation indicates that it's invalid to WaitForSingleObject
on a process handle unless you request the SYNCHRONIZE access right.
And indeed, we see errors in the logs like:

09:58:28  WARNING - mozcrash kill_pid(): wait failed (-1) terminating pid 6340: error 5

That "error 5" is an ERROR_ACCESS_DENIED code.  Such errors should go
away with requesting the proper access rights.  Credit to dmajor for
noticing the discrepancy.
2019-02-04 11:19:36 -05:00
Andrei H 31f30275b3 Bug 1428708 - [mozdevice] Add support for Python 3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D17933

--HG--
extra : moz-landing-system : lando
2019-02-02 20:39:14 +00:00
Csoregi Natalia 9423fa7897 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-02-02 00:14:12 +02:00
Geoff Brown 7d230281f8 Bug 1509207 - In android tests, wait for valid ro.build.version.sdk; r=bc
'getprop ro.build.version.sdk' intermittently returns '' on startup. This
change tries to wait and retry until a valid response is received.
2019-02-01 12:56:25 -07:00
Pavel Slepushkin cd08c8b222 Bug 1471648 - [mozlog] Add support for Python 3; r=raphael
Differential Revision: https://phabricator.services.mozilla.com/D18069

--HG--
extra : moz-landing-system : lando
2019-02-01 13:08:09 +00:00
Ciure Andrei 0e8b5d7b70 Backed out changeset 9c17fddb650f (bug 1428713) for mozprocess raptor failure CLOSED TREE 2019-02-01 17:14:52 +02:00
Bob Clary c229a51c70 Bug 1524150 - [mozdevice] remove -s <serialno> from ADBProcess-based error messages, r=gbrown. 2019-01-31 20:35:56 -08:00
Narcis Beleuzu f9ca244530 Backed out changeset c6f5a583ce62 (bug 1471648) for awsy failures. CLOSED TREE 2019-01-31 15:55:32 +02:00
Pavel Slepushkin 3631b95796 Bug 1471648 - [mozlog] Add support for Python 3; r=raphael
Differential Revision: https://phabricator.services.mozilla.com/D18069

--HG--
extra : moz-landing-system : lando
2019-01-31 12:49:42 +00:00
Myk Melez 25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Coroiu Cristina 667401357b Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-02-04 23:47:17 +02:00
AndreiH 4d97f54071 Bug 1428708 - [mozdevice] Bump version number and prepare for Python 3 release r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D18553

--HG--
extra : moz-landing-system : lando
2019-02-04 19:19:56 +00:00
Csoregi Natalia 20b9fad77e Backed out changeset 4fcae0e31524 (bug 1498636) for multiple browser-chrome failures e.g browser_ext_browserAction_popup_resize.js. CLOSED TREE 2019-02-04 15:27:06 +02:00