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

Issue 1424923006: Small fixes as found in staging. (Closed)

Created:
5 years, 1 month ago by M-A Ruel
Modified:
5 years, 1 month ago
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org, jbudorick
Base URL:
git@github.com:luci/luci-py.git@4_more_functionality
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

Small fixes as found in staging. - Fix UninstallAPK(), it was broken. - Fix WaitForDevice() to not crash when the device is not accessible. - Switch WaitUntilFullyBooted() from sys.boot_completed to init.svc.bootanim. sys.boot_completed is not available on all kernels. - Improve resiliency when a device reboots. It's been observed on the fleet that a device can be offline for a surprising amount of time (>10s) while rebooting. Change the code to cope with this. - Better handle race conditions when reading output from Reboot(), Root() and Unroot(). It would have been better if adbd didn't have the race condition in the first place but we have to live with it. - Add logging in high.py. - Remove CLSE logging noise in adb_protocol. R=stip@chromium.org BUG=chromium:525873 Committed: https://github.com/luci/luci-py/commit/efb6315aa8359276e5d10a50406457cb64bd3d59

Patch Set 1 : . #

Total comments: 8

Patch Set 2 : Split the CL up #

Patch Set 3 : Include fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -37 lines) Patch
M appengine/third_party/python-adb/adb/adb_commands_safe.py View 1 2 13 chunks +64 lines, -31 lines 0 comments Download
M appengine/third_party/python-adb/adb/adb_protocol.py View 2 chunks +2 lines, -2 lines 0 comments Download
M appengine/third_party/python-adb/adb/high.py View 1 4 chunks +32 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 10 (3 generated)
M-A Ruel
5 years, 1 month ago (2015-11-03 02:13:23 UTC) #1
ghost stip (do not use)
https://chromiumcodereview.appspot.com/1424923006/diff/20001/appengine/third_party/python-adb/adb/adb_commands_safe.py File appengine/third_party/python-adb/adb/adb_commands_safe.py (right): https://chromiumcodereview.appspot.com/1424923006/diff/20001/appengine/third_party/python-adb/adb/adb_commands_safe.py#newcode638 appengine/third_party/python-adb/adb/adb_commands_safe.py:638: self.Close() *sigh* context manager, man https://chromiumcodereview.appspot.com/1424923006/diff/20001/appengine/third_party/python-adb/adb/common.py File appengine/third_party/python-adb/adb/common.py (left): ...
5 years, 1 month ago (2015-11-03 18:50:47 UTC) #2
M-A Ruel
Forked this CL into 4 CLs. This is the remaining so some comments do not ...
5 years, 1 month ago (2015-11-04 18:39:10 UTC) #5
M-A Ruel
Fixed .serial -> .serial_number when enumerating devices.
5 years, 1 month ago (2015-11-05 00:57:52 UTC) #6
ghost stip (do not use)
lgtm
5 years, 1 month ago (2015-11-05 20:20:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1424923006/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1424923006/80001
5 years, 1 month ago (2015-11-05 20:27:54 UTC) #9
commit-bot: I haz the power
5 years, 1 month ago (2015-11-05 20:28:41 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://github.com/luci/luci-py/commit/efb6315aa8359276e5d10a50406457cb64bd3d59

Powered by Google App Engine
This is Rietveld 408576698