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

Issue 181433020: GetAttachedDevices() should not include bad devices listed in .bad_devices file. (Closed)

Created:
6 years, 9 months ago by navabi
Modified:
6 years, 9 months ago
Reviewers:
klundberg, craigdh, bulach, tonyg
CC:
chromium-reviews, craigdh+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org
Visibility:
Public.

Description

GetAttachedDevices() should not include bad devices listed in .bad_devices file. BUG=334724 TBR=craigdh@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254905

Patch Set 1 #

Total comments: 2

Patch Set 2 : Open file to read. #

Total comments: 4

Patch Set 3 : Make bad devices file json file in constants.py. #

Patch Set 4 : Remove bad devices file for each build in status check. #

Patch Set 5 : Add ResetBadDevices and ExtendBadDevices to android_commands.py. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -0 lines) Patch
M build/android/buildbot/bb_device_status_check.py View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M build/android/pylib/android_commands.py View 1 2 3 4 3 chunks +31 lines, -0 lines 0 comments Download
M build/android/pylib/constants.py View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
navabi
6 years, 9 months ago (2014-02-27 23:49:23 UTC) #1
craigdh
https://codereview.chromium.org/181433020/diff/1/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/181433020/diff/1/build/android/pylib/android_commands.py#newcode131 build/android/pylib/android_commands.py:131: bad_devices = f.read().splitlines() where do you open f?
6 years, 9 months ago (2014-02-27 23:53:07 UTC) #2
navabi
Thanks Craig. I still need to test. I'm WFH today and can't get adb over ...
6 years, 9 months ago (2014-02-28 00:01:51 UTC) #3
bulach
good stuff! lgtm, but make everybody else happy too :) just some small suggestions: https://codereview.chromium.org/181433020/diff/20001/build/android/pylib/android_commands.py ...
6 years, 9 months ago (2014-02-28 10:13:33 UTC) #4
navabi
Thanks Marcus! https://codereview.chromium.org/181433020/diff/20001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/181433020/diff/20001/build/android/pylib/android_commands.py#newcode128 build/android/pylib/android_commands.py:128: bad_devices_file = os.path.join(constants.GetOutDirectory(), '.bad_devices') On 2014/02/28 10:13:33, ...
6 years, 9 months ago (2014-02-28 20:46:52 UTC) #5
navabi
On 2014/02/28 20:46:52, navabi wrote: > Thanks Marcus! > > https://codereview.chromium.org/181433020/diff/20001/build/android/pylib/android_commands.py > File build/android/pylib/android_commands.py (right): ...
6 years, 9 months ago (2014-02-28 22:29:58 UTC) #6
bulach
lgtm, nice, thanks!
6 years, 9 months ago (2014-03-03 11:24:05 UTC) #7
bulach
ops, sorry, still lgtm, but you'd probably want to add the "extend bad devices" at ...
6 years, 9 months ago (2014-03-03 11:25:54 UTC) #8
navabi
Thanks Marcus for the good suggestions. PTAL along with https://chrome-internal-review.googlesource.com/#/c/155315/
6 years, 9 months ago (2014-03-03 18:27:27 UTC) #9
bulach
lgtm, good stuff, thanks!
6 years, 9 months ago (2014-03-04 10:26:58 UTC) #10
navabi
The CQ bit was checked by navabi@google.com
6 years, 9 months ago (2014-03-04 17:48:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/navabi@google.com/181433020/70001
6 years, 9 months ago (2014-03-04 17:49:36 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-04 18:17:07 UTC) #13
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=53349
6 years, 9 months ago (2014-03-04 18:17:08 UTC) #14
navabi
The CQ bit was checked by navabi@google.com
6 years, 9 months ago (2014-03-04 21:02:20 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/navabi@google.com/181433020/70001
6 years, 9 months ago (2014-03-04 21:05:34 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/navabi@google.com/181433020/70001
6 years, 9 months ago (2014-03-05 00:48:01 UTC) #17
commit-bot: I haz the power
6 years, 9 months ago (2014-03-05 01:35:48 UTC) #18
Message was sent while issue was closed.
Change committed as 254905

Powered by Google App Engine
This is Rietveld 408576698