Commit Graph

58 Commits

Author SHA1 Message Date
Ahmed Kachkach
4dcc22f03c Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
Carsten "Tomcat" Book
d6ea794d8c Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Ahmed Kachkach
7d86d58e58 Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Geoff Brown
f40e8c3793 Bug 1027802 - Try to get ANR report and stack trace when Fennec hangs; r=jmaher 2014-07-03 22:11:41 -06:00
Andrew McCreight
89fc2c2986 Bug 988041 - Enable LeakSanitizer for Mochitests. r=jmaher 2014-06-20 09:08:30 -07:00
Nathan Froyd
c43fb27cff Bug 995417 - part 2 - testing infrastructure changes to set MOZ_DISABLE_NONLOCAL_CONNECTIONS; r=jmaher 2014-06-17 10:49:57 -04:00
Jim Chen
8715f77464 Bug 999071 - Empty ANR file during testing instead of deleting it; r=gbrown 2014-04-28 22:20:52 -04:00
Wes Kocher
66e8ec5020 Backed out 3 changesets (bug 999071) for Android rc1 failures
Backed out changeset ddf970be0abd (bug 999071)
Backed out changeset 8d2738b22275 (bug 999071)
Backed out changeset b82a8c50aa90 (bug 999071)
2014-04-24 18:12:46 -07:00
Jim Chen
91db7d8775 Bug 999071 - Empty ANR file during testing instead of deleting it; r=gbrown 2014-04-24 17:49:02 -04:00
William Lachance
9cddb231b1 Bug 996862 - Remove use of mozdevice's networktools. r=ahal 2014-04-21 11:03:51 -04:00
Geoff Brown
c34fb522a9 Bug 960265 - Add no-output timeouts for Android tests; r=jmaher 2014-02-02 08:11:23 -07:00
Geoff Brown
3e6407c68f Bug 963838 - Pass correct app name to automation in Android tests; r=jmaher 2014-02-02 08:11:22 -07:00
Nathan Froyd
40799f1ba5 Bug 938289 - part 1 - add automation support for adding DMD environment variables; r=jmaher 2013-11-13 14:47:41 -05:00
Ted Mielczarek
7af0d909a4 bug 914925 - fix --debugger for mochitest on OS X. r=jmaher 2013-09-16 14:44:25 -04:00
Geoff Brown
369a119a78 Bug 892118 - Suppress annoying Android x86 emu logcat message; r=jmaher 2013-11-17 10:23:15 -07:00
Ed Morley
b0ad37f8af Bug 923513 - Make remoteautomation.py use the new mozcrash check_for_java_exception(); r=jmaher 2013-10-16 16:18:29 +01:00
Dan Minor (dminor@mozilla.com)
819b3ce50c Bug 881897: Reduce frequency of polling in remoteautomation.py; r=jmaher 2013-06-28 07:49:53 -04:00
Ed Morley
ab726a16a9 Bug 872507 - Tweak logcat java-exception regex to strip more whitespace; r=jmaher 2013-05-17 12:42:02 +01:00
Geoff Brown
e06075d433 Bug 872244 - Dump ANR stack traces after Android tests; r=jmaher 2013-05-16 14:32:52 -06:00
Ed Morley
9d546017ba Bug 872116 - Output a TBPL compatible message for Android logcat "FATAL EXCEPTION" failures; r=jmaher 2013-05-14 19:08:47 +01:00
Geoff Brown
5832df9345 Bug 865944 - Use top activity instead of process to check launch success; r=jmaher 2013-05-03 11:37:59 -06:00
Nick Alexander
01afd7c8e0 Bug 863106 - Check for minidumps directory only when crash reporter is enabled. r=jmaher 2013-04-19 15:31:16 -07:00
Joel Maher
8caf21a371 Bug 827446 - update mochitest, reftest, xpcshell to use mozcrash. r=jhammel 2013-03-21 09:19:34 -04:00
Ryan VanderMeulen
03435943f0 Backed out changeset 1c19d2a03d90 (bug 827446) for packaging bustage on a CLOSED TREE. 2013-03-13 09:22:00 -04:00
Joel Maher
c7fbc01dc5 Bug 827446 - update mochitest, reftest, xpcshell to use mozcrash. r=jhammel 2013-03-13 07:38:00 -04:00
Geoff Brown
042f69a8ea Bug 844797 - Avoid UnboundLocalError on dumpDir in checkForCrashes; r=edmorley 2013-02-26 07:19:58 -07:00
Geoff Brown
c3a6f99044 Bug 823452: Check logcat for Java exceptions; r=jmaher 2013-02-13 11:42:15 -07:00
Ed Morley
779c83ee18 Bug 813577 - Use try/finally in checkForCrashes() to ensure minidump temp directories do not linger; r=gps 2013-02-08 16:32:07 +00:00
Geoff Brown
be75489946 Bug 809753 - Avoid python exception when maxTime is None; r=edmorley, DONTBUILD 2012-11-28 13:43:58 -07:00
Ed Morley
0798d964fd Bug 808410 - Callers of checkForCrashes should use its return value to ensure shutdown crashes actually make the run fail; r=jmaher f=gps 2012-11-20 15:24:28 +00:00
William Lachance
4a1fcf3f56 Bug 805116 - Print more of the logcat in mobile tests;r=gbrown 2012-11-12 13:57:13 -08:00
Ed Morley
44c0c46e66 Bug 808419 - remoteautomation.py's waitForFinish() should print to the log when maxTime is reached; r=jmaher 2012-11-05 13:03:55 +00:00
Ed Morley
3543a49fbe Bug 757838 - Make remoteautomation.py set lastTestSeen so Android crashes are output with the test filename; r=jmaher 2012-11-02 18:57:50 +00:00
Ed Morley
60a4edf93f Bug 757838 - Misc remoteautomation.py cleanup; r=jmaher 2012-11-02 18:57:50 +00:00
William Lachance
5549742864 Bug 756440 - Only try to download crash directory on device if it exists;r=jmaher
Under normal circumstances this should be created automatically inside the
profile directory when we first start, but this won't happen if we fail
to start properly altogether. If that's the case, we've got other problems
that will be reported as errors. Let's just print a warning so we don't
misdiagnose the problem under those circumstances.
2012-10-15 10:15:15 -04:00
William Lachance
382c927895 Bug 795496 - Make mozdevice raise exceptions on error;r=ahal,jmaher
It turns out that relying on the user to check return codes for every
command was non-intuitive and resulted in many hard to trace bugs.
Now most functinos just return "None", and raise a DMError when there's an
exception. The exception to this are functions like dirExists, which now return
booleans, and throw exceptions on error. This is a fairly major refactor,
and also involved the following internal changes:

* Removed FileError and AgentError exceptions, replaced with DMError
  (having to manage three different types of exceptions was confusing,
  all the more so when we're raising them)
* Docstrings updated to remove references to return values where no
  longer relevant
* pushFile no longer will create a directory to accomodate the file
  if it doesn't exist (this makes it consistent with devicemanagerADB)
* dmSUT we validate the file, but assume that we get something back
  from the agent, instead of falling back to manual validation in the
  case that we didn't
* isDir and dirExists had the same intention, but different
  implementations for dmSUT. Replaced the dmSUT impl of getDirectory
  with that of isDir's (which was much simpler). Removed
  isDir from devicemanager.py, since it wasn't used externally
* killProcess modified to check for process existence before running
  (since the actual internal kill command will throw an exception
  if the process doesn't exist)

In addition to all this, more unit tests have been added to test these
changes for devicemanagerSUT.
2012-10-04 11:28:07 -04:00
Dominik Oepen
83641522e7 Bug 774293 - Fix issues in devicemanager revealed by pyflakes;r=wlach 2012-08-14 10:41:11 -04:00
Geoff Brown
f917856e6e Bug 779250: Make Robocop tests run faster; r=jmaher 2012-08-08 08:25:27 -06:00
Tim Taubert
21026ba295 Bug 728294 - Part 1 - Remove old debug log parser; r=ted 2012-08-03 12:36:59 +02:00
Geoff Brown
7279ed69a0 Bug 774322 - use correct process name in RProcess; r=jmaher 2012-07-17 08:58:47 -06:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Geoff Brown
f947e06a8c Bug 705192: allow remotexpcshelltests.py to execute xpcshell via SUT agent; r=jmaher 2012-02-28 12:20:56 -05:00
Tim Taubert
6824dcd213 Bug 683953 - Follow up, add logger argument for mobile automation to fix Android bustage; r=bustage-fix 2012-02-26 20:35:09 +01:00
Joel Maher
2732dc5631 Bug 717725 - sutagent 'exec' waits for 'am instrument...' command to finish instead of letting it run in the background. r=gbrown 2012-01-14 08:24:17 -05:00
Joel Maher
f737f74e0a Bug 715309 - robocop needs to have a more uniform log format. r=gbrown 2012-01-07 18:41:08 -05:00
Ed Morley
23a62f3731 Backout 8ec01f6f316f (bug 705175), a1dc0efef542 (bug 716077), b5686f25b258 (bug 710445), 32f8d3be2ad1 (bug 715309) for mochitest/reftest failures on Android & Windows 2012-01-07 14:57:58 +00:00
Joel Maher
55e9820bbd Bug 715309 - robocop needs to have a more uniform log format. r=gbrown 2012-01-07 08:25:05 -05:00
Joel Maher
5284004019 Bug 691425 - allow for reftest/mochitest android crashes to be dumped in the logs just like desktop crashes. r=ctalbert 2011-10-06 10:51:03 -04:00
Cameron McCormack
884d695fd6 Bug 479352 - Hide mochitest results table if MOZ_HIDE_RESULTS_TABLE=1 is set. (v4) r=jmaher, a=testonly 2011-07-26 16:13:20 -07:00
Joel Maher
b70686f69a Bug 636534 - support incremental log output from remote testing harnesses. r=ctalbert, a=NPOTB 2011-02-26 13:19:55 -05:00