Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(968)

Issue 10829289: Add monkey command to android_commands. (Closed)

Created:
8 years, 4 months ago by frankf
Modified:
8 years, 3 months ago
Reviewers:
cmp, bulach, Isaac (away)
CC:
chromium-reviews, peter+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org
Visibility:
Public.

Description

Add monkey command to android_commands. Add the option of reinstalling using -r instead of uinstalling then installing. BUG=140947 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=153093

Patch Set 1 #

Patch Set 2 : Add option for reinstalling #

Patch Set 3 : Some renaming #

Total comments: 9

Patch Set 4 : Fixed nits #

Patch Set 5 : Fixed verbosity #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -10 lines) Patch
M build/android/pylib/android_commands.py View 1 2 3 4 4 chunks +48 lines, -10 lines 1 comment Download

Messages

Total messages: 11 (0 generated)
frankf
@Marcus, what's the best way to fjord the monkey tests on the available devices with ...
8 years, 4 months ago (2012-08-10 23:59:38 UTC) #1
frankf
@ilevy, please take a look. Is ManagedInstall called anywhere?
8 years, 4 months ago (2012-08-21 21:56:46 UTC) #2
Isaac (away)
Yes it is called: http://code.google.com/p/chromium/source/search?q=ManagedInstall&btnG=Search+Trunk http://codereview.chromium.org/10829289/diff/4001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): http://codereview.chromium.org/10829289/diff/4001/build/android/pylib/android_commands.py#newcode338 build/android/pylib/android_commands.py:338: reinstall: Whether to reinstall ...
8 years, 4 months ago (2012-08-22 02:03:28 UTC) #3
frankf
PTAL. http://codereview.chromium.org/10829289/diff/4001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): http://codereview.chromium.org/10829289/diff/4001/build/android/pylib/android_commands.py#newcode338 build/android/pylib/android_commands.py:338: reinstall: Whether to reinstall instead of uninstalling first. ...
8 years, 4 months ago (2012-08-22 21:46:54 UTC) #4
Isaac (away)
http://codereview.chromium.org/10829289/diff/4001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): http://codereview.chromium.org/10829289/diff/4001/build/android/pylib/android_commands.py#newcode1022 build/android/pylib/android_commands.py:1022: ' '.join(['-v'] * verbose), On 2012/08/22 21:46:55, frankf wrote: ...
8 years, 4 months ago (2012-08-22 21:53:18 UTC) #5
frankf
Ah, one more reason Python's awesome.
8 years, 4 months ago (2012-08-22 22:05:44 UTC) #6
Isaac (away)
+cc cmp lgtm w/ nit. needs lgtm from full committer. https://chromiumcodereview.appspot.com/10829289/diff/14002/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://chromiumcodereview.appspot.com/10829289/diff/14002/build/android/pylib/android_commands.py#newcode329 ...
8 years, 4 months ago (2012-08-23 02:30:07 UTC) #7
cmp
lgtm
8 years, 4 months ago (2012-08-23 05:29:29 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/frankf@chromium.org/10829289/14002
8 years, 4 months ago (2012-08-23 19:14:36 UTC) #9
commit-bot: I haz the power
Change committed as 153093
8 years, 4 months ago (2012-08-23 22:32:39 UTC) #10
bulach
8 years, 3 months ago (2012-08-28 11:08:34 UTC) #11
lgtm

sorry about the delay, I was OOO for a bit..

as for sharding / fjording: it is indeed reasonably tied to the type of test:
gtests we simply split the test list into N shards, instrumentation we create a
queue and then each shard will fetch from it, webkit has its own mechanism...

I'm not sure how deterministic are these monkey tests, specially in terms of how
long it takes to set up and execute: if the amount of time is somewhat constant,
than it's simpler to just split the list and run them...

if it's variable, or if the setup for each test is significant, then it's
probably best to have a queue..

not sure if this answers your question :) but I'm happy to give more details on
all complications we had in the past..

Powered by Google App Engine
This is Rietveld 408576698