Commit Graph

299 Commits

Author SHA1 Message Date
Matt Brubeck
524fa88a13 Back out f151cccff911, 2c463faae83f, d7a8aefd3e8a (bug 719697, 713970, 720614) because of build bustage. 2012-01-26 11:41:29 -08:00
Joel Maher
de952aaacf Bug 719697 - robocop isn't signed properly from buildbot builds. r=aki,blassey. 2012-01-26 13:56:53 -05:00
William Lachance
f29725ab6b Bug 713970 - Restore accidentally removed changes and fix error handling in devicemanager. r=jmaher 2012-01-26 13:56:51 -05:00
Chris Lord
1649ace873 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
f6e413549f Bug 713970 - mozdevice abstract methods should have better failure patterns;r=jmaher 2012-01-24 09:46:38 -05:00
Geoff Brown
eae5e039b2 Bug 718528 - Robocop: upgrade to robotium 3.1; r=jmaher 2012-01-24 09:46:37 -05: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
Kartikaya Gupta
81f35d679d 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
fe6548f527 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
ac8face546 Bug 716732 - Robocop: fennec_ids.txt not always generated. r=kats 2012-01-11 08:50:10 -05:00
Kartikaya Gupta
55837d51d2 Bug 716934 - Print warning when clicking on elements with no listener. r=jmaher 2012-01-10 14:15:18 -05:00
Joel Maher
39f5389627 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
f2faee68e2 Bug 705175: update devicemanager, devicemanagerSUT versions of getAppRoot; r=jmaher 2012-01-07 18:41:08 -05:00
Geoff Brown
e2e3e88de9 Bug 716077 - be more strict when matching proc name in devicemanager.processExists; r=jmaher 2012-01-07 18:41:08 -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
Geoff Brown
749289c022 Bug 705175: update devicemanager, devicemanagerSUT versions of getAppRoot; r=jmaher 2012-01-07 08:25:05 -05:00
Geoff Brown
414228bfc5 Bug 716077 - be more strict when matching proc name in devicemanager.processExists; r=jmaher 2012-01-07 08:25:05 -05: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
Kartikaya Gupta
0b70824e1e 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
0803af5ef6 Bug 715369 - Work around Solo.getCurrentActivity() possibly returning the wrong object. r=jmaher 2012-01-05 21:36:17 -05:00
Kartikaya Gupta
8247dd9f56 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
2499a139f0 Bug 715197 - Robocop: implement isDisplayed(); r=jmaher 2012-01-05 10:20:21 -05:00
Geoff Brown
b8d1e20f4e Bug 715060 - Fallback to normal devicemanagerADB.pushDir behavior when unzip fails; r=jmaher 2012-01-05 10:20:21 -05:00
Kartikaya Gupta
989e6f35d2 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
8aaaa2213b Bug 701076 - [hoooking up make] Robotium integration into birch tree. r=blassey,bear 2011-12-31 10:03:36 -05:00
Phil Ringnalda
fea0fc7084 Back out 04ef7f564450 (bug 701076) and 632f07583bd8 (bug 711591) for mochitest-oth bustage 2011-12-30 14:19:30 -08:00
Joel Maher
7b015f4b69 Bug 701076 - [hookup to make] Robotium integration into birch tree. r=blassey,bear 2011-12-30 15:57:34 -05:00
Joel Maher
c431dbcb94 Bug 711591 - make the robotium test driver a bit more driver like. r=ctalbert 2011-12-30 15:57:34 -05:00
Joel Maher
aa3e0b9152 Bug 701076 - core robocop toolchain (1.03) a=tfair; r=gbrown,blassey 2011-12-22 09:09:41 -05:00
Aki Sasaki
6e8b839d73 bug 611648 - fix sutAgentAndroid.apk JARSIGNER 2011-12-20 09:34:47 -08:00
Geoff Brown
f358417c20 Bug 710827 - add robotium.jar to m-c under build/mobile/robocop; r=jmaher 2011-12-16 14:27:51 -05:00
Bob Moss
3ceb755054 Bug 695020 Fix race condition in process launching in the SUTAgent r=ctalbert 2011-12-05 13:13:40 -08:00
Geoff Brown
1c24525df4 Bug 701038 - use zip to improve performance of devicemanagerADB.pushDir; r=jmaher 2011-12-05 07:19:31 -05:00
William Lachance
6a81c61754 Bug 706974 - devicemanagerADB's pushDir method does not conform to interface specifications. r=jmaher 2011-12-05 07:19:31 -05:00
Geoff Brown
8ce4275c11 Bug 700916: improve command line when launching process via devicemanagerADB; r=jmaher 2011-12-05 07:19:31 -05:00
Geoff Brown
07c153b398 Bug 704618 - Allow directory as a destination argument to SUT pushFile(); r=jmaher 2011-11-30 13:19:49 +00:00
William Lachance
c4862e8932 Bug 698010 - Make deviceManagerADB.py killProcess method actually work. r=jmaher 2011-11-09 12:08:04 -05:00
Joel Maher
ed6f63418f Bug 694241 - devicemanagerADB has error in getDirectory causing remotereftest failures. r=wlach 2011-10-14 07:52:01 -04:00
Benoit Girard
c20d7c8dd3 Bug 691779 - Hide devicemanagerADB pull interfering with reftest output. r=jmaher 2011-10-11 10:31:05 -04:00
William Lachance
0da866fbc2 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
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
William Lachance
5606c73c7f Bug 689316 - DeviceManagerADB needs a getCurrentTime function. r=jmaher 2011-09-30 14:54:11 -04:00
Joel Maher
07b158cc45 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
07cb1444a2 Bug 668517 Add "stay awake" functionality into watcher for sutagent r=ctalbert 2011-08-30 15:54:07 -07:00
Geoff Brown
649bd29144 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
5793c55ec7 Bug 679602 - Improve robustness of devicemanagerADB: check for adb, remote cp; r=jmaher 2011-08-23 17:45:10 +01:00
Geoff Brown
1d4a26ad52 Bug 668349 - Add or update script to run xpcshell tests on Android; r=jmaher 2011-08-22 09:00:50 +01:00
Geoff Brown
58805d27b3 Bug 678385 - Device manager needs to be updated for package name + username; r=jmaher 2011-08-22 09:00:50 +01:00
Bob Moss
55026589d3 bug 679038 - error building WatcherService for SUTAgent r=blassey 2011-08-18 21:06:05 -04:00
Brad Lassey
146bdc79f5 backing out changesets 1baddb020156, d9456378c12d, 187ac0d7b154, 40e392d958e0 and f2e8ee893fe4 2011-08-10 18:18:09 -04:00
Geoff Brown
0aa70ffe82 Bug 668349 - add or update script to run xpcshell tests on Android; r=jmaher 2011-08-10 16:48:26 -04:00
Bob Moss
24b0e809df 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
dafd3ec7f5 bug 665716 - build breaks when building SUTAgent with sdk level 11 r=blassey 2011-08-09 22:05:17 -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
Geoff Brown
d6da59f671 Bug 672538 - remotereftest.py and runtestsremote.py reference dm_auto before initialized; r=jmaher 2011-07-20 13:02:48 -04:00
Geoff Brown
eb43247829 Bug 669549 - Some DeviceManagerADB functions do not work; r=jmaher, a=test-only 2011-07-17 12:04:40 -04:00
Kyle Huey
d3e7553ab9 Mass revert m-i to the last known good state 2011-07-13 18:22:33 -07:00
Geoff Brown
bb361d0883 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
0ef0f28f39 bug 669874 - add support for adb devicemanager to mochitest-remote make target r=jmaher 2011-07-07 13:10:52 -04:00
Mitchell Field
d0794ce6a8 Merge mozilla-central to build-system. 2011-05-15 16:07:45 +10:00
Brad Lassey
7935bd4ea0 Bug 650205 - Implement devicemanager using adb. r=jmaher, a=test-only 2011-05-06 18:17:55 -04:00
Brad Lassey
82fcbbbe30 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
b78c2af944 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
027284e0ff 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
0aee92e6a2 fix build bustage for jdk 1.5 from bug 650110 r=dougt 2011-04-18 19:23:21 -04:00
Bob Moss
87017e688d Bug 650110 Update SUTAgent, whitespace refactor for fencp, ffxcp, watcher, r=ctalbert 2011-04-18 11:55:24 -07:00
Bob Moss
f5373b1b07 Bug 650110 Update SUTAgent - adding in fencp, ffxcp, watcher code r=ctalbert 2011-04-18 11:55:24 -07:00
Bob Moss
884388d6e8 Bug 650110 - Update SUTAgent, whitespace refactor for agent code r=ctalbert 2011-04-18 11:55:24 -07:00
Bob Moss
5a27c8ee0c 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
b70686f69a Bug 636534 - support incremental log output from remote testing harnesses. r=ctalbert, a=NPOTB 2011-02-26 13:19:55 -05:00
Joel Maher
2f3d0b881d 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
b907474b80 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
bdd8be2e61 Bug 634691 - update devicemanager to adjust screen resolution and fix unit tests. r=mcote, a=NPOTB 2011-02-23 14:38:55 -05:00
Joel Maher
5aefe701ba bug 624001 update devicemanager.py for reboot, getdirectory and isdir cleanup. r=mcote, a=NPOTB 2011-02-04 13:49:37 -05:00
Clint Talbert
8947822a22 Bug 624001 Update android devicemanager with better error handling r=jmaher,mcote a=NPOTB 2011-01-13 12:00:23 -06:00
Clint Talbert
859df58db7 merge commit a=backout 2010-12-16 16:53:31 -08:00
Clint Talbert
586d8f8a84 Backed out changeset 69cc2a93f509 - breaks android builds a=backout 2010-12-16 16:37:04 -08:00
Bob Moss
64526ec7b7 Bug 614173 Android test agent needs better way to pull files pt 1 r=ctalbert a=NPOTB 2010-12-16 15:28:35 -08:00
Mark Cote
630c5928ef "Bug 614173 Update pull changes, fix update command in devicemanager r=jmaher a=NPOTB" 2010-12-16 15:28:35 -08:00
Joel Maher
e790251277 Bug 617815 - Enable the use of envrionment variables for remote automation on android r=ctalbert a=NPOTB 2010-12-16 15:28:35 -08:00
Bob Moss
7ac051f87a Bug 614173 - Android agent needs a more robust way to pull files pt 2, also make ini reading more bulletproof r=ctalbert, a=NPOTB 2010-12-16 15:28:35 -08:00
Clint Talbert
663acccd84 Bug 611348 - adding functionality to devicemanager.py to handle slave rebooting r=jmaher a=NPOTB 2010-11-18 13:03:44 -08:00
Bob Moss
c0e1c71e7c Bug 606265 - add ability to set timezone to android agent r=ctalbert a=NPOTB
--HG--
extra : rebase_source : 873f9e6d6b034d86d99634b090dafa5860bcab21
2010-11-01 14:52:08 -07:00
Mounir Lamouri
cc33a99998 Merging to tip. a=blocking-b7 2010-09-30 17:10:19 -07:00
Joel Maher
d45b95262c Bug 598366 - remote logging with mochitest needs a little love for android and large files. r=ctalbert, a=sayrer 2010-09-29 19:20:33 -04:00
Joel Maher
af1d89a715 Bug 595294 Remotereftest should not assume process.txt exists when using a log file r=ctalbert a=NPOTB 2010-09-17 17:18:06 -07:00
Clint Talbert
8cd44f2c7b Bug 584218 Fix sutagent bustage - checked in incorrect files a=bustage,NPOTB 2010-08-26 14:47:29 -07:00
Bob Moss
2a1c728d47 Bug 584218 Android SUT agent needs ability to update itself r=ctalbert a=NPOTB 2010-08-25 11:47:39 -07:00
Clint Talbert
ad556ab54f Bug 580418 Fix remote reftests to start their own httpd.js webserver r=jmaher 2010-07-26 18:43:34 -07:00
Bob Moss
0c5474f8a1 Bug 579578 Update SUTAgent code for android r=ctalbert 2010-07-19 08:55:42 -07:00
Clint Talbert
954fc063b2 Bug 573281 Update Devicemanager.py for android r=jmaher 2010-07-19 08:55:42 -07:00
Jesse Ruderman
427777ed92 Bug 570287 - New stack fixer that uses breakpad symbol files. r=ted 2010-06-25 14:47:19 -07:00
Clint Talbert
cc2d4b85a1 Bug 573263 - Refactor remote reftest to work on android, create shared remoteautomation class r=jmaher 2010-06-24 02:32:01 -07:00
Clint Talbert
c1eab73fd3 Bug 567945 Import of sutagent code for Android 2010-06-21 14:26:56 -07:00
Clint Talbert
7ee47c2f86 Bug 567945 Android agent needs to build in mozilla-central r=ted 2010-06-21 14:26:55 -07:00
Clint Talbert
96985b8969 Bug 563860 - update runtestsremote.py to start webserver automatically and to work on android better r=jmaher 2010-05-27 13:02:15 -07:00
Joel Maher
7f0cf8043f Bug 552441 Update devicemanager to have better error reporting for failed file transactions r=ctalbert a=dholbert for CLOSED TREE landing, NPOTB 2010-03-15 15:45:00 -07:00
Brad Lassey
8857f4c08a bug 548207 - allow make check to run over remote connection from devicemanager.py r=ted,ctalbert,jmaher
--HG--
rename : build/devicemanager.py => build/mobile/devicemanager.py
2010-03-10 13:36:45 -05:00