Commit Graph

1403 Commits

Author SHA1 Message Date
Coroiu Cristina
3ba5c153be Merge mozilla-central to autoland a=merge 2018-11-29 06:38:18 +02:00
Geoff Brown
7436118c5f Bug 1510449 (follow-up) Fix flake8 line-too-long; a=test-only on a CLOSED TREE 2018-11-28 16:07:37 -07:00
Geoff Brown
6146b0b94b Bug 1510449 - Support installing geckoview test apps from mach test commands; r=me,a=test-only 2018-11-28 15:46:37 -07:00
Edwin Gao
a4a34c8cfa Bug 1305743 - Add optional parameter to make failure to find mozinfo.json a fatal error r=gbrown
Changes:
- added optional keyword argument to the find_and_update_from_json() function: raise_exception
- the optional keyword argument accepts a boolean value depending on if exception is desired.

Tests
- added a few tests to ensure the expected exceptions are raised only when raise_exception flag is True.

Other changes:
- improved docstring for the find_and_update_from_json() method.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 22:03:56 +00:00
Geoff Brown
048ea9d050 Bug 1509670 - Avoid some android task retries by limiting logcat messages; r=bc 2018-11-27 13:38:03 -07:00
Marco Castelluccio
65ca4461a5 Bug 1489100 - Specify tests per suite in MOZHARNESS_TEST_PATHS. r=ahal
--HG--
extra : rebase_source : 09d05ca38ad25ce6178172e607ce0207525ea484
2018-11-15 17:54:13 +01:00
Wes Kocher
c45891a714 Bug 1509614 - Downgrade the loglevel for the get_process_list() messages in mozbase r=bc
`get_process_list()` makes multiple attempts at setting up adb, but errors setting up the connection get logged with a loglevel of ERROR. This patch makes these messages print with a loglevel of INFO unless this is the final attempt. This will cut down on superfluous error messages appearing in Treeherder's logviewer, while still providing all of the info fennec/tooling developers would need to fix the underlying problem here.

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

--HG--
extra : moz-landing-system : lando
2018-11-24 23:03:49 +00:00
James Graham
f42954eb72 Bug 1507550 - Scrub out junk from rust signatures when processing LSAN data, r=mccr8
Rust signatures aren't properly demangled, and contain some trailing
data that seems to depend on the compiler version. This defeats the
attempt to allow LSAN errors when importing tests, and we end up
adding multiple variants of the same symbol to the allow list.

To avoid this, simply preprocess the symbols not to contain the
trailing junk when reading LSAN output, whilst we await better
demangling.

Differential Revision: https://phabricator.services.mozilla.com/D12303
2018-11-20 14:11:12 +00:00
Marco Castelluccio
70b7e86a2b Bug 1507767 - Add task_regex for crashtest. r=ahal
--HG--
extra : rebase_source : 0813092c2c665f25600a839fff5091efbdb260dc
extra : source : c6507666343929310b54cbe3ccf5c27b9a453782
2018-11-16 14:26:27 +01:00
Marco Castelluccio
deae482814 Bug 1480141 - Add task_regex for Marionette. r=ahal
--HG--
extra : rebase_source : 7a16868ef97624d36b6fed0e608acc97592f9603
extra : source : 936e7792e7557d02becaa2932be2c1f0dbb0df26
2018-11-16 17:27:28 +01:00
Ciure Andrei
7a12d4d6e9 Backed out 2 changesets (bug 1480141, bug 1507767) for linting failre at resolve.py CLOSED TREE
Backed out changeset c65076663439 (bug 1507767)
Backed out changeset 936e7792e755 (bug 1480141)
2018-11-19 21:23:35 +02:00
Marco Castelluccio
c2f6bd655c Bug 1507767 - Add task_regex for crashtest. r=ahal
--HG--
extra : rebase_source : d8e4f1b54234b85abcfe6a9b739045155ad8e2e4
2018-11-16 14:26:27 +01:00
Marco Castelluccio
fc2dda0c5f Bug 1480141 - Add task_regex for Marionette. r=ahal
--HG--
extra : rebase_source : 6121b6373b8594fe0d3b56d3bdf844f488f1bdde
2018-11-16 17:27:28 +01:00
Geoff Brown
970a2e2a3e Bug 1507560 - Avoid extra initializations of ADBAndroid when running Android wpt; r=kwierso 2018-11-15 16:27:55 -07:00
Andreea Pavel
e3299fd2db Backed out 5 changesets (bug 1498640, bug 1436037, bug 1497660, bug 1505579) for mass failures on a CLOSED TREE
Backed out changeset 914a7a899dd1 (bug 1436037)
Backed out changeset e072757bf691 (bug 1436037)
Backed out changeset b0805a8cf6eb (bug 1505579)
Backed out changeset aa32ba9e6df3 (bug 1498640)
Backed out changeset ce441b8a784c (bug 1497660)
2018-11-15 07:53:41 +02:00
Andrew Halberstadt
b03e2aa337 Bug 1436037 - [python] Create Windows python-test tasks, r=gps
The following python-test paths are being moved out of 'make check' and into their own task:
- python/mozlint
- testing/mozbase
- tools/lint

The following python-test paths previously did not run on Windows:
- python/mozterm
- testing/marionette
- testing/raptor
- tools/tryselect

MozReview-Commit-ID: C07FANaYzf7

Depends on D10758

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

--HG--
extra : moz-landing-system : lando
2018-11-15 00:49:45 +00:00
William Lachance
e398c2273e Summary: Bug 1506385 - Remove b2g support and unnecessary dependencies from mozdevice r=bc
Differential Revision: https://phabricator.services.mozilla.com/D11564

--HG--
extra : moz-landing-system : lando
2018-11-10 20:17:08 +00:00
Andrew Halberstadt
ecadfa3e3d Bug 1460914 - [mozprofile] Move mochitest's 'parseKeyValue' function into mozprofile.cli, r=ted
Parsing prefs and env on the command line is a common task performed by our harnesses, let's
move it into mozbase.

Depends on D9717

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

--HG--
extra : moz-landing-system : lando
2018-11-08 14:51:26 +00:00
Geoff Brown
0efb730087 Bug 1504931 - Use mozdevice.launch_activity to start fennec/geckoview in web-platform tests; r=kwierso 2018-11-06 15:33:50 -07:00
Cosmin Sabou
3b735243ab Merge mozilla-central to mozilla-inbound. a=merge
--HG--
extra : rebase_source : 8505e939743adff1ac28bbacc959496d6e254a44
2018-11-02 23:51:14 +02:00
Arshad Kazmi
22b28be272 Bug 1428707 - Move testing/mozbase/mozdebug/mozdebug/setup.cfg to testing/mozbase/mozdebug/setup.cfg r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D9987

--HG--
extra : moz-landing-system : lando
2018-11-02 17:56:57 +00:00
Geoff Brown
cc4a717c32 Bug 1433308 - Switch android emulator gpu from swiftshader to swiftshader_indirect; r=me,a=test-only
The _indirect variant was introduced in emulator 27.0.2 (Dec 2017) and swiftshader proper is deprecated.
2018-10-29 16:17:04 -06:00
Csoregi Natalia
a21ac3d8e5 Merge inbound to mozilla-central. a=merge 2018-10-27 12:48:40 +03:00
Cosmin Sabou
125a3ce9d8 Merge mozilla-central to autoland. a=merge
--HG--
extra : rebase_source : 24058e51e8b2f1c418e99b65a7ffb81209700389
2018-10-27 01:50:33 +03:00
Andrew Halberstadt
203cc276de Bug 1460914 - [xpcshell] Use nsIPrefService.readUserPrefsFromFile to set prefs, r=ted
This uses nsIPrefService.readUserPrefsFromFile to set preferences from a
user.js passed in via the python harness. This allows us to use the profiles
under testing/profiles like all the other harnesses and will make setting prefs
in xpcshell easier to use and understand.

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

--HG--
extra : moz-landing-system : lando
2018-10-26 17:46:03 +00:00
arthur.iakab
18a752e5d9 Backed out 2 changesets (bug 1460914)for multiple failures on profile_data/base "CLOSED TREE"
Backed out changeset a2161aab4e4e (bug 1460914)
Backed out changeset 9e438c55a248 (bug 1460914)
2018-10-26 19:42:33 +03:00
Andrew Halberstadt
2dfc1e580d Bug 1460914 - [xpcshell] Use nsIPrefService.readUserPrefsFromFile to set prefs, r=ted
This uses nsIPrefService.readUserPrefsFromFile to set preferences from a
user.js passed in via the python harness. This allows us to use the profiles
under testing/profiles like all the other harnesses and will make setting prefs
in xpcshell easier to use and understand.

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

--HG--
extra : moz-landing-system : lando
2018-10-25 15:22:44 +00:00
Bob Clary
b00fa9179c Bug 1502358 - release mozsystemmonitor 0.4, r=ahal 2018-10-26 12:26:01 -07:00
Geoff Brown
ad3740fe1b Bug 1494437 - Support timed screenshots in AndroidMixin; r=bc 2018-10-24 10:33:02 -06:00
Arshad Kazmi
ef37b99296 Bug 1428707 - Validated python3 support, updated package version r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D9565

--HG--
extra : moz-landing-system : lando
2018-10-24 11:04:58 +00:00
Raphael Pierzina
329c1926f8 Bug 1501227 - Update version requirement on mozprofile for mozrunner; r=davehunt
Depends on D9527

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

--HG--
extra : moz-landing-system : lando
2018-10-24 08:35:25 +00:00
Raphael Pierzina
32714ae8e5 Bug 1501227 - Bump mozrunner to version 7.2.0; r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D9527

--HG--
extra : moz-landing-system : lando
2018-10-24 08:35:08 +00:00
Raphael Pierzina
362a603015 Bug 1501224 - Bump mozprofile to version 2.1.0; r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D9514

--HG--
extra : moz-landing-system : lando
2018-10-23 16:40:11 +00:00
Henrik Skupin
487c30e181 Bug 1493796 - [mozprocess] Revert poll() behavior on Windows due to regression. r=gbrown
Originally landed as changeset 8793e332890e via bug 1433905 the
patch caused a regression because GetExitCodeProcess() returns
0 for an inside of Firefox restarted process.

It can be relanded once the process id of the job object can
successfully be tracked.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 15:32:28 +00:00
Geoff Brown
98f7372cce Bug 1499511 - Add unit test for adb.py _escape_command_line; r=bc 2018-10-17 11:11:52 -06:00
Bob Clary
26b400b059 Bug 1499511 - [mozdevice] Support single-quotes in adb command line, r=gbrown. 2018-10-17 06:53:29 -07:00
Bob Clary
a62c29cd3e Bug 1502190 - bump mozdevice requirements for raptor, marionette, mozrunner, r=gbrown. 2018-10-26 09:51:37 -07:00
Bob Clary
1c94872e1f Bug 1502190 - release mozdevice 1.1.5, r=gbrown. 2018-10-26 09:51:37 -07:00
Bob Clary
589663f549 Bug 1502190 - [mozdevice] ADBDevice() should use ls /sdcard to detect ls version, r=jmaher. 2018-10-26 09:51:37 -07:00
Bob Clary
ea00ef94a9 Bug 1504117 - [mozdevice] Bump mozdevice requirements to 1.1.6 for raptor, marionette, mozrunner, r=gbrown. 2018-11-02 08:04:02 -07:00
Bob Clary
82c93eb971 Bug 1504117 - [mozdevice] Release mozdevice 1.1.6, r=gbrown. 2018-11-02 07:42:53 -07:00
Bob Clary
35a04c73fe Bug 1504154 - [mozdevice] Add ADBAndroid.grant_runtime_permissions() and use when launching applications, r=gbrown. 2018-11-02 07:42:53 -07:00
Bob Clary
af6943d3ea Bug 1504117 - [mozdevice] Handle delayed sdcard mount when initializing ADBDevice, r=gbrown. 2018-11-02 07:42:53 -07:00
Bob Clary
387a996ebf Bug 1499102 - [mozdevice] Allow HOST:PORT as device serial number, bump mozdevice to version 1.1.3, r=gbrown. 2018-10-15 21:03:00 -07:00
Ciure Andrei
6782f178aa Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-10-13 12:40:23 +03:00
Wes Kocher
08745f46ef Bug 1498680 - Fix wpt runner's browser stop implementation: request stop before waiting; r=kwierso
The current implementation waits for fennec to stop before trying to stop it - easy enough
to address. At the same time, I am updating the runner stop implementation to try
stop_application before kill: stop_application shuts down the application more
cleanly; kill should only be used as a backup.

--HG--
extra : source : d95463150a6fccfc51fe190693d2528cbeec49a4
2018-10-12 23:55:47 -07:00
Andreas Farre
9c89776534 Bug 1480198 - Check for allowed patterns deeper in LSAN stack. r=jgraham
Add the property lsan-max-stack-depth to enable configuring how many
stack frames we allow LSANLeaks to record.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 11:43:38 +00:00
Narcis Beleuzu
c31a01ef52 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-12 00:57:21 +03:00
Geoff Brown
90b6dc31b9 Bug 1497566 - Remove logcat functionality from mozrunner; r=automatedtester
When testing locally, logcat can be run easily; in CI, mozharness scripts manage
logcat and save the logcat as a test artifact.
2018-10-11 09:47:55 -06:00
Raphael Pierzina
97a1f5b5ba [mozfile] Bump version to 2.0.0, update classifiers and add setup.cfg (Bug 1471622) r=davehunt
[mozfile] Bump version to 2.0.0, update classifiers and add setup.cfg (Bug 1471622)

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

--HG--
extra : moz-landing-system : lando
2018-10-11 14:20:10 +00:00