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

475 Коммитов

Автор SHA1 Сообщение Дата
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
Kartikaya Gupta a70aaff212 Bug 782183 - Add some code to the robocop harness to dump all stack traces in case of hanging/deadlock. r=gbrown 2012-08-13 12:03:00 -04:00
Geoff Brown 123619eb02 Bug 764901 - Robocop: make testPasswordEncrypt more robust; r=jmaher 2012-08-10 15:59:12 -06:00
Andrew Halberstadt 7c1ba0c892 Bug 770490 - Infrastructure to run reftests on B2G, r=jgriffin 2012-08-10 14:25:20 -04:00
Justin Wood 83b35d2227 Bug 781735 - SUTAgent should not die if it can't create a file on the sdcard. r=jmaher DONTBUILD since its NPOT-on-change-Builds
--HG--
extra : rebase_source : 6f8ca4d47f273a960f06331dda0edbe692640df3
2012-08-10 01:03:55 -04:00
Chris Peterson ebea01b579 Bug 778468 - Part 10: Make all event registration go through EventDispatcher. r=blassey 2012-08-02 18:38:45 -07:00
Ryan VanderMeulen 68f96f1fc4 Merge m-c to inbound. 2012-08-09 15:13:12 -04:00
Jonathan Griffin ceadbaea38 Bug 781608 - Don't call waitForFinish with a short timeout, in case old mozprocess is still in use, a=test-only, DONTBUILD because NPOTB 2012-08-09 12:04:28 -07:00
David Clarke b21f658491 Bug 780031 - Mochitest on b2g reliability improvements, r=jgriffin, DONTBUILD because NPOTB 2012-08-08 17:29:26 -07:00
Geoff Brown a6e330ccc0 Bug 779250: Make Robocop tests run faster; r=jmaher 2012-08-08 08:25:27 -06:00
Geoff Brown bdb85c6387 Bug 727152 - Robocop: improve shutdown of mAsserter; r=jmaher 2012-08-09 07:06:19 -06:00
Mark Cote 3adf335823 Bug 777331 Clarified some comments in devicemanager. r=wlach
--HG--
extra : rebase_source : 4a448dedbf028fff07882a5f257770e5063af9d9
2012-08-02 14:45:26 -04:00
Chris Peterson ad6b36600a Bug 778468 - Part 7: Move GeckoEventListener to org.mozilla.gecko.util package. r=blassey
--HG--
extra : rebase_source : d0b2982b64126c046c5c974c7ec014992bef63b7
2012-08-02 17:13:40 -07:00
Ryan VanderMeulen 0726b1fe02 Merge m-c to inbound. 2012-08-06 20:26:58 -04:00
Tim Taubert 21457aa76f Bug 780641 - Unbreak b2g mochitests, r=jgriffin, DONTBUILD because NPOTB 2012-08-06 11:37:59 -07:00
mbalaur@mozilla.com e229e14948 Bug 778363 - dmSUT - retVal can be None;r=jhammel
--HG--
extra : rebase_source : a272bf08a0003a29cac4e4d79d89f445f6a42c79
2012-08-06 11:39:39 -07:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley 81fe0db761 Merge mozilla-central and fx-team 2012-08-03 15:52:55 +01:00
Tim Taubert 35294c0950 Bug 728294 - Part 1 - Remove old debug log parser; r=ted 2012-08-03 12:36:59 +02:00
Ryan VanderMeulen f159f08b5f Merge m-c to inbound. 2012-08-02 17:17:28 -04:00
Jonathan Griffin eceb527930 Bug 777871 - Get mochitests running OOP in B2G, r=jlebar, DONTBUILD because NPOTB 2012-08-02 13:30:25 -07:00
Mihnea Dobrescu-Balaur 91aac3aa4e Bug 778329 Fix and improve DeviceManagerSUT.unpackFile(). r=mcote
--HG--
extra : rebase_source : 7354a74a68538da45e515476e3fe49f50a50b562
2012-08-01 11:50:05 -04:00
William Lachance 21725a020f Bug 779871 - Default behaviour of watcher should be not to do connectivity ping at all;r=jmaher 2012-08-02 14:27:23 -04:00
Mark Cote d74638cf35 Bug 777331 DeviceManagerSUT support for info uptimemillis. r=wlach 2012-08-02 14:21:00 -04:00
Matt Brubeck 70e7a18751 Back out c0a09f9d5215 (bug 778230) because of Android build failures 2012-08-01 11:51:27 -07:00
Nathan Froyd 6a9c0f8ab7 Bug 778230 - remove wildcard calls from robocop's Makefile.in; r=glandium,f=mfinkle 2012-07-27 14:45:29 -04:00
Mark Cote 216e84af02 Bug 778159 Remove SUTAgent network-verification ping. r=wlach 2012-07-25 11:21:51 -04:00
Geoff Brown 51b53b9acf Bug 778785: Handle onLowMemory in sutAgentAndroid; r=jmaher 2012-07-31 08:07:02 -06:00
Geoff Brown dd2820f364 Bug 778784: Add logging to sutAgent to track its lifetime; r=jmaher 2012-07-30 14:45:07 -06:00
William Lachance 219b52b7e3 Bug 777884 - Fix code in watcher to reboot if maximum number of failed ping attempts exceeded;r=jmaher 2012-07-27 15:01:43 -04:00
William Lachance b09518e61b Bug 777891 - Add internet permission to watcher, so it can successfully use "ping";r=jmaher 2012-07-27 15:01:25 -04:00
William Lachance cb72bc22ba Bug 777836 - Watcher should log more information on its current state;r=jmaher 2012-07-27 14:56:44 -04:00
William Lachance af6b8d57ac Bug 776078 - Log all incoming commands and where they're coming from. r=wlach 2012-07-26 14:37:38 -04:00
William Lachance e5f44c33c1 Bug 763497 - Revert change to always run commands on SUTAgent due t
o problems

This was causing problems with running the agent on the panda and (I
am told) the tegras. I think we do ultimately want this behaviour but
we'll have to fix that first.
2012-07-26 12:59:54 -04:00
Mark Cote aa19ca64db Bug 777331 Added uptimemillis info command to Android SUTAgent. r=wlach
--HG--
extra : rebase_source : 9e30652ec36fa7e192eeb392d91f85d3c5221c42
2012-07-25 13:59:21 -04:00
Geoff Brown 8ffc490385 Bug 776541 - keep socket open after devicemanagerSUT push command; r=wlach 2012-07-23 19:56:53 -06:00
Joel Maher 300e555b23 Bug 773021 - sutagent info('memory') should return free memory, not just physical memory. r=wlach 2012-07-23 15:52:34 -04:00
David Clarke f7b94a0899 Bug 775708 - A better mechanism of detecting root on device, r=jmaher 2012-07-20 15:02:51 -07:00
Ryan VanderMeulen 722c5be197 Merge m-c to inbound. 2012-07-19 21:08:31 -04:00
Mihnea Balaur d8d14d6204 Bug 753605 - Add emulator classes to build/mobile, r=jmaher, DONTBUILD because NPOTB 2012-07-19 16:14:44 -07:00
Joel Maher 34a683916e Bug 772531 - detect when a tegra reboots via log file parsing, mark test as red and allow tbpl to get accurate information. r=wlach 2012-07-18 15:24:34 -04:00
Geoff Brown 5f053cd113 Bug 774797 - Robocop: upgrade to robotium-3.3.jar; r=jmaher 2012-07-18 14:25:20 +01:00
Mihnea Balaur 34a450a387 Bug 773826 - Move mkDirs implementation into base class, r=wlach 2012-07-17 10:35:41 -07:00
Joel Maher 5f826fa590 Bug 772531 - detect when a tegra reboots via log file parsing, mark test as red and allow tbpl to get accurate information. r=wlach 2012-07-17 12:00:11 -04:00
Kartikaya Gupta a531b1a327 Bug 775102 - Update FennecTalosAssert so that assertion failures make the tests orange. r=gbrown 2012-07-19 14:18:36 -04:00
Geoff Brown 794d5f6f45 Bug 774322 - use correct process name in RProcess; r=jmaher 2012-07-17 08:58:47 -06:00
William Lachance 8a703c464b Bug 773463 - Use select so we don't use 100% CPU while waiting for a response in devicemanagerSUT;r=jmaher 2012-07-16 10:42:08 -04:00
William Lachance fc8aeb60e3 Bug 772595 - Better escape commands sent to devicemanager shell;r=jmaher 2012-07-12 12:12:59 -04:00
Ed Morley aa41501b44 Merge mozilla-central to mozilla-inbound 2012-07-12 16:29:25 +01:00
Andrew Halberstadt 2199d910a6 Bug 772307 - Add dummy browser.manifestURL pref to user.js to prevent B2G from dying, r=jgriffin 2012-07-11 18:14:35 -07:00
William Lachance 6d1fc8c035 Bug 763497 - Always run standard commands through "su" with SUTAgent r=jmaher 2012-07-11 18:35:41 -04:00
Jonathan Griffin bb189eab03 Bug 772687 - Add ability to specify deviceRoot when instantiating DeviceManager, r=jmaher 2012-07-11 11:49:30 -07:00
William Lachance 1067ad6676 Bug 768957 - Fall back to getting mac address using wifiman on older versions of Android;r=jmaher 2012-07-11 12:51:44 -04:00
William Lachance 404c6d88fc Backed out changeset fa4bd6ad8a13 2012-07-11 12:49:14 -04:00
William Lachance 82918e7e03 Bug 768597 Fall back to getting mac address using wifiman on older versions of Android;r=jmaher 2012-07-11 12:45:22 -04:00
William Lachance 8590954360 Bug 772105 - Give a better error if failed to push a file with devicemanagerSUT;r=jmaher 2012-07-11 10:24:05 -04:00
Ted Mielczarek 0e04fe9e0e bug 768957 - Make SUTAgent able to get MAC address from ethernet connection. r=ctalbert 2012-06-29 14:39:15 -04:00
Geoff Brown 543ec7adc0 Bug 756704 - Robocop: avoid hangs when events missed; r=kats 2012-06-28 11:20:15 -07:00
Joel Maher 839b82158f Bug 765860 - remove the requirement from sutagent to reboot after an uninstall. r=gbrown 2012-06-22 13:24:11 -04:00
Geoff Brown 088a0e0e45 Bug 756264 - Reduce devicemanager chmod calls; r=jmaher 2012-06-19 09:14:41 -07:00
Geoff Brown 092d65d0c5 Bug 764489 - reduce sutAgent logcat messages; r=jmaher 2012-06-18 21:32:20 -07:00
Jonathan Griffin dbf267e4dd Bug 763527 - Attempt to resolve timeouts in B2G mochitests, a=test-only, DONTBUILD because NPOTB 2012-06-18 10:43:59 -07:00
Geoff Brown 56be0180bf Bug 764147 - SUT agent: reduce CPU usage while waiting for launched process. r=jmaher 2012-06-15 10:22:56 -07:00
Joel Maher a766519866 Bug 754873 - fennec automated tests should capture logcat output while test is running. r=wlach 2012-06-13 14:20:43 -04:00
Geoff Lankow 9ddcf15b7a Merge m-c to m-i 2012-06-06 15:13:51 +12:00
Jonathan Griffin d3e3ecc476 Bug 759885 - Add support for running mochitest-plain on B2G emulators, r=jmaher, DONTBUILD because NPOTB 2012-06-05 15:17:26 -07:00
William Lachance 6c47c7bbfc Bug 760107 - Add support for getting rotation of device to SUTAgent 2012-05-31 10:59:06 -04:00
William Lachance fe8f195ed1 Bug 761301 - Make SUTAgent's kill command kill all app processes;r=jmaher 2012-06-05 11:18:58 -04:00
William Lachance 1d39230041 Backed out changeset 1212d4edfff6 2012-06-05 11:17:28 -04:00
William Lachance 541f22974d Bug 761301 - Make SUTAgent's kill command kill all app processes 2012-06-05 11:07:42 -04:00
Geoff Brown 0b7424e86e Bug 758405 - Robocop: fix synchronization in FennecNativeElement. r=jmaher 2012-05-26 09:33:53 -04:00
Wes Johnston 5ee0b8bb71 Bug 757646 - Throw from NSSBridge if Master password is set. r=rnewman,gbrown 2012-05-25 10:04:12 -07:00
William Lachance 7491bde43d Bug 757546 - shell() in devicemanager should return an int;r=gbrown 2012-05-23 10:26:07 -04:00
Geoff Brown 653f6e51e8 Bug 725094 - Robocop: change error handling to throw fewer exceptions; r=jmaher 2012-05-22 16:25:30 -07:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Geoff Brown ad4e2a3ea4 Bug 755556 - Robocop: upgrade to robotium-3.2.1.jar. r=jmaher 2012-05-19 11:26:39 -04:00
William Lachance b3bb0ca5a6 Bug 754305 - SUTAgent should always print ipv4 address. r=jmaher 2012-05-14 19:01:05 -04:00
William Lachance fba2e6c64d Bug 721936 - Watcher should have option to disable starting SUTAgent;r=ctalbert 2012-05-10 12:48:50 -04:00
William Lachance a13ac2b680 Bug 753484 - Installation/uninstallation broken with SUTAgent on ICS;r=gbrown 2012-05-10 12:43:28 -04:00
William Lachance 4441bceb95 Bug 752690 - Various problems encountered with mozdevice when trying to get Google Chrome and Stock ICS working with Eideticker;r=jmaher 2012-05-08 11:04:58 -04:00
William Lachance fff97897df Bug 752670 - Takes forever to initialize devicemanagerADB if deviceRoot has many files in it; r=jmaher 2012-05-08 10:23:19 -04:00
Kartikaya Gupta 63af5150b1 Bug 750507 - Modify robopan to measure jank better. r=jrmuizel 2012-05-03 14:59:10 -04:00
William Lachance 0e05637b77 Bug 750302 - DeviceManager files should have new-style license boilerplate, r=jmaher, a=android-only 2012-05-01 12:50:17 -07:00
Jonathan Griffin 86a2c2032d Bug 749011 - Add support for running mochitest-plain on B2G, r=jmaher
--HG--
extra : rebase_source : 4c260e11c51c5015d2ded66f4b8cfc94a9969298
2012-04-27 11:44:59 -07:00
Geoff Brown d7a86d053e Bug 747162 - SUT agent: increase version to 1.08; r=ctalbert 2012-04-27 12:31:06 -04:00
Geoff Brown 6bd2c4f144 Bug 747599 - SUT agent: follow symlinks in pushDir. r=jmaher 2012-04-26 19:21:38 -04:00
Geoff Brown 7f114b7501 Bug 747547 - SUT agent: set pushed file permissions to 777. r=jmaher 2012-04-26 19:21:38 -04:00
Kartikaya Gupta 53a864dc2a Bug 746215 - Report total checkerboarding instead of average checkerboarding for tcheckerboard tests. r=jmaher 2012-04-26 14:24:10 -04:00
Geoff Brown 27845ea082 Bug 747268 - devicemanagerADB: improve listFiles error handling and check for root. r=jmaher, a=test-only 2012-04-20 17:15:59 -04:00
Geoff Brown 74fa3cd9f2 Bug 745889: SUT agent/watcher - avoid NullPointerException when there are no running app processes. r=ctalbert, a=test-only 2012-04-17 19:44:53 -04:00
Geoff Brown 37a3df7271 Bug 744530 - SUT agent: do not routinely report expected exceptions. r=ctalbert, a=test-only 2012-04-17 19:44:38 -04:00
Geoff Brown 6e009968fd Bug 743766 - Handle IllegalArgumentException in RedirOutputThread. r=ctalbert, a=test-only 2012-04-17 19:42:08 -04:00
Armen Zambrano Gasparnian 09832a8355 Bug 735451. raise exception when DeviceManager fails to initialize. r=jmaher 2012-04-11 14:51:18 -04:00
Kartikaya Gupta ac4657b2b6 Bug 744094 - Log all robocop-internal exceptions as errors to the error log. r=jmaher 2012-04-10 14:20:55 -05:00
Kartikaya Gupta 5aa36f4984 Bug 744094 - Shorten enum value identifiers to be less redundant. r=jmaher 2012-04-10 14:20:46 -05:00
Jonathan Griffin 64526b33ac Bug 741479 - make DeviceManagerADB useable with B2G, r=jmaher 2012-04-05 12:06:41 -07:00
Jonathan Griffin 4842a2c6c4 Bug 741994 - add ability to pass device serial number to DeviceManagerADB, r=jmaher 2012-04-05 11:58:12 -07:00
Jonathan Griffin 81da99b832 Bug 741989 - Add optional argument to specify adb path, r=jmaher 2012-04-04 10:27:59 -07:00
Geoff Brown 1e58dcd3e7 Bug 734715 - Improve devicemanagerSUT socket diagnostics. r=jmaher 2012-04-03 20:08:27 -04:00
Kartikaya Gupta b797bea26a Bug 739415 - Add ability to have raw files as test assets. r=jmaher 2012-03-27 16:16:13 -04:00
Kartikaya Gupta dcc4664d10 Bug 739415 - Add ability to log exceptions to robocop log file. r=jmaher 2012-03-27 16:16:13 -04:00
William Lachance 2dca49cd9a Bug 738032 - DevMgrADB shouldn't copy entire directory when checking if we can use run-as. r=gbrown 2012-03-23 21:50:35 -04:00
William Lachance 13edde4d5e Bug 722403 - DeviceManager: killProcess(): Add forceKill parameter and kill all matching processes, r=gbrown Earlier patch by Christian Holler.
--HG--
extra : rebase_source : 295a10d592827f4633951eda196505529560f8f0
2012-03-23 14:00:04 -07:00
Kartikaya Gupta ba8dd960e8 Bug 738556 - Optimize frame time measurement and checkerboard time measurement in robocop a little. r=jmaher 2012-03-23 11:58:03 -04:00
Kartikaya Gupta a38c07dede Bug 738326 - Buffer file writes to reduce test times. r=jmaher 2012-03-22 13:36:20 -04:00
Kartikaya Gupta d6140e47c3 Bug 737411 - Work around problems with RGB888/RGB555 conversions and dithering in the pixel tests. r=jmaher 2012-03-22 13:35:45 -04:00
Geoff Brown 39276ac49e Bug 737411 - Robocop: update reflection references; r=kats 2012-03-22 13:35:19 -04:00
Joel Maher 2d6ecaf98d Bug 736920 - mochitest-robocop log parser shouldn't repeat the whole test log, particularly not with spurious blank lines. r=gbrown 2012-03-22 10:45:20 -04:00
William Lachance a2b2bd254f Bug 737416 - DeviceManager's launchApplication interface should not require an intent. r=jmaher 2012-03-20 17:25:16 -04:00
Matt Brubeck bc9065e468 Back out f626859690df (bug 736105) because of frequent robocop testAboutPage failures 2012-03-19 11:28:58 -07:00
Geoff Brown c417df15a8 Bug 736246 - follow up to fix exception in verifyRunAs; r=wlach 2012-03-19 11:09:39 -04:00
Joel Maher 80354efa51 Bug 736105 - robocop does a lot of redundant copying of profile and sleeps, we can cut runtime almost in half. r=wlach,gbrown 2012-03-19 11:09:36 -04:00
William Lachance b875233d85 Bug 736246 - DeviceManagerADB should throw an exception if we know it's not going to work. r=jmaher 2012-03-16 18:36:28 -04:00
Wes Johnston 8f885a177c Bug 725881 - Tests for form history and passwords providers. r=gbrown 2012-03-08 10:25:44 -08:00
Wes Johnston 7c24489789 backout a965cebe4462 32220d7085e0 3689bb4199d8 d0c82cb6eb28 b295c8825acd and 95ab5c738512 2012-03-08 12:32:01 -08:00
Wes Johnston 39eff2b4a4 Bug 725881 - Tests for form history and passwords providers. r=gbrown 2012-03-08 10:25:44 -08:00
Brian Nicholson a1ea078fb7 Bug 726018 - Include sjs files in Robotium. r=gbrown 2012-03-07 13:58:31 -08:00
Joel Maher b5b19edd39 Bug 731637 - robocop on tegras hit OOM for PixelTest due to getPaintedSurface() array creation. r=kats 2012-03-06 15:08:45 -05:00
Geoff Brown fab04db84d Bug 731403 - Update dmADB.getDirectory to use stdout instead of stderr. r=wlach 2012-02-29 19:40:58 -05:00
William Lachance 42cc2538df Bug 731023 - Remove devicemanager's communicate method r=jmaher 2012-02-28 11:44:45 -08:00
William Lachance bc789b82eb Bug 731349 - Minor bugs in DroidADB, DroidSUT abstractions r=ctalbert 2012-02-28 11:44:45 -08:00
Geoff Brown 927df978ce Bug 730153 - Enhance SUT agent kill command for xpcshell / non-java tasks; r=jmaher 2012-02-28 11:44:45 -08:00
Christian Holler 4341fb823d Bug 728995 - DeviceManagerADB should support TCP/IP r=wlach 2012-02-28 11:15:37 -08:00
Geoff Brown cea75fcb4e Bug 705192: allow remotexpcshelltests.py to execute xpcshell via SUT agent; r=jmaher 2012-02-28 12:20:56 -05:00
Tim Taubert 36195c1648 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
William Lachance f9f8f417d0 Bug 728298 - DeviceManager needs a good, standard way of starting an Android application. r=jmaher 2012-02-23 10:32:28 -05:00
Christian Holler ff91788a87 Bug 728993 - Need to check output to capture run-as failure in devicemanagerADB. r=jmaher 2012-02-21 11:13:54 -05:00
William Lachance 04166d9300 Bug 728927 - A few more minor exception conditions in DeviceManagerSUT. r=jmaher 2012-02-21 09:10:42 -05:00
Geoff Brown 02aa4c958f Bug 723220 - Robocop: code cleanup; r=jmaher 2012-02-15 09:56:20 -05:00
William Lachance afcfb958bd Bug 726867 - DeviceManagerSUT's getProcessList is identical to code in DeviceManager. r=jmaher 2012-02-14 12:29:22 -05:00
William Lachance b67d94eb5d Bug 726833 - SUT client can hang if prompt occurs on 1024-byte boundary. r=jmaher 2012-02-14 12:28:41 -05:00
Chris Lord e4456bb51a Bug 725255 - Improve checkerboarding telemetry. r=jmaher
Change robotium to report on the average 'completeness' of rendered frames,
instead of the amount of frames with checkerboarding. Also change testCheck to
pan in a more humanly-possible way, and to change direction, which gives us
more useful numbers.
2012-02-09 11:37:17 +00:00
Geoff Brown 35ab832da3 Bug 717023 - Robocop: use dumpLog consistently; r=jmaher 2012-02-08 09:32:42 -05:00
Geoff Brown 8b64ac9ee6 Bug 720930 - Robocop: create bookmark in testBookmark if none exists; r=jmaher 2012-02-07 14:12:23 -05:00
Christian Holler (:decoder) acd7c82e00 Bug 722297 - DeviceManagerADB: Several launchProcess problems. r=gbrown
[PATCH 8/9] Strip trailing line endings from listFiles output

From 7002d4b57d5f829fe25a4098c3d7a1ff869a281e Mon Sep 17 00:00:00 2001
Message-Id: <7002d4b57d5f829fe25a4098c3d7a1ff869a281e.1327949409.git.choller@mozilla.com>
In-Reply-To: <8149860494be47c731b377e42c4cf88c97cf8bae.1327949409.git.choller@mozilla.com>
References: <8149860494be47c731b377e42c4cf88c97cf8bae.1327949409.git.choller@mozilla.com>
---
 build/mobile/devicemanagerADB.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
2012-01-30 15:57:08 +01:00
Christian Holler (:decoder) 5a041404ef [PATCH] Bug 722297 - Several launchProcess problems. r=gbrown
From 5b5e5392f87b7ba19d3bb435536f3b3a6f874907 Mon Sep 17 00:00:00 2001
Message-Id: <5b5e5392f87b7ba19d3bb435536f3b3a6f874907.1328313263.git.decoder@malphas.(none)>
---
 build/mobile/devicemanagerADB.py |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
2012-02-04 00:54:02 +01:00
Clint Talbert 2a5eb51557 Bug 712991 Remove GPL code in watcher that runs NTP service. r=bmoss 2012-02-03 12:28:16 -08:00
Kartikaya Gupta 8db1354545 Bug 723619 - Add a blockUntilClear function to wait for animations. r=jmaher 2012-02-02 16:07:00 -05:00
Kartikaya Gupta c5d16f7907 Bug 723545 - Include all html files in the test path into the robocop build. r=jmaher 2012-02-02 16:07:00 -05:00
Joel Maher 6966b1650a Bug 717057 - allow robotium testPan to run in talos. r=kats,gbrown 2012-02-02 10:09:26 -05:00
Chris Lord c83fd7596a Bug 717349 - Add checkerboard testing to Robotium. r=jmaher
Add functions to Robotium to test for checkerboarding.
2012-02-02 09:02:49 +00:00
Christian Holler (:decoder) e026e5fb10 Bug 720806 - Improve DeviceManagerADB actions when device is not rooted. r=gbrown 2012-02-01 11:43:15 -05:00
Kartikaya Gupta 6982c1b717 Bug 722765 - Use getLocationOnScreen to get the position of the gecko view. r=jmaher 2012-02-01 00:32:29 -05:00
Kartikaya Gupta fca9d90f56 Bug 720144 - Add a simple pixel test to testLoad to ensure the page loaded and was visible. r=jmaher 2012-01-30 22:46:34 -05:00
Kartikaya Gupta f34c6b083c Bug 720144 - Expose methods in robocop to grab the painted surface and to compare pixels. r=jmaher 2012-01-30 22:46:13 -05:00
Joel Maher 948e23b370 Bug 719697 - robocop isn't signed properly from buildbot builds. r=aki,blassey. 2012-01-28 19:19:44 -05:00
Phil Ringnalda 663ddeeb58 Back out 705d94f0a11c and c593ef0f4353 (bug 719697) for crazed infra filename dependencies 2012-01-26 20:16:54 -08:00
Joel Maher 581f1cb805 Bug 719697 - robocop isn't signed properly from buildbot builds. r=aki,blassey. 2012-01-26 19:41:59 -05:00
William Lachance c6106e20ef Bug 713970 - Restore accidentally removed changes and fix error handling in devicemanager 2012-01-26 19:41:56 -05:00
Matt Brubeck 21436f5d5b Back out f151cccff911, 2c463faae83f, d7a8aefd3e8a (bug 719697, 713970, 720614) because of build bustage. 2012-01-26 11:41:29 -08:00
Joel Maher 5d8601e37b Bug 719697 - robocop isn't signed properly from buildbot builds. r=aki,blassey. 2012-01-26 13:56:53 -05:00
William Lachance d0c0d177c4 Bug 713970 - Restore accidentally removed changes and fix error handling in devicemanager. r=jmaher 2012-01-26 13:56:51 -05:00
Chris Lord 084cc77735 Bug 720663 - devicemanagerADB pushDir fallback not always tried. r=gbrown
The devicemanagerADB.py pushDir method has two paths, one that uses zip/unzip
and the other that just pushes each file one at a time. The idea is that the
first path is chosen, and if it fails, the second is tried before bailing out,
but it's possible for the first failure not to be detected in such a way that
activates the fallback path.

Add a try/except block to catch exceptions in the first path and fall back to
the second.
2012-01-25 09:49:30 +00:00
Chris Manchester 089488cea6 Bug 713970 - mozdevice abstract methods should have better failure patterns;r=jmaher 2012-01-24 09:46:38 -05:00
Geoff Brown f6f087e6bf Bug 718528 - Robocop: upgrade to robotium 3.1; r=jmaher 2012-01-24 09:46:37 -05:00
Joel Maher ffbae193d3 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
Kartikaya Gupta 67b5a8d4fe Bug 717408 - Remove unneeded clause in python exception handling that was causing errors on python 2.5. r=geoffbrown 2012-01-12 13:09:04 -05:00
Geoff Brown f74e9acf77 Bug 717042 - assert in Robocop Asserter so that robotium framework will recognize failures; r=jmaher 2012-01-11 08:50:11 -05:00
Joel Maher 3c5c587127 Bug 716732 - Robocop: fennec_ids.txt not always generated. r=kats 2012-01-11 08:50:10 -05:00
Kartikaya Gupta 51ab6eac0d Bug 716934 - Print warning when clicking on elements with no listener. r=jmaher 2012-01-10 14:15:18 -05:00
Joel Maher 29b694bd7b Bug 715312 - Robotium tests for Fennec Native do not close file input stream. r=kats 2012-01-10 11:14:31 -05:00
Geoff Brown 18da3f96f9 Bug 705175: update devicemanager, devicemanagerSUT versions of getAppRoot; r=jmaher 2012-01-07 18:41:08 -05:00
Geoff Brown d2a067b563 Bug 716077 - be more strict when matching proc name in devicemanager.processExists; r=jmaher 2012-01-07 18:41:08 -05:00
Joel Maher fb177d4678 Bug 715309 - robocop needs to have a more uniform log format. r=gbrown 2012-01-07 18:41:08 -05:00
Ed Morley bc6bc81bd0 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
Geoff Brown 8bdede3a06 Bug 705175: update devicemanager, devicemanagerSUT versions of getAppRoot; r=jmaher 2012-01-07 08:25:05 -05:00
Geoff Brown e754a06e12 Bug 716077 - be more strict when matching proc name in devicemanager.processExists; r=jmaher 2012-01-07 08:25:05 -05:00
Joel Maher c220fd6332 Bug 715309 - robocop needs to have a more uniform log format. r=gbrown 2012-01-07 08:25:05 -05:00
Kartikaya Gupta 4245a03772 Fix broken build caused by interefence between csets f5afa1e3faa9 and e20434400f0c. no bug, r=me 2012-01-05 22:36:13 -05:00
Kartikaya Gupta 59707eb70d Bug 715369 - Work around Solo.getCurrentActivity() possibly returning the wrong object. r=jmaher 2012-01-05 21:36:17 -05:00
Kartikaya Gupta 00738767fc Bug 715444 - Handle races where the event being listened for comes before the listener is registered. r=jmaher 2012-01-05 21:36:17 -05:00
Geoff Brown 75fde9f5a2 Bug 715197 - Robocop: implement isDisplayed(); r=jmaher 2012-01-05 10:20:21 -05:00
Geoff Brown 4aabbea5ec Bug 715060 - Fallback to normal devicemanagerADB.pushDir behavior when unzip fails; r=jmaher 2012-01-05 10:20:21 -05:00
Kartikaya Gupta 800d9df659 Bug 714903 - Fix getLanIp to work with Mac OS X as well instead of dying with an exception. r=jmaher 2012-01-03 15:15:02 -05:00
Joel Maher e74485eb5e Bug 701076 - [hoooking up make] Robotium integration into birch tree. r=blassey,bear 2011-12-31 10:03:36 -05:00
Phil Ringnalda ab5b6ce43d Back out 04ef7f564450 (bug 701076) and 632f07583bd8 (bug 711591) for mochitest-oth bustage 2011-12-30 14:19:30 -08:00
Joel Maher d555d02e96 Bug 701076 - [hookup to make] Robotium integration into birch tree. r=blassey,bear 2011-12-30 15:57:34 -05:00
Joel Maher 15cf7a8790 Bug 711591 - make the robotium test driver a bit more driver like. r=ctalbert 2011-12-30 15:57:34 -05:00
Joel Maher 0eb9ac4812 Bug 701076 - core robocop toolchain (1.03) a=tfair; r=gbrown,blassey 2011-12-22 09:09:41 -05:00
Aki Sasaki 50ad993263 bug 611648 - fix sutAgentAndroid.apk JARSIGNER 2011-12-20 09:34:47 -08:00
Geoff Brown a48bdecde5 Bug 710827 - add robotium.jar to m-c under build/mobile/robocop; r=jmaher 2011-12-16 14:27:51 -05:00
Bob Moss f28c716617 Bug 695020 Fix race condition in process launching in the SUTAgent r=ctalbert 2011-12-05 13:13:40 -08:00
Geoff Brown 5d8f39ecbf Bug 701038 - use zip to improve performance of devicemanagerADB.pushDir; r=jmaher 2011-12-05 07:19:31 -05:00
William Lachance 22497ccad2 Bug 706974 - devicemanagerADB's pushDir method does not conform to interface specifications. r=jmaher 2011-12-05 07:19:31 -05:00
Geoff Brown 8a53050b17 Bug 700916: improve command line when launching process via devicemanagerADB; r=jmaher 2011-12-05 07:19:31 -05:00
Geoff Brown 204a097bd9 Bug 704618 - Allow directory as a destination argument to SUT pushFile(); r=jmaher 2011-11-30 13:19:49 +00:00
William Lachance 638a5977f9 Bug 698010 - Make deviceManagerADB.py killProcess method actually work. r=jmaher 2011-11-09 12:08:04 -05:00
Joel Maher f76f05bba1 Bug 694241 - devicemanagerADB has error in getDirectory causing remotereftest failures. r=wlach 2011-10-14 07:52:01 -04:00
Benoit Girard 9199395844 Bug 691779 - Hide devicemanagerADB pull interfering with reftest output. r=jmaher 2011-10-11 10:31:05 -04:00
William Lachance b5c9f7bcb5 Bug 691815 - devicemanagerSUT should say what file it failed to pull when pull fails. r=jmaher 2011-10-06 10:51:03 -04:00
Joel Maher ac86b93435 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
William Lachance f4b39ee317 Bug 689316 - DeviceManagerADB needs a getCurrentTime function. r=jmaher 2011-09-30 14:54:11 -04:00
Joel Maher ce02631d63 Bug 688762 - add try/except blocks around all harnesses so we always return an error code. r=bear 2011-09-26 07:41:19 -04:00
Bob Moss 2c2ee6a2ed Bug 668517 Add "stay awake" functionality into watcher for sutagent r=ctalbert 2011-08-30 15:54:07 -07:00
Geoff Brown 942d20b453 Bug 681810 - Avoid xpcshell test failure when device not rooted and cp not available; r=jmaher 2011-08-27 00:23:02 +01:00
Geoff Brown 91a124ebf8 Bug 679602 - Improve robustness of devicemanagerADB: check for adb, remote cp; r=jmaher 2011-08-23 17:45:10 +01:00
Geoff Brown 7b61293fb1 Bug 668349 - Add or update script to run xpcshell tests on Android; r=jmaher 2011-08-22 09:00:50 +01:00
Geoff Brown 9e2995da86 Bug 678385 - Device manager needs to be updated for package name + username; r=jmaher 2011-08-22 09:00:50 +01:00
Bob Moss b5991951b9 bug 679038 - error building WatcherService for SUTAgent r=blassey 2011-08-18 21:06:05 -04:00
Brad Lassey d8758cf4ec backing out changesets 1baddb020156, d9456378c12d, 187ac0d7b154, 40e392d958e0 and f2e8ee893fe4 2011-08-10 18:18:09 -04:00
Geoff Brown 57b9207763 Bug 668349 - add or update script to run xpcshell tests on Android; r=jmaher 2011-08-10 16:48:26 -04:00
Bob Moss 922f4abda2 bug 665716 - build breaks when building SUTAgent with sdk level 11, follow up for watcher service r=blassey 2011-08-10 15:38:01 -04:00
Brad Lassey 5b5630d315 bug 665716 - build breaks when building SUTAgent with sdk level 11 r=blassey 2011-08-09 22:05:17 -04:00
Cameron McCormack 3eafd18eb4 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
Geoff Brown f6de8f0e85 Bug 672538 - remotereftest.py and runtestsremote.py reference dm_auto before initialized; r=jmaher 2011-07-20 13:02:48 -04:00
Geoff Brown 0f3f2e347f Bug 669549 - Some DeviceManagerADB functions do not work; r=jmaher, a=test-only 2011-07-17 12:04:40 -04:00
Kyle Huey 29476224bf Mass revert m-i to the last known good state 2011-07-13 18:22:33 -07:00
Geoff Brown 0717df5653 Bug 669549 - Some DeviceManagerADB functions do not work; r=jmaher
--HG--
extra : rebase_source : 458c9d55c36708eb8dffc3275329bb663fab2513
2011-07-13 17:40:43 -04:00
Brad Lassey 558792a749 bug 669874 - add support for adb devicemanager to mochitest-remote make target r=jmaher 2011-07-07 13:10:52 -04:00
Mitchell Field 12645b96f1 Merge mozilla-central to build-system. 2011-05-15 16:07:45 +10:00
Brad Lassey 8f65e2f059 Bug 650205 - Implement devicemanager using adb. r=jmaher, a=test-only 2011-05-06 18:17:55 -04:00
Brad Lassey 90ced97964 Bug 649825 - refactor DeviceManager to allow multiple underlying implementations. r=ctalbert, a=test-only
--HG--
rename : build/mobile/devicemanager.py => build/mobile/devicemanagerSUT.py
2011-05-06 18:11:02 -04:00
Brad Lassey 2d988f1793 bug 656200 - Android Talos tests are failing to initialize the device correctly a+r=mfinkle 2011-05-11 00:47:10 -04:00
Joel Maher 645c11b0f4 Bug 649681 - update devicemanager to be what we are using in production. r=ctalbert, a=test-only 2011-04-20 08:52:13 -04:00
Brad Lassey 487f99cce8 fix build bustage for jdk 1.5 from bug 650110 r=dougt 2011-04-18 19:23:21 -04:00
Bob Moss 158f686929 Bug 650110 Update SUTAgent, whitespace refactor for fencp, ffxcp, watcher, r=ctalbert 2011-04-18 11:55:24 -07:00
Bob Moss 80e8072f92 Bug 650110 Update SUTAgent - adding in fencp, ffxcp, watcher code r=ctalbert 2011-04-18 11:55:24 -07:00
Bob Moss e8ae135639 Bug 650110 - Update SUTAgent, whitespace refactor for agent code r=ctalbert 2011-04-18 11:55:24 -07:00
Bob Moss 482731d7c2 Bug 650110 Update SUTAgent in m-c to 1.01, main agent update r=ctalbert 2011-04-18 11:55:24 -07:00
Joel Maher 56c455ad08 Bug 636534 - support incremental log output from remote testing harnesses. r=ctalbert, a=NPOTB 2011-02-26 13:19:55 -05:00
Joel Maher 33f1772d43 Bug 636450 - add a --host-os option for remote testing scripts. r=ctalbert, a=NPOTB 2011-02-24 14:45:42 -05:00
Joel Maher 9a3d4bc9bb Bug 636451 - devicemanager should have the ability to terminate when it can't launch a second process. r=mcote, a=NPOTB 2011-02-24 14:45:39 -05:00
Joel Maher dfd04bc1e6 Bug 634691 - update devicemanager to adjust screen resolution and fix unit tests. r=mcote, a=NPOTB 2011-02-23 14:38:55 -05:00