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

Issue 2808763004: [devil] Raise DeviceUnreachableError on device not found (Closed)

Created:
3 years, 8 months ago by perezju
Modified:
3 years, 8 months ago
Reviewers:
jbudorick
CC:
catapult-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[devil] Raise DeviceUnreachableError on device not found Raise a device_errors.DeviceUnreachableError when running an adb command fails with: "error: device '(serial)' not found". BUG=catapult:#3476 Review-Url: https://codereview.chromium.org/2808763004 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/2f8fce497d967c866ae866d36cdc08d2bfa30ff7

Patch Set 1 #

Total comments: 3

Patch Set 2 : remaining client #

Total comments: 2

Patch Set 3 : match specific device #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -21 lines) Patch
M devil/devil/android/device_errors.py View 1 chunk +16 lines, -0 lines 0 comments Download
M devil/devil/android/device_test_case.py View 2 chunks +2 lines, -2 lines 0 comments Download
M devil/devil/android/forwarder.py View 3 chunks +6 lines, -3 lines 0 comments Download
M devil/devil/android/sdk/adb_wrapper.py View 1 2 2 chunks +12 lines, -8 lines 0 comments Download
M devil/devil/android/sdk/adb_wrapper_devicetest.py View 2 chunks +6 lines, -1 line 0 comments Download
M devil/devil/android/tools/device_recovery.py View 3 chunks +6 lines, -3 lines 0 comments Download
M devil/devil/android/tools/device_status.py View 1 3 chunks +6 lines, -3 lines 0 comments Download
M devil/devil/android/tools/provision_devices.py View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 24 (13 generated)
perezju
Not ready yet (still need to check some more of the try-except blocks), but wanted ...
3 years, 8 months ago (2017-04-11 13:38:16 UTC) #1
perezju
Actually ready for review now. (missed to add as reviewer on previous message)
3 years, 8 months ago (2017-04-11 14:34:50 UTC) #5
perezju
Chromium side CL: https://codereview.chromium.org/2811993002
3 years, 8 months ago (2017-04-11 14:46:36 UTC) #6
jbudorick
https://codereview.chromium.org/2808763004/diff/20001/devil/devil/android/sdk/adb_wrapper.py File devil/devil/android/sdk/adb_wrapper.py (right): https://codereview.chromium.org/2808763004/diff/20001/devil/devil/android/sdk/adb_wrapper.py#newcode261 devil/devil/android/sdk/adb_wrapper.py:261: if _DEVICE_NOT_FOUND_RE.match(output): Should this match on exiting w/ specifically ...
3 years, 8 months ago (2017-04-11 16:16:02 UTC) #10
perezju
https://codereview.chromium.org/2808763004/diff/20001/devil/devil/android/sdk/adb_wrapper.py File devil/devil/android/sdk/adb_wrapper.py (right): https://codereview.chromium.org/2808763004/diff/20001/devil/devil/android/sdk/adb_wrapper.py#newcode261 devil/devil/android/sdk/adb_wrapper.py:261: if _DEVICE_NOT_FOUND_RE.match(output): On 2017/04/11 16:16:02, jbudorick wrote: > Should ...
3 years, 8 months ago (2017-04-12 10:31:39 UTC) #11
pasko
For the commit message without looking at the actual change: please make the BUG= a ...
3 years, 8 months ago (2017-04-12 12:57:55 UTC) #12
pasko
On 2017/04/12 12:57:55, pasko wrote: > For the commit message without looking at the actual ...
3 years, 8 months ago (2017-04-12 13:00:34 UTC) #13
perezju
On 2017/04/12 13:00:34, pasko wrote: > On 2017/04/12 12:57:55, pasko wrote: > > For the ...
3 years, 8 months ago (2017-04-12 13:25:37 UTC) #14
jbudorick
lgtm
3 years, 8 months ago (2017-04-17 21:38:22 UTC) #19
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/2808763004/40001
3 years, 8 months ago (2017-04-18 11:24:34 UTC) #21
commit-bot: I haz the power
3 years, 8 months ago (2017-04-18 11:48:20 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698