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

Issue 1336823004: add more log to adb_wrapper.py Ls function (Closed)

Created:
5 years, 3 months ago by Menglin
Modified:
5 years, 3 months ago
Reviewers:
jbudorick
CC:
chromium-reviews, jbudorick+watch_chromium.org, klundberg+watch_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

add more log to adb_wrapper.py Ls function Android Tests (trial)(dbg) now wipes chrome specific data during provisioning device. But some cases show that "adb ls" is not outputing the 4-column result (e.g., http://build.chromium.org/p/chromium.fyi/builders/Android%20Tests%20%28trial%29%28dbg%29/builds/4693/steps/provision_devices/logs/stdio). This CL is to add more log to the Ls function, in order to get more detailed information of such weird cases. BUG=514449 Committed: https://crrev.com/8c556f27a7bbabec5264952f259d65a7262fc3af Cr-Commit-Position: refs/heads/master@{#348799}

Patch Set 1 #

Total comments: 2

Patch Set 2 : raise AdbCommandFailedError instead of logging info #

Total comments: 2

Patch Set 3 : add a message explaining the meaning of the error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M build/android/devil/android/sdk/adb_wrapper.py View 1 2 2 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
Menglin
Hi John, Please review this CL. Thank you Menglin
5 years, 3 months ago (2015-09-14 20:53:26 UTC) #2
jbudorick
https://codereview.chromium.org/1336823004/diff/1/build/android/devil/android/sdk/adb_wrapper.py File build/android/devil/android/sdk/adb_wrapper.py (right): https://codereview.chromium.org/1336823004/diff/1/build/android/devil/android/sdk/adb_wrapper.py#newcode322 build/android/devil/android/sdk/adb_wrapper.py:322: if len(cols) < 4: As we're dependent on this ...
5 years, 3 months ago (2015-09-14 20:56:10 UTC) #3
Menglin
https://codereview.chromium.org/1336823004/diff/1/build/android/devil/android/sdk/adb_wrapper.py File build/android/devil/android/sdk/adb_wrapper.py (right): https://codereview.chromium.org/1336823004/diff/1/build/android/devil/android/sdk/adb_wrapper.py#newcode322 build/android/devil/android/sdk/adb_wrapper.py:322: if len(cols) < 4: On 2015/09/14 20:56:10, jbudorick wrote: ...
5 years, 3 months ago (2015-09-14 22:23:49 UTC) #4
jbudorick
lgtm w/ nit https://codereview.chromium.org/1336823004/diff/20001/build/android/devil/android/sdk/adb_wrapper.py File build/android/devil/android/sdk/adb_wrapper.py (right): https://codereview.chromium.org/1336823004/diff/20001/build/android/devil/android/sdk/adb_wrapper.py#newcode325 build/android/devil/android/sdk/adb_wrapper.py:325: cmd, line, device_serial=self._device_serial) nit: This should ...
5 years, 3 months ago (2015-09-14 22:42:38 UTC) #5
Menglin
https://codereview.chromium.org/1336823004/diff/20001/build/android/devil/android/sdk/adb_wrapper.py File build/android/devil/android/sdk/adb_wrapper.py (right): https://codereview.chromium.org/1336823004/diff/20001/build/android/devil/android/sdk/adb_wrapper.py#newcode325 build/android/devil/android/sdk/adb_wrapper.py:325: cmd, line, device_serial=self._device_serial) On 2015/09/14 22:42:38, jbudorick wrote: > ...
5 years, 3 months ago (2015-09-14 22:53:46 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1336823004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1336823004/40001
5 years, 3 months ago (2015-09-15 00:28:24 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 3 months ago (2015-09-15 01:18:09 UTC) #10
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/8c556f27a7bbabec5264952f259d65a7262fc3af Cr-Commit-Position: refs/heads/master@{#348799}
5 years, 3 months ago (2015-09-15 01:18:54 UTC) #11
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:40:43 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8c556f27a7bbabec5264952f259d65a7262fc3af
Cr-Commit-Position: refs/heads/master@{#348799}

Powered by Google App Engine
This is Rietveld 408576698