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

Issue 12733012: Provision Android devices after the 'device_status_check' step. (Closed)

Created:
7 years, 9 months ago by Siva Chandra
Modified:
7 years, 8 months ago
CC:
chromium-reviews, klundberg+watch_chromium.org, frankf+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org
Visibility:
Public.

Description

Provision Android devices after the 'device_status_check' step. BUG=169338 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191315

Patch Set 1 #

Total comments: 1

Patch Set 2 : Probable fix for subprocess command format #

Patch Set 3 : Temporary commit so that the CL can be tried #

Patch Set 4 : use absolute path to adb_reboot #

Patch Set 5 : Fix args to provision_devices #

Patch Set 6 : Add print statements which log progress #

Patch Set 7 : #

Total comments: 4

Patch Set 8 : Address ilevy's comments #

Total comments: 1

Patch Set 9 : Adding host heartbeat #

Total comments: 19

Patch Set 10 : Run 'host_heartbeat' as a detached process #

Patch Set 11 : Use 'aux' with ps and kill all previous host heartbeats #

Patch Set 12 : Address all of ilevy's comments #

Patch Set 13 : Avoid a write-write conflict #

Patch Set 14 : Remove process detachment #

Total comments: 4

Patch Set 15 : Fix navabi@'s nit #

Patch Set 16 : Keep the heart beat running bypassing all exceptions #

Total comments: 29

Patch Set 17 : Use an option 'auto-reconnect' to bb_device_steps #

Patch Set 18 : Address ilevy's comments #

Total comments: 10

Patch Set 19 : Provision the devices with root enabled. #

Patch Set 20 : Include time.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -6 lines) Patch
M build/android/buildbot/bb_device_steps.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +9 lines, -0 lines 0 comments Download
M build/android/buildbot/bb_run_bot.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -1 line 0 comments Download
A build/android/host_heartbeat.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +33 lines, -0 lines 0 comments Download
A build/android/provision_devices.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +94 lines, -0 lines 0 comments Download
M tools/android/adb_reboot/adb_reboot.c View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +13 lines, -5 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
Siva Chandra
I have tested this on my system. Works. However, the try bot is unhappy: http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/38064 ...
7 years, 9 months ago (2013-03-15 01:57:50 UTC) #1
Siva Chandra
On 2013/03/15 01:57:50, Siva Chandra wrote: > I have tested this on my system. Works. ...
7 years, 9 months ago (2013-03-15 02:00:48 UTC) #2
Siva Chandra
https://chromiumcodereview.appspot.com/12733012/diff/1/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://chromiumcodereview.appspot.com/12733012/diff/1/build/android/buildbot/bb_device_steps.py#newcode269 build/android/buildbot/bb_device_steps.py:269: if buildername == 'Android GN (stats)': This if is ...
7 years, 9 months ago (2013-03-15 02:01:52 UTC) #3
Siva Chandra
Look at patch set 7. The provisioning script is supposed to run on a builder ...
7 years, 9 months ago (2013-03-18 18:23:12 UTC) #4
Isaac (away)
I'm confused -- does provision_devices.py actually provision the devices? I don't see a call the ...
7 years, 9 months ago (2013-03-19 00:05:22 UTC) #5
Siva Chandra
I have not responded to code changes. We will get the basics of this CL ...
7 years, 9 months ago (2013-03-19 00:45:05 UTC) #6
Isaac (away)
https://chromiumcodereview.appspot.com/12733012/diff/30001/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://chromiumcodereview.appspot.com/12733012/diff/30001/build/android/buildbot/bb_device_steps.py#newcode269 build/android/buildbot/bb_device_steps.py:269: if buildername == 'Android GN (stats)': On 2013/03/19 00:45:05, ...
7 years, 9 months ago (2013-03-19 22:28:18 UTC) #7
Siva Chandra
PTAL at patch set 8. https://chromiumcodereview.appspot.com/12733012/diff/37001/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://chromiumcodereview.appspot.com/12733012/diff/37001/build/android/buildbot/bb_device_steps.py#newcode271 build/android/buildbot/bb_device_steps.py:271: '/out/%s/adb_reboot' % options.factory_properties['target']) Presubmit ...
7 years, 9 months ago (2013-03-20 00:47:22 UTC) #8
Siva Chandra
PT a L The latest patchset adds a host heartbeat as part of provisioning. This ...
7 years, 9 months ago (2013-03-22 01:43:58 UTC) #9
Siva Chandra
PING
7 years, 9 months ago (2013-03-25 21:04:38 UTC) #10
Isaac (away)
This is failing trybots?
7 years, 9 months ago (2013-03-25 21:07:14 UTC) #11
Siva Chandra
On 2013/03/25 21:07:14, Isaac wrote: > This is failing trybots? I do not know why ...
7 years, 9 months ago (2013-03-25 23:42:11 UTC) #12
Isaac (away)
I have some comments, I think the general idea is solid though. https://chromiumcodereview.appspot.com/12733012/diff/41001/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py ...
7 years, 9 months ago (2013-03-25 23:50:03 UTC) #13
Siva Chandra
PTaL at patch set 12. https://chromiumcodereview.appspot.com/12733012/diff/41001/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://chromiumcodereview.appspot.com/12733012/diff/41001/build/android/buildbot/bb_device_steps.py#newcode271 build/android/buildbot/bb_device_steps.py:271: '/out/%s/adb_reboot' % options.factory_properties['target']) On ...
7 years, 9 months ago (2013-03-26 02:27:51 UTC) #14
Siva Chandra
Look at the latest patch set. A patch set before that was tried on the ...
7 years, 9 months ago (2013-03-27 01:27:13 UTC) #15
Siva Chandra
I missed explaining the change in the new patch sets in previous mail. From patch ...
7 years, 9 months ago (2013-03-27 01:57:16 UTC) #16
navabi
We can run it again on the android_fyi_dbg_triggered_tests bot as it stopped failing the test ...
7 years, 9 months ago (2013-03-27 19:53:31 UTC) #17
navabi
On 2013/03/27 19:53:31, navabi wrote: > We can run it again on the android_fyi_dbg_triggered_tests bot ...
7 years, 9 months ago (2013-03-27 19:54:16 UTC) #18
Siva Chandra
Thanks for triggering a try job Armand. https://chromiumcodereview.appspot.com/12733012/diff/8002/build/android/host_heartbeat.py File build/android/host_heartbeat.py (right): https://chromiumcodereview.appspot.com/12733012/diff/8002/build/android/host_heartbeat.py#newcode17 build/android/host_heartbeat.py:17: PULSE_PERIOD = ...
7 years, 9 months ago (2013-03-27 20:45:14 UTC) #19
Siva Chandra
It has succeeded bow! So, PTaL with no nervousness :)
7 years, 9 months ago (2013-03-27 21:07:44 UTC) #20
navabi
lgtm with nit, but best to let ilevy take a look since he has reviewed ...
7 years, 9 months ago (2013-03-27 22:05:29 UTC) #21
Siva Chandra
https://chromiumcodereview.appspot.com/12733012/diff/8002/tools/android/adb_reboot/adb_reboot.c File tools/android/adb_reboot/adb_reboot.c (right): https://chromiumcodereview.appspot.com/12733012/diff/8002/tools/android/adb_reboot/adb_reboot.c#newcode31 tools/android/adb_reboot/adb_reboot.c:31: time_t ct; On 2013/03/27 22:05:29, navabi wrote: > Declare ...
7 years, 9 months ago (2013-03-27 22:13:42 UTC) #22
Isaac (away)
I have some more comments, I'll look over the new patchset when it's ready. Thanks! ...
7 years, 9 months ago (2013-03-28 22:37:44 UTC) #23
Siva Chandra
PTAL https://chromiumcodereview.appspot.com/12733012/diff/86001/build/android/host_heartbeat.py File build/android/host_heartbeat.py (right): https://chromiumcodereview.appspot.com/12733012/diff/86001/build/android/host_heartbeat.py#newcode25 build/android/host_heartbeat.py:25: android_cmd.EnableAdbRoot() On 2013/03/28 22:37:44, Isaac wrote: > I ...
7 years, 9 months ago (2013-03-28 23:52:47 UTC) #24
Isaac (away)
https://chromiumcodereview.appspot.com/12733012/diff/86001/build/android/host_heartbeat.py File build/android/host_heartbeat.py (right): https://chromiumcodereview.appspot.com/12733012/diff/86001/build/android/host_heartbeat.py#newcode25 build/android/host_heartbeat.py:25: android_cmd.EnableAdbRoot() On 2013/03/28 23:52:47, Siva Chandra wrote: > On ...
7 years, 9 months ago (2013-03-29 00:18:32 UTC) #25
Siva Chandra
Look at the latest patch set. Though it says "with root enabled", it should have ...
7 years, 9 months ago (2013-03-29 01:47:05 UTC) #26
Isaac (away)
LGTM
7 years, 9 months ago (2013-03-29 01:55:59 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sivachandra@chromium.org/12733012/103001
7 years, 9 months ago (2013-03-29 02:00:36 UTC) #28
Isaac (away)
https://chromiumcodereview.appspot.com/12733012/diff/86001/build/android/provision_devices.py File build/android/provision_devices.py (right): https://chromiumcodereview.appspot.com/12733012/diff/86001/build/android/provision_devices.py#newcode45 build/android/provision_devices.py:45: ps = subprocess.Popen(['ps', 'aux'], stdout = subprocess.PIPE) On 2013/03/29 ...
7 years, 9 months ago (2013-03-29 02:05:54 UTC) #29
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 9 months ago (2013-03-29 02:27:43 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sivachandra@chromium.org/12733012/124001
7 years, 9 months ago (2013-03-29 02:28:59 UTC) #31
Siva Chandra
On 2013/03/29 02:27:43, I haz the power (commit-bot) wrote: > Sorry for I got bad ...
7 years, 9 months ago (2013-03-29 02:30:04 UTC) #32
commit-bot: I haz the power
7 years, 8 months ago (2013-03-29 06:21:14 UTC) #33
Message was sent while issue was closed.
Change committed as 191315

Powered by Google App Engine
This is Rietveld 408576698