Commit Graph

137 Commits

Author SHA1 Message Date
Andrew McCreight
9a7d1efe62 Backout 1ffecdc47c6d for OSX and Windows docShell leaks. CLOSED TREE 2015-02-15 21:26:19 -08:00
Andrew McCreight
769afc6dfd 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
a8afda1934 Bug 1118852 - Print out information about leaked DOM windows and doc shells. r=chmanchester 2015-01-12 16:09:06 -08:00
Nicholas Nethercote
dceb4f2bc9 Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium. 2015-01-07 16:13:03 -08:00
Prashant Baisla
e2e53307e4 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
84279946f2 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.
2014-11-27 21:04:46 -08:00
Byron Campen [:bwc]
c38d863bab 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
7df5cae6d0 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]
d12f2ec301 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
d73089f15c 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)
43116972b8 Bug 1091267 - Move automationutils:parseKeyValue to mochitest's runtests.py. r=ahal 2014-11-06 03:34:00 +01:00
Pankaj Malhotra(:bitgeeky)
ebf9456905 Bug 1091270 - Move isURL out of automationutils; r=jgriffin 2014-11-04 16:59:40 -08:00
David Lubin
9a363b02d3 Bug 1091277 - Move replaceBackSlashes out of automationutils, r=jgriffin 2014-10-30 14:57:38 -07:00
Andrew McCreight
11c6399dd7 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
8be0c868e2 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
30014b26b9 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
49df868092 Bug 1067664, part 2 - Stop ignoring tab process leaks. r=jmaher 2014-09-30 09:54:25 -07:00
Andrew McCreight
4c9a0b67c6 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
e64c6475d0 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
6c245399f3 Bug 1071289 - Remove the leading space from processString in processSingleLeakFile. r=jmaher 2014-09-25 13:01:33 -07:00
Nils Ohlmeier [:drno]
d2c97725cc Bug 1049688 - Allow override of MOZ_DISABLE_NONLOCAL_CONNECTIONS. r=froydnj 2014-09-22 09:48:00 -04:00
Andrew McCreight
8499a9e834 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
b5d191fe2f Bug 1069689, part 3 - Make 'default' the default process type. r=jmaher 2014-09-19 15:00:43 -07:00
Andrew McCreight
b62fa44b8a 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
42f66b44b1 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
f8e46ae6a5 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
7885462da5 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
8fc068d7db Bug 1045525 - Convert automationutils python logging to log through mozlog.structured.;r=ahal 2014-08-29 10:37:17 -04:00
Andrew McCreight
0d102fd637 Bug 1052224 - Disable leak checking in content processes. r=jmaher 2014-08-22 10:59:22 -07:00
Ralph Giles
d9aa639a38 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
dac8e3bdf1 Bug 1052371 - Fix m-bc shutdown leak detector r=akachkach 2014-08-12 21:23:29 +02:00
Tim Taubert
d9c531449e Backed out changeset d04a9bf0df24 (bug 1052371) 2014-08-12 21:11:17 +02:00
Tim Taubert
fc8ef417dd Bug 1052371 - Fix m-bc shutdown leak detector r=akachkach 2014-08-12 13:25:23 +02:00
Ted Mielczarek
74337833c5 bug 1049202 - remove automationutils mozinfo workaround for non-mozharness Android tests. r=jmaher 2014-08-11 07:46:46 -04:00
Kyle Huey
716bebdd1e Bug 1038943: Bustage followup to fix Android on a CLOSED TREE. r=me 2014-08-05 15:15:38 -07:00
Kyle Huey
dbb3a36251 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
da5bbd070b Bug 1028090 - Enable xpcshell-test debugging on Windows platforms. r=jmaher 2014-07-28 12:04:00 -04:00
Ahmed Kachkach
75a8e87b19 Bug 1042979 - Clean up unused imports, variables, and dead code in mochitest. r=ahal 2014-07-24 06:23:00 +02:00
Ahmed Kachkach
e420cd4b58 Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
Carsten "Tomcat" Book
6cd0ff538d Backed out changeset 3325b46334d9 (bug 988464) for xpcshell test failure 2014-07-17 08:49:57 +02:00
Randell Jesup
a098487592 Bug 988464: log nsThreads still active at nsThreadManager::Shutdown() r=bsmedberg 2014-07-17 00:38:51 -04:00
Carsten "Tomcat" Book
1358119f32 Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Ahmed Kachkach
64d66ddf12 Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Andrew McCreight
ffde7e6c7d Bug 988041 - Enable LeakSanitizer for Mochitests. r=jmaher 2014-06-20 09:08:30 -07:00
Nathan Froyd
5cf290b70f 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
bef81b6821 Bug 1023368 - ASan tests should show an error when the symbolizer isn't found. r=jmaher 2014-06-14 16:43:46 -07:00
Vaibhav Agrawal
749010a126 Bug 908945 - Fix automation.py's exit code handling; r=jmaher 2014-03-26 06:14:51 -04:00
Nicholas Nethercote
f7cea84604 No bug. Fix a misplaced comma in build/automationutils.py. r=nalexander. 2014-03-20 17:46:13 -07:00
Nils Ohlmeier [:drno]
66aa8c410e Bug 977933 - Temporarily increase WebRTC logging for tests to help catching intermittent test failures. r=jesup 2014-03-04 13:51:37 -05:00
Jan de Mooij
7dd9b6e6a8 Bug 977921 - Override ASan malloc_context_size to save memory. r=decoder 2014-02-28 16:33:25 +01:00