Commit Graph

499 Commits

Author SHA1 Message Date
Gregory Szorc
63c60857b5 Bug 1116194 - Catch errors calling psutil; r=ted
The build system / mach currently has a very hacky virtualenv setup.
Essentially, it resorts to sys.path munging instead of a proper,
isolated environment.

During initialization, mach installs python/psutil in sys.path. Later
on, some code does an |import psutil|. This fails iff the psutil C
extension can't be found.

If there is a psutil C extension installed outside of mach and
python/psutil, |import psutil| may load it. The version mismatch isn't
detected until an extension-using psutil API is called. This has
manifested inside |mach build| via the resource monitor as an
|AttributeError: 'module' object has no attribute 'linux_sysinfo'|
exception during psutil.virtual_memory().

The proper fix for this is for the Python environment to ensure the
psutil C extension is built before attempting to import and use psutil.
Arguably, psutil itself should perform some kind of version check when
it imports the C extension to ensure things are in sync and fail at
import time.

Fixing mach and the build system Python environment to build psutil
earlier/properly is a long outstanding bug. It needs to be addressed.
But it is considerable effort. This patch continues the long history of
wallpapering over psutil import/run failures because using a proper
virutalenv from mach/build system is a lot of work. Sad panda.

--HG--
extra : rebase_source : 5c449d69c0fd907ea8359ac721ef6287baa4f10e
2014-12-29 12:06:21 -08:00
Julien Pagès
ae85f164f2 Bug 1065406 - [mozlog] Split test class and name for XUnit formatter. r=jgraham 2014-12-16 16:02:00 +01:00
Ms2ger
f2b16bc10f No bug - Bump the mozlog package version; rs=jgraham 2014-12-19 11:27:28 +01:00
Ms2ger
de702b2126 Bug 1113095 - Handle failing reftests in machformatter's summarizing code; r=jgraham 2014-12-19 11:25:51 +01:00
Ryan VanderMeulen
5e64a42418 Backed out changeset 88a15054f99f (bug 794984) for suspicion of "causing" Mulet mochitest crashes (and possible Linux32 mochitest-e10s-dt as well). 2014-12-18 18:11:13 -05:00
Henrik Skupin
a46504a0fc Bug 1113284 - Bump manifestparser to 0.9. r=ahal
--HG--
extra : rebase_source : aaf0d817aab50e25a2f45c2f3c5e386c366ea056
2014-12-18 21:00:35 +01:00
Henrik Skupin
e88593acfd Bug 1110837 - [manifestparser] If parents are used, the first include in the master manifest is always used to determine defaults. r=jmaher
--HG--
extra : rebase_source : a28ecbd99906a54df76a5b74a45af9feac120488
2014-12-18 20:55:44 +01:00
Julien Pagès
ae6214cb51 Bug 794984 - [mozprocess] Add ability to separate stderr from stdout, r=ahal
A new parameter called 'processStderrLine' is added. When specified, stdout gets processed by the
'processOutputLine' callbacks and stderr is processed by the 'processStderrLine' callbacks. When
not specified, stderr is redirected to stdout which is the same default behaviour.

A side effect of this is that mozprocess now uses three threads to process output. One thread each
for stdout and stderr that reads output lines and stores them in a Queue as fast as possible, this
makes sure there is no blocking in stdout.write(). A third thread executes the callbacks.

--HG--
extra : rebase_source : d4601a6ae21ca61bfdca308c68155ce2c2e09e43
2014-12-18 11:53:14 -05:00
Andrew Halberstadt
28f79d4ae5 Bug 1111727 - Bump mozrunner to version 6.7, r=whimboo
--HG--
extra : rebase_source : 34854203ebbc8b2339de54f83d29e381f718208a
2014-12-16 09:31:06 -05:00
Andrew Halberstadt
b8abb8e65f Bug 1111727 - Make sure mozrunner's command line interface uses the proper profile class, r=whimboo
--HG--
extra : rebase_source : 46c97f32314078f71808bd5083df159060f6f4d7
2014-12-15 16:47:13 -05:00
Bob Clary
afea3926fa Bug 1110817 - [mozdevice] - adb_android.is_device_ready - UnboundLocalError: local variable 'data' referenced before assignment, r=wlach. 2014-12-14 18:18:39 -08:00
Bob Clary
4fee9d910f Bug 1099475 - devicemanagerADB.py - Do not quote uri in launchProcess since it is passed in an argument array in _checkCmd, r=wlach 2014-12-14 18:18:38 -08:00
Chris Manchester
11a1ff5261 Bug 1055765 - Implement log buffering as a handler in mozlog.;r=jgraham 2014-12-12 12:08:31 -05:00
Byron Campen [:bwc]
3af28ea884 Bug 1091242 - Part 6: Wiring the new JSEP handler code in. See https://github.com/unicorn-wg/gecko-dev/tree/multistream_rebase for more history. r=jesup, r=smaug 2014-11-19 16:16:29 -08:00
Phil Ringnalda
5fe54ea0fd Backed out 10 changesets (bug 1091242) for Android/b2g non-unified build bustage
CLOSED TREE

Backed out changeset 7f72b55c5de7 (bug 1091242)
Backed out changeset f1501aa24397 (bug 1091242)
Backed out changeset 7fde5994aee5 (bug 1091242)
Backed out changeset 59b415714087 (bug 1091242)
Backed out changeset dadb65fedc08 (bug 1091242)
Backed out changeset 21be81424e4e (bug 1091242)
Backed out changeset 498fb1dafba5 (bug 1091242)
Backed out changeset 8d0653eb85ab (bug 1091242)
Backed out changeset c82d484e135a (bug 1091242)
Backed out changeset 3e0c8932f1b1 (bug 1091242)
2014-12-08 20:53:07 -08:00
Byron Campen [:bwc]
bb404e8254 Bug 1091242 - Part 6: Wiring the new JSEP handler code in. See https://github.com/unicorn-wg/gecko-dev/tree/multistream_rebase for more history. r=jesup, r=smaug 2014-11-19 16:16:29 -08:00
Julien Pagès
3dfa6981dc Bug 920938 - [manifestparser] handle symlinks in populate_directory and from directories; r=jmaher 2014-12-05 09:59:00 +01:00
Malini Das
a9ea28c960 Bug 1108023 - update idb path in mozrunner, r=ahal 2014-12-05 14:32:38 -08:00
Ting-Yu Chou
16959d7bdc Bug 989048 - Do not overwrite emulator's user data image. r=ahal
--HG--
extra : rebase_source : d7143ad6539c162f1c3e42211258febe4e862f48
2014-12-03 16:41:45 -08:00
Dave Hunt
c2507c0921 Bug 1105995 - [mozversion] Bump version to 1.1. r=wlachance 2014-12-02 05:31:07 -08:00
Dave Hunt
bd758ab7fa Bug 1102140 - [mozversion] Support the ADB server running on an alternate host/port. r=wlachance 2014-11-28 09:59:23 +00:00
Julien Pagès
e93266931a Bug 1065390 - [mozlog] various minor improvements of XUnit structured formatter; r=jgraham 2014-10-20 14:35:00 +02:00
Dave Hunt
164f5d917f Bug 1105764 - [mozdevice] Bump version to 0.44. r=mdas 2014-11-27 15:32:41 +00:00
Dave Hunt
1b21a53daf Bug 1101655 - [mozdevice] Support the ADB server running on an alternate host/port. r=wlachance 2014-11-25 10:19:00 +01:00
James Graham
26505efb5a Bug 1103905 - Bump version number of mozlog, r=davehunt 2014-11-24 12:56:32 +00:00
Dave Hunt
29fe8bc8e8 Bug 1066077 - [mozdevice] Raise an exception when there is no device attached. r=wlachance 2014-11-20 04:08:00 +01:00
James Graham
9526da9ec9 Bug 1098404 - Implement per-component filters for mozlog, r=chmanchester
This allows individual component loggers to e.g. discard all messages below a
set level, or rewrite messages from one level to another.

--HG--
extra : rebase_source : 9b37981368edb099ac555a2dacfafd486f8fcd2d
extra : histedit_source : 144d17f582944703b07529e31bf13b845d5f9695%2C706e2b7db06a1217d0e956614f0232c153a6a3d0
2014-11-21 11:43:54 +00:00
Carsten "Tomcat" Book
20d22ead7d Backed out changeset d917152c263d (bug 920938) for build warning/failures 2014-11-21 11:05:45 +01:00
Philipp Kewisch
0ce09769bd Bug 1095151 - [mozinstall] Don't show finder window when installing a dmg on mac. r=whimboo 2014-11-06 23:29:03 +01:00
Julien Pagès
48c4761304 Bug 920938 - [ManifestDestiny] handle symlinks in populate_directory and from directories; r=jmaher 2014-11-03 04:24:00 +01:00
Andrew Halberstadt
56769d6693 Bug 1060527 - [mozprocess] signal finished if IO completion port unexpectedly closed on windows, r=jgriffin
--HG--
extra : rebase_source : 773b4bdcbaa088caa958b6d084989439f00a0370
2014-11-14 08:47:32 -05:00
Andrew Halberstadt
6ae8df7d8d Bug 1073093 - [mozlog] make sure formatter wasn't removed from defaults before adding commandline option for it, r=chmanchester
--HG--
extra : rebase_source : 3357bbf0ea607a07111b6aa5258d0476c782f824
2014-11-14 09:23:22 -05:00
William Lachance
807b164e44 Bug 1097901 - Improve structured log example + docs;r=jgraham DONTBUILD 2014-11-13 16:45:43 -05:00
Ryan VanderMeulen
c284b7b86e Backed out changeset 92fc5580994a (bug 1038868) for causing intermittent OSX Marionette timeouts.
--HG--
extra : rebase_source : dcf4d8c25d8612b043c3a08a862ffef99c16fd95
2014-11-12 14:39:59 -05:00
Chris Manchester
bbdbda2391 Bug 1090485 - Fix mozlog's commandline to accept file arguments for a formatter that is also the stdout default.;r=jgraham 2014-10-28 17:03:20 -04:00
Dave Hunt
0cd239082f Bug 1038868 - Use B2GDeviceRunner in the Marionette client. r=ahalberstadt 2014-11-12 14:52:59 +00:00
Dave Hunt
4d40d47232 Bug 1094164 - [mozdevice] Raise exception if we fail to forward socket connections. r=wlachance 2014-11-12 10:41:41 +00:00
Dave Hunt
cbf6fb7b78 Bug 1087250 - [mozlog] Bump version number to 0.27. r=wlachance 2014-11-06 08:57:26 +00:00
Pankaj Malhotra(:bitgeeky)
945b5e8e0b Bug 1064960 - [mozprocess] Guard against the output thread trying to join with itself. r=ahal 2014-11-04 02:35:00 +01:00
Dave Hunt
ac79da7488 Bug 1090148 - [mozlog] Remove test class from HTML formatter. r=cmanchester 2014-11-05 10:44:19 +00:00
Pankaj Malhotra(:bitgeeky)
a5b690fcb0 Bug 1087682 - Add a manifestparser test for the case where there is no manifest. r=jgriffin 2014-11-04 04:16:00 +01:00
Geoff Brown
65d6cce4d3 Bug 1093328 - Limit crashreports to first 10 minidumps; r=ted 2014-11-04 08:17:19 -07:00
William Lachance
4c804223f2 Bug 1093175 - Make ADBDevice examples in docs run as written;r=bc DONTBUILD 2014-11-03 12:09:02 -05:00
William Lachance
1438f1530b Bug 945706 - [mozlog] logger.exception() calls do not add exception information to the output; r=wlach 2014-11-03 11:26:11 -05:00
Chris Manchester
f361b4e1ec Bug 1091413 - Refrain from printing the command args with each call to process_output in mozlog's machformatter;r=jgraham 2014-10-30 11:37:22 -04:00
Mark Hammond
52453853a0 Bug 1090733 - xpcshell tests fail if no terminal configured. r=chmanchester 2014-10-30 12:13:34 +11:00
Malini Das
5db861cb4a Bug 1090022 - [mozrunner] Allow storing crashdumps by default, r=ahal 2014-10-28 11:41:19 -04:00
Tom Tromey
d09e9bb441 Bug 1075072 - Pass debuggerArgs as a string to get_debugger_info. r=ted 2014-10-24 09:40:00 -04:00
Dave Hunt
706c1d8dec Bug 1087248 - [mozlog] Fix encoding for debug in HTML formatter such as page source. r=jgraham 2014-10-27 05:55:00 +01:00
Geoff Brown
491f156d9a Bug 1084473 - Avoid intermittent DMError in getTopActivity on some Android 4.4 devices; r=jmaher 2014-10-24 09:37:32 -06:00