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

1273 Коммитов

Автор SHA1 Сообщение Дата
Tarek Ziadé 6f2a6cfd6e Bug 1377510 - Add the ability to install webextensions with mozprofile r=automatedtester
MozReview-Commit-ID: DgI7hZFKHns

--HG--
extra : rebase_source : 90731ffd050f9968238f7f1ba1668918c257750d
2017-07-24 12:08:53 +02:00
Sylvestre Ledru 4e9cf83ee8 Bug 1378712 - Remove all trailing whitespaces r=Ehsan
MozReview-Commit-ID: Kdz2xtTF9EG

--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Alex Gaynor b08206238c Bug 1374557 - Part 2 - Use the new preference to whitelist paths for reading that are needed by tests; r=gcp,haik,jmaher
MozReview-Commit-ID: 4IaTrHPHZaC

--HG--
extra : rebase_source : 28824735f74b369d5755b3bced0f61d22c7c8845
2017-06-21 10:24:16 -04:00
Sebastian Hengst 5543531191 Backed out changeset 32f1daf0a256 (bug 1372263) for crashing in mochitests dom/ipc/tests/test_CrashService_crash.html and dom/ipc/tests/test_process_error.xul with js::ctypes::ConvertToJS. r=backout on a CLOSED TREE 2017-07-01 00:37:33 +02:00
Andrew Halberstadt d37e12c516 Bug 1372263 - Set MOZ_CRASHREPORTER_SHUTDOWN in mozrunner based unittests, r=ted
MozReview-Commit-ID: JTdTLOLWn5r

--HG--
extra : rebase_source : ca5630c1e3f4c79c1b791e80049652e14b722ec2
2017-06-22 16:35:04 -04:00
Christian Holler b8ee76ebd8 Bug 1373256 - Changes to support -fsanitize=integer in the codebase. r=froydnj
The -fsanitize=integer analysis from UBSan can be helpful to detect signed and unsigned integer overflows in the codebase. Unfortunately, those occur very frequently, making it impossible to test anything with it without the use of a huge blacklist. This patch includes a blacklist that is broad enough to silence everything that would drain performance too much. But even with this blacklist, neither tests nor fuzzing is "clean". We can however in the future combine this with static analysis to limit ourselves to interesting places to look at, or improve the dynamic analysis to omit typical benign overflows.

It also adds another attribute that can be used on functions. It is not used right now because it was initially easier to add things to the compile-time blacklist to get started.

Finally, it includes a runtime suppression list and patches various parts in the test harnesses to support that. It is currently empty and it should not be used on frequent overflows because it is expensive. However, it has the advantage that it can be used to differentiate between signed and unsigned overflows while the compile-time blacklist cannot do that. So it can be used to e.g. silence unsigned integer overflows on a file or function while still reporting signed issues. We can also use this suppression list for any other UBSan related suppressions, should we ever want to use other features from that sanitizer.

MozReview-Commit-ID: C5ofhfJdpCS

--HG--
extra : rebase_source : 952043a441b41b2f58ec4abc51ac15fa71fc142f
2017-04-09 12:59:26 +02:00
James Graham 6035ebf6c6 Bug 1376977 - Update mozlog version number for release, r=whimboo
MozReview-Commit-ID: 6NPCSOXnSAI
2017-06-28 20:06:18 -07:00
James Graham 187d2e0308 Bug 1375145 - Make xdist hook optional in pytest-mozlog, r=davehunt
MozReview-Commit-ID: 6wVUi9XoLZX

--HG--
extra : rebase_source : c2894130a01be8f37383d318ee927fe093b14b68
2017-06-21 18:07:27 +01:00
Carsten "Tomcat" Book 859e15bbda Backed out changeset ea9c2e2a07e5 (bug 1375145) for test failures in /mozlog/pytest_mozlog/plugin.py:10:1 2017-06-22 12:13:36 +02:00
James Graham 3a7558d388 Bug 1375145 - Make xdist hook optional in pytest-mozlog, r=davehunt
MozReview-Commit-ID: 6wVUi9XoLZX

--HG--
extra : rebase_source : cf43a64a98f2cc961918b3666900a4e228b953e7
2017-06-21 18:07:27 +01: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
Andrew Halberstadt aeecd3dc7c Bug 1372668 - [mozlog] Limit the size of data logged from error message when suite_start called multiple times, r=jgraham
We've seen a couple of enormous log files (200MB+). This largely happened due to a bug in the test harness that resulted
in suite_start being called over and over again. In each of these instances, mozlog logged something like:
log.error("Suite start called multiple times: {}".format(data))

The problem is that 'data' contained every single test id in the suite, which was *a lot*. Dumping all test ids in that
error message is not useful for debugging. This patch limits the size of the 'suite_start' data in the error message to
100 characters.

MozReview-Commit-ID: GnPizNrZ2QJ

--HG--
extra : rebase_source : 985d484544da9ea4cce445ce406fe085f86f112b
2017-06-14 11:20:39 -04:00
Andrew Halberstadt c7ebd24d8e Bug 1048446 - [mozlog] Don't re-use existing loggers when calling mozlog.commandline.setup_logging a second time, r=jgraham
This is case that got hit with the new mochitest selftest harness. In this scenario, several MochitestDesktop instances
(which call commandline.setup_logging in their constructor) are instantiated in the same interpreter. Because mozlog
implicitly saves the logger state, this meant that setup_logging kept appending duplicate handlers to the existing ones.

I believe that the intent of 'setup_logging' is to get a brand new logger, so it should ensure logger state is reset
on subsequent calls.

MozReview-Commit-ID: Jqyhbj7nC6z

--HG--
extra : rebase_source : f267489bef99f3ac3d657357002a0001610a038f
2017-05-29 14:23:04 -04:00
Andrew Halberstadt c9821f47ec Bug 1048446 - [mozinstall] Add ability to download and extract installer from a url, r=whimboo
This is a minor convenience for downloading the installer from a url. It uses requests (which should be
available everywhere in-tree).


MozReview-Commit-ID: 8IfiVkYNr06

--HG--
extra : rebase_source : cb8798cf3adb61008a5dac3794043950e48c3d6a
2017-03-09 12:20:03 -05:00
Andrew Halberstadt f863907f7e Bug 1370359 - Stop dumping all tests to errorsummary.log; include manifest in error lines, r=jgraham
MozReview-Commit-ID: 9m0ArgifgU9

--HG--
extra : rebase_source : 25ba80a4e2947e727c055a35c47ce0275df41682
2017-06-06 15:05:17 -04:00
William Lachance a95523e2a5 Bug 1366919 - Bump mozinfo version to 0.10 r=ahal
MozReview-Commit-ID: 2k5xgTogSN6

--HG--
extra : rebase_source : f92dfdf4cede8309a4f9fc021b1cc1d6a1bc687f
2017-05-23 13:04:29 -04:00
William Lachance 089ed28b97 Bug 1366919 - Consider MSYS_NT to equal windows in mozinfo r=ahal
MozReview-Commit-ID: FtLNulaCDEV

--HG--
extra : rebase_source : f3b8f23ad075f39a50f4a09ab52f93a11116825c
2017-05-23 13:00:59 -04:00
Dão Gottwald 8a952aed25 Bug 1367076 - Set datareporting.policy.firstRunURL by default to replace data choices infobar with privacy policy in a background tab on first run. r=Gijs
MozReview-Commit-ID: 9r5el0I2HrA

--HG--
extra : rebase_source : d5bc0f8a5dea60d4d3bbaaf5332d8f022693d381
2017-05-31 13:48:06 +02:00
Geoff Brown e8d6ec9627 Bug 1367780 - Additional changes for eslint on testing/firefox-ui,mozbase,profiles,specialpowers; r=Standard8 2017-05-30 16:06:31 -06:00
Geoff Brown 67daf2d2b0 Bug 1367780 - Enable eslint on testing/firefox-ui,mozbase,profiles,specialpowers - mechanical updates; r=Standard8 2017-05-30 16:06:29 -06:00
James Graham ba40cb0a5c Bug 1368342 - Add mozlog logger that goes via a queue, r=ahal
This allows subprocesses to log to a shared stream via a queue, so that we
avoid the overhead of a multiprocessing Lock around all log access, but still
avoid races where two processes try to log simultaneously. It's mostly useful
where one process is responsible for the majority of logging, but some messages
will be generated in child processes.

MozReview-Commit-ID: ABl6cvpb6qI

--HG--
extra : rebase_source : 5c749074c1646c7abb865a71b31b3056137ef398
2017-05-26 12:53:00 +01:00
William Lachance 2310106daa Bug 1367465 - Bump mozdevice version to 0.51 r=bc
MozReview-Commit-ID: AYTbOymTApS

--HG--
extra : rebase_source : c0e065498d603890a56c4b1a5d0d40a85cba6b8f
2017-05-24 11:52:14 -04:00
William Lachance da6276d3c7 Bug 1367465 - Fix log message when setting selinux mode on Android fails r=bc
MozReview-Commit-ID: LvLfujDcGfU

--HG--
extra : rebase_source : f05671052e4468322cc97dfbea6d39dd964be22c
2017-05-24 11:26:59 -04:00
Geoff Brown f8160809a8 Bug 1340233 - Take more care when killing browser before starting Android tests; r=jmaher
The devicemanager killProcess() is updated to use force-stop first, then
use kill if force-stop does not work.

Browser test harnesses are updated to check if killProcess() worked, and
warn if it failed.
2017-04-12 09:15:53 -06:00
Ting-Yu Chou 5dd0d99f75 Bug 1333003 part 6 - Fix test scripts to run ASan on Windows. r=ted
MozReview-Commit-ID: 6F9UXgTRb2Y

--HG--
extra : rebase_source : c618544db62381087f4190d3b12c57c340606b15
2017-03-10 12:08:34 +08:00
William Lachance dfdc5f2814 Bug 1353527 - Tag mozdevice 0.50 r=bc
MozReview-Commit-ID: 8MMuTDX7uBH

--HG--
extra : rebase_source : 6c632ad1cca513796b80d98050994ebb6d5cce6b
2017-04-04 16:44:07 -04:00
Geoff Brown 7d75784cbc Bug 1353537 - Update adb.py push() to always copy directories when pushing a directory; r=bc 2017-04-04 18:48:12 -06:00
Geoff Brown 7cc08b99a6 Bug 1352084 - Improve debug logging for 'mach android-emulator'; r=jmaher
Various minor improvements to aid debugging:
 - recommend --verbose on most common failure
 - in verbose mode, display platform
 - in verbose mode, display file creation date of binaries
 - in verbose mode, display sdk binary versions
 - remind of x86 vs arm emulator and need for corresponding apk
2017-04-04 09:45:19 -06:00
Maja Frydrychowicz 4c76df2d97 Bug 1349786 - Fix typo introduced in Bug 1322993; r=chmanchester
MozReview-Commit-ID: 2OB3yu4BBTs

--HG--
extra : rebase_source : 8cb0ce579255cd22c0522510fd1bfaf7251b1ac8
2017-03-24 10:16:48 -04:00
Wes Kocher 93d11e3441 Backed out 7 changesets (bug 1333003) for windows asan failures a=backout
Backed out changeset 3d2b2eeda8d3 (bug 1333003)
Backed out changeset 400d409ba4ca (bug 1333003)
Backed out changeset 1ba027abdfc9 (bug 1333003)
Backed out changeset 70114135bd8c (bug 1333003)
Backed out changeset 5715b15e33c0 (bug 1333003)
Backed out changeset 375e952bd738 (bug 1333003)
Backed out changeset d5d4112599f2 (bug 1333003)

MozReview-Commit-ID: DZUHJTdjX7V
2017-03-23 11:01:44 -07:00
Carsten "Tomcat" Book 187105652e Merge mozilla-central to autoland 2017-03-23 13:59:20 +01:00
Carsten "Tomcat" Book 9b6d088496 merge autoland to mozilla-central a=merge
--HG--
rename : browser/components/preferences/in-content/tests/browser_advanced_siteData.js => browser/components/preferences/in-content-old/tests/browser_advanced_siteData.js
rename : dom/media/mediasink/DecodedAudioDataSink.cpp => dom/media/mediasink/AudioSink.cpp
2017-03-23 13:42:40 +01:00
Carsten "Tomcat" Book d40c4b5e91 Backed out changeset 18fd8676751a (bug 1333003) 2017-03-23 10:38:04 +01:00
Wes Kocher b31e9e6a39 Merge inbound to central, a=merge
MozReview-Commit-ID: EQ7w1Gld1K2
2017-03-22 17:10:01 -07:00
Andrea Marchesini 507c00cb9f Bug 1343933 - Renaming Principal classes - part 4 - ContentPrincipal, r=qdot
--HG--
rename : caps/nsPrincipal.cpp => caps/ContentPrincipal.cpp
rename : caps/nsPrincipal.h => caps/ContentPrincipal.h
2017-03-22 11:39:31 +01:00
Ting-Yu Chou e8fe1839b7 Bug 1333003 part 6 - Fix test scripts to run ASan on Windows. r=ted
MozReview-Commit-ID: 6F9UXgTRb2Y

--HG--
extra : rebase_source : c618544db62381087f4190d3b12c57c340606b15
2017-03-10 12:08:34 +08:00
Ting-Yu Chou 9c1ec9c16c Bug 1333003 part 6 - Fix test scripts to run ASan on Windows. r=ted
MozReview-Commit-ID: 6F9UXgTRb2Y

--HG--
extra : rebase_source : ae28acf8b01688ca73b09b08769e35261c9365bd
2017-03-10 12:08:34 +08: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
Carsten "Tomcat" Book 4fc85d9151 Merge mozilla-central to autoland 2017-03-22 16:11:34 +01:00
Maja Frydrychowicz 63a91ec1cf Bug 1322993 - Guard against deleting nonexistent directory during emulator cleanup; r=whimboo
MozReview-Commit-ID: 7hopCdbHhj1

--HG--
extra : rebase_source : 64fcb946246aa89a00d2039f3cfbf6cdf24c62fc
2017-03-15 15:10:58 -04:00
Wes Kocher efcef12931 Backed out changeset e73241bcb49a (bug 1340584) for Windows build failures a=backout CLOSED TREE
MozReview-Commit-ID: 22csfCgl7Wb
2017-03-16 10:25:15 -07:00
Geoff Brown ecc9668072 Bug 1340584 - Remove devicemanagerSUT and references to sutagent; r=wlach
sutagent is no longer built or usedr; devicemanagerSUT is completely
unused. After this change, devicemanagerADB is the only implementation of
devicemanager, and the --dmTrans and similar options have been removed
from test harnesses and mach commands.
2017-03-16 10:44:44 -06:00
Geoff Brown 7e2388e217 Bug 1347407 - Add an Android 7.0 AVD for mach android-emulator; r=me,test-only
Add support for 'mach android-emulator --version 7.0'. This AVD is somewhat
experimental but has worked well in my initial testing.
2017-03-16 10:44:42 -06:00
Maja Frydrychowicz dcf67352b6 Bug 1347483 - blessings package should not be downloaded during mach virtualenv setup; r=mshal
This fixes a regression introduced in Bug 1335873, which changes the mozbase
packages.txt to call mozlog's setup.py. Calling setup.py registers the
pytest_mozlog plugin for marionette-harness tests.

Instead, we can register the pytest-mozlog plugin via command-line arguments
to pytest, which are set in pytest.ini for the marionette-harness tests.
As a result, we can revert the mozbase packages.txt to not refer to mozlog's
setup.py

I'm leaving the pytest entry-point in mozlog's setup.py so that external
consumers don't have to register the pytest_mozlog plugin manually.

MozReview-Commit-ID: I5wNq5H1x3X

--HG--
extra : rebase_source : 614a47995bc1655f36053d2a05b08f94bfdbe476
2017-03-22 14:26:18 -04:00
Geoff Brown 834f5465ad Bug 1346423 - Add manifest for Android x86 6.0 AVD; r=me,test-only
This adds support for 'mach android-emulator --version x86-6.0', a fast,
modern Android emulation environment for testing x86 builds of Firefox.
2017-03-14 08:08:45 -06:00
Geoff Brown c8b0aec1da Bug 1346083 - Fix devicemanagerADB's pushDir() for adb >= 1.0.36 with links in directory; r=bc
To allow for pushing directories containing symbolic links, pushDir
now always copies the source directory to a temporary local copy
before pushing.

In addition, I have added error checking, so that pushDir will now fail
if its adb command fails and returns a non-0 status from _checkCmd.
2017-03-14 08:08:42 -06:00
Carsten "Tomcat" Book c1edc7067d merge mozilla-inbound to mozilla-central a=merge 2017-03-13 15:22:26 +01:00
Geoff Brown 7a0127e2d0 Bug 1326492 - Update avd manifests for 'mach android-emulator', r=jmaher
I created a new Android 4.3 AVD and uploaded it to tooltool. This new
AVD is compatible with the "new" emulator included in recent versions
of the Android SDK (circa Android SDK Tools 25). To avoid destabilizing
the emulator automated tests run via taskcluster and mozharness, I'm
creating a new tooltool manifest for the new AVD and using it only from
mach android-emulator.

For consistency, I'm creating separate but identical manifests for x86,
renaming the mach-only 6.0 manifest, and deleting the old 2.3 manifest.

--HG--
rename : testing/config/tooltool-manifests/androidarm_6_0/releng.manifest => testing/config/tooltool-manifests/androidarm_6_0/mach-emulator.manifest
2017-03-10 12:34:55 -07:00
Sebastian Hengst 757530a50d Backed out changeset 896205d8a760 (bug 1344346) 2017-03-09 18:35:41 +01:00
Andrew Halberstadt ed6750676b Bug 1344346 - [mozlog] Use less verbose formatting on 'process_output' messages, r=jgraham
This simplifies the 'process_output' formatting in both the mach and tbpl formatters. It will also
add the string 'pid' somewhere in the format, but only if the process id is actually a positive int.

MozReview-Commit-ID: 6nc5q06cDfM

--HG--
extra : rebase_source : 2c9ef125c19c06942a0c39d783151e8aa486a92c
2017-03-06 13:20:25 -05:00
Andrew Halberstadt 6b9bf4adbf Bug 1335873 - Convert marionette harness unittests to standard python unittests, r=maja_zf
This formats the marionette-harness python tests to be a regular |mach python-test| suite. Though
we add subsuite=marionette, this is just for automation purposes. The new preferred way to run the
marionette harness tests locally is:
./mach python-test testing/marionette

They will also run if running the full suite.

The mozbase packages.txt file modifies mozlog to use 'setup.py' instead of 'pth'. The reason for
this is that the marionette-harness tests use the pytest_mozlog pytest plugin for formatting
their results (converts pytest format into something resembling the standard tbpl logging format).
In order for this plugin to get picked up however, mozlog's setup.py file needs to be processed.

MozReview-Commit-ID: Ata99evHxbd

--HG--
extra : rebase_source : 22382e3d65ce8454a1682cfced0d03477762e8fe
2017-02-15 16:38:45 -05:00
Andrew Halberstadt 9e94d21674 Bug 1335873 - Ignore MozconfigFindException when looking for a mozinfo.json, r=maja_zf
This gets raised when trying to run the marionette-harness python tests without an objdir.
It's safe to ignore because mozinfo.json will still be found via the 'dirs' variable which
gets passed in from the marionette harness.

MozReview-Commit-ID: Ata99evHxbd

--HG--
extra : rebase_source : 6e3910667146b9caf0a9abe9a707b34627ba272b
2017-02-15 16:37:58 -05:00
Andrew Halberstadt eb7f8a46ec Bug 1344346 - [mozlog] Use less verbose formatting on 'process_output' messages, r=jgraham
This simplifies the 'process_output' formatting in both the mach and tbpl formatters. It will also
add the string 'pid' somewhere in the format, but only if the process id is actually a positive int.

MozReview-Commit-ID: 6nc5q06cDfM

--HG--
extra : rebase_source : d2c84e838b8b76b1b607a3beace02843085fca26
2017-03-06 13:20:25 -05:00
Iris Hsiao effe8f959a Backed out 3 changesets (bug 1344346) for mochitest shutdownleaks
Backed out changeset 71e3443cdc43 (bug 1344346)
Backed out changeset cd8993e4d0dd (bug 1344346)
Backed out changeset 8e03e57d44aa (bug 1344346)
2017-03-10 10:44:13 +08:00
Andrew Halberstadt ab8925b67f Bug 1344346 - [mozlog] Use less verbose formatting on 'process_output' messages, r=jgraham
This simplifies the 'process_output' formatting in both the mach and tbpl formatters. It will also
add the string 'pid' somewhere in the format, but only if the process id is actually a positive int.

MozReview-Commit-ID: 6nc5q06cDfM

--HG--
extra : rebase_source : 67a435b653eed3cd374037f4bd30e1f65bf5615a
2017-03-06 13:20:25 -05:00
Sebastian Hengst 9da116023c Backed out changeset caacf82afba1 (bug 1335873) for failing spidermonkey pkg due to not finding new file python.ini. r=backout 2017-03-01 17:35:45 +01:00
Sebastian Hengst 964fc701a8 Backed out changeset 3c0a7527608a (bug 1335873) 2017-03-01 17:35:06 +01:00
Andrew Halberstadt 0fa9f19bdf Bug 1335873 - Convert marionette harness unittests to standard python unittests, r=maja_zf
This formats the marionette-harness python tests to be a regular |mach python-test| suite. Though
we add subsuite=marionette, this is just for automation purposes. The new preferred way to run the
marionette harness tests locally is:
./mach python-test testing/marionette

They will also run if running the full suite.

The mozbase packages.txt file modifies mozlog to use 'setup.py' instead of 'pth'. The reason for
this is that the marionette-harness tests use the pytest_mozlog pytest plugin for formatting
their results (converts pytest format into something resembling the standard tbpl logging format).
In order for this plugin to get picked up however, mozlog's setup.py file needs to be processed.

MozReview-Commit-ID: Ata99evHxbd

--HG--
extra : rebase_source : 16ed70edd38a53c3279d8632d7cba3df4d5216c3
2017-02-15 16:38:45 -05:00
Andrew Halberstadt 640509a3a9 Bug 1335873 - Ignore MozconfigFindException when looking for a mozinfo.json, r=maja_zf
This gets raised when trying to run the marionette-harness python tests without an objdir.
It's safe to ignore because mozinfo.json will still be found via the 'dirs' variable which
gets passed in from the marionette harness.

MozReview-Commit-ID: Ata99evHxbd

--HG--
extra : rebase_source : 10731561f644aa563c85ed4a8f70759e64eb4ed2
2017-02-15 16:37:58 -05:00
James Graham f8d7a25a76 Bug 1342954 - fixup formatting to keep flake8 happy, a=bustage
MozReview-Commit-ID: xY96Ttr4pz
2017-02-28 14:50:55 +00:00
Andrew Halberstadt c53ca9353d Bug 1340551 - [mozlog] Add test group (manifest) information to test harness error summaries, r=jgraham
This modifies the errorsummary formatter to make use of the new keyed-by-group tests field in the suite_start
message.

MozReview-Commit-ID: 1lcw62fmofa

--HG--
extra : rebase_source : fb6e5b02ae7f6f9201625f4392c8f4f7629023c2
2017-02-22 14:36:10 -05:00
Andrew Halberstadt dc228ea415 Bug 1340551 - [mozlog] Change 'tests' field in suite_start action to a dict of tests keyed by group name, r=jgraham
In suite_start, tests is currently a list of test ids. But to support a new 'test-centric' treeherder view, we need to
be able to map tests to their manifests somewhere in the structured log, and the suite_start tests field seemed like a
good spot.

Because not all test suites use manifests, this is being called a "group" so it could potentially be re-used with
directories, tags or subsuites.

MozReview-Commit-ID: 2Sc7nqJrWts

--HG--
extra : rebase_source : d999df4c137b4752f118017a5db337e2ba6b467d
2017-02-22 11:46:09 -05:00
Andrew Halberstadt b5de92b51f Bug 1340551 - [mozlog] Introduce concept of ContainerType in logtypes and allow nested containers, r=jgraham
Currently the List and Tuple DataTypes must specify what items they contain. But there's no way to specify
item types recursively, e.g List(Tuple(Int, Int)). Also the Dict type can't specify the item types it must
contain either. Dict is a special case because we may want to control both keys and values.

This patch formalizes a ContainerType (of which List, Tuple and Dict are subclasses).

MozReview-Commit-ID: Bouhy1DIAyD

--HG--
extra : rebase_source : e7b26f4411861fc3065b4b5b746f05172f70d455
2017-02-21 14:24:14 -05:00
James Graham e8fcba4845 Bug 1342954 - Improve ERROR handling in pytest_mozlog r=davehunt
Not all report objects are strings, tuples or have a .crashrepr
property. In particular some brokeness in wdspec test setup produced
an object with a .errorstring property. Handle that and the general
case of being passed a weird object more gracefully.

MozReview-Commit-ID: 8vfuNNmwjhC

--HG--
extra : rebase_source : d7dd7ed6f76353df3bc82ed5b5bbd7d29cc4828e
2017-02-27 16:56:48 +00:00
Carsten "Tomcat" Book 2b24bba0a1 Merge mozilla-central to autoland 2017-02-17 13:28:16 +01:00
Sam Giles eda63b77d4 Bug 1340429 - Bump mozprocess to 0.24; r=jgraham
MozReview-Commit-ID: G3473IJp0i2

--HG--
extra : rebase_source : c74a707cef891135da77ffb7dd2854c0159265ff
2017-02-17 05:53:06 +00:00
Wes Kocher adaec16e2b Merge m-c to inbound, a=merge
MozReview-Commit-ID: HtopB4vot9e
2017-02-16 17:23:00 -08:00
Sam Giles 8c1f7ef5cc Bug 1329528 - Reap zombie processes on Mac OS if killing the process group initially fails with EPERM; r=ahal
MozReview-Commit-ID: IKqXKIN0mXx

--HG--
extra : rebase_source : 40e012f3cbeca139e15ce23e33f4c131f1e4d6cd
2017-02-16 06:18:17 +00:00
Geoff Brown cf5c7a3dc7 Bug 1340175 - Remove WRITE_CONTACTS permission from Android mozrunner; r=sebastian 2017-02-16 15:31:22 -07:00
Dave Hunt cdfdefb10c Bug 1338531 - [mozlog] Collect tests when using pytest-xdist and send suite_start when the first test starts. r=ahal
When using pytest-xdist we need to gather the tests for each slave. Lack of a better hook means I'm then using the first test start to log the suite_start message including the collected tests.

MozReview-Commit-ID: 7l22z9RvIhx

--HG--
extra : rebase_source : c5002956ae81585b47dc19c571a57a7641d8ce9b
2017-02-13 18:46:10 +00:00
Dave Hunt 04f0d97d56 Bug 1338528 - [mozlog] Remove formatting of node ID to allow classes and reduce chance of duplicates. r=ahal
Stripping the path from the test file could cause duplicates if two files had the same name in different directories. Splitting on '::' also causes an issue when test classes are used and there are too many values to unpack.

MozReview-Commit-ID: Ex5nHl3SGaQ

--HG--
extra : rebase_source : 13198d8a886928402b6b079c441e8b1d675ebfa1
2017-02-10 18:48:22 +00:00
Dave Hunt d64e51a5f5 Bug 1340092 - [mozlog] Add metadata from pytest-metadata plugin if installed to suite_start. r=ahal
If the optional pytest-metadata plugin is installed, add the metadata as run_info when logging the suite_start to give additional context to the results.

MozReview-Commit-ID: 1MeXZTmzvyp

--HG--
extra : rebase_source : e5f9fd4fddc2bbe2cc8fbf76b4f2a5034a14e722
2017-02-16 01:54:25 +00:00
Dave Hunt d5a8749441 Bug 1338534 - [mozlog] Indicate unexpected pass with the correct status. r=ahal
Unexpected passes can cause failures in pytest when the expected failures are set to strict. When we're logging these we want to indicate that the correct outcome.

MozReview-Commit-ID: 8VoR6CTrynY

--HG--
extra : rebase_source : 0624129eab8034bb2aa6b389216f701b28bd89f9
2017-02-14 23:09:28 +00:00
Dave Hunt ff5576fdf7 Bug 1338534 - [mozlog] Improve handling of expected failures in pytest-mozlog. r=ahal
Include failure messages and stack traces even when failures are expected.

MozReview-Commit-ID: HSNYfbTEH9O

--HG--
extra : rebase_source : e9117fb75d056284a7427796db9a6ba47ce1f53f
2017-02-14 12:07:36 +00:00
Dave Hunt 34adf4a9b2 Bug 1338534 - [mozlog] Log message and stack for failures when using pytest-mozlog with pytest-xdist. r=ahal
When using pytest-xdist to run tests in parallel, failures are serialised as strings. This means we're unable to reliably extract the message and line number, so instead we log the stack and the message as the serialised string result.

MozReview-Commit-ID: 6vrEjBtkXK8

--HG--
extra : rebase_source : f337653f90cbbe6b1972b7d1e5e1a222c0a4604f
2017-02-14 12:13:11 +00:00
Andrew Halberstadt 053dcfabfe Bug 1003417 - Use 'ip addr show' instead of 'ifconfig' for moznetwork tests, r=ted
The taskcluster docker image for source-check tasks does not have 'ifconfig' installed. We
could add this package, but ifconfig is more or less deprecated in favour of 'ip addr show'.
Although the formats of both commands are different, because the test pulls ip addresses out
of the output with regexes, the only change that is needed to make sure the tests still pass
is to change the command.

MozReview-Commit-ID: 758Qb6KSHzS

--HG--
extra : rebase_source : 7ff59a448bfac6414a88adfac361463157ec5275
2017-01-06 11:19:19 -05: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
Geoff Brown eba0707fb7 Bug 1335944 - Delay devicemanagerADB sdk check until connect() time; r=bc 2017-02-02 09:29:08 -07:00
Jim Chen e6583a6227 Bug 1335127 - Fall back to stub IO counters when psutil fails; r=gps
The fallback at [1], when psutil.disk_io_counters() fails, returns a
simple list but callers to get_disk_io_counters() expect an object with
specific properties. Returning a stub object from PsutilStub fixes that.

[1] https://dxr.mozilla.org/mozilla-central/rev/1d025ac534a6333a8170a59a95a8a3673d4028ee/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py#67
2017-02-01 17:26:51 -05:00
Bob Clary afd633fd4a Bug 1334613 - [mozdevice] - use root to kill processes on Android 7+, r=gbrown. 2017-01-30 16:09:14 -08:00
Florian Quèze bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Andrew Halberstadt 3c4766fcab Bug 1334488 - [manifestparser] Improve error message when using an invalid comment character at the start of a manifest, r=jmaher
This refactors some of the error logic into a new IniParseError exception. In addition to checking for a 'name' property, we also
check for a 'path' property. This is because some file-like objects coming out of the build system use a 'path' attribute instead
of the standard 'name'.

MozReview-Commit-ID: EXXl9gt1MQk

--HG--
extra : rebase_source : a130824e6724fdef5cf0bd627b19db68ec5fe683
2017-01-27 10:28:58 -05:00
Andrew Halberstadt 425c00ead0 Bug 1333564 - [manifestparser] Include manifest path when raising exceptions from the ini parser, r=jmaher
MozReview-Commit-ID: 3Ns9PxVnvy5

--HG--
extra : rebase_source : 24a07462052aba712e8a2b8b1fe78ade3b1f0c5e
2017-01-25 15:51:06 -05:00
Andrew Halberstadt 44a16cbe8a Bug 1333564 - [manifestparser] Add support for inline comments, r=jmaher
Previously manifestparser only supported inline comments on conditional keys, such as
skip-if, fails-if, subsuite-if, etc. But on any other key name, inline comments weren't
supported. This was a bad situation because people saw these skip-if comments, and
naturally assumed inline comments worked everywhere. Then they were surprised when things
broke in mysterious ways.

This patch removes the special-casing for skip-if and friends and allows inline comments
everywhere. A caveat to this, is that ' #' is no longer a valid substring in a value.

MozReview-Commit-ID: Hr0BIwzTgaJ

--HG--
extra : rebase_source : f9a042da2137f200434140a7e472df0799f6606d
2017-01-25 12:21:31 -05:00
Andrew Halberstadt 30e80e125a Bug 1333564 - [manifestparser] Stop supporting ';' as a valid comment character, r=jmaher
It turns out there are shockingly few cases of manifestparser manifests that actually use the ';'
character as a comment. Because we will soon allow inline comments, deprecating the use of ';' will
ensure that values are allowed to have semicolons in them.

Even without inline comments, might as well enforce consistency across manifests.

MozReview-Commit-ID: AEPPQFdNXG0

--HG--
extra : rebase_source : 3540fa385f328bffb020c0a6debc4d2b3a90ed39
2017-01-25 14:38:37 -05:00
Andrew Halberstadt 676b6a3311 Bug 1333564 - [manifestparser] Allow multi-character comment tokens, r=jmaher
MozReview-Commit-ID: 8RDgAkBVmcK

--HG--
extra : rebase_source : 1b061d9f1511c7265d1d7e2481ed1d192609d652
2017-01-25 09:41:10 -05:00
Andrew Halberstadt 413aef1a2c Backed out changeset d0f48f9edd42 because manifestparser doesn't support inline comments
MozReview-Commit-ID: 9Cz5EybG7xA

--HG--
extra : rebase_source : 651b9f65cb4b556e050da2da209904a77ba65693
2017-01-24 16:30:10 -05:00
Geoff Brown 8055af8e8e Bug 1333506 - Allow trailing comment after subsuite in test manifest; r=jmaher 2017-01-24 13:32:21 -07:00
Brad Lassey bbb965d132 bug 1295699 - TypeError: environment can only contain strings, convert environment from unicode before passing to popen r=gps 2017-01-23 18:53:58 -05:00
Carsten "Tomcat" Book e992f5d4fe Backed out changeset 35ee729f6f1e (bug 1295699) for flake8 test failure 2017-01-23 15:09:57 +01:00
Brad Lassey 5da33996e2 bug 1295699 - TypeError: environment can only contain strings, convert environment from unicode before passing to popen r=gps 2017-01-19 11:41:23 -05:00
Bob Clary 2d71f27173 Bug 1328301 - handle push/pull directory semantics changes in adb 1.0.36 for devicemanagerADB, r=gbrown 2017-01-21 09:49:56 -08:00
Bob Clary 88345f4996 Bug 1328301 - handle push/pull directory semantics changes in adb 1.0.36 for adb.py, r=gbrown. 2017-01-21 09:49:56 -08:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
John Paul Adrian Glaubitz c17700bc07 Bug 1326496 - testing:mozbase: Use find_library to get libc filename. r=ahal
On architectures like alpha and ia64, the glibc does not use the
canonical ABI version number 6 but 6.1 and therefore the filename
of the C library is not libc.so.6 but libc.so.6.1. We're therefore
making the Python code more flexible and use find_library from
ctypes.util to determine the filename from the environment instead
of hard-coding it.

--HG--
extra : rebase_source : 64676648cec9975045a6dfeae1cfc9213226e242
2016-12-30 14:35:55 +01:00
James Graham 5f011d137e Bug 1328823 - Bump mozprocess version number to 0.24 for release, r=ahal
MozReview-Commit-ID: 251xwdA7rxc

--HG--
extra : rebase_source : 2662ed18044da7173eaaeca941c0e72b3f9ba089
2017-01-06 15:39:55 +00:00
Joel Maher f1fecc26b0 Bug 1326465 - add BUG_COMPONENTS to testing/. r=gbrown,ted
ensuring moz.build files have BUG_COMPONENTS for all files
in the testing/ subdirectory is a win.  There are a lot of
older files and some files used in many harnesses.  If the
files are primarily used for mochitest, they are associated
with the testing::mochitest component, otherwise I chose
the testing::general component.

There is an exception web-platform-tests, these have many
test files that need to be matched to proper components.

MozReview-Commit-ID: IIv9W2kEqeN
2016-12-30 16:16:56 -05:00
Henrik Skupin 3b00d747cb Bug 1323770 - Moztest should forward correct test result. r=ahal
Registered callback handlers for tests should receive the correct
test status when the test has been finished, and not always "Error".

This change allows those callbacks to run specific code for individual
test results, eg. only do screenshots for failures.

MozReview-Commit-ID: FfbCRR0Jvjb

--HG--
extra : rebase_source : c73253acbb666ca62b23f806145c20f0a70c934c
2016-12-21 11:19:36 +01:00
Wes Kocher 4bed5ca05c Backed out 4 changesets (bug 1323770) for marionette bustage a=backout
Backed out changeset bb8ccabdbe27 (bug 1323770)
Backed out changeset f1fbf0853e4f (bug 1323770)
Backed out changeset d0e5cb3af786 (bug 1323770)
Backed out changeset 71e82343afb9 (bug 1323770)
2016-12-28 14:09:26 -08:00
Henrik Skupin 058d435289 Bug 1323770 - Moztest should forward correct test result. r=ahal
Registered callback handlers for tests should receive the correct
test status when the test has been finished, and not always "Error".

This change allows those callbacks to run specific code for individual
test results, eg. only do screenshots for failures.

MozReview-Commit-ID: FfbCRR0Jvjb

--HG--
extra : rebase_source : 98c69eea450f35312fd43bb7237a9d00e90636c4
2016-12-21 11:19:36 +01:00
Andrew Halberstadt 148b884e2c Bug 1325148 - Use "error" level in mozleak when logging leak failures, r=jgraham
This fixes a regression when switching to the StructuredOutputParser in mozharness.
Previously, mozleak was relying on the string "TEST-UNEXPECTED-FAIL" to turn the jobs
orange, but it was doing so at the "warning" level. The StructuredOutputParser requires
the "error" level to set the appropriate tbpl_status.

MozReview-Commit-ID: 9u9mwqrkA6E

--HG--
extra : rebase_source : d31ece08232a87713702e713076071fa10fb8324
2016-12-21 14:02:04 -05:00
Sebastian Hengst fedd79ebdb Backed out changeset ee7a21566602 (bug 1325148) for leaks in M(c3) and M-e10s(dt5) on Linux x64 asan. r=backout 2016-12-27 15:15:17 +01:00
Andrew Halberstadt 88fcee124a Bug 1325148 - Use "error" level in mozleak when logging leak failures, r=jgraham
This fixes a regression when switching to the StructuredOutputParser in mozharness.
Previously, mozleak was relying on the string "TEST-UNEXPECTED-FAIL" to turn the jobs
orange, but it was doing so at the "warning" level. The StructuredOutputParser requires
the "error" level to set the appropriate tbpl_status.

MozReview-Commit-ID: 9u9mwqrkA6E

--HG--
extra : rebase_source : 4d975e481c8257b178a145497bc53eabc28ed182
2016-12-21 14:02:04 -05:00
Geoff Brown 1e2847e98f Bug 1319196 - Increase timeout for 'adb shell dumpsys'; r=jmaher 2016-12-13 11:28:04 -07:00
James Graham d8c76e7543 Bug 1321127 - Add a assertion_count action to mozlog, r=ahal
This is intended as a structured replacement for the assertion checks
that previously used unstructured logs. It adds a log action
assertion_count, which takes the actual number of assertions observed
during a test, the minimum expeced number and the maximum expected
number. It also updates the reftest harness to use this logging.

MozReview-Commit-ID: JgjLlaYuvSG
2016-12-08 09:53:21 -10:00
Andreas Tolfsen c67b15da93 Bug 1320643 - Remove Device.setup_port_forward from mozrunner; r=jmaher,whimboo
The only consumer of `mozrunner.devices.base.Device.setup_port_forward`
was Marionette, which now uses `mozdevice.DeviceManagerADB.forward`
directly.

MozReview-Commit-ID: 72ROrOixKvM

--HG--
extra : rebase_source : f998e6c37161f851da450bd98ee27ba04a50f16f
2016-12-02 19:49:37 +00:00
Julian Seward 9c349f1195 Bug 1248365 - Make Valgrind Mochitests run greener on Taskcluster. r=n.nethercote.
--HG--
extra : rebase_source : d1c3a1fb594e73cb5978e81636a9b3ed3dd341aa
2016-11-28 15:46:43 +01:00
Kris Maglione 1390ab41bf Bug 994255: Add included and parent test manifest files to backend inputs list. r=gps
MozReview-Commit-ID: EvMt0ojZGFr

--HG--
extra : rebase_source : ccdf62dde1d315495e7effbdd824c2a2c14099f2
2016-11-18 14:52:54 -08:00
Carsten "Tomcat" Book 8b27dda5d1 merge mozilla-inbound to mozilla-central a=merge 2016-11-22 15:53:05 +01:00
Ehsan Akhgari 6b394f0382 Bug 1318879 - Remove the app related code from mozprofile; r=ahal 2016-11-21 18:56:08 -05:00
Wes Kocher efeab1563a Backed out changeset 0cafbf944d89 (bug 1318879) for robocop failures a=backout 2016-11-21 13:01:21 -08:00
Ehsan Akhgari 012349bc0f Bug 1318879 - Remove the app related code from mozprofile; r=ahal 2016-11-21 14:59:05 -05:00
Andrew Halberstadt 6adcf5b456 Bug 1317970 - Use manifestparser manifests for python unit tests, r=chmanchester
This deprecates PYTHON_UNIT_TESTS and replaces it with PYTHON_UNITTEST_MANIFESTS.
In the build system, this means python unittests will be treated the same as all
other test suites that use manifestparser. New manifests called 'python.ini' have
been created for all test directories containing python unittests.

MozReview-Commit-ID: IBHG7Thif2D

--HG--
extra : rebase_source : 11a92a2bc544d067946bbd774975140147458caa
2016-11-16 09:59:22 -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
Andrew Halberstadt f395e4d6dd Bug 1317970 - Move mozsystemmonitor tests to a consistent directory structure, r=chmanchester
The mozsystemmonitor test is under mozsystemmonitor/mozsystemmonitor/test instead of
mozsystemmonitor/tests like all the other mozbase modules.

MozReview-Commit-ID: AIs5mza8Rn6

--HG--
rename : testing/mozbase/mozsystemmonitor/mozsystemmonitor/test/test_resource_monitor.py => testing/mozbase/mozsystemmonitor/tests/test_resource_monitor.py
extra : rebase_source : dde714fb9212f19d1f8ba566f574bd7e9d7c4030
2016-11-17 16:36:13 -05:00
Sebastian Hengst 53e819cf3c Backed out changeset de975fd9cbf6 (bug 1318879) for mass mochitest failures. r=backout on a CLOSED TREE 2016-11-21 17:32:30 +01:00
Ehsan Akhgari 1f07859636 Bug 1318879 - Remove the app related code from mozprofile; r=ahal 2016-11-21 09:55:25 -05:00
Bob Clary b43b4345da Bug 1318001 - Autophone - mozdevice - adb*.py - properly split lines from shell output, r=gbrown. 2016-11-17 09:21:06 -08:00
Bob Clary 2c776a4858 Bug 1245347 - [Autophone|mozdevice] - increase mozdevice version to 0.49, r=wlach. 2016-11-17 09:21:06 -08:00
Bob Clary 18f2b61b73 Bug 1245347 - [Autophone|mozdevice] - is_device_ready should not require root to check the ready_path, r=wlach. 2016-11-17 09:21:06 -08:00
Bob Clary 87156f5bf5 Bug 1245347 - [Autophone|mozdevice] - catch initial ADBRootError during initialization if root is not supported, r=wlach. 2016-11-17 09:21:06 -08:00
Andrew Halberstadt ffb7cb0b99 Bug 1309060 - Ignore "No such process" when trying to find pgid in mozprocess, r=gps
For some reason calling os.getpgid(proc.pid) in this bug results in an OSError "No such process"
on OSX. This bug is starting the ProcessHandler from a concurrent.futures Thread, that must be
somehow related.

I tried debugging this, but couldn't figure out why this is happening. However, the pgid is not
needed for this use case, and simply ignoring the error works. We also ignore this very same
exception when calling os.getpgid elsewhere in mozprocess, so there must be some weird OSXism
happening.

MozReview-Commit-ID: 2YXhBaORC5s

--HG--
extra : rebase_source : 120e4bff7ef29d2a0ad1e3bdd2df11b8b682d981
2016-11-03 10:24:11 -04:00
Henrik Skupin 89b4515176 Bug 1299216 - Bump mozrunner version to 6.13. r=ahal
MozReview-Commit-ID: 2hCytAyqfsp

--HG--
extra : rebase_source : 8b9b647fcf305aa47521073947ef446ba4cb7b5a
2016-09-28 23:29:40 +02:00
Henrik Skupin c2cf729145 Bug 1299216 - [mozrunner] check_for_crashes() has to return the crash count since its last invocation. r=ahal
Adapt check_for_crashes() for latest mozcrash changes, which returns the number of crashes for both log_crashes()
and check_for_crashes() now. Also the runner should accumulate the number of crashes so it will be known at any
time how many times the process has been crashed.

MozReview-Commit-ID: Dl9FlH1TalH

--HG--
extra : rebase_source : b27895482fcad099cf4fcfc01a65fe0fbc5243e3
2016-09-21 12:57:50 +02:00
Henrik Skupin 659bb474d2 Bug 1299216 - [mozcrash] Count crash reports in check_for_crashes and bump version to 1.0. r=ahal
Currently check_for_crashes() behaves differently compared to log_crashes(), whereby it only returns a
boolean if a crash has been detected but not the amount of crash reports found. We should make sure that
both methods behave the same. Given that this change might affect consumers, we should have a major version
bump for the new release.

MozReview-Commit-ID: LiPaozJL5NF

--HG--
extra : rebase_source : d4392207399a1383a20e037bcf73f44bf3c36c7d
2016-09-28 23:26:19 +02:00
Chris Manchester 4aaad1ce55 Bug 1313716 - Don't provide a blank subsuite as a default in the manifestparser. r=ahal
This causes consumers managing defaults themselves to fail to find a default
subsuite for tests, because the manifestparser will have provided a blank
default value by the time they incorporate defaults into a test definition.
This patch removes the provided defaults and updates a number of places assuming
the 'subsuite' field is always present.

MozReview-Commit-ID: 1jPy52VmEPr
2016-10-31 10:04:42 -07:00
Kris Maglione 3a59c31923 Backed out changeset 425c0602ccb4 (bug 1313716) for breaking mach mochitest. r=backout
MozReview-Commit-ID: pTW1acQYLV
2016-10-30 19:17:13 -07:00
Ryan VanderMeulen a41f7d1058 Merge autoland to m-c. a=merge 2016-10-29 09:12:45 -04:00
Randell Jesup 35232de3ba Bug 1311397: fix DataChannel logging for mochitests/etc r=erahm 2016-10-28 03:25:10 -04:00
Geoff Brown 094fe98143 Bug 1309436 - Add test name to java-exception failure messages; r=ted 2016-10-26 11:31:41 -06:00
Chris Manchester 2de89e603a Bug 1313716 - Don't provide a blank subsuite as a default in the manifestparser. r=ahal
This causes consumers managing defaults themselves to fail to find a default
subsuite for tests, because the manifestparser will have provided a blank
default value by the time they incorporate defaults into a test definition.
This patch removes the provided defaults and updates a number of places assuming
the 'subsuite' field is always present.

MozReview-Commit-ID: 1jPy52VmEPr

--HG--
extra : rebase_source : be7a2504af6853abb1bc532a058738f33d8dcbee
2016-10-28 11:07:21 -07:00
Chris Manchester 8792602f28 Bug 1312520 - Extract the logic for combining defaults and individual section defnitions in the manifestparser to a standalone function. r=ahal
MozReview-Commit-ID: CQNFboRhsOs
2016-10-25 12:23:39 -07:00
Chris Manchester 47d22a4d61 Bug 1312520 - Add an option to the manifestparser to prevent defaults from propagating to individual section definitions. r=ahal
Consumers will be expected to process defaults themselves through the
"manifest_defaults" member variable instead.

MozReview-Commit-ID: IGnOj3zEJfE
2016-10-25 12:23:39 -07:00
Geoff Brown 08bbef87dc Bug 1311412 - Try restarting emulator without -gpu if first attempt fails; r=jmaher 2016-10-25 08:53:34 -06:00
Geoff Brown 3bab85a102 Bug 1311528 - Do not report java-exception on "FATAL EXCEPTION"; r=jmaher 2016-10-25 08:53:31 -06:00
Bob Clary 7d8ea8a26f Bug 1306703 - Autophone - mozdevice - combine stdout, stderr, r=droeh,gbrown 2016-10-24 11:09:57 -07:00
Bob Clary 6c9a138775 Bug 1306703 - Autophone - mozdevice - minimal Android 7 support in adb*.py, r=droeh 2016-10-24 11:09:57 -07:00
Gregory Szorc dc86faefcd Backed out changeset 361ac37d15d6 (bug 1311580) for breaking WPT's rather narrow expectations
On a CLOSED TREE.

--HG--
extra : amend_source : 6492a41c5c66da4ea0f5e8f260227dd05f681a61
2016-10-21 16:28:29 -07:00
Ted Mielczarek d0f81be1fb bug 1311580 - Fix mozinfo os_version / linux_distro on Linux. r=jmaher
MozReview-Commit-ID: FD9fzKg6Ei4

--HG--
extra : rebase_source : f2e0dcc74cc997e14a07546f215cd3e9a123855b
2016-10-19 21:04:21 -04:00
Bob Clary 05fec78423 Bug 1310937 - Autophone - mozdevice - sync Bug 1300890 - Autophone - pylint fixes and logging clean up, r=jmaher. 2016-10-19 06:06:55 -07:00
Bob Clary b585826937 Bug 1310937 - Autophone - mozdevice - sync Bug 1249120 - Autophone - use unrolled recursive chmod when -R not supported, r=gbrown. 2016-10-19 06:06:55 -07:00
Bob Clary e42a131006 Bug 1310937 - Autophone - mozdevice - sync Bug 1249120 - Autophone - adb.py - add ADBDevice.ls, r=gbrown. 2016-10-19 06:06:55 -07:00
Bob Clary f1e8ddaf2b Bug 1310937 - Autophone - mozdevice - sync Bug 1242070 - Autophone - adb.py - use native recursion with chmod when supported by the device, r=gbrown. 2016-10-19 06:06:54 -07:00
Bob Clary e03d68e716 Bug 1310937 - Autophone - mozdevice - sync Bug 1241267 - Autophone - adb_android.py - use install -g on Marshmallow to grant permissions at install time, r=gbrown. 2016-10-19 06:06:54 -07:00
Bob Clary cf3db8494d Bug 1310937 - Autophone - mozdevice - sync Bug 1238450 - Autophone - adb.py - use ifconfig interface or netcfg to obtain ip address, r=gbrown 2016-10-19 06:06:54 -07:00
David Anderson 6fb56533fa Add GPU process type to leaklog.py. (bug 1310110, r=mccr8) 2016-10-14 23:27:14 -07:00
Kartikaya Gupta f6d49dac63 Bug 1310215 - Add a verbose argument to mach install which provides useful information in case the android emulator startup fails. r=ahal
MozReview-Commit-ID: EhuBgeewqtb
2016-10-14 11:15:10 -04: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
Geoff Brown 59d81d8be3 Bug 1306490 - Use '-gpu swiftshader' when starting android emulator from mach; r=jmaher 2016-10-11 13:48:37 -06:00
Wes Kocher e1ade7ef8a Backed out 8 changesets (bug 1286900) for win7vm wpt timeouts a=backout
Backed out changeset 3fff88de2f2d (bug 1286900)
Backed out changeset 748abfe6748e (bug 1286900)
Backed out changeset b4844ee1e542 (bug 1286900)
Backed out changeset bde587e47d00 (bug 1286900)
Backed out changeset a1311218621b (bug 1286900)
Backed out changeset 2de97e3cfcb3 (bug 1286900)
Backed out changeset 43df1e962f8e (bug 1286900)
Backed out changeset 6ed46e8ac86c (bug 1286900)
2016-10-04 17:17:07 -07:00
Gregory Szorc a358731e48 Bug 1286900 - Add environment variable to define location of mozinfo.json; r=ted
As part of converting WPT to run from a source checkout in automation,
I ran into problems where mozinfo.json wasn't being loaded, causing
several tests to fail. This is because mozinfo.json is only found
from a source directory or from a parent of the WPT meta directory.

Before, mozinfo.json was provided by the "common" tests zip file
and extracted to the base of the destination directory. WPT files
were extracted to a "web-platform" sub-directory. So mozinfo.json
was in a parent directory of "web-platform/meta" and was loaded
automatically.

Now that we want to run WPT out of the source directory, there is
no mozinfo.json and the source directory and no mozinfo.json can be
loaded.

This commit teaches mozinfo.json to look in a MOZINFO_PATH environment
variable for the path to mozinfo.json. This allows mozinfo.json
to exist anywhere on the filesystem. This provides a lot more
flexibility for loading the file.

MozReview-Commit-ID: 1I1cxS1IeyY

--HG--
extra : rebase_source : b06de2b53d3fb26df2c7b1c6d034644c20e47577
2016-09-26 15:51:32 -07:00
James Graham 2cbfbc0ec6 Bug 1265582 - Fix reftest structured logs to match wpt, r=ahal
This allows the logs to work with the structured reftest viewer.

MozReview-Commit-ID: CY71vSdDjLP

--HG--
extra : rebase_source : 6b83d98aff1c5e73ac0a802b5a83b8be95adf59a
2016-09-27 22:54:50 +01:00
Phil Ringnalda 3e7326c4fd Backed out 6 changesets (bug 1286900) for making wpt-7 permanently fail on Windows debug
CLOSED TREE

Backed out changeset 859457467e3c (bug 1286900)
Backed out changeset 4b08ed30e0a5 (bug 1286900)
Backed out changeset 3928e945b584 (bug 1286900)
Backed out changeset 5b0f69c86028 (bug 1286900)
Backed out changeset 01c3527edde5 (bug 1286900)
Backed out changeset 6b5f059a85ad (bug 1286900)
2016-09-27 18:24:38 -07:00
Gregory Szorc d51263ff47 Bug 1286900 - Add environment variable to define location of mozinfo.json; r=ted
As part of converting WPT to run from a source checkout in automation,
I ran into problems where mozinfo.json wasn't being loaded, causing
several tests to fail. This is because mozinfo.json is only found
from a source directory or from a parent of the WPT meta directory.

Before, mozinfo.json was provided by the "common" tests zip file
and extracted to the base of the destination directory. WPT files
were extracted to a "web-platform" sub-directory. So mozinfo.json
was in a parent directory of "web-platform/meta" and was loaded
automatically.

Now that we want to run WPT out of the source directory, there is
no mozinfo.json and the source directory and no mozinfo.json can be
loaded.

This commit teaches mozinfo.json to look in a MOZINFO_PATH environment
variable for the path to mozinfo.json. This allows mozinfo.json
to exist anywhere on the filesystem. This provides a lot more
flexibility for loading the file.

MozReview-Commit-ID: 1I1cxS1IeyY

--HG--
extra : rebase_source : 6fb60257b6a20f6bd79461f1bf1f4f5be1f28072
2016-09-26 15:51:32 -07:00
James Graham bba975bca2 Bug 1302796 - Add integration between structured logging and lints, r=ahal
MozReview-Commit-ID: K3tu0Zdg5go

--HG--
extra : rebase_source : 2b78059908c3a297b8ce7d134af20733fc082df5
2016-09-13 14:18:41 +01:00
Anjana Vakil 4168a526cd Bug 1285299 - Add pytest_mozlog plugin to mozlog; r=jgraham
Add the `pytest_mozlog` module (from https://github.com/davehunt/pytest-mozlog)
to mozbase/mozlog/mozlog, so that we can use it in the logging of the
Marionette harness tests.

Add an entry point for the plugin to mozlog/setup.py so that
when mozlog is installed, pytest will register the pytest_mozlog
plugin.py module as the plugin 'mozlog'.


Make the following modifications to pytest_mozlog/plugin.py:

- Disable stdout logging by default in pytest-mozlog

  In the pytest-mozlog plugin, disable logging to stdout by
  default when setting up the mozlog logger, so that the
  default output seen when using the plugin is just the
  Pytest terminal output. The user can specify a mozlog
  logger to write to stdout by using the '--log-* -' option,
  in which case both Pytest and pytest-mozlog will log to stdout.

- Record error msg and lineno in pytest-mozlog logs

  Extract the error message and line number for tests with failures/
  errors from the Pytest test report, and pass these to the Mozlog
  logs output by the pytest-mozlog plugin. For skipped tests,
  pass the skip reason, and for unexpected passes allow Mozlog to
  report its default message "expected FAIL".

- Report collected item count in pytest-mozlog

  Add/modify Pytest hooks in the pytest-mozlog plugin so that the
  suite_start event sent to the logger contains the correct list
  of tests to be run, i.e. items collected by Pytest, instead
  of an empty list. This allows mozlog to log the correct number
  of tests to be run.

- Log skipped/xfailed tests with corresponding status (not 'PASS')

  Log skipped tests with status 'SKIP' and expected failures
  that do indeed fail with status 'FAIL'/expected 'FAIL'
  so that these can be distinguished from true passing tests.

- Pass parsed arguments directly to mozlog.commandline.setup_logging

  Pass the entire Pytest config's argument namespace to `setup_logging`
  instead of copying over only the non-None formatters/formatter option
  arguments. Use the new `allow_unused_options` parameter to stop
  Mozlog from raising an error about options for unused formatters.

MozReview-Commit-ID: 4WpprytS5cI

--HG--
extra : rebase_source : 409de7a89e860471870e3adfd7634bc06f6e1873
2016-09-08 11:43:11 +02:00
Anjana Vakil 3e7feb1ea6 Bug 1285299 - Optionally ignore unused Mozlog formatter options; r=jgraham
Add a parameter `allow_unused_options` to the `setup_logging` and
`setup_handlers` methods in mozlog.commandline. When this parameter
is True, do not raise a ValueError in `setup_handlers` if the
command line arguments include formatter options for unused formatters.
(Default value is False.)

This allows parsed arguments from e.g. the pytest-mozlog plugin
to be passed directly to `setup_logging`, without filtering out
unused formatter options.

MozReview-Commit-ID: 8el0oaT4y1X

--HG--
extra : rebase_source : 0e969a783b1754885e6c25d35c552134773f1b5e
2016-09-07 20:55:21 +02:00
Andrew Halberstadt 0d41359cf5 Bug 1300163 - Add a --adbpath argument to mochitest Android to allow explicitly setting the adb binary, r=gbrown
In mozdevice, it's possible to pass in the path to the adb binary (rather than requiring it to be on the path). The
mochitest android options don't provide any means to set this however (even though the b2g options do). This patch
adds that option in.

This will be used by the mach environment on interactive loaners.

MozReview-Commit-ID: 4lsKGpizfH7

--HG--
extra : rebase_source : 07ad43c8fff3eb83a1eaab9ad0532cd85c4532c7
2016-09-02 14:26:16 -04:00
Maja Frydrychowicz eba70f25fe Bug 1284874 - Represent am command as one string in FennecRunner; r=ahal
When running the command for starting Fennec, quotation marks aren't
processed properly when the 'am' portion of the command is represented
with one string token per argument; the args must be joined into one string
instead.

Also add log message about command being run in BaseRunner.

MozReview-Commit-ID: KZLnOdu9UGq

--HG--
extra : rebase_source : c8072c003afec3aba18f307b8cc64332736e55fc
2016-07-25 20:40:36 -04:00
Geoff Brown 7f2f8dacb4 Bug 1294878 - Support 'mach android-emulator --version 6.0'; r=jmaher 2016-08-23 09:02:35 -06:00
Andrew Halberstadt c5c5ece520 Bug 1296735 - [manifestparser] pathprefix filter should use absolute paths if the filter is also absolute, r=jmaher
This fixes an error when attempting to run xpcshell-test with a test path from an interactive loaner.

MozReview-Commit-ID: 20kg5zKplhT

--HG--
extra : rebase_source : cda8e17dd6ad7b606711630e90df8d5e65c8bda3
2016-08-22 13:31:56 -04:00
Towkir Ahmed 63867da04a Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske
a=release to get around a hook that's catching these comment-only idl changes

--HG--
extra : rebase_source : a7353680777fd2eeea24c9993f9937bbbcfb9e4f
2016-08-15 17:28:05 -07:00
James Graham 8bdb6331c6 Bug 1293250 - Make reftest log generation less magical, r=ahal
Ensure that the first line of the log for failing tests is identical to
one that would be produced by the tbplformatter from mozlog. This means
that treeherder will be able to sucessfully cross-match error lines.

Also make the data structures used for storing screenshots identical
between reftests and web-platform-tests so that we can start to move
toward removing the reftest-specific codepath here.

MozReview-Commit-ID: FZQXLjj9Ejv

--HG--
extra : rebase_source : 3e9bf70ff7915817b8c02032c8da0d0a659e4661
2016-08-08 17:48:39 +01:00
Andrew Halberstadt 16c7acfe05 Bug 1292660 - Fix |mach mochitest| kwargs['app'] is None error on android, r=gbrown
This fixes a regression from bug 1288827. It happened because I moved the logic that finds
the application path a little later on in the test harness. But there was an instance where
it was being used in the android mach command before that point.

As it turned out, we don't really *need* that value there. This patch grabs the same value
from build_obj.substs which is already an argument to the function.

MozReview-Commit-ID: 3IsI4VzEIIF

--HG--
extra : rebase_source : ceb718b265c7886b831e0378436baebf2b4e7598
2016-08-05 16:40:08 -04:00
Geoff Brown b43e83e646 Bug 1289226 - Update Android 4.3 and x86 AVDs for sdk 24+ emulator compat; r=jmaher 2016-08-04 07:14:24 -06:00
Andrew McCreight bbdc92f231 Bug 1195777 - When LSan detects leaks, tell the user about the report_objects option. r=chmanchester
MozReview-Commit-ID: KWNye8GdEKv
2016-07-29 16:08:06 -07:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Rob Thijssen 18da8e2f82 Bug 1287496 - Increment sleep timespan by (attempts * delay) seconds. r=ted
MozReview-Commit-ID: Gx9fxp3xfZA

--HG--
extra : rebase_source : b2bbfb62a257a7d538b19ed522e24378fda2098d
2016-07-18 18:12:01 +01:00
Jeremy Chen 77cad258aa Bug 1287480 - Release mozlog 3.3. r=jmaher
MozReview-Commit-ID: D6UsFueHmPB

--HG--
extra : rebase_source : 8a667495b5efbe9849e8b64dccc3ac76fa257954
2016-07-19 09:50:09 +08:00
Henrik Skupin 3caa86c072 Bug 1255986 - [moztest] Safe-guard structured logging for exceptions from bad handlers. r=jgraham
Any exception which gets thrown by a log handler while test results are getting generated, should
not cause test harnesses to stop immediately. To achive that the exception details are written to
stderr and not propagated up the stack.

MozReview-Commit-ID: ChyYxApYSGx

--HG--
extra : rebase_source : 9fc3fe597061bedb1df2f5b8de1daa4bd127ea1e
2016-06-03 22:20:59 +02:00
Jeremy Chen f0831c1624 Bug 1287019 - part2: prevent saving redundant screenshots in mozlog's HTML format result. r=jmaher
There are two identical pairs of screenshots (test/reference pair) which are
png/base64 raw files generated from mozlog's HTML formatter. One pair is stored
in the img element to present the visual result; the other pair is stored as a
hyperlink source in the visual result's title.

After part1 patch, we may have one more pair. It appears that the hyperlinks of
the visual result's titles could be eliminated since they are visually closed to
the visual results, and clicking the visual results provides the exact same
function.

DONTBUILD (NPOTB)

MozReview-Commit-ID: 4CLfYXX8g69

--HG--
extra : rebase_source : d4d3b4e08b66e737d75a2ca21b6e84b344a29fc8
2016-07-18 13:53:58 +08:00
Jeremy Chen 824b568df5 Bug 1287019 - part1: make mozlog's HTML format support wptrunner screenshot. r=jmaher
Current mozlog (v3.2) doesn't support screenshot logs exported from wptrunner.
Add this support so we could run css test with --log-html to see more detail
information, such as screenshots of test/reference pages.

DONTBUILD (NPOTB)

MozReview-Commit-ID: AUJwYfvNfda

--HG--
extra : rebase_source : 1d3d1fcdc396638d256336d3dfaf5ba5bad35168
2016-07-18 13:53:58 +08:00
Geoff Brown 058d5be563 Bug 1285663 - Optimize profile pushes and do not chmod files on /sdcard; r=bc 2016-07-14 10:36:31 -06:00
Geoff Brown 6c9e1864c5 Bug 1285675 - Grant READ_EXTERNAL_STORAGE to fennec during tests; r=me 2016-07-08 17:02:51 -06:00
Geoff Brown 94e2b5ece5 Bug 1285040 - Adapt device manager pushDir to latest adb; r=bc 2016-07-08 09:20:03 -06:00
Henrik Skupin 4a66067bde Bug 1176758 - Release mozprocess 0.23 and mozrunner 6.12. r=ahal
MozReview-Commit-ID: JeQhPhZHbUX

--HG--
extra : rebase_source : 729a8393b18ce7b75d3e615d5010cd32744cc16f
2016-06-30 16:45:21 +02:00
Henrik Skupin c0ae4f73e9 Bug 1176758 - Allow mozprocess to detect and kill detached child processes. r=ahal
MozReview-Commit-ID: B9yfLYUZw76

--HG--
extra : rebase_source : dcf4d1a7b58b2045cf058247f3d6ffc753b398b1
2016-06-30 16:44:56 +02:00
Maja Frydrychowicz bc77cad106 Bug 787203 - [mozdevice] Add remove_forward method to DeviceManagerADB; r=ahal
For adb forward --remove|remove-all

MozReview-Commit-ID: FrfFOCSQl6q

--HG--
extra : rebase_source : c3a9bd1224b5defa2bd50404a2e7eecf78997873
2016-06-28 23:41:30 -04:00
Maja Frydrychowicz e3d59c813d Bug 787203 - [mozrunner] Pass application arguments to FennecRunner; r=ahal
MozReview-Commit-ID: KGPOL2P94ED

--HG--
extra : rebase_source : 9d7aaf4fd3f67429d54b664e5243026790a7cf2c
2016-06-30 17:20:54 -04:00
Maja Frydrychowicz f5a12ff0d3 Bug 787203 - [mozrunner] Expose a start_logcat method in Device; r=ahal
This is a refactor. |start_logcat| allows filtering by tag and is used for
recording gecko.log for Marionette tests on Fennec.

MozReview-Commit-ID: 9NO6jQDMQ9E

--HG--
extra : rebase_source : e4f60b5d1c9c4ed6bb6dd237d9c1433b5f04a8d6
2016-06-30 17:41:17 -04:00
Maja Frydrychowicz 1b153a70e1 Bug 787203 - [mozrunner] Update `disconnected` when cleaning up after emulator shutdown; r=ahal
Allows Marionette client's FennecInstance to clean up properly

MozReview-Commit-ID: BWuNh5cq3ZD

--HG--
extra : rebase_source : d270b2a7e503658f69b2e5ce3a972d8cc9f1b13d
2016-06-29 00:44:34 -04:00
Geoff Brown f437f61b75 Bug 1283584 - Disable android emulator authentication; r=jmaher 2016-07-04 08:06:55 -06:00
Eric Rahm 75eb6669f0 Bug 1282184 - Use lldb from Xcode install rather than system install if possible. r=ted
This works around issues with System Integrity Protection kicking in on OSX when
trying to run /usr/bin/lldb by attempting to using the version installed with
XCode's command line utilities.

In particular SIP prevents us from setting DYLD_LIBRARY_PATH which is needed
to run DMD.
2016-06-28 11:50:16 -07:00
Maja Frydrychowicz a2e846edaf Bug 1278590 - Create a FennecRunner; r=ahal,gbrown
Add FennecEmulatorRunner (for convenience), FennecRunner, FennecContext
and EmulatorAVD.

Common behaviour is defined in BaseEmulator and RemoteContext to distinguish
from B2G and Fennec specifics. I've tried to decouple ArchContext from
B2GContext, as well.

The emulator/adb commands in FennecRunner and EmulatorAVD are intended to
match the behaviour seen in current Android automation (e.g. mochitest).

MozReview-Commit-ID: 1tqD0DStdHR

--HG--
extra : rebase_source : 1450f3b03f82a0f9d33e43d19632a06a51ef7253
2016-06-07 11:45:08 -04:00
Eric Rahm cffa865b22 Bug 1278399 - Use MOZ_LOG in automation. r=ted
NSPR_LOG_MODULES is deprecated in favor of MOZ_LOG, this cleans up warning
spam during testing.
2016-06-10 10:05:57 -07:00
Henrik Skupin be1e7aaec0 Bug 1276886 - [mozprocess] Fix hang in output readers when process is in a new process group. r=ahal
MozReview-Commit-ID: 9e6HNAaF0Yo

In case of in-process restarts it can happen that the new process gets forked into a new process group.
When that happens we loose the capability to kill the process. To prevent a hang when joining the output
reader threads in wait(), we simply skip that call by passing-through the IO error.

--HG--
extra : rebase_source : 702dfec407ed13114f59fa6ccb0d82c5b0790550
2016-06-02 20:19:34 +02:00
Andrew Halberstadt 95882ef0e4 Bug 1274584 - [mozprocess] Fix IO Completion Port failed to signal process shutdown, r=jgriffin
Sometimes the IO completion port doesn't shutdown child processes. When this happens,
mozprocess will attempt to force kill the child processes manually. However, there is
a bug here which causes the OSError to get raised.

Although this fixes that bug, the original issue(s) which prevented the IOC port
from signaling shutdown remain and are still undiagnosed.

MozReview-Commit-ID: L3DQPW0Is5v

--HG--
extra : rebase_source : cf6320cffea5a4c8fb5d62861c41065d9dcefa52
2016-05-30 11:02:13 -04:00
Andrew Halberstadt 7746cfd17f Bug 1274584 - [mozprocess] Improve debugging messages on windows, r=jgriffin
We can set MOZPROCESS_DEBUG to help debug windows process code. However on try
it is unreadable as there are multiple things using mozprocess, and each process
has multiple threads. It's impossible to tell which log message comes from where.
This improves the debug logs a bit by always specifying the PID and thread name.

There are a few other drive-by cleanups in this thread. The only one of note is
removing a python 2.5 only code path.

MozReview-Commit-ID: L3DQPW0Is5v

--HG--
extra : rebase_source : f07c07f53b06b1160cd3e70cb06b8dc12a89c3ab
2016-05-30 11:00:59 -04:00
Nicolas B. Pierron b2b9651d11 Bug 1270082 - mozinfo: Use the kernel version if the distribution is not supported by python platform function. r=gps 2016-05-27 14:50:03 +00:00
Geoff Brown dd65ba7f12 Bug 1274395 - Delete pending crash reports before running tests; r=jmaher 2016-05-25 14:48:42 -06:00
Maja Frydrychowicz cada490dd5 Bug 1275608 - [mozrunner] Remove wait_for_system_message from Emulator; r=ahal
This code is no longer used by Marionette client or elsewhere.

MozReview-Commit-ID: 4lx9CN7XIeH

--HG--
extra : rebase_source : e0a895c02939c51ee40be5be5f999cc41420a2a7
2016-05-25 11:53:25 -04:00
Gregory Szorc d575271cc0 Bug 1272782 - Bump mozsystemmonitor version to 0.3; r=ahal
So we can release the bug fixes we just made.

MozReview-Commit-ID: HgfPQkkwd6r

--HG--
extra : rebase_source : 62a85de968b26230721939838ca4d29d6600b186
2016-05-13 14:11:40 -07:00
Gregory Szorc e16f5d1baa Bug 1272782 - Don't wait forever for child process to exit; r=ahal
I believe this is the source of hangs/timeouts in automation.
join() waits forever. We add code to wait at most N seconds before
force terminating the process. The timeout is a bit high. But it is
better than infinite.

MozReview-Commit-ID: KwyO4RZ9OqL

--HG--
extra : rebase_source : 767d8ff5b48d7e75ab8fe72b18145446a38d439a
2016-05-13 14:10:39 -07:00
Gregory Szorc 49e64768b0 Bug 1272782 - Wait longer and stop after "done" message; r=ahal
Before, we kept waiting for data in the pipe after receiving the
"done" message. This didn't really make much sense because the
"done" message should be the final thing sent over the pipe!

e9113fd6cdb8 (bug 1239939) recently dropped the poll interval
of the pipe from 1.0 to 0.1s. This appears to have introduced
an intermittent failure in a test. The race condition was
between the child process sending data and the parent process
timing out (after only 0.1s) waiting for that data. Increasing
the timeout makes the failure reproduce less often. Although
technically the race condition is still present! I'm not
inclined to fix it at this time, however.

The rationale for dropping the pipe timeout was that it was
causing lag when terminating short-lived processes. Now that
we abort the pipe reading/polling loop as soon as the "done"
message is received, we no longer poll the pipe after receiving
"done" and no longer have to worry about its timeout impacting
shutdown time.

MozReview-Commit-ID: EeENQ95RAs1

--HG--
extra : rebase_source : ce2502f32841a55f912aafdba7cc81e3a58e3ff5
2016-05-13 14:05:17 -07:00
Gregory Szorc 4b05251aa6 Bug 1272782 - Send tuple properly; r=ahal
Found this bug when auditing the code for issues. We are attempting
to send a tuple but were forgetting the trailing comma on a single
element tuple.

Fortunately, this doesn't appear to impact anything because
the receiving end of the pipe doesn't care what data it receives.

MozReview-Commit-ID: E34fBqxgUSq

--HG--
extra : rebase_source : 3701a28979a8b53d40ea68acef3ee2cb6d8a50f2
2016-05-13 13:57:59 -07:00
Gregory Szorc f03abf7727 Bug 1272541 - Bump mozsystemmonitor to version 0.2; r=ahal
So we can release the new as_dict() goodies.

MozReview-Commit-ID: JNQ3jA2U450

--HG--
extra : rebase_source : 6f17ed7395033d75e28f1ed4db468b2865da739a
2016-05-12 18:48:32 -07:00
Gregory Szorc 3dd91a28c7 Bug 1272541 - Expose more data from SystemResourceMonitor.as_dict; r=ahal
We add some system information including processor count
and memory sizes. We also add an "overall" section describing
total resource usage. This (surprisingly) wasn't defined.

This commit is the first in a series to reconcile the differences
between the JSON format in mozsystemmonitor and what
`mach build` writes so we can write a single tool to visualize
the data.

MozReview-Commit-ID: 9mdbKxeV9Ta

--HG--
extra : rebase_source : 3aadf5e83c91ba9553595f3da77ed7ca0e4d5541
2016-05-12 18:03:16 -07:00
Gregory Szorc 17d5d5efa5 Bug 1272202 - Bump version of mozsystemmonitor to 0.1; r=jlund
We're currently running version 0.0 in automation. This version
doesn't have as_dict(), which means we can't easily save data
to JSON.

Bump the version to 0.1 in preparation of releasing a new
version.

MozReview-Commit-ID: Kr3JqyRXk5j

--HG--
extra : rebase_source : 89f763acaa12e4357f4a23f8772f99c1a0fdb56f
2016-05-12 15:42:07 -07:00
Gregory Szorc d25774bf41 Bug 1272202 - Require psutil >= 3.1.1 in mozsystemmonitor; r=jlund
We have packages for 3.1.1 uploaded to our PyPI server used
for automation. There have been a number of bug fixes since the
version of psutil currently listed. Let's ensure we're running
a modern psutil to minimize our exposure to bugs on older
versions.

MozReview-Commit-ID: 6rDapZ8miFD

--HG--
extra : rebase_source : c66295828e0c95c4ffe57e579df41af508875027
2016-05-12 15:40:39 -07:00
Xidorn Quan 39fe310971 Bug 1271884 - Use the current python executable to run tooltool fetch rather than hard-coded python. r=jmaher
MozReview-Commit-ID: NEtTg3tih8

--HG--
extra : transplant_source : %60%A1%F4%29%F22%EFJ%D0%1D%BC%7B%1F%99%E9%95%E5_%3D%5C
2016-05-11 15:01:16 +10:00
Henrik Skupin 37ac3002c3 Bug 1271612 - Release mozlog 3.2. r=jmaher
MozReview-Commit-ID: I8JcpkeLzkv

--HG--
extra : rebase_source : 79bcb3512ba9b55c1c925287052beaf6ed084a81
2016-05-11 10:17:45 +02:00
Henrik Skupin ce5263701a Bug 1258343 - [mozlog] Fix HTML report generation for unicode characters. r=jmaher
MozReview-Commit-ID: 79l2BuNRIxq

--HG--
extra : rebase_source : 7d31e35abcb6f9b6dc44a19c07b4e5393e31e16d
2016-05-09 23:14:05 +02:00
James Graham ea86fedb84 Bug 1270507 - Elide subtest results from web-platform-tests on treeherder when they match expectations, r=ahal
MozReview-Commit-ID: DyatYcpdjvQ

--HG--
extra : rebase_source : 8947cfc0084a2523c570ff2f832a7ce79852ba1d
2016-05-03 23:21:07 +01:00
James Willcox 502a4ed174 Bug 1264154 - Fix Fennec debugging on Mac r=ted 2016-04-29 10:56:20 -05:00
Andrew McCreight 3347e025c4 Bug 1227347, part 3 - Remove object-count leak suppression infrastructure. r=erahm 2016-04-26 11:46:28 -07:00
Andrew McCreight db70afedca Bug 1227347, part 2 - Remove leak suppressions for content processes. r=erahm 2016-04-26 11:46:28 -07:00
Geoff Brown 1819bf24b7 Bug 1264656 - Avoid file exists error in |mach android-emulator --force-update|; r=jmaher 2016-04-14 13:35:05 -06:00
Chris Manchester 52083635d3 Bug 1261456 - Combine support-files listed in [DEFAULT] with any listed per-test rather than overriding. r=gps
This requires a change to how we process test manifests in the build system:
now, whenever we see a support file mentioned in a manifest, we require that
file isn't already in that test's support files, but if we see a support file
that was already seen in some other test, the entry is ignored, but it is not
an error. As a result of this change, several duplicate support-files entries
needed to be removed.

MozReview-Commit-ID: G0juyxzcaB8

--HG--
rename : testing/mozbase/manifestparser/tests/test_default_skipif.py => testing/mozbase/manifestparser/tests/test_default_overrides.py
2016-04-11 11:21:20 -07:00
Shing Lyu 1a12b45ba9 Bug 1258616 - Swap the order of test and ref images in html reftest report to match reftest-analyzer convention. r=jmaher
--HG--
extra : rebase_source : 35f476935f5b40aecba5552c0faad553efb9d03a
2016-03-30 20:13:00 -04:00
Geoff Brown 97d33a9827 Bug 1251012 - Remove support for Android 2.3 from mach; r=jmaher 2016-04-04 19:15:24 -06:00
Geoff Brown 342c08673d Bug 1147918 - Add mach autophone command; r=bc 2016-03-29 14:50:15 -06:00
David Anderson f3dc22db8d Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
Andrew Halberstadt c2f03c6447 Bug 1152428 - [mozprocess] Fix UnicodeEncodeError when non-ascii characters are in the environment, r=wlach
MozReview-Commit-ID: 3AG9oLxWexy

--HG--
extra : rebase_source : a1f0d66c9434e2129c166181105b55fad43fe716
2016-03-16 11:07:35 -04:00
Ms2ger 4d796781c7 Bug 1257510 - Use modern exception syntax in mozbase; r=ahal
The comma form is long-deprecated.
2016-03-18 09:03:25 +01:00
Richard Newman 89a12baeec Bug 1220184 - Eliminate Gingerbread compatibility. r=froydnj, r=nalexander
MozReview-Commit-ID: E5Ng6Y0IEU9

--HG--
extra : rebase_source : c65fae2ceaf486e536ea617e7912b3e8d97be755
extra : amend_source : cfd90e7b157a23fbe7a07e384d4702dadb603835
2016-02-24 09:25:14 -08:00
Shing Lyu dc62409f53 Bug 1253219 - Add reftest screenshots to html report for easier debugging. r=jmaher
--HG--
extra : rebase_source : d9d03001e3b597908b0f241db2cfda02afc51072
2016-03-14 05:16:00 +01:00
Jeff Walden 91ee6d2f97 Bug 1255228 - ./mach mochitest --debugger=DEBUGGER should interpret DEBUGGER as a path, if interpretation as a PATH-based executable name doesn't work. r=ted
--HG--
extra : rebase_source : 4f9d8a583b839ffd2945d08c050e9b83d1a8129d
2016-03-10 14:55:34 -08:00
Andrew McCreight 716cba3489 Bug 1252677 - Increase Windows e10s texture leak threshold even more. r=erahm
--HG--
extra : rebase_source : a21d42c4b7d798983b8f58fb165139aa6242a8d2
2016-03-10 10:38:00 -05:00
Shing Lyu 2507afb6b9 Bug 1253209 - Fixed reftest html report generation failure. r=jmaher 2016-03-06 20:09:00 +01:00
Henrik Skupin 8f68142bb9 Bug 1251196 - Bump mozcrash to 0.17. r=ted
MozReview-Commit-ID: 98iyU2DXdYN

--HG--
extra : rebase_source : ad4b75f2903dd1c9b5d78306f57d1740a665df92
2016-03-03 21:41:27 +01:00
Henrik Skupin a731eb848d Bug 1251196 - [mozcrash] If no symbols path is specified let stackwalk download the symbols. r=ted
MozReview-Commit-ID: 89bOoLwHMgK

--HG--
extra : rebase_source : 2a48d9c675cb7453bef5c14975f900286e2c4b28
2016-02-26 23:34:56 +01:00
Julian Seward 9c5cac6016 Bug 1245566 - Enable taskcluster scheduling for valgrind-mochitest runs: mochitest_valgrind_mods. r=jgraham. 2016-02-18 11:34:40 +01:00
Geoff Brown 58592042ef Bug 1238611 - Use PIE version of gdbserver for JimDB (x86); r=jmaher 2016-02-16 13:15:59 -07:00
Carsten "Tomcat" Book 6244cfb10e Backed out changeset 200da85932e9 (bug 1230862) for valgrind perma failures 2016-02-10 11:04:50 +01:00
Julien Pagès cb348f4346 Bug 1230862 - Remove mozhttpd. r=wlach
--HG--
extra : commitid : HRDp24nhYo8
extra : rebase_source : 76443fa9938e488fcd06af7ba0676d491c9da36e
2016-02-09 03:26:43 +01:00
Andrew Halberstadt f94d7e71d8 Bug 1034290 - Use structured log output for test results in reftest, r=jmaher
Structured logs bring many benefits. We can stop parsing the logs for magic strings, we
can modify the format without breaking things, and we can stream results into systems like
ActiveData. The structured logs originate primarily in reftest.js. StructuredLog.jsm is
used to generate the JSON-based log stream. Finally OutputHandler in the python harness
reads structured output from stdout, and formats it into human readable form.

MozReview-Commit-ID: G3ZLkMRl6p7

--HG--
extra : commitid : J3ui9XYWR3Q
extra : rebase_source : 77ed0ba842cc8e557141fb3494212b06868c728a
extra : amend_source : 735d48225a2e627e0fe45fc11b50b6c49a885a4b
extra : source : d1779fe421c3c7cd8e3d191816776390dc104f37
2016-02-05 15:44:20 -05:00
Nick Alexander e9505d1f75 Bug 1242213 - Part 0: Use org.mozilla.gecko.BrowserApp instead of .App. r=me,gbrown,bc
This approach lets us get rid of the .App <activity-alias> definitions, at
least.

In Bug 1237755, I tried pretty hard to use real intent filters, rather
than a different hard-code path name, but ran into significant issues,
and finally into the hard reality that Android 2.3 doesn't support
bare package names.  (It only supports package/class component names.)
Android 2.3 can't die fast enough.

Sadly, this approach doesn't address the issues I see loading URLs
that prompted Bug 1237755.

This is the path of least resistance.  Onwards!

Tested via:

nalexander@chocho ~/M/gecko> ./mach run
Starting: Intent { act=android.activity.MAIN cmp=org.mozilla.fennec_nalexander/org.mozilla.gecko.BrowserApp }
Warning: Activity not started, its current task has been brought to the front
nalexander@chocho ~/M/gecko> ./mach run https://mozilla.org
Starting: Intent { act=android.activity.MAIN dat=https://mozilla.org cmp=org.mozilla.fennec_nalexander/org.mozilla.gecko.BrowserApp }
nalexander@chocho ~/M/gecko> ./mach run file:///mnt/sdcard/test.html
Starting: Intent { act=android.activity.MAIN dat=file:///mnt/sdcard/test.html cmp=org.mozilla.fennec_nalexander/org.mozilla.gecko.BrowserApp }

--HG--
extra : commitid : JUIJj13Q0Py
extra : rebase_source : a62d8a74ca2772fd3933597589e386cf56caa396
extra : amend_source : 234f3b6b8ef6c6f2cce991375f5c28fe1cb32cad
extra : histedit_source : 5476222279f6be0927879a1136def94673885071%2Cca4aad42479731c97586003ee8bcdfe22a147776
2016-01-27 12:15:19 -08:00
Andrew McCreight 6bfd7f95ab Bug 1219919 - Add suppressions for Windows-specific content process graphics leaks. r=erahm 2016-02-02 14:49:12 -08:00
Geoff Brown 6fe30ec610 Bug 1241907 - Grant runtime permissions before running browser tests; r=jmaher 2016-02-01 15:52:34 -07:00
Chris Manchester 4c18bc2045 Bug 1194935 - Add a C++ implementation of kill_and_get_minidump as part of the build to accommodate dumping 64 bit Firefox from 32 bit python. r=ted
--HG--
extra : commitid : K6BGWSIH6Nk
2015-08-18 17:04:45 -07:00
Wes Kocher 84714308b8 Merge fx-team to central, a=merge
--HG--
extra : commitid : 2DZ63I10LcS
2016-01-28 17:47:33 -08:00
Henrik Skupin 2817467736 Bug 1243318 - [mozfile] extract_zip() should not set file permissions if there are no attributes available. r=ahal
--HG--
extra : rebase_source : 876a91216874bfbe71bd653ef0a1a1db49153bd8
2016-01-27 03:52:00 +01:00
Alessio Placitelli d448c0ad94 Bug 1236580 - Remove the IS_UNIFIED_TELEMETRY constant and the related preferences. r=gfritzsche 2016-01-27 01:03:00 +01:00
Geoff Brown 94b5d0f481 Bug 1238611 - Use PIE version of gdbserver for JimDB (arm only); r=jmaher 2016-01-25 08:17:25 -07:00
Dan Minor ab69635d0b Bug 1239939 - [mozsystemmonitor] Reduce poll interval on exit r=wlach
Currently we poll at an interval of 1 second when shutting down
mozsystemmonitor. This causes a noticeable shutdown delay on short
running processes. Reducing the interval to 0.1 reduces this delay without
seeming to have any adverse effects.

--HG--
extra : rebase_source : da59ee8d09ada188d011e3a7138b30d91850aacd
2016-01-18 06:28:10 -05:00
Chris Manchester 7bec6d7863 Bug 1055224 - Run gtest output through a stack fixer. r=ahal
--HG--
extra : commitid : EI5D81v5sjt
2016-01-15 10:36:46 -08:00
Geoff Brown f7f3343535 Bug 1237838 - Update Android x86 avd; r=me 2016-01-14 15:16:37 -07:00
Julien Pagès c6fd260e95 Bug 1236467 - [mozdevice] raise exception when missing devices access permissions. r=ahal
Also bump the version to 0.48.

--HG--
extra : rebase_source : a79be8684a51a529a6b163c9bac378a199ab6961
2016-01-04 16:29:36 +01:00
Nathan Froyd 2af2f8f5f5 Bug 1236983 - add windbg smarts to mozdebug; r=jmaher,aklotz 2016-01-05 12:47:39 -05:00
Geoff Brown fedf1a6b53 Bug 1236451 - Make some android mach commands more robust; r=jmaher 2016-01-06 06:37:41 -07:00
Armen Zambrano Gasparnian 9cb894a3c7 Bug 1234353 - Notify the user if the stackwalk binary is not executable. r=chmanchester
--HG--
extra : commitid : Puf7a5bGxK
extra : rebase_source : 7d8f2bcf5d12175c695c3f7d63532de6be47cb9a
2015-12-21 16:50:49 -05:00
Edgar Chen 529a4ce944 Bug 1143380 - [mozrunner] Increase timeout value for waiting emulator to start; r=ahal
--HG--
extra : commitid : JcK3GQW7vR9
extra : rebase_source : 70f1f4865bff8d455d5ad392e06ed3e49f2e1654
extra : amend_source : ff7f2673de27f95f99f4d062168c968b377fb5ac
2015-12-22 10:27:26 +08:00
Steve Fink 29c5b5d917 Bug 837969 - Make mozcrash.py runnable, r=ted
--HG--
extra : commitid : FB26Q0s1SXJ
extra : rebase_source : ffbccf23816976bcae9d810828eeba50f0ace293
2015-06-16 13:14:04 -07:00
Alessio Placitelli b1b366d5b2 Bug 1235559 - |mach android-emulator| looks for the wrong file names on Windows. r=gbrown 2015-12-29 06:25:00 +01:00
Geoff Brown c0573a940f Bug 1144393 - Use /storage/sdcard in preference to /sdcard for adb device root and enable test_file_equality.js; r=jmaher 2015-12-21 14:24:08 -07:00
Julien Pagès 07f4451eec Bug 1233534 - [mozprofile] bump version to 0.28. r=ahal
--HG--
extra : rebase_source : 63b96731c8f3e0f98f866ccb6d2fce94aa9449d0
2015-12-18 08:20:26 +01:00
Julien Pagès 7b6fe06dd6 Bug 1233534 - [mozprofile] unable to use a profile generated with recent firefox. r=ahal
--HG--
extra : rebase_source : b9cad07a8d5e5e056704b5a8a6c31b02f66c42e6
2015-12-18 08:19:41 +01:00
Geoff Brown 9d3f18e1e3 Bug 1233454 - Guard against ps timeout in devicemanagerADB.getProcessList; r=jmaher 2015-12-18 12:17:06 -07:00
Geoff Brown 8696301230 Bug 1232962 - Use emulator device-serial for android-emulator command only; r=jmaher 2015-12-16 13:59:11 -07:00
Geoff Brown 0f937057c8 Bug 1218003 - Do not pass -kvm-enable to emulator on osx; r=nalexander 2015-12-14 18:55:59 -07:00
Geoff Brown 368561434d Bug 1231683 - Disregard unusable devices in android mach commands; r=jmaher 2015-12-14 18:55:58 -07:00
Geoff Brown 99bec9d91c Bug 1231665 - Specify deviceSerial for android emulator adb commands; r=jmaher 2015-12-14 18:55:57 -07:00
William Lachance 99f1f9471e Bug 1230622 - Docs: Suggest people use wptserve instead of mozhttpd. r=jgraham 2015-12-04 13:18:40 -05:00
Bob Clary 98b2574861 Bug 1214812 - [mozdevice] - adb_android.py - fix missing test_root argument to ADBAndroid, r=gbrown. 2015-12-02 08:34:20 -08:00
Bob Clary 9115f85f5d Bug 1214812 - [mozdevice] - adb.py, adb_android.py - if possible always run adbd as root, set SELinux to Permissive, r=gbrown. 2015-12-02 08:34:20 -08:00
Bob Clary f2a34ba40e Bug 1214812 - [mozdevice] - adb.py - do not prepend LD_LIBRARY_PATH to su commands, r=gbrown. 2015-12-02 08:34:20 -08:00
Bob Clary 98a7468d9e Bug 1214812 - [mozdevice] - devicemanagerADB.py - listFiles - check for device or resource busy failure message, r=gbrown. 2015-12-02 08:34:20 -08:00
Bob Clary 6980875837 Bug 1214812 - [mozdevice] - devicemanagerADB.py - check if busybox's ls -1A is used, r=gbrown. 2015-12-02 08:34:19 -08:00
Bob Clary 7851921283 Bug 1214812 - [mozdevice] - devicemanagerADB.py - use su 0 if it is available; check for root updates, r=gbrown. 2015-12-02 08:34:19 -08:00
Wes Kocher f619310a07 Backed out 6 changesets (bug 1214812) for kk emulator test bustage
Backed out changeset b36710809f0c (bug 1214812)
Backed out changeset a3b5c66f34e4 (bug 1214812)
Backed out changeset df6d3dc3fca9 (bug 1214812)
Backed out changeset 9f94be2a3c1d (bug 1214812)
Backed out changeset 1eaf9f30b00d (bug 1214812)
Backed out changeset 902b985b3273 (bug 1214812)

--HG--
extra : commitid : LNisZGOtv0q
2015-12-01 15:33:07 -08:00
Bob Clary 28f6dda48d Bug 1214812 - [mozdevice] - adb_android.py - fix missing test_root argument to ADBAndroid, r=gbrown. 2015-12-01 14:25:13 -08:00
Bob Clary f0fb183222 Bug 1214812 - [mozdevice] - adb.py, adb_android.py - if possible always run adbd as root, set SELinux to Permissive, r=gbrown. 2015-12-01 14:25:12 -08:00
Bob Clary d29912ed0e Bug 1214812 - [mozdevice] - adb.py - do not prepend LD_LIBRARY_PATH to su commands, r=gbrown. 2015-12-01 14:25:12 -08:00
Bob Clary 51794b5162 Bug 1214812 - [mozdevice] - devicemanagerADB.py - listFiles - check for device or resource busy failure message, r=gbrown. 2015-12-01 14:25:12 -08:00
Bob Clary da4e38e6e7 Bug 1214812 - [mozdevice] - devicemanagerADB.py - check if busybox's ls -1A is used, r=gbrown. 2015-12-01 14:25:12 -08:00
Bob Clary d292922eee Bug 1214812 - [mozdevice] - devicemanagerADB.py - use su 0 if it is available; check for root updates, r=gbrown. 2015-12-01 14:25:12 -08:00
Julien Pagès 88a3456247 Bug 1226554 - [mozlog] bump version to 3.1. r=jgraham
--HG--
extra : commitid : IxovQzi5gyE
extra : rebase_source : ae3cf006bba8676cf66edaecd01b30de03bd3c0a
2015-11-20 13:40:24 +01:00
Julien Pagès dfdc7dc7de Bug 1226554 - [mozlog] add a ProxyLogger concept. r=jgraham
--HG--
extra : commitid : Ez3CFCMZVYb
extra : rebase_source : f2515b3bf0fc813a3f10613fb8d1bc94878a6e60
2015-11-20 12:42:51 +01:00
Geoff Brown f9e24efcb2 Bug 1226631 - Avoid warning about JimDB utils update; r=jmaher 2015-11-20 10:05:31 -07:00
Geoff Brown 446af250a7 Bug 1219807 - Support 'mach run --debug' for Android; r=jmaher 2015-11-19 13:15:34 -07:00
Edgar Chen cea3a0af78 Bug 1223676 - [Marionette] Remove waiting for homescreen on emulator. r=ahal
--HG--
extra : commitid : EppY5lQSe21
extra : rebase_source : 2520211aab893431f9af32ad2217c1b604c637e3
extra : amend_source : beb71aefc8d313ff0eeeec4becebac785535e3b2
2015-11-11 15:23:22 +08:00
Tooru Fujisawa 6e26277e91 Bug 1221139 - Report actual exception string and traceback in ParseError. r=ahal
--HG--
extra : commitid : 4C7qISpav0m
extra : rebase_source : 3260ad4cb2063da21e94b786f7b9efbd91fd1d9d
2015-11-07 20:45:07 +09:00
Andrew Halberstadt e7029d44aa Bug 1219870 - [mozlog] ensure correct suite state when logging suite_start/suite_end via StructuredLogger.log_raw, r=chmanchester
--HG--
extra : commitid : L5aVgE5euqR
extra : rebase_source : 3b7f3b105503a7cc3e0ba8d8c15a85b18a06ce30
2015-10-29 15:11:25 -04:00
dlee f3324e8193 Bug 1214593 - Remove service worker periodic updater. r=ehsan 2015-11-02 16:08:44 +08:00
Andrew McCreight bc202dceee Bug 1218393 - Give a summary for object-count leak checking. r=jgriffin 2015-10-28 10:54:00 +01:00
Geoff Brown c9da8d5ed0 Bug 1220238 - Use local tooltool manifest if available; r=jmaher 2015-10-30 18:53:24 -06:00
Geoff Brown a42b25a374 Bug 1219803 - Support 'mach run' for Android; r=jmaher 2015-10-30 10:57:35 -06:00
Julien Pagès 2725fa621d Bug 1185969 - bump mozdevice version to 0.47. r=bc
--HG--
extra : commitid : JNw6jt9Or4C
extra : rebase_source : 1a70a3288c69c4fe1e1450aca076903df3b0828b
2015-10-29 20:37:44 +01:00
Julien Pagès 5fe647171b Bug 1185969 - [mozdevice] Allow to use android preview releases. r=bc
--HG--
extra : commitid : Ea3gZOnjoy6
extra : rebase_source : 822864eb9507c5650bc9ef29d308ffff63c44b25
2015-10-28 17:22:16 +01:00
Julien Pagès 7e9dbab9aa Bug 1185632 - [mozinfo] bump release to 0.9. r=wlach
--HG--
extra : commitid : 3AWeMUmW3qj
extra : rebase_source : 75a2297309adf3be93e42be28e103e3b8e8e4b78
2015-10-30 17:38:42 +01:00
Julien Pagès cbbe0b06a5 Bug 1185632 - [mozinfo] mozinfo.os is unknown running under MSYS. r=wlach
--HG--
extra : commitid : LKZm5uIYzvx
extra : rebase_source : c14351f1b796409307cf6ddee9295cf8675c70f9
2015-10-30 17:37:34 +01:00
Bob Clary 4e47253aa0 Bug 1218997 - [mozdevice] adb_android.py ADBDevice.power_on() requires root, r=gbrown. 2015-10-28 23:21:47 -07:00
Bob Clary 66e5eee002 Bug 1218993 - [mozdevice] do not repeat wait-for-device in adb commands, r=gbrown. 2015-10-28 23:21:47 -07:00
Bob Clary 4b7528e795 Bug 1218987 - [mozdevice] adb.py - add a logcat cleared message to the logcat whenever it is cleared so it is never completely empty, r=gbrown. 2015-10-28 23:21:46 -07:00
Bob Clary 96a017a3e3 Bug 1218984 - [mozdevice] ADBDevice.mkdir - reproduce behavior of mkdir -p, r=gbrown. 2015-10-28 23:21:46 -07:00
Bob Clary 6e30164c2e Bug 1218981 - [mozdevice] Ensure adb.py methods propagate root to other called methods, r=gbrown. 2015-10-28 23:21:46 -07:00
Bob Clary 284d329d46 Bug 1218978 - [mozdevice] Do not specify logcat buffer when using default buffer 'main', r=gbrown. 2015-10-28 23:21:46 -07:00
Andrew McCreight 9936a2b37f Bug 1219371 - Add suppression for Aurora-only Windows leak. r=erahm 2015-10-28 11:16:06 -07:00
Dave Hunt cf61aea229 Bug 1145680 - [mozdevice] Add reboot, move, copy, and info methods to adb.py. r=bc 2015-10-27 02:30:00 +01: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 368f4d5884 Bug 1190371 - [mozrunner] bump release to 6.11. r=me
--HG--
extra : commitid : Hxezbh1Op1O
extra : rebase_source : a3b936a49ee2bb908346ae34a6be8e239e9354bd
extra : amend_source : 154f045b19c06bdd0059c6e86915ead83f04c4b3
2015-10-23 06:32:19 +02:00
Andrew McCreight 3cdcfb3eae Bug 1215148 - Object-count based leak checking for Mochitest. r=jgriffin 2015-10-22 09:21:52 -07:00
Julien Pagès e1322faaea Bug 1190371 - [mozrunner] make mozcrash an optional dependency of mozrunner. r=ted
--HG--
extra : rebase_source : 0616b5742b2393a7cd2f139c369ead8d856df807
2015-09-22 07:14:00 +02:00
Julien Pagès 46f35681b7 Bug 1215756 - Fix mozprocess unit tests failures. r=ahal
This now check process status based on pids, not anymore
on an arbitrary string given in the command line.

Some cleanup in there, including removing code duplicate.
2015-10-21 10:57:58 -04:00
Phil Ringnalda 9ea53214d8 Merge f-t to m-c, a=merge 2015-10-17 11:19:46 -07:00
Chris Manchester f7a9504a73 Bug 1203266 - Optionally read manifestparser manifests with a Finder class. r=ahal
We need to go through an abstraction layer when manifestparser manifests
are read as a part of reading moz.build files in case moz.build reading
is using mercurial as its filesystem. This adds an optional finder member,
which will be used if present for IO that happens when reading manifests,
This needs to be optional, because the manifestparser can be used as a
standalone package that isn't distributed with mozpack.

--HG--
extra : commitid : 7S8mdpexvgW
2015-10-16 15:31:20 -07:00
Chris Manchester a8ec3a69cd Bug 1203266 - Don't call normpath in the manifestparser on paths that don't contain '..'. r=ahal
Profiling the manifestparser revealed that 25% of its total time is spent in a single
call to os.path.normpath, called on each test path in each manifest. For the manifests
in mozilla-central, these calls almost always return their input. To save time, this
patch modifies the manifestparser to not call normpath on paths that don't contain
'..'. This will change the parsed result of manifests containing no-op path
components ('//' or '/./') to include those components in their output.

--HG--
extra : commitid : D7g4GX6VLuC
2015-10-16 15:31:20 -07:00
Jose Diez dd52016aa0 Bug 1213816 - Properly set OS properties on Arch; r=gps
--HG--
extra : commitid : BRWaT1v7ALL
extra : amend_source : 8def33528465d649dd822414578f18b1bee94f6d
2015-10-16 11:13:34 -07:00
Julien Pagès e6f8f405f1 Bug 1139487 - Remove mozprocess.pid, mozprocess.wpk. r=jmaher
--HG--
extra : commitid : DGexoEWiJn4
extra : rebase_source : 51bc43ca702d67522e58a74286dcaa3487bdacc7
2015-10-06 21:35:43 +02:00
Armen Zambrano Gasparnian 6fad91d10c Bug 1211885 - Do not try to test if a .dmg file is_tarfile(). r=ahal
--HG--
extra : commitid : 2LM7PfRKjEO
extra : histedit_source : fc8e5e1b60adc577639e0bb4c3edf09127d92224
2015-10-06 09:51:34 -04:00
Gregory Szorc a88dbb7290 Bug 1208320 - Do not stage mozbase files before archiving; r=glandium
This prevents copying of 447 files adding to ~4 MB.

--HG--
extra : commitid : 7zTbiQeMQSQ
extra : rebase_source : b3ac223835ba7289ace45aa7d02c5a050d54cc0d
2015-09-30 11:15:51 -07:00
Julian Seward 0ce48c0f5e Bug 1185244 - Improve mach support for running mochitests on Valgrind. r=jgraham, njn. 2015-09-28 12:01:42 +02:00
Nick Alexander 960eeeb471 Bug 1204260 - Pre: Don't expose ANDROID_{BUILD,PLATFORM}_TOOLS. r=glandium,gbrown
This stops exposing ANDROID_BUILD_TOOLS and ANDROID_PLATFORM_TOOLS via
AC_SUBST.  We expose most tools already, and this adds EMULATOR, and
consumes it (and ADB) where appropriate.

--HG--
extra : commitid : 9u0pibgE00
extra : rebase_source : 04e420c53d1d75ab8f055436d7dd69e148168c67
extra : histedit_source : a930a34f4dda44ee91b52caf68e02877b0502f01
2015-09-12 14:59:31 -04:00
Wes Kocher d4897fa1ef Backed out changeset feceb41f1c3c (bug 1185244) for breaking running tests locally CLOSED TREE a=backout 2015-09-22 17:08:37 -07:00
Julian Seward b3bc139b1e Bug 1185244 - Improve mach support for running mochitests on Valgrind. r=jgraham, njn. 2015-09-22 12:00:57 +02:00
Andrew McCreight ac5e9c32f9 Bug 1205348 - Always do shutdown CCs when NS_FREE_PERMANENT_DATA is defined. r=smaug 2015-09-16 10:10:00 +02:00
Geoff Brown 0fd7fa94c8 Bug 1199377 - Fetch host-utils for Android tests when needed; r=jmaher 2015-09-16 16:58:52 -06:00
Geoff Brown 32371e9e31 Bug 1203627 - Change search order for finding android emulator; r=ahal 2015-09-14 08:40:34 -06:00
Nathan Froyd 21e096a42c Bug 1196430 - part 7 - teach process_leak_log how to symbolicate leaked object stacks; r=mccr8 2015-08-26 19:41:43 -04:00
Nathan Froyd 956d3c942b Bug 1196430 - part 6 - move cut-and-paste stack fixer code into mozrunner; r=wlach
This code is cut-and-pasted in several different places around the tree.
Let's put it in a common place.
2015-08-26 19:57:36 -04:00
Julien Pagès e349eb87dd Bug 1203040 - [mozcrash] bump version to 0.16. r=ahal
--HG--
extra : rebase_source : eb6f5df720deeceb54a1fa7ad55ffc312ebee28d
2015-09-09 02:15:00 +02:00
Julien Pagès 8fef720083 Bug 1201511 - [mozrunner] require mozprocess >=0.22 and bump mozrunner version to 6.10. r=ahal
--HG--
extra : commitid : 62SJ4Omh8xE
extra : rebase_source : ab565b3681e6ac4ef62770be7ea7853cf9fbdaa2
2015-09-05 12:17:22 +02:00
Julien Pagès 1acc7de1d7 Bug 1200975 - [mozrunner] mozrunner>6.7 don't show the crash window. r=whimboo
--HG--
extra : rebase_source : 9719db44f51cda751787999f61bcc2ff5335db51
2015-09-02 13:09:10 +02:00
Andrew Halberstadt 231b28258a Bug 1201195 - [mozrunner] Fix IndexError on B2G when running without a build (or bindir), r=armenzg
There is an assumption in application.py that there exists a build with a valid bindir. This directory
doesn't exist if no build exist. Before now, this code path hasn't been a problem as it was only used
with built emulators. But now gaia is starting to use it and there might not even be a B2G repo at all!

--HG--
extra : commitid : 3sxXkmDErLG
extra : rebase_source : 526d89f36371970f8b7edca20e3dbb01131f90c7
2015-09-02 14:58:35 -04:00
Geoff Brown 2015a6ea72 Bug 1164596 - Add mach android-emulator command; r=ahal 2015-09-01 15:07:53 -06:00
Henrik Skupin 2b8ca654a3 Bug 1199115 - Release mozprofile 0.27. r=jgraham DONTBUILD 2015-08-27 10:30:53 +02:00
Axel Hecht c7d77007e8 Bug 1198228 - Support em:foo attributes on Description elements. r=whimboo
The install.rdf in language packs uses em:id attributes etc, instead
of child elements. All fine with RDF/XML.
This adds support to addon_details to allow for those attributes in
addition to child elements.

--HG--
extra : transplant_source : %E0d%E7%B3%E8/%BF%D4%5C%AE%B8EA%E7%26h%17%5EB%00
2015-08-26 13:21:30 +02:00
Hiroyuki Ikezoe ecdabe1d62 Bug 1150818 - Part 1: Output mozinfo into a file. r=ted 2015-08-20 15:30:00 -04:00
Andrew Halberstadt 20cae47299 Bug 1193522 - [mozlog] Use ultrajson instead of stdlib json if available for performance, r=jgraham
--HG--
extra : commitid : IQGf0ENQujg
extra : rebase_source : 1d29af9a7871d595952b776998f66bc7c9b41735
2015-08-13 13:37:07 -04:00
James Graham 3a5efddc75 Bug 1193033 - Teach mozinfo to get the real os version number for Windows >= 8.1, r=ted
For contemporary versions of Windows the sys.getwindowsversion call is unreliable
because it depends on a API which had its return value frozen. If we detect this
case use an alternate API instead
2015-08-14 11:54:23 +01:00
Ryan VanderMeulen 3cab1ddc85 Backed out changesets 0cf9bfd5af47 and e18c579d29f1 (bug 1193033) for Win7 debug relevant-mutations.html permafail.
CLOSED TREE
2015-08-13 14:15:23 -04:00
James Graham 6bac886d48 Bug 1193033 - Teach mozinfo to get the real os version number for Windows >= 8.1, r=ted
For contemporary versions of Windows the sys.getwindowsversion call is unreliable
because it depends on a API which had its return value frozen. If we detect this
case use an alternate API instead
2015-08-13 14:01:15 +01:00
Julien Pagès 6ad9fb9172 Bug 1192024 - Remove the word status from the human readable string of a process exit code in mozlog on Windows. r=jgraham 2015-08-12 00:43:00 -04:00
Rahul Sharma a740b87b77 Bug 1157377 - Fixed parameter types to adb_android.py and adb.py. r=dhunt 2015-08-08 18:04:49 +05:30
Julien Pagès 1ae2e56328 Bug 1193035 - setup_development.py does not handle optional dependencies. r=ahal 2015-08-11 17:02:11 +02:00
James Graham 3cc0515703 Bug 1191267 - Fix mozlog log buffering command line option, r=chmanchester 2015-08-06 11:52:20 +01:00
Julien Pagès 1aad70a825 Bug 1189858 - fix typos in pip extra dependency declaration
--HG--
extra : commitid : 4lMUJwdQLLY
extra : rebase_source : abc5fe80bd4c096d29554d901fdd11fcd152ef5c
2015-08-06 07:00:41 +02: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 e08572ed49 Bug 1189858 - [mozprofile] remove the manifest parser required dependency. r=ahal
The manifestparser dependency of mozprofile is made optionnal with this patch.
It is still possible to install it using the extra pip/setuptools syntax:

pip install mozprofile[manifest]

--HG--
extra : commitid : GN6pzPlCHgF
extra : rebase_source : 9d258961c8fc3e8c314e9f2f7d59e0f6687e6640
2015-08-04 23:15:45 +02:00
Julien Pagès b5ccc1b16e Bug 1190813 - [mozrunner] bump mozrunner to 6.9. r=whimboo 2015-08-04 09:44:00 -04: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
Julien Pagès 23e4c1d4a3 Bug 1091285 - move dumpScreen in a new mozscreenshot package. r=jgriffin
This also completely remove build/automationutils.py.

--HG--
extra : commitid : 50v6EAQNEHV
extra : rebase_source : 4ac1347d73498f068979514c6afb16ac50ab4033
2015-07-29 17:50:16 +02:00
Julien Pagès 71a768eee5 Bug 1184067 - Make mozinfo.os_version a special string that can be compared with < / >. r=ahal
--HG--
extra : commitid : Iiz5hfbNDIj
extra : rebase_source : 4ece0f34183da76588cd79bee27a353734ad4b2e
2015-07-25 11:47:51 +02:00
Julien Pagès 78ef1c279b Bug 1186551 - [mozlog] add structured action process_start/process_exit. r=jgraham
--HG--
extra : transplant_source : %23%B9%0D%23%93Kf%8F%3F%1A%F5%8DP%97%AA%81%8D%1C%8D%7E
2015-07-22 21:00:25 +02:00
Julien Pagès cd63971121 Bug 1185971 - mozfile: add a mozfile.move function, and bump release 1.2. r=ahal
--HG--
rename : testing/mozbase/mozfile/tests/test_remove.py => testing/mozbase/mozfile/tests/test_move_remove.py
extra : commitid : 9JROGo4tYHS
extra : rebase_source : f19d3b4eaf2e181f35f0bdbdb74e009246d8d1ce
extra : amend_source : 388c870bdf7aa06956b8d8641fdf55303453835e
2015-07-23 19:11:16 +02:00
Andrew Halberstadt 2b977b797d Bug 1186888 - [mozlog] Ability to use a pre-existing logger with commandline.setup_logging(), r=jgraham
--HG--
extra : commitid : 786tOojSwTl
extra : rebase_source : 3df091de3afee6838a40c0c858da97fd04b32739
extra : amend_source : 5a5ea71fd9a8ede744d281cb0b2dae190575230d
2015-07-22 15:27:31 -04:00
Julien Pagès 78bf9783e7 Bug 1168803 - Add --addon option to specify add-ons to be installed. r=dburns
--HG--
extra : commitid : peO1rLe9oG
extra : rebase_source : b557243a86a861a535b098e4965cd371dfd60877
2015-07-18 10:53:10 +02:00
Chris Manchester 82d2096a68 Bug 890026 - Fixup to import signal in mozcrash. r=ahal
--HG--
extra : commitid : JRt9d8Qku2P
2015-07-17 12:32:53 -07: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
Ryan VanderMeulen ba45b91fde Backed out changeset 44571696245f (bug 1184067) for breaking web-platform-tests.
CLOSED TREE
2015-07-17 11:54:27 -04:00
Julien Pagès a3e2125799 Bug 1184067 - Make mozinfo.os_version a special string that can be compared with < / >. r=ted 2015-07-15 06:30:00 -04:00
Michael Layzell a826bba3ff Bug 1165263 - Part 3: Update mozprofile to support new moz_hosts schema, r=ahal 2015-07-16 14:49:55 -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 a978aad1fc Bug 980788 - [manifestparser] Add greater-than/less-than (equal) support. r=ahal 2015-07-15 04:42:00 -04:00
James Graham 0b0e2d0aaf Bug 1177630 - Add formatter to mozlog for producing a machine readable error summary, r=chmanchester
--HG--
extra : commitid : FeIqwyCNz06
extra : rebase_source : 32141de7decef684b241e674d02a709b5f87f09f
2015-07-08 11:32:57 +01:00
Wes Kocher ff2f0d32cf Backed out 24 changesets (bug 1173523, bug 1172080, bug 817007, bug 1165263) for android reftest bustage CLOSED TREE
Backed out changeset 84fe04b2e7d1 (bug 1172080)
Backed out changeset 0ff004760a1f (bug 1172080)
Backed out changeset af147585ad55 (bug 1165263)
Backed out changeset c3af8ebb6db0 (bug 1165263)
Backed out changeset cd3f33a888fe (bug 1165263)
Backed out changeset e5db39044a1e (bug 1165263)
Backed out changeset c01c9ed77061 (bug 1165263)
Backed out changeset fb723aaa4267 (bug 1165263)
Backed out changeset f754e52e74dc (bug 1165263)
Backed out changeset c6bda3a0afd6 (bug 817007)
Backed out changeset bfa100253349 (bug 817007)
Backed out changeset b787b3f9aadc (bug 1173523)
Backed out changeset 4a0676b73f77 (bug 1173523)
Backed out changeset 82034a4560c5 (bug 1173523)
Backed out changeset 4bdb91114c7a (bug 1173523)
Backed out changeset 72406261eccc (bug 1173523)
Backed out changeset 541b6faf7196 (bug 1173523)
Backed out changeset 1caac4569616 (bug 1173523)
Backed out changeset 0d4f9f9e1b4e (bug 1173523)
Backed out changeset 2d5661eb966c (bug 1173523)
Backed out changeset 89833c0bb0cd (bug 1173523)
Backed out changeset ea64d70eacfe (bug 1173523)
Backed out changeset a8e4f1c0c445 (bug 1173523)
Backed out changeset cf498d466b85 (bug 1173523)
2015-07-14 14:00:32 -07:00
Andrew Halberstadt cfd7060fa9 Bug 1182817 - [manifestparser] Fix exception in chunk_by_slice when there are two times more chunks than tests, r=chmanchester
--HG--
extra : commitid : K5KnytkByDT
extra : rebase_source : 502b560240f8319b3955485578705a5319980992
2015-07-13 14:38:34 -04:00
Michael Layzell 5b365a72da Bug 1165263 - Part 3: Update mozprofile to support new moz_hosts schema, r=ahal 2015-07-14 15:06:35 -04:00
Alessio Placitelli b2a33b514f Bug 1182424 - Part 1 - Always leave unified Telemetry behavior on for people who opted into Telemetry. r=gfritzsche 2015-07-10 13:31:53 +02:00