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

101 Коммитов

Автор SHA1 Сообщение Дата
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
Vaibhav Agrawal 710c031709 Bug 908945 - Fix automation.py's exit code handling; r=jmaher 2014-03-26 06:14:51 -04:00
Nicholas Nethercote 7a7cb4581f 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] 467da6872a 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 5ae1515090 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
Ted Mielczarek e395537fc6 bug 966858 - fix dumpScreen on Windows. r=jmaher
--HG--
extra : rebase_source : 76f87429a657cb24e4fd76398fabb894df987d96
2014-02-05 09:34:23 -05:00
Nathan Froyd 5353fda9f9 Bug 963280 - pass more options by default when using valgrind as a debugger; r=njn 2014-01-23 16:49:56 -05:00
Mihai Tabara 1ea10a6b41 Bug 961108 - make dumpScreen always write to a file in MOZ_UPLOAD_DIR. r=ted,jmaher 2014-01-17 12:04:02 -05:00
Nils Ohlmeier [:drno] 18d3e0bd88 Bug 951314 - Only set WebRTC debug variables if not present. r=ted 2013-12-19 11:42:19 -05:00
Ryan VanderMeulen f5d9af358e Backed out changeset 08009e8417e9 (bug 951314) for Windows bustage. 2013-12-19 11:58:24 -05:00
Nils Ohlmeier [:drno] 370726bf59 Bug 951314 - Only set WebRTC debug variables if not present. r=ted 2013-12-19 11:42:19 -05:00
Nathan Froyd a61847de44 Bug 943734 - escape URL arguments in mochitests for the benefit of LLDB; r=jmaher 2013-12-03 13:01:30 -05:00
Ed Morley df8953eecb Bug 943474 - Don't print the overall summary for shutdown leak detector failures; r=ttaubert 2013-11-27 13:52:02 +00:00
Nathan Froyd 0f8ca584d8 Bug 938289 - part 1 - add automation support for adding DMD environment variables; r=jmaher 2013-11-13 14:47:41 -05:00
Ryan VanderMeulen 5f5fcba645 Merge m-c to fx-team. 2013-11-21 11:39:17 -05:00
Tim Taubert eee5c89ff7 Bug 932898 - Bring back the shutdown leak detector r=ted
From 246109686e62e3231ccba74a84adaa0774f2a1af Mon Sep 17 00:00:00 2001
2013-11-20 21:53:08 +01:00
Ryan VanderMeulen e1f22e4fdc Backed out changeset 53627e59f761 (bug 932898) for mochitest-mc timeouts. 2013-11-20 14:30:30 -05:00
Tim Taubert c8b9db8497 Bug 932898 - Bring back the shutdown leak detector r=ted 2013-11-01 11:25:17 +01:00
Ted Mielczarek 0cf4101913 bug 914925 - fix --debugger for mochitest on OS X. r=jmaher 2013-09-16 14:44:25 -04:00
Nathan Froyd 8e269c2f4c Bug 940928 - delete redundant entry for cgdb in the debuggers list; r=jmaher 2013-11-20 06:07:53 -05:00
Christian Holler 1c2bc77c17 Bug 934641 - Switch ASan tests to using the low-memory config instead of the mid-memory config, to work around intermittent OOM failures, r=philor 2013-11-14 01:44:41 +01:00
Christian Holler 9d5780d863 Bug 932159 - ASan: Reduce quarantine_size for mochitests to avoid OOM. rs=ted
--HG--
extra : rebase_source : 42cc093284cc38df0763e0b093371f1bc5f8ed86
2013-10-29 18:56:18 +01:00
Christian Holler ab08cf6060 Bug 929024 - Fix ASan symbolizing for mochitests. r=ted
--HG--
extra : rebase_source : f6b4ee3a5d84ba1987f2a35abe9b28c1d45efb2e
2013-10-21 20:11:07 +02:00
Jeff Hammel 571a5beee7 Bug 921676 - mochitest screenshots fallout from bug 746243;r=ted 2013-10-05 15:28:34 -07:00
Jeff Hammel e42a4902be Bug 746243 - port Mochitest to Mozbase;r=ted 2013-09-23 07:47:48 -07:00
Garrett Robinson e499a38300 Bug 875126 - Make cgdb an option for mach --debugger. r=ted 2013-06-12 16:17:11 -04:00
Nathan Froyd 54f19801f4 Bug 875332 - add cgdb to the known debuggers list; r=jmaher 2013-05-23 10:56:18 -04:00
Nathan Froyd 0e21827b57 Bug 873493 - add lldb to the list of known debuggers; r=jmaher 2013-05-17 11:22:00 -04:00
Joel Maher acbe7e05ea Bug 827446 - update mochitest, reftest, xpcshell to use mozcrash. r=jhammel 2013-03-21 09:19:34 -04:00
Ed Morley f6617f5189 Bug 850681 - Part 11: Move processString to the message part of log lines & remove unhelpful process IDs; r=ted
Our standard logging format is:
TEST-{INFO,UNEXPECTED-FAIL} | testName | message

For leak logs from processes other than the main process (eg plugin processes),
currently processSingleLeakFile outputs:
TEST-{INFO,UNEXPECTED-FAIL} | foo process 123 | testName | message

This patch turns these into:
TEST-{INFO,UNEXPECTED-FAIL} | testName | foo process: message

Note: The process ID is contained in the raw leak log (which gets printed to the
log anyway), so we don't need to repeat it in the main summary log lines. In
addition, the variable process ID often breaks TBPL bug suggestions, so should
be avoided where possible.
2013-03-18 17:18:08 +00:00
Ed Morley 12b244922e Bug 850681 - Part 10: Tweak comments; r=ted 2013-03-18 17:18:08 +00:00
Ed Morley 3c3dd579bf Bug 850681 - Part 9: Return early if possible during leak summary generation; r=ted
Now that we close the log file before summary generation (rather than at the
end of processSingleLeakFile()), we can return early in some cases during
leak summary generation.
2013-03-18 17:18:07 +00:00
Ed Morley c1a0c09ea1 Bug 850681 - Part 8: Only parse the leak log once; r=ted
The existing code parses the leak log twice - first time to output the
raw log lines & and the second to output the analysis of them.

As much fun as it is to loop all the things (\o/), let's not.
2013-03-18 17:18:07 +00:00
Ed Morley 749c5bccd8 Bug 850681 - Part 7: Use the cleaner |with open() as foo| pattern & and don't close/reopen the log unnecessarily; r=ted 2013-03-18 17:18:06 +00:00
Ed Morley aab3340fe2 Bug 850681 - Part 6: Clean up log parsing conditionals & move the leak threshold reminder to the calling function; r=ted
The same threshold is used for all leak logs processed from the test run, so
unnecessary to repeat for each.
2013-03-18 17:18:06 +00:00
Ed Morley 6d7dab1c5b Bug 850681 - Part 5: Clean up logging; r=ted 2013-03-18 17:18:05 +00:00
Ed Morley f2d6987c21 Bug 850681 - Part 4: Add a partial list of leaked objects to the leak summary, to allow TBPL to make bug suggestions; r=ted
Current summary line:
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 216 bytes during test execution

With patch parts 1-4:
TEST-UNEXPECTED-FAIL | leakcheck | 180 bytes leaked (Mutex, ReentrantMonitor, nsRunnable, nsTArray_base, nsThread)

...or with ellipses if more than 5 objects:
TEST-UNEXPECTED-FAIL | leakcheck | 3184 bytes leaked (BackstagePass, CondVar, Mutex, ReentrantMonitor, SharedScriptableHelperForJSIID, ...)
2013-03-18 17:18:05 +00:00
Ed Morley a5009bbcf3 Bug 850681 - Part 3: Output all of the leaked object lines as TEST-INFO rather than a combination of TEST-INFO and TEST-UNEXPECTED-FAIL; r=ted
Since the main leak summary will soon include an overview of the leaked objects,
we no longer need/want a subset of the individual leak lines showing up in
TBPL's annotated summary (TBPL's parser matches on 'TEST-UNEXPECTED-FAIL').
2013-03-18 17:18:04 +00:00
Ed Morley 481990d90a Bug 850681 - Part 2: Wait until the full leak log has been processed before outputting the leak total; r=ted
Will allow the addition of an overview of the leaked objects, in part 4.
2013-03-18 17:18:04 +00:00
Ed Morley 1ea3d10926 Bug 850681 - Part 1: Use the test name 'leakcheck' rather than 'automationutils.processLeakLog()'; r=ted
Reduces the chance of line wrapping in the TBPL annotated summary, and makes
my eyes bleed less every time I see leak failures.
2013-03-18 17:18:03 +00:00
Ryan VanderMeulen 35ddb95cc4 Backed out changeset 1c19d2a03d90 (bug 827446) for packaging bustage on a CLOSED TREE. 2013-03-13 09:22:00 -04:00