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

Issue 1211323004: [Telemetry] Remove adb_commands usage from android_device (Closed)

Created:
5 years, 5 months ago by nednguyen
Modified:
5 years, 5 months ago
Reviewers:
jbudorick
CC:
chromium-reviews, jbudorick+watch_chromium.org, klundberg+watch_chromium.org, telemetry-reviews_chromium.org, yfriedman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Telemetry] Remove adb_commands usage from android_device Reland of https://codereview.chromium.org/1212643002/ This time, we don't use DeviceUtils.HealthyDevices() API to make sure that all connected devices are processed instead of only healthy devices. This is to make sure that the cq bots have enough capacity to handle the unittests load since some of the android bots used by CQ are marked unhealthy. BUG=476709 Committed: https://crrev.com/d5bb872d537153753f930eab6097afb315612274 Cr-Commit-Position: refs/heads/master@{#337099}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address John's comment #

Total comments: 2

Patch Set 3 : Create warning for unhealthy devices #

Patch Set 4 : Add the step of setting up PATH variable with adb back #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -110 lines) Patch
M tools/telemetry/telemetry/core/platform/android_device.py View 1 2 3 6 chunks +27 lines, -15 lines 1 comment Download
M tools/telemetry/telemetry/core/platform/android_device_unittest.py View 1 2 3 1 chunk +81 lines, -95 lines 0 comments Download

Messages

Total messages: 36 (12 generated)
nednguyen
5 years, 5 months ago (2015-06-29 17:49:57 UTC) #2
jbudorick
From the logs when this landed the first time (e.g. http://build.chromium.org/p/chromium.linux/builders/Android%20Tests/builds/20889/steps/telemetry_perf_unittests/logs/stdio), it appeared that telemetry ...
5 years, 5 months ago (2015-06-29 17:56:23 UTC) #3
nednguyen
https://codereview.chromium.org/1211323004/diff/1/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/1211323004/diff/1/build/android/pylib/device/device_utils.py#newcode1749 build/android/pylib/device/device_utils.py:1749: def GetAttachedDevices(cls): On 2015/06/29 17:56:23, jbudorick wrote: > I ...
5 years, 5 months ago (2015-06-29 17:59:12 UTC) #4
jbudorick
https://codereview.chromium.org/1211323004/diff/1/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/1211323004/diff/1/build/android/pylib/device/device_utils.py#newcode1749 build/android/pylib/device/device_utils.py:1749: def GetAttachedDevices(cls): On 2015/06/29 at 17:59:12, nednguyen wrote: > ...
5 years, 5 months ago (2015-06-29 18:03:46 UTC) #5
nednguyen
https://codereview.chromium.org/1211323004/diff/1/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/1211323004/diff/1/build/android/pylib/device/device_utils.py#newcode1749 build/android/pylib/device/device_utils.py:1749: def GetAttachedDevices(cls): On 2015/06/29 18:03:45, jbudorick wrote: > On ...
5 years, 5 months ago (2015-06-29 18:14:54 UTC) #6
jbudorick
https://codereview.chromium.org/1211323004/diff/1/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/1211323004/diff/1/build/android/pylib/device/device_utils.py#newcode1749 build/android/pylib/device/device_utils.py:1749: def GetAttachedDevices(cls): On 2015/06/29 at 18:14:54, nednguyen wrote: > ...
5 years, 5 months ago (2015-06-29 18:27:44 UTC) #7
nednguyen
PTAL https://codereview.chromium.org/1211323004/diff/1/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/1211323004/diff/1/build/android/pylib/device/device_utils.py#newcode1749 build/android/pylib/device/device_utils.py:1749: def GetAttachedDevices(cls): On 2015/06/29 18:27:44, jbudorick wrote: > ...
5 years, 5 months ago (2015-06-29 18:42:05 UTC) #8
jbudorick
lgtm https://codereview.chromium.org/1211323004/diff/20001/tools/telemetry/telemetry/core/platform/android_device.py File tools/telemetry/telemetry/core/platform/android_device.py (right): https://codereview.chromium.org/1211323004/diff/20001/tools/telemetry/telemetry/core/platform/android_device.py#newcode47 tools/telemetry/telemetry/core/platform/android_device.py:47: # TODO: use pylib.device.device_utils.DeviceUtils.HealthyDevices() to discover It's possible ...
5 years, 5 months ago (2015-06-29 19:00:20 UTC) #9
nednguyen
https://codereview.chromium.org/1211323004/diff/20001/tools/telemetry/telemetry/core/platform/android_device.py File tools/telemetry/telemetry/core/platform/android_device.py (right): https://codereview.chromium.org/1211323004/diff/20001/tools/telemetry/telemetry/core/platform/android_device.py#newcode47 tools/telemetry/telemetry/core/platform/android_device.py:47: # TODO: use pylib.device.device_utils.DeviceUtils.HealthyDevices() to discover On 2015/06/29 19:00:19, ...
5 years, 5 months ago (2015-06-29 20:37:00 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1211323004/10004
5 years, 5 months ago (2015-06-29 20:38:19 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/39119)
5 years, 5 months ago (2015-06-29 22:55:27 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1211323004/10004
5 years, 5 months ago (2015-06-29 23:20:23 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/39212)
5 years, 5 months ago (2015-06-30 01:38:02 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1211323004/70001
5 years, 5 months ago (2015-07-01 18:34:04 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1211323004/90001
5 years, 5 months ago (2015-07-01 18:48:46 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:90001)
5 years, 5 months ago (2015-07-01 19:52:20 UTC) #28
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/d5bb872d537153753f930eab6097afb315612274 Cr-Commit-Position: refs/heads/master@{#337099}
5 years, 5 months ago (2015-07-01 19:53:19 UTC) #29
nednguyen
A revert of this CL (patchset #4 id:90001) has been created in https://codereview.chromium.org/1218823006/ by nednguyen@google.com. ...
5 years, 5 months ago (2015-07-02 01:25:25 UTC) #30
jbudorick
On 2015/07/02 at 01:25:25, nednguyen wrote: > A revert of this CL (patchset #4 id:90001) ...
5 years, 5 months ago (2015-07-02 01:37:09 UTC) #31
nednguyen
On 2015/07/02 01:37:09, jbudorick (ooo until july 13) wrote: > On 2015/07/02 at 01:25:25, nednguyen ...
5 years, 5 months ago (2015-07-02 02:52:31 UTC) #32
jbudorick
On 2015/07/02 at 02:52:31, nednguyen wrote: > On 2015/07/02 01:37:09, jbudorick (ooo until july 13) ...
5 years, 5 months ago (2015-07-02 02:58:28 UTC) #33
nednguyen
On 2015/07/02 02:58:28, jbudorick (ooo until july 13) wrote: > On 2015/07/02 at 02:52:31, nednguyen ...
5 years, 5 months ago (2015-07-02 03:01:31 UTC) #34
jbudorick
https://codereview.chromium.org/1211323004/diff/90001/tools/telemetry/telemetry/core/platform/android_device.py File tools/telemetry/telemetry/core/platform/android_device.py (left): https://codereview.chromium.org/1211323004/diff/90001/tools/telemetry/telemetry/core/platform/android_device.py#oldcode47 tools/telemetry/telemetry/core/platform/android_device.py:47: device_serials = adb_commands.GetAttachedDevices() the old AndroidCommands.GetAttachedDevices uses the blacklist: ...
5 years, 5 months ago (2015-07-02 03:04:54 UTC) #35
Finnur
5 years, 5 months ago (2015-07-06 12:54:35 UTC) #36
Message was sent while issue was closed.
I've found that my phone all of a sudden keeps getting blacklisted via
bad_devices.json. I have had to delete that file twice today now (took a while
to find out why the first time it happened). Is there a bug for this
blacklisting feature or should I just file a new one?

Powered by Google App Engine
This is Rietveld 408576698