Commit Graph

137 Commits

Author SHA1 Message Date
Andrew McCreight
32ed7a2bf6 Backout 1ffecdc47c6d for OSX and Windows docShell leaks. CLOSED TREE 2015-02-15 21:26:19 -08:00
Andrew McCreight
eb177fe773 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
f504f72f36 Bug 1118852 - Print out information about leaked DOM windows and doc shells. r=chmanchester 2015-01-12 16:09:06 -08:00
Nicholas Nethercote
8582ff9187 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
0f9e5d4ae6 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
7d0f2f414e 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]
816c0483d4 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
00cf414888 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]
3c896093a9 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
2ce21ee428 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)
f61c7eab1b Bug 1091267 - Move automationutils:parseKeyValue to mochitest's runtests.py. r=ahal 2014-11-06 03:34:00 +01:00
Pankaj Malhotra(:bitgeeky)
d146c5b08b Bug 1091270 - Move isURL out of automationutils; r=jgriffin 2014-11-04 16:59:40 -08:00
David Lubin
fd455c6cd1 Bug 1091277 - Move replaceBackSlashes out of automationutils, r=jgriffin 2014-10-30 14:57:38 -07:00
Andrew McCreight
4fcf9e3536 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
4c02dac13c 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
332647cd60 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
19c15bdbc6 Bug 1067664, part 2 - Stop ignoring tab process leaks. r=jmaher 2014-09-30 09:54:25 -07:00
Andrew McCreight
b41400dfe4 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
6c7fc66e82 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
da0a58f3db Bug 1071289 - Remove the leading space from processString in processSingleLeakFile. r=jmaher 2014-09-25 13:01:33 -07:00
Nils Ohlmeier [:drno]
999a679fe9 Bug 1049688 - Allow override of MOZ_DISABLE_NONLOCAL_CONNECTIONS. r=froydnj 2014-09-22 09:48:00 -04:00
Andrew McCreight
9c26893a4c 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
e82ece0916 Bug 1069689, part 3 - Make 'default' the default process type. r=jmaher 2014-09-19 15:00:43 -07:00
Andrew McCreight
ef73dc680f 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
28ff62477b 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
5ccf82255b 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
77aeb04740 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
949bb5e354 Bug 1045525 - Convert automationutils python logging to log through mozlog.structured.;r=ahal 2014-08-29 10:37:17 -04:00
Andrew McCreight
b276175bfe Bug 1052224 - Disable leak checking in content processes. r=jmaher 2014-08-22 10:59:22 -07:00
Ralph Giles
796d21b80d 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
c05e42221f Bug 1052371 - Fix m-bc shutdown leak detector r=akachkach 2014-08-12 21:23:29 +02:00
Tim Taubert
ada280317b Backed out changeset d04a9bf0df24 (bug 1052371) 2014-08-12 21:11:17 +02:00
Tim Taubert
8b39f8ee96 Bug 1052371 - Fix m-bc shutdown leak detector r=akachkach 2014-08-12 13:25:23 +02:00
Ted Mielczarek
96a23f8aff bug 1049202 - remove automationutils mozinfo workaround for non-mozharness Android tests. r=jmaher 2014-08-11 07:46:46 -04:00
Kyle Huey
4bf67a67d3 Bug 1038943: Bustage followup to fix Android on a CLOSED TREE. r=me 2014-08-05 15:15:38 -07:00
Kyle Huey
ead551b67a 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
eee8778d75 Bug 1028090 - Enable xpcshell-test debugging on Windows platforms. r=jmaher 2014-07-28 12:04:00 -04:00
Ahmed Kachkach
e1ddcc3365 Bug 1042979 - Clean up unused imports, variables, and dead code in mochitest. r=ahal 2014-07-24 06:23:00 +02:00
Ahmed Kachkach
68c23f6dff Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
Carsten "Tomcat" Book
b936e46813 Backed out changeset 3325b46334d9 (bug 988464) for xpcshell test failure 2014-07-17 08:49:57 +02:00
Randell Jesup
6962de3744 Bug 988464: log nsThreads still active at nsThreadManager::Shutdown() r=bsmedberg 2014-07-17 00:38:51 -04:00
Carsten "Tomcat" Book
f0569c8ad2 Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Ahmed Kachkach
c4872d76ea Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Andrew McCreight
4061f7761e Bug 988041 - Enable LeakSanitizer for Mochitests. r=jmaher 2014-06-20 09:08:30 -07:00
Nathan Froyd
7d732cdc91 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
354c4cc1fa 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
5d191ae6fd Bug 908945 - Fix automation.py's exit code handling; r=jmaher 2014-03-26 06:14:51 -04:00
Nicholas Nethercote
11779dca7f No bug. Fix a misplaced comma in build/automationutils.py. r=nalexander.
--HG--
extra : rebase_source : 7f82b008c72c15dfa696d240497c01a44a1fadfa
2014-03-20 17:46:13 -07:00
Nils Ohlmeier [:drno]
32a0e501c4 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
332dd47a4c Bug 977921 - Override ASan malloc_context_size to save memory. r=decoder
--HG--
extra : rebase_source : 500882c214de079c1d493e21a9ee91c3da743226
2014-02-28 16:33:25 +01:00