Nathan Froyd
4f01adc46e
Bug 1158227 - part 2 - set TSAN_OPTIONS environment variable in automationutils.py for TSan; r=jmaher
2015-04-24 11:42:54 -04:00
Andrew McCreight
43a628f9e3
Bug 1156982 - Add separators to BloatView output. r=froydnj
...
This will ensure we properly parse class names containing spaces.
Note that if a class name somehow ends up containing operator| then this will end up again silently failing.
2015-04-22 11:06:50 -07:00
Mike Hommey
26b3c4f285
Bug 1138293 - Remove moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
...
We need to use _impl variants within mozalloc.h when they are defined because
of how mozglue.dll is linked on Windows, where using malloc/free would use
the symbols from the MSVCRT instead of ours.
2015-03-31 12:32:49 +09:00
Andrew McCreight
cc7daba0dd
Bug 1073352, part 1 - Make the DOMWINDOW and DOCSHELL leak detector work with e10s. r=jmaher
...
This reworks how the Mochitest DOMWINDOW and DOCSHELL leak detector works. Rather than
collecting immediately in the top-level script, it sends a message to all processes
telling them to carry out collections. Each process prints out a message when it has
finished the collections. This message is used by the test harness to decide when windows
and docshells for that process should be have been destroyed.
In non-e10s mode, the shutdown leak detector is only run in the parent process, to work
around various issues with leak detection in the thumbnail process tests.
2015-02-24 13:00:54 -08:00
Andrew McCreight
d20d59ce3f
Backout 1ffecdc47c6d for OSX and Windows docShell leaks. CLOSED TREE
2015-02-15 21:26:19 -08:00
Andrew McCreight
e0a76a26b8
Bug 1073352, part 1 - Make the DOMWINDOW and DOCSHELL leak detector work with e10s. r=jmaher
...
This reworks how the Mochitest DOMWINDOW and DOCSHELL leak detector works. Rather than
collecting immediately in the top-level script, it sends a message to all processes
telling them to carry out collections. Each process prints out a message when it has
finished the collections. This message is used by the test harness to decide when windows
and docshells for that process should be have been destroyed.
2015-02-14 11:43:45 -08:00
Andrew McCreight
41cbe773bd
Bug 1118852 - Print out information about leaked DOM windows and doc shells. r=chmanchester
2015-01-12 16:09:06 -08:00
Nicholas Nethercote
97b5d348cc
Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium.
...
--HG--
extra : rebase_source : 771710c5427141d738eef112fab00951eb8e20e3
2015-01-07 16:13:03 -08:00
Prashant Baisla
a44cc8c44c
Bug 1091269 - Removed ZipFileReader class from automationutils.py and changed automation.py.in to use zipfile.extractall. r=jgriffin
2014-12-20 14:45:48 +01:00
Nicholas Nethercote
98688c1a41
Bug 1100851 - Tweak DMD to account for the fact that $DMD can now be undefined. r=glandium.
...
Now that defining $DMD is no longer necessary to run DMD, this patch does the
following.
- Removes all the places where we set DMD=1 (test harnesses, etc.)
- Still handles DMD=1, for backwards compatibility.
- Prints "$DMD is undefined" at DMD start-up if appropriate.
- Writes a |null| value for |dmdEnvVar| in the JSON if $DMD is undefined. Bumps
the DMD output version number accordingly.
- Changes a bunch of the test files accordingly, including changing the mode of
script-ignore-alloc-fns.json in order to test a case where $DMD is undefined.
--HG--
extra : rebase_source : eb1ef5722410734ce6d7658465ff6f442ee4ed49
2014-11-27 21:04:46 -08: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
Nazma Panjwani
9bd7bfc683
Bug 1091280 - moved options from AutomationUtils.addCommonOptions to runreftest.py, mochitest_options.py, runxpcshelltests.py and removed the addCommonOptions from automationUtils and automation.py.in, r=ahal
2014-11-19 12:31:45 -08:00
Pankaj Malhotra(:bitgeeky)
ff6b9df484
Bug 1091267 - Move automationutils:parseKeyValue to mochitest's runtests.py. r=ahal
2014-11-06 03:34:00 +01:00
Pankaj Malhotra(:bitgeeky)
4351fe04c1
Bug 1091270 - Move isURL out of automationutils; r=jgriffin
2014-11-04 16:59:40 -08:00
David Lubin
ed80762e89
Bug 1091277 - Move replaceBackSlashes out of automationutils, r=jgriffin
2014-10-30 14:57:38 -07:00
Andrew McCreight
f3d650b7c0
Bug 1076969
- processLeakLog should come up with reasonable defaults itself. r=jmaher
...
Instead of grabbing attributes off options at every call site, pass
in the options object to processLeakLog, and attempt to get the attributes
there. If not present, use a restrictive default value.
This will prevent silent harness failures if one of the many ways to invoke
processLeakLog fails to set up these options, and makes it so they
don't have to set it up if they don't care.
2014-10-06 14:23:17 -07:00
Andrew McCreight
79f57cdabf
Bug 1068276, part 2 - Make unexpected failure to produce a leak log an error. r=jmaher
2014-09-30 14:17:27 -07:00
Andrew McCreight
b71a75b37a
Bug 1068276, part 1 - Allow configuring which type of processes we complain about when there's no leak log. r=jmaher
...
Then don't warn for missing logs from tab and geckomediaplugin processes, or default processes on B2G.
2014-09-30 14:17:27 -07:00
Andrew McCreight
f699010d29
Bug 1067664, part 2 - Stop ignoring tab process leaks. r=jmaher
2014-09-30 09:54:25 -07:00
Andrew McCreight
3a5312793b
Bug 1067664, part 1 - Allow different leak thresholds for different types of processes. r=jmaher
2014-09-30 09:54:25 -07:00
Stephen Pohl
f88b557bf2
Mac v2 signing - Bug 1060652
- Make mochitest harness work with the new bundle structure for v2 signatures on OSX. r=jmaher
2014-09-29 11:51:25 -07:00
Andrew McCreight
bfdfbb78eb
Bug 1071289 - Remove the leading space from processString in processSingleLeakFile. r=jmaher
2014-09-25 13:01:33 -07:00
Nils Ohlmeier [:drno]
7204b2e48f
Bug 1049688 - Allow override of MOZ_DISABLE_NONLOCAL_CONNECTIONS. r=froydnj
2014-09-22 09:48:00 -04:00
Andrew McCreight
6ce32f12eb
Bug 1068280 - If there are multiple bloat views in a single leak log, use the largest one. r=jmaher
2014-09-22 11:07:46 -07:00
Andrew McCreight
154ca8c80b
Bug 1069689, part 3 - Make 'default' the default process type. r=jmaher
2014-09-19 15:00:43 -07:00
Andrew McCreight
06cb96aeec
Bug 1069689, part 2 - Don't generate a regexp then throw it away. r=jmaher
2014-09-19 15:00:43 -07:00
Andrew McCreight
4578b908ad
Bug 1069689, part 1 - .*? at the start of a search regexp isn't useful. r=jmaher
2014-09-19 15:00:43 -07:00
Chris Manchester
6a79dce6d7
Bug 1061670 - Log failures in automationutils.py at the warning level for visibility when running locally. r=ahal
2014-09-16 22:32:13 -04:00
Alessio Placitelli
a7b1ef77b3
Bug 928397 - Enable xpcshell-test debugging on Windows platforms and default debugger detection. r=ted.mielczarek
2014-07-02 13:52:00 +02:00
Chris Manchester
7f6a9e49b0
Bug 1045525 - Convert automationutils python logging to log through mozlog.structured.;r=ahal
2014-08-29 10:37:17 -04:00
Andrew McCreight
c9effe53d4
Bug 1052224 - Disable leak checking in content processes. r=jmaher
2014-08-22 10:59:22 -07:00
Ralph Giles
ebddba08ca
Bug 1054043 - Remove wrapcommand. r=ted
...
This code was only needed on osx 10.5, and the version string compare
fails on osx 10.10.
2014-08-14 15:35:00 -07:00
Tim Taubert
d6fbf13d57
Bug 1052371 - Fix m-bc shutdown leak detector r=akachkach
2014-08-12 21:23:29 +02:00
Tim Taubert
6d259c19e1
Backed out changeset d04a9bf0df24 (bug 1052371)
2014-08-12 21:11:17 +02:00
Tim Taubert
db8ba6ec31
Bug 1052371 - Fix m-bc shutdown leak detector r=akachkach
2014-08-12 13:25:23 +02:00
Ted Mielczarek
f695e9521d
bug 1049202 - remove automationutils mozinfo workaround for non-mozharness Android tests. r=jmaher
2014-08-11 07:46:46 -04:00
Kyle Huey
2acb98680e
Bug 1038943: Bustage followup to fix Android on a CLOSED TREE. r=me
2014-08-05 15:15:38 -07:00
Kyle Huey
66021be422
Bug 1038943: Turn on leak checking on B2G with an initial threshold of 400000 bytes. r=ahal,dbaron
2014-08-05 14:11:53 -07:00
Alessio Placitelli
788bd0a30d
Bug 1028090 - Enable xpcshell-test debugging on Windows platforms. r=jmaher
2014-07-28 12:04:00 -04:00
Ahmed Kachkach
634b6a5ff0
Bug 1042979 - Clean up unused imports, variables, and dead code in mochitest. r=ahal
2014-07-24 06:23:00 +02:00
Ahmed Kachkach
4b03d2c025
Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger
2014-07-17 09:02:00 +02:00
Carsten "Tomcat" Book
3bf8efc62d
Backed out changeset 3325b46334d9 (bug 988464) for xpcshell test failure
2014-07-17 08:49:57 +02:00
Randell Jesup
7385a3fcfb
Bug 988464: log nsThreads still active at nsThreadManager::Shutdown() r=bsmedberg
2014-07-17 00:38:51 -04:00
Carsten "Tomcat" Book
ce57787693
Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows
2014-07-11 14:15:29 +02:00
Ahmed Kachkach
50db9012f6
Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger
2014-07-10 13:33:00 +02:00
Andrew McCreight
a7fbd0d3c2
Bug 988041 - Enable LeakSanitizer for Mochitests. r=jmaher
2014-06-20 09:08:30 -07:00
Nathan Froyd
b6301f2928
Bug 995417 - part 2 - testing infrastructure changes to set MOZ_DISABLE_NONLOCAL_CONNECTIONS; r=jmaher
2014-06-17 10:49:57 -04:00
Andrew McCreight
8f67db8df7
Bug 1023368 - ASan tests should show an error when the symbolizer isn't found. r=jmaher
2014-06-14 16:43:46 -07:00