Commit Graph

410 Commits

Author SHA1 Message Date
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
Ed Morley
ce3fdf2758 Backed out changeset 2d5c2f191920 (bug 863445) for breaking Android Nightlies
--HG--
rename : mobile/android/base/fennec-ids-generator.py => build/mobile/robocop/parse_ids.py
2013-05-13 12:31:39 +01:00
Ed Morley
bcdd00043e Backed out changeset dac51812454a (bug 863445) 2013-05-13 12:31:10 +01:00
Nick Alexander
b96eb5d3c3 Bug 863445 - Part 3: Make build/mobile/robocop/Makefile.in produce robocop-debug-signed.apk. r=jmaher
Also makes the developer-facing `make mochitest-robocop` run
robocop-debug-signed.apk, and deprecates `make
mochitest-robotium` (since we name this suite robocop on TBPL).
2013-05-11 16:53:49 -07:00
Nick Alexander
bc0efccf06 Bug 863445 - Part 1: Make mobile/android/base/Makefile.in generate $(DIST)/fennec_ids.txt. r=jmaher
--HG--
rename : build/mobile/robocop/parse_ids.py => mobile/android/base/fennec-ids-generator.py
2013-05-11 16:53:48 -07:00
Nick Alexander
78284a8764 Backed out e7739a472f09, 3fd142236a0f, and 382ec69cdfb1 (Bug 863445) for Android rc1 and rc2 failures on a CLOSED TREE. r=me
--HG--
rename : mobile/android/base/fennec-ids-generator.py => build/mobile/robocop/parse_ids.py
2013-05-10 21:38:52 -07:00
Nick Alexander
b6eec5394e Bug 870908 - Add Robocop Java harness for writing tests in Javascript. r=rnewman 2013-05-10 19:45:58 -07:00
Nick Alexander
2d0fd713b6 Bug 863445 - Part 3: Make build/mobile/robocop/Makefile.in produce robocop-debug-signed.apk. r=jmaher
Also makes the developer-facing `make mochitest-robocop` run
robocop-debug-signed.apk, and deprecates `make
mochitest-robotium` (since we name this suite robocop on TBPL).
2013-05-10 18:39:00 -07:00
Nick Alexander
e31e2f53cc Bug 863445 - Part 1: Make mobile/android/base/Makefile.in generate $(DIST)/fennec_ids.txt. r=jmaher
--HG--
rename : build/mobile/robocop/parse_ids.py => mobile/android/base/fennec-ids-generator.py
2013-05-10 18:39:00 -07:00
Andrew Halberstadt
1ba7849d22 Bug 830430 - automation.py should read profile data from a file, r=jhammel
* * *
Copy prefs general
2013-05-07 11:19:46 -04: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
Geoff Brown
e6195f8cd6 Bug 865944 - Add activity command to sutagent and increase ver to 1.17; r=jmaher DONTBUILD 2013-04-26 12:44:07 -06:00
Geoff Brown
7fc8243ae9 Bug 864803 - sutAgent: do not destroy process if it has ended already; r=jmaher DONTBUILD 2013-04-25 17:10:42 -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
Geoff Brown
e6baf01156 Bug 859563 - Fix and make listener unregistration explicit; r=cpeterson 2013-04-18 21:18:07 -06:00
Bob Clary
3901d83eb4 bug 860986 - SUTAgent - add abi to registration url, r=jmaher. DONTBUILD 2013-04-12 11:23:56 -07:00
Daniel Holbert
5dfb1830ae Bug 473236, 2013 edition, part 2: Remove executable bit from any png files that are incorrectly marked as executable, tree-wide. DONTBUILD 2013-04-05 16:15:41 -07:00
Chris Peterson
38e5a49d08 Bug 855146 - Part 4: Add Actions.sendKeyCode() method for IME tests. r=gbrown
--HG--
extra : rebase_source : ce20c7e4117a40e34f55b186e782c5fcd703704d
2013-04-03 16:45:43 -07:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Andrew Halberstadt
81a9b1f146 Bug 835930 - move b2g unittest profile handling on top of mozbase instead of automation.py, r=jgriffin 2013-03-28 16:42:49 -04:00
Chris Peterson
2819b23f86 Bug 855146 - Part 2: Extract runOnUiThreadSync() test method. r=gbrown
--HG--
extra : rebase_source : 8014e5438596d8981e074ad847a675bacb18eb2c
2013-03-21 18:43:04 -07:00
Andrew Halberstadt
747f8a70f6 Bug 843296 - check for crashes in b2g emulator unittests during failures in marionette start up, r=jgriffin 2013-03-26 09:50:00 -04:00
Geoff Brown
f1642753f3 Bug 853502 - Add df output to sutagent device info; r=jmaher DONTBUILD 2013-03-25 16:01:59 -06:00
Mike Shal
f290401a73 Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Joel Maher
8caf21a371 Bug 827446 - update mochitest, reftest, xpcshell to use mozcrash. r=jhammel 2013-03-21 09:19:34 -04:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Joey Armstrong
aa666e80b3 bug 751156: robocop dependency build should be a nop 2013-03-19 15:34:59 -04:00
William Lachance
7791b797fa Bug 852246 - Allow installing over an app with >= version in Android 4.2 via the agent;r=jmaher 2013-03-19 11:58:53 -04:00
Ryan VanderMeulen
151ef0e1b5 Backed out changeset 9e6e38d4ae0b (bug 852246) for Android bustage. 2013-03-19 11:25:47 -04:00
William Lachance
fd1051dc93 Bug 852246 - Allow installing over an app with >= version in Android 4.2 via the agent;r=jmaher 2013-03-19 11:01:36 -04:00
Andrew Halberstadt
4c74394ed6 Bug 843296 - Check for crashes and minidump_stackwalk for b2g emulator unittests, r=jgriffin 2013-03-18 10:01:06 -04:00
Paul Feher
abe626a94a Bug 846257 - Robocop: Extend 'Web Content Context Menu' test to cover the context menu options for images. r=jmaher 2013-02-26 14:46:02 +02:00
Adrian Tamas
ed3f336282 Bug 822259 - Robocop: Add test for Find in Page feature. r=jmaher 2012-12-14 09:29:17 +02:00
William Lachance
7dcfa1670c Bug 816694 - Add support for device temperature monitor to agent;r=jmaher 2013-03-13 10:19:38 -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
Chris Lord
ba4e6eda59 Bug 846772 - Add prefs observing to PrefsHelper/browser.js on Android. r=kats 2013-03-12 18:32:25 +00:00
Ryan VanderMeulen
ee09504083 Backed out 5 changesets (bug 846772) for Android reftest-3 orange on a CLOSED TREE. 2013-03-12 17:37:16 -04:00
Chris Lord
c908455874 Bug 846772 - Add prefs observing to PrefsHelper/browser.js on Android. r=kats 2013-03-12 18:32:25 +00:00
Andrew Halberstadt
a997292315 Bug 848124 - instrument b2gautomation to send environment variables to the on device process, r=jgriffin 2013-03-06 16:53:48 -05:00
Geoff Brown
432de473b8 Bug 846158 - Clear mEventReceived in robocop blockForEvent; r=kats 2013-03-05 03:27:29 -07:00
Bob Clary
01d63c6222 Bug 846273 - robocop_autophone.ini is not included in the test package, r=ted. 2013-03-01 00:32:03 -08:00
Gregory Szorc
803629b9c6 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
aab3b7dd49 Bug 784841 - Part 18e: Convert /build, /config, and core build system; r=ted 2013-02-25 12:47:18 -08:00
Geoff Brown
042f69a8ea Bug 844797 - Avoid UnboundLocalError on dumpDir in checkForCrashes; r=edmorley 2013-02-26 07:19:58 -07:00
Geoff Brown
02423546d8 Bug 844273 - Robocop: upgrade to robotium-3.6.jar; r=jmaher 2013-02-23 15:42:33 -07:00
Jonathan Griffin
b240991007 Bug 843729 - deviceSerial -> _deviceSerial, r=ahal, DONTBUILD (NPOTB) 2013-02-21 11:51:36 -08:00
Margaret Leibovic
9c28dc5476 Bug 840825 - Add blockForEventData method to EventExpecter. r=gbrown 2013-02-19 10:15:44 -08:00
Geoff Brown
c3a6f99044 Bug 823452: Check logcat for Java exceptions; r=jmaher 2013-02-13 11:42:15 -07:00
Geoff Brown
8a396cc3b3 Bug 838636 - Guard against NPE in robocop setup; r=kats 2013-02-11 12:01:58 -07:00
William Lachance
8e2ff98655 Bug 838844 - Add info option to get sutagent user info;r=gbrown 2013-02-08 15:46:57 -05: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
Joey Armstrong
ba59dca059 bug 747540: fix dependencies for java build 2013-01-25 15:22:13 -05:00
Geoff Brown
a76a1d9cad Bug 834027: Dump diagnostic info when FennecNativeDriver.getSurfaceView fails; r=jmaher 2013-01-24 15:00:31 -07:00
Jonathan Griffin
e071c0ece1 Bug 826111 - Support mochitests on b2g desktop build, r=ahal 2013-01-04 10:41:34 -08:00
Ed Morley
06900008e9 Backout a5b75feea6dd (bug 826111) on suspicion of breaking marionette on linux on a CLOSED TREE 2013-01-15 11:04:25 +00:00
Jonathan Griffin
d935eb89e8 Bug 826111 - Support mochitests on b2g desktop build, r=ahal 2013-01-04 10:41:34 -08:00
Andrew Halberstadt
b8979c0f56 Bug 827504 - Don't install specialpowers for crashtests on B2G (it already is), r=jgriffin DONTBUILD a=NPOTB,test-only 2013-01-10 09:49:12 -05:00
Joel Maher
16a00b7417 Bug 827699 - Android mochitests and talos don't run on Beta 19 builds. r=blassey NPOTB DONTBUILD 2013-01-08 11:54:34 -05:00
Joel Maher
a0d9ea8da0 Bug 786414 - unable to update sutagent on the panda boards. r=wlach DONTBUILD 2012-11-29 15:14:11 -05:00
Geoff Brown
be75489946 Bug 809753 - Avoid python exception when maxTime is None; r=edmorley, DONTBUILD 2012-11-28 13:43:58 -07:00
Geoff Brown
02d1e11372 Bug 814496 - sutAgent: Stop RedirOutputThread when timeout exceeded; r=wlach 2012-11-27 14:05:18 -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
14b993064f Bug 811388 - Update mozdevice to 0.15, update consumers;r=ahal 2012-11-14 09:49:04 -08:00
Kartikaya Gupta
9d0bbb2116 Bug 810171 - Add a test for VKB overlap input fields. r=cpeterson 2012-11-13 12:11:25 -08:00
William Lachance
4a1fcf3f56 Bug 805116 - Print more of the logcat in mobile tests;r=gbrown 2012-11-12 13:57:13 -08:00
Wes Johnston
f6535051b7 Bug 759041 - Bring in Android compatibility libraries. r=blassey 2012-11-08 07:45:29 -08:00
Joel Maher
6eeae16283 Bug 809534 - add support to watcher to support version query. r=wlach DONTBUILD 2012-11-08 07:33:03 -05:00
Joel Maher
f73dae0742 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
684491e8dc 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
44b1dc412e Bug 798580 - Run mochitests from within test-container app's oop iframe, r=jgriffin 2012-10-31 09:37:22 -04: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
933a845748 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
a27bbd28a7 Bug 757838 - Misc b2gautomation.py cleanup; r=jgriffin 2012-11-03 17:10:59 +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
Joel Maher
0ada31c022 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
c4cee4ab7a Backout e814e12508af (bug 799107), 45863b00372b (bug 801633), 2012-10-15 13:33:37 -04:00
Joel Maher
d925c6eb2a 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
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
Joel Maher
0d6866c6ab Backout f271acb304c2 (bug 799107), 2012-10-15 09:08:41 -04:00
Joel Maher
b39722815e 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
9303d9ab7a 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
c7ac4d2fb0 Bug 797652 - Current code agent code crashes on android 2.3. r=wlach 2012-10-10 10:17:40 -04:00
Ed Morley
fd14735924 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-06 20:30:35 +01:00
Andrew Halberstadt
3c47c68070 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
29308c09dd Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me 2012-10-05 17:48:15 +01: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
David Chan
4c08ecc761 Bug 797177 - Unbreak b2g mochitests, r=ahal 2012-10-02 15:43:19 -07:00
Jonathan Griffin
a2e982a8bd Bug 793213 - Disable offline mode for b2g mochitest/reftest, r=ahal, DONTBUILD because NPOTB 2012-09-21 15:20:39 -07:00
Vladimir Vukicevic
0932aafa0f b=790041; add mDNS broadcasts to SUTAgent; r=ctalbert 2012-09-14 09:29:51 -04:00
Kartikaya Gupta
556edf6838 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
980573bf62 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
bb6e24e544 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
6f00c66257 Bug 789213 - Delay SUTAgent "ready" until the SDCard is ready. r=wlach 2012-09-07 10:21:23 -04:00
William Lachance
cb33bd4f1a Bug 786427 - Agent should quote with ' characters, not just " characters;r=jmaher 2012-08-30 15:05:18 -04:00