Commit Graph

297 Commits

Author SHA1 Message Date
Joel Maher
ea4911f41d Bug 786414 - unable to update sutagent on the panda boards. r=wlach DONTBUILD 2012-11-29 15:14:11 -05:00
Geoff Brown
26b1b74298 Bug 809753 - Avoid python exception when maxTime is None; r=edmorley, DONTBUILD 2012-11-28 13:43:58 -07:00
Geoff Brown
1ef03a9e68 Bug 814496 - sutAgent: Stop RedirOutputThread when timeout exceeded; r=wlach 2012-11-27 14:05:18 -07:00
Ed Morley
4ad312620d 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
0bea33309a Bug 811388 - Update mozdevice to 0.15, update consumers;r=ahal 2012-11-14 09:49:04 -08:00
Kartikaya Gupta
402ad2d9c7 Bug 810171 - Add a test for VKB overlap input fields. r=cpeterson 2012-11-13 12:11:25 -08:00
William Lachance
0bd9276583 Bug 805116 - Print more of the logcat in mobile tests;r=gbrown 2012-11-12 13:57:13 -08:00
Wes Johnston
a3cbbff917 Bug 759041 - Bring in Android compatibility libraries. r=blassey 2012-11-08 07:45:29 -08:00
Joel Maher
769642690f Bug 809534 - add support to watcher to support version query. r=wlach DONTBUILD 2012-11-08 07:33:03 -05:00
Joel Maher
47dd0a9d8c Bug 809366 - watcher has high cpu usage on panda boards in racked environment. r=wlach DONTBUILD 2012-11-08 07:33:00 -05:00
Joel Maher
126ae9c202 Bug 809364 - sutagent zeroconf is causing jmdns thread to spike cpu on panda boards. r=wlach DONTBUILD 2012-11-08 07:32:58 -05:00
Andrew Halberstadt
7441301341 Bug 798580 - Run mochitests from within test-container app's oop iframe, r=jgriffin 2012-10-31 09:37:22 -04:00
Ed Morley
28935a84bf 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
df651e6a1c Bug 757838 - Make b2gautomation.py set lastTestSeen so crashes are output with the test filename; r=jgriffin 2012-11-03 17:10:59 +00:00
Ed Morley
a1dffba9d7 Bug 757838 - Misc b2gautomation.py cleanup; r=jgriffin 2012-11-03 17:10:59 +00:00
Ed Morley
11ec75bdd6 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
29ee6e6f9e Bug 757838 - Misc remoteautomation.py cleanup; r=jmaher 2012-11-02 18:57:50 +00:00
Joel Maher
52bf998910 Bug 799107 - minidumps not being generated from robocop test crashes (breakpad environment variables not being set properly). r=kats 2012-10-16 13:25:23 -04:00
Joel Maher
c2138f61fe Backout e814e12508af (bug 799107), 45863b00372b (bug 801633), 2012-10-15 13:33:37 -04:00
Joel Maher
3c72bf2083 Bug 799107 - minidumps not being generated from robocop test crashes (breakpad environment variables not being set properly). r=kats 2012-10-15 11:13:44 -04:00
William Lachance
b9a0562599 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
Joel Maher
975fa8f860 Backout f271acb304c2 (bug 799107), 2012-10-15 09:08:41 -04:00
Joel Maher
2ac065a653 Bug 799107 - minidumps not being generated from robocop test crashes (breakpad environment variables not being set properly). r=kats 2012-10-15 07:10:49 -04:00
Clint Talbert
239c54fe3a Bug 785032 - SD card issues with new Tegras ("INFO: attempting to create file /mnt/sdcard/writetest ... Push File Failed to Validate!"). r=jmaher DONTBUILD 2012-10-10 10:17:50 -04:00
Joel Maher
03663446ef Bug 797652 - Current code agent code crashes on android 2.3. r=wlach 2012-10-10 10:17:40 -04:00
Ed Morley
1bcac7940e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-06 20:30:35 +01:00
Andrew Halberstadt
1f19f8c07e Bug 797177 - Fix missed calls to checkCmd within B2G automation, r=mikeh; DONTBUILD because NPOTB 2012-10-05 16:06:02 -04:00
Ed Morley
4ef3ea11bf Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me 2012-10-05 17:48:15 +01:00
William Lachance
c5f092dab4 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
David Chan
e537e59ad4 Bug 797177 - Unbreak b2g mochitests, r=ahal 2012-10-02 15:43:19 -07:00
Jonathan Griffin
d1923e5084 Bug 793213 - Disable offline mode for b2g mochitest/reftest, r=ahal, DONTBUILD because NPOTB 2012-09-21 15:20:39 -07:00
Vladimir Vukicevic
3a82a1c16e b=790041; add mDNS broadcasts to SUTAgent; r=ctalbert 2012-09-14 09:29:51 -04:00
Kartikaya Gupta
49a83a548e Bug 767449 - Allow robotium tests to put files in places other than /mnt/sdcard. r=jmaher 2012-09-12 07:56:31 -04:00
William Lachance
cca13f1816 Bug 723107 - Re-add mozdevice to testing/mozbase, remove duplicate files in build/mobile;r=jmaher 2012-09-07 16:00:31 -04:00
William Lachance
dc3866e12a Bug 789458 - Restore watcher service if it comes back with a null intent;r=jmaher, a=test-only
This could happen if the watcher gets killed due to memory pressure on
Android
2012-09-07 12:00:52 -04:00
Joel Maher
cdbc9ea15d Bug 789213 - Delay SUTAgent "ready" until the SDCard is ready. r=wlach 2012-09-07 10:21:23 -04:00
William Lachance
59653b5940 Bug 786427 - Agent should quote with ' characters, not just " characters;r=jmaher 2012-08-30 15:05:18 -04:00
William Lachance
4e57012935 Bug 786425 - Always log debug messages to logcat, even if file logging disable;r=jmaher 2012-08-30 14:51:16 -04:00
William Lachance
f961c73c84 Bug 763497 - Add option to agent (and code to devicemanager) to allow executing commands as root;r=jmaher 2012-08-30 14:43:17 -04:00
Geoff Brown
2cf0bd61a5 Bug 787061 - Robocop: dump stack traces on event timeout; r=jmaher 2012-08-30 08:50:16 -06:00
Kartikaya Gupta
8cd589516b Bug 783758 - Add a close function on the PaintedSurface class to clean up the opened FileInputStream, and invoke it from tests. r=jmaher 2012-08-27 13:44:58 -04:00
Joel Maher
9f2c0054eb Bug 785238 - Should catch AgentError inside devicemanagerSUT's getInfo. r=wlach 2012-08-24 09:53:27 -04:00
William Lachance
b28692bf7a Bug 785108 - Fix devicemanagerADB's isDir to handle symbolic links properly;r=jmaher DONTBUILD 2012-08-23 15:56:18 -04:00
Malini Das
0cc15146bd Bug 755856 - look for adb in path first for mozdevice emulator automation, r=jgriffin 2012-08-23 15:46:48 -04:00
Joel Maher
87cfe706d3 Bug 782396 - Should be able to disable logging behaviour of SUTAgent (and that should be the default). r=gbrown DONTBUILD 2012-08-17 12:27:23 -04:00
Andrew Halberstadt
170dc14d55 Bug 782655 - Enable remote xul for B2G reftests, r=jgriffin 2012-08-15 15:26:31 -04:00
Malini Das
f158ad377a Bug 782749 - add timeouts for shell/checkCmd to devicemanagerADB, r=jmaher 2012-08-15 10:35:21 -04:00
William Lachance
85ef3ca80d Bug 782382 - Fix syntax error in devicemanagerSUT;r=jmaher 2012-08-14 11:26:13 -04:00
Dominik Oepen
822e64b426 Bug 774293 - Fix issues in devicemanager revealed by pyflakes;r=wlach 2012-08-14 10:41:11 -04:00
Kartikaya Gupta
8c39cc3b65 Bug 780650 - Clean up dynamic dependencies from robocop on fennec. r=cpeterson 2012-08-14 08:55:58 -04:00