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

Issue 2628953003: [Android] Explicitly check that devices are online during test set up. (Closed)

Created:
3 years, 11 months ago by jbudorick
Modified:
3 years, 11 months ago
Reviewers:
bpastene, katthomas1
CC:
chromium-reviews, mikecase+watch_chromium.org, jbudorick+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Explicitly check that devices are online during test set up. In rare cases, devices time out on the first real command sent to them. On swarming, the total time required for this timeout can exceed that amount of time allotted for the containing task to finish. This is bad. This change checks that the device is fully booted before attempting to do anything else with it. The commands this runs should ensure that we can run basic commands on the device and that the package manager is running. This all runs with a relatively short timeout, so we should be able to identify a potentially problematic device before hitting the swarming timeout. BUG=664308 Review-Url: https://codereview.chromium.org/2628953003 Cr-Commit-Position: refs/heads/master@{#443390} Committed: https://chromium.googlesource.com/chromium/src/+/e9408cc6c29f9476a7a76d07ecefc6f1d7b3fcdb

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M build/android/pylib/local/device/local_device_environment.py View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (4 generated)
jbudorick
3 years, 11 months ago (2017-01-12 16:38:49 UTC) #2
bpastene
lgtm
3 years, 11 months ago (2017-01-12 21:11:28 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2628953003/1
3 years, 11 months ago (2017-01-12 21:24:20 UTC) #5
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 22:41:15 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/e9408cc6c29f9476a7a76d07ecef...

Powered by Google App Engine
This is Rietveld 408576698