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

69 Коммитов

Автор SHA1 Сообщение Дата
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
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
Nikki Sharpley cd5919d8dd Bug 1561421 - [mozlog] Update mozlog docs and version to 4.2.0 r=ahal
The mozlog documents have been updated to reflect the addition of a `known_intermittent`
parameter in `test_status` and `test_end` included in the `StructuredLogger`, and across
multiple mozlog handlers and formatters.

As this was a major change, the version has been bumped to 4.2 for the next pypi release.

Web-platform-tests will eventually require this update in order for future patches related
to `known_intermittent` statuses to merge upstream.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 19:35:55 +00:00
Nikki S 9c23b063f4 Bug 1527610 - [mozlog] Library fails after python 3 update; TypeError: vars() argument must have _dict_ attribute r=ahal
Updated from Differential D20458.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 15:04:20 +00:00
Nikki S a4451e2014 Bug 1550565 - [mozlog] Update mozlog version number to 4.1 r=jgraham
The Mozlog version number needed to be updated to 4.1 for the new
release on PyPI. The dependencies of other libraries that require
mozlog were updated to reflect the new version. (mozversion,
mozrunner, mozprofile)

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

--HG--
extra : moz-landing-system : lando
2019-05-10 10:29:49 +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
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
Andrew Halberstadt ce87b08ac4 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

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

--HG--
extra : moz-landing-system : lando
2018-12-05 19:20:16 +00: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
Preeti Mukherjee bfa8d74f55 Bug 1471920 - [mozbuild] Use shutil.which in Python 3 instead of vendored third-party package r=davehunt
Use shutil.which in mozbuild for Python 3 instead of vendored third-party package, and enable mozversion tests that are fixed under Python 3 by this change.

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

--HG--
extra : moz-landing-system : lando
2018-08-30 16:39:55 +00:00
Dave Hunt 696d9f1858 Bug 1388016 - Run mozbase tests against Python 2 and 3; r=ahal
MozReview-Commit-ID: LdmTHHrLZwq

--HG--
extra : rebase_source : e7f21bb73ffc1a322a10eef21b705b14a2077144
2018-06-21 06:26:17 +01:00
Dave Hunt 61727fdba5 Bug 1454514 - [mozversion] Convert tests to pytest format; r=ahal
MozReview-Commit-ID: AchB3EUEZ33

--HG--
extra : rebase_source : 6de5fdaa5e6736717f5738fed0cce233629b82d0
2018-04-16 23:37:22 +01:00
Dave Hunt a9ba788f0b Bug 1454338 - [mozversion] Remove support for B2G; r=ahal
MozReview-Commit-ID: 9CJ8arQiZtf

--HG--
extra : rebase_source : b29ff46e1cef9073cb6c4c0080b30a2b7ce884ad
2018-04-16 13:16:17 +01:00
Sylvestre Ledru debb1617bd Bug 1446809 - Remove some b2g leftover in the testing/mozbase r=jgraham
MozReview-Commit-ID: 6PGuSXVjMB9

--HG--
extra : rebase_source : 69d3611477d78fcd7ba6db6baff1803281244ac0
extra : source : 04c46f107d24bc387a98839c86a22aec9ad31721
2018-03-20 21:20:26 +01:00
Csoregi Natalia fc0283f66c Backed out 10 changesets (bug 1446809) for failing on jsat/test_content_integration.html . CLOSED TREE
Backed out changeset 42146f3856d0 (bug 1446809)
Backed out changeset e6b888d19add (bug 1446809)
Backed out changeset 2293192557ef (bug 1446809)
Backed out changeset 643d30faeef8 (bug 1446809)
Backed out changeset 73639fbb3a61 (bug 1446809)
Backed out changeset df179cf0797d (bug 1446809)
Backed out changeset 04c46f107d24 (bug 1446809)
Backed out changeset 9b98c5aad44c (bug 1446809)
Backed out changeset 347d7259df0f (bug 1446809)
Backed out changeset 2a350e323713 (bug 1446809)
2018-03-21 11:17:38 +02:00
Sylvestre Ledru eddfad0379 Bug 1446809 - Remove some b2g leftover in the testing/mozbase r=jgraham
MozReview-Commit-ID: 6PGuSXVjMB9

--HG--
extra : rebase_source : 86e985db586896f6d5c2650a76658a2c3e048b0c
extra : histedit_source : 432556aef1f7b7861159286aaf3afc8c87f614cf
2018-03-20 21:20:26 +01:00
Geoff Brown 30995fa955 Bug 1440714 - Remove devicemanager code from mozversion; r=bc
Remove RemoteB2GVersion from mozversion and associated parameters from
mozversion.get_version(). Other than the cli interface modified here,
there are no in-tree clients of get_version() using the remote parameters.
2018-03-16 09:37:48 -06:00
Henrik Skupin 7031a16c77 Bug 1428289 - Release mozversion 1.5. r=jmaher
MozReview-Commit-ID: 61GLjE0Qc6o

--HG--
extra : rebase_source : d147c2785008266118a23dcdb306306e0711a8c5
2018-01-05 10:46:01 +01:00
Vedant Chakravadhanula 33ad8d8f1e Bug 1427568 - Adding python 3 support for mozversion. r=wlach
MozReview-Commit-ID: HyRVFvMBNek

--HG--
extra : rebase_source : a8444f8946d576454900fc3223894f2a4f47a2b9
2018-01-02 09:17:28 +05:30
Tom Prince a45ea20b93 Bug 1413575: Adjust in-tree references to mozbase documentation to point in-tree. r=ahal
MozReview-Commit-ID: rctbByyjTA

--HG--
extra : rebase_source : a682eb6d77b79640ac9ec20e9d64340613bcfed7
2017-11-20 11:43:13 -07:00
Steve Armand fa0b6e7c7e Bug 1397849 - Enable py2 and py3 linter on testing/mozbase. r=ahal
MozReview-Commit-ID: GnaVLhtO4un

--HG--
extra : rebase_source : 8839a423c5db505469b813957649b1605ed5737f
2017-09-25 22:57:18 -04:00
Andrew Halberstadt c9beaa56b4 Bug 1373294 - Fix E305 (two blank lines after method or class) in files enabled by flake8 linter, r=jmaher
This is needed before we can upgrade to flake8 3.3.0, as that version starts flagging these errors.

These files were modified by running:
autopep8 --select E305 --in-place -r <dir>

on the affected directories. I did it one dir at a time and verified the result after each.

MozReview-Commit-ID: FmlsfiKIbtr

--HG--
extra : rebase_source : 9df32258cadff5d27a0e72113c57f782756c0b18
2017-06-15 12:10:59 -04:00
Geoff Brown 8736cd834c Bug 1340584 - Remove test_b2g_fallback_when_no_binary; r=wlach 2017-03-21 12:20:03 -06:00
Geoff Brown df122d5bfa Bug 1340584 - Remove devicemanagerSUT and references to sutagent; r=wlach
sutagent is no longer built or used; devicemanagerSUT is completely
unused. After this change, devicemanagerADB is the only implementation of
devicemanager, and test harness options like --dm_trans are eliminated.
2017-03-21 12:20:01 -06:00
Andrew Halberstadt 8415b25e37 Bug 1003417 - Add a 'mozbase' subsuite to python unittests on linux, r=ted
The subsuite is added conditionally because we only have the capability of
running source-check tasks on linux at the moment. Once taskcluster support
for windows and mac has matured a bit and the taskcluster configs support
source-check there, we should apply the subuite unconditionally.

MozReview-Commit-ID: Kk9Irz3fn14

--HG--
extra : rebase_source : b9266a06583083c36477d4e93f5462ee614cdb71
2016-11-16 16:43:42 -05:00
Andrew Halberstadt 2d76b4f70d Bug 1317970 - Make mozbase tests use mozunit for consistent formatting, r=chmanchester
The mozbase unittests don't use mozunit, so their output is confusing in the log.
This makes mozbase output consistent with the rest of the python unittests.

MozReview-Commit-ID: AIs5mza8Rn6

--HG--
extra : rebase_source : 10f65e612f5b3cebb921c47699f5a8be7cd2ba5a
2016-11-17 16:36:18 -05:00
Francesco Pischedda f45ed99748 Bug 1280573 - Add testing/mozbase to flake8 linter: r=ahal
added testing/mozbase to tools/lint/flake8.lint
fixed a first batch of PEP8 errors/warnings

at first the commad autopep8 -i --max-line-length 99 -r -j 8 .
has been used to fix simpler problems, run from testing/mozbase

some of the issues can not easily fixed :
- undefined 'names' in code for example isLinux - isLinux and isBsd "fixed" with # noqa
- undefined 'message' resolved with return fmt.format(...
- undefined 'structured' resolved replacing those with mozlog
- long comments - some remaining - addressed with # noqa
- package level import everything - addressed with # flake8: noqa

restored testing/mozbase/mozdevice/mozdevice/Zeroconf.py
fixed issues reported on mozreview
fixed ')' in testing/mozbase/mozprocess/mozprocess/qijo.py imports
finally fixed multiline string at testing/mozbase/manifestparser/tests/test_manifestparser.py:114
^^^ and again, but now with ./mach python-test --path-only testing/mozbase/manifestparser/tests/test_manifestparser.py passing
fixed testing/mozbase/manifestparser/tests/test_convert_directory.py assert

fixed this error:
10:15:21     INFO -      return lambda line: stack_fixer_module.fixSymbols(line)
10:15:21     INFO -  TypeError: fixSymbols() takes exactly 2 arguments (1 given)

fixed two spaces lint error even of #  noqa comments
restored assignement to lambda with #  noqa to silence the lint error
global noqa for testing/mozbase/manifestparser/tests/test_filters.py
stupid is/is not error...

MozReview-Commit-ID: 1FpJF54GqIi

--HG--
extra : rebase_source : 3cf0277fb36a296e3506aeacc2ff05e1b03f9eac
2016-09-30 16:08:37 +02:00
Dave Hunt 8250726a9f Bug 1218373 - [mozversion] Fix reference to mozlog to restore command line interface. r=ahalberstadt 2015-10-26 06:13:00 +01:00
Julien Pagès 5bfd2646e1 Bug 1191197 - [mozversion] bump mozversion version to 1.4 and release to pypi. r=whimboo 2015-08-05 01:39:00 +02:00
Julien Pagès 079030035a Bug 1189847 - [mozversion] mozversion requires mozdevice, it shoudn't. r=dhunt
This make the mozdevice dependency of mozversion optional.

--HG--
extra : rebase_source : 40be17f1b8a36055b01b93c3f8087e8f9fa23fbb
2015-08-03 06:32:00 +02:00
Andrew Halberstadt 4f232ef5f5 Bug 1014760 - Version bump mozbase modules that depend on mozlog 3.0, r=me
--HG--
extra : commitid : L7a2lDztYH4
extra : rebase_source : 6178d707787cfa11a806ea8369789092b22a5d4f
2015-07-17 10:06:59 -04:00
Andrew Halberstadt 2be5ff0c10 Bug 1014760 - Move mozlog.structured to mozlog; Move mozlog to mozlog.unstructured, r=jgraham
Mozlog currently has two implementations. The top level package is based on the logging module and is
deprecated. The newer structured logging implementation lives in mozlog.structured. This patch swaps the
two, so the top level mozlog module contains the recommended implementation, while mozlog.unstructured
contains the old one.

--HG--
rename : testing/mozbase/docs/mozlog_structured.rst => testing/mozbase/docs/mozlog.rst
rename : testing/mozbase/mozlog/mozlog/structured/commandline.py => testing/mozbase/mozlog/mozlog/commandline.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/__init__.py => testing/mozbase/mozlog/mozlog/formatters/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/base.py => testing/mozbase/mozlog/mozlog/formatters/base.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/errorsummary.py => testing/mozbase/mozlog/mozlog/formatters/errorsummary.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/__init__.py => testing/mozbase/mozlog/mozlog/formatters/html/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/html.py => testing/mozbase/mozlog/mozlog/formatters/html/html.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/main.js => testing/mozbase/mozlog/mozlog/formatters/html/main.js
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/style.css => testing/mozbase/mozlog/mozlog/formatters/html/style.css
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/xmlgen.py => testing/mozbase/mozlog/mozlog/formatters/html/xmlgen.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/machformatter.py => testing/mozbase/mozlog/mozlog/formatters/machformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/tbplformatter.py => testing/mozbase/mozlog/mozlog/formatters/tbplformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/unittest.py => testing/mozbase/mozlog/mozlog/formatters/unittest.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/xunit.py => testing/mozbase/mozlog/mozlog/formatters/xunit.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/__init__.py => testing/mozbase/mozlog/mozlog/handlers/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/base.py => testing/mozbase/mozlog/mozlog/handlers/base.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/bufferhandler.py => testing/mozbase/mozlog/mozlog/handlers/bufferhandler.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/statushandler.py => testing/mozbase/mozlog/mozlog/handlers/statushandler.py
rename : testing/mozbase/mozlog/mozlog/structured/logtypes.py => testing/mozbase/mozlog/mozlog/logtypes.py
rename : testing/mozbase/mozlog/mozlog/structured/reader.py => testing/mozbase/mozlog/mozlog/reader.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/__init__.py => testing/mozbase/mozlog/mozlog/scripts/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/format.py => testing/mozbase/mozlog/mozlog/scripts/format.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/logmerge.py => testing/mozbase/mozlog/mozlog/scripts/logmerge.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/unstable.py => testing/mozbase/mozlog/mozlog/scripts/unstable.py
rename : testing/mozbase/mozlog/mozlog/structured/stdadapter.py => testing/mozbase/mozlog/mozlog/stdadapter.py
rename : testing/mozbase/mozlog/mozlog/structured/structuredlog.py => testing/mozbase/mozlog/mozlog/structuredlog.py
rename : testing/mozbase/mozlog/mozlog/logger.py => testing/mozbase/mozlog/mozlog/unstructured/logger.py
rename : testing/mozbase/mozlog/mozlog/loggingmixin.py => testing/mozbase/mozlog/mozlog/unstructured/loggingmixin.py
rename : testing/mozbase/mozlog/mozlog/loglistener.py => testing/mozbase/mozlog/mozlog/unstructured/loglistener.py
extra : commitid : 3JWk75JY4N0
extra : rebase_source : 229bad7a7bf8ead013ce62d128c0896a75cad393
2015-07-16 10:38:40 -04:00
Julien Pagès 3b79b20373 Bug 1139407 - [mozversion] Remove non-text formatters from command line log options. r=dhunt
--HG--
extra : rebase_source : db4f410d9b6fcd5f487375a69f6091e31eb1b3f2
2015-04-11 00:26:00 +02:00
William Lachance 0e7ac25667 Bug 1132716 - Release mozversion 1.2. r=davehunt
CLOSED TREE
2015-02-12 18:09:53 -05:00
Julien Pagès 9fcecfd6ac Bug 1132415 - [mozversion] Expose the package name for local fennec APK file. r=wlach 2015-02-12 04:36:00 +01:00
Dave Hunt c2507c0921 Bug 1105995 - [mozversion] Bump version to 1.1. r=wlachance 2014-12-02 05:31:07 -08:00
Dave Hunt bd758ab7fa Bug 1102140 - [mozversion] Support the ADB server running on an alternate host/port. r=wlachance 2014-11-28 09:59:23 +00:00
Henrik Skupin eb5ff20f60 Bug 1088112 - [mozversion] Bump version to 1.0 and release to pypi. r=dhunt DONTBUILD
---
 testing/mozbase/mozversion/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2014-10-24 11:19:14 +02:00
Julien Pagès 0494103ad0 Bug 1065988 - [mozversion] If platform.ini for a local application is missing, an exception should be raised; r=dhunt 2014-10-24 09:02:29 +02:00
Henrik Skupin 09c5ca365a Bug 1088060 - [mozversion] Get all application and platform data. r=dhunt
---
 testing/mozbase/mozversion/mozversion/mozversion.py | 10 +++++-----
 testing/mozbase/mozversion/tests/test_binary.py     | 11 +++++++++--
 2 files changed, 14 insertions(+), 7 deletions(-)

--HG--
extra : rebase_source : 85ab0046a4aa8c96dc32e7ff24f7cfeeee2f034b
2014-10-23 17:46:23 +02:00
Julien Pagès b56d64d309 Bug 1068956 - mozversion should throw some kind of exception if binary specified and nothing found. r=wlach 2014-10-15 03:49:00 +02:00
Julien Pagès be4de9ec45 Bug 1064731 - [mozversion] Add unit test to cover the case when binary is a symlink. r=dhunt 2014-10-14 04:00:00 -04:00
William Lachance 078f087edc Bug 1078935 - Specify mozlog >= 2.0 requirement in mozversion;r=davehunt DONTBUILD 2014-10-08 10:22:12 -07:00
William Lachance 0fac57585a Bug 1073697 - mozversion should accept binary_path without .exe extension on windows;r=davehunt 2014-09-30 11:28:38 -04:00
Dave Hunt 784c2ac8ee Bug 1073441 - [mozversion] Include base image version for Flame-KK device. r=wlachance 2014-09-30 02:10:00 +02:00
Ryan VanderMeulen 2a34d55fd7 Backed out changesets 8be8d3dd116b and 6abcab74130a (bug 1073698) for checktest failures. 2014-09-29 15:37:22 -04:00
William Lachance bd8cb95c0c Bug 1073698 - fix logic error in previous patch;r=davehunt 2014-09-29 14:55:18 -04:00
William Lachance 57cbb9dd21 Bug 1073698 - mozversion should accept binary_path without .exe extension on windows;r=davehunt 2014-09-29 14:49:49 -04:00
Dave Hunt e2430f2a8d Bug 1065340 - Update mozversion to use structured logging. r=jgraham 2014-09-15 08:31:00 +02:00