|
|
Created:
6 years, 7 months ago by jbudorick Modified:
6 years, 6 months ago CC:
chromium-reviews, klundberg+watch_chromium.org, telemetry+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Visibility:
Public. |
Description[Android] Switch to DeviceUtils versions of Reboot and Install.
BUG=267773
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276702
Patch Set 1 #
Total comments: 8
Patch Set 2 : #Patch Set 3 : rebase #Patch Set 4 : increase Reboot default timeout #Patch Set 5 : #Patch Set 6 : #Patch Set 7 : #Patch Set 8 : rebase #Patch Set 9 : rebase #Messages
Total messages: 62 (0 generated)
device_utils.py lgtm after fixes https://codereview.chromium.org/292313015/diff/1/build/android/pylib/device/d... File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/292313015/diff/1/build/android/pylib/device/d... build/android/pylib/device/device_utils.py:160: """ Reboot the device. no space after quotation mark. Also you didn't fix the onliner docstring from before :) https://codereview.chromium.org/292313015/diff/1/build/android/pylib/device/d... build/android/pylib/device/device_utils.py:188: apk_path, device_path, ignore_filenames=True) > 0): I'd create a variable to hold len(...) to make this more readable https://codereview.chromium.org/292313015/diff/1/build/android/pylib/device/d... File build/android/pylib/device/device_utils_test.py (right): https://codereview.chromium.org/292313015/diff/1/build/android/pylib/device/d... build/android/pylib/device/device_utils_test.py:6: Unit tests for the contents of device_utils.py (mostly DeviceUtils). You really need unit tests (not necessarily in this CL). This is an end-2-end test. I'd suggest using mock: https://pypi.python.org/pypi/mock
https://codereview.chromium.org/292313015/diff/1/build/android/pylib/device/d... File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/292313015/diff/1/build/android/pylib/device/d... build/android/pylib/device/device_utils.py:160: """ Reboot the device. On 2014/05/24 00:22:39, frankf wrote: > no space after quotation mark. Also you didn't fix the onliner docstring from > before :) Done wrt no space. There's only one one liner docstring in this file, and it follows the convention you specified...? https://codereview.chromium.org/292313015/diff/1/build/android/pylib/device/d... build/android/pylib/device/device_utils.py:188: apk_path, device_path, ignore_filenames=True) > 0): On 2014/05/24 00:22:39, frankf wrote: > I'd create a variable to hold len(...) to make this more readable Done. https://codereview.chromium.org/292313015/diff/1/build/android/pylib/device/d... File build/android/pylib/device/device_utils_test.py (right): https://codereview.chromium.org/292313015/diff/1/build/android/pylib/device/d... build/android/pylib/device/device_utils_test.py:6: Unit tests for the contents of device_utils.py (mostly DeviceUtils). On 2014/05/24 00:22:39, frankf wrote: > You really need unit tests (not necessarily in this CL). This is an end-2-end > test. I'd suggest using mock: > > https://pypi.python.org/pypi/mock These started as unit tests (see the testInit* tests), but they have admittedly evolved away from that. I'll look at using mock. It will not be in this CL.
tools/telemetry lgtm Didn't review the rest.
https://codereview.chromium.org/292313015/diff/1/build/android/pylib/device/d... File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/292313015/diff/1/build/android/pylib/device/d... build/android/pylib/device/device_utils.py:160: """ Reboot the device. Multi-line: """Line One. Line2. """ Single line: """Blah.""" Note there's no space between quotation mark and first word. On 2014/05/27 20:58:35, jbudorick wrote: > On 2014/05/24 00:22:39, frankf wrote: > > no space after quotation mark. Also you didn't fix the onliner docstring from > > before :) > > Done wrt no space. There's only one one liner docstring in this file, and it > follows the convention you specified...?
https://codereview.chromium.org/292313015/diff/1/build/android/pylib/device/d... File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/292313015/diff/1/build/android/pylib/device/d... build/android/pylib/device/device_utils.py:160: """ Reboot the device. On 2014/05/27 21:12:10, frankf wrote: > Multi-line: > > """Line One. > > Line2. > """ > > Single line: > > """Blah.""" > > Note there's no space between quotation mark and first word. > > On 2014/05/27 20:58:35, jbudorick wrote: > > On 2014/05/24 00:22:39, frankf wrote: > > > no space after quotation mark. Also you didn't fix the onliner docstring > from > > > before :) > > > > Done wrt no space. There's only one one liner docstring in this file, and it > > follows the convention you specified...? > Right, my point was that all of the docstrings in this file were already following that convention aside from the no space thing. (In the current revision of this CL, they follow that as well.)
lgtm
The CQ bit was checked by jbudorick@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/292313015/50001
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered...)
The CQ bit was unchecked by jbudorick@chromium.org
The CQ bit was checked by jbudorick@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/292313015/90001
The CQ bit was unchecked by jbudorick@chromium.org
made a nontrivial change to fix some issues with the bots. ptal.
still lgtm.
The CQ bit was checked by jbudorick@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/292313015/130001
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/8...) android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/bui...)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/bui...)
The CQ bit was checked by jbudorick@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/292313015/130001
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/bui...)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/bui...)
The CQ bit was checked by jbudorick@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/292313015/130001
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/bui...)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/bui...)
The CQ bit was checked by jbudorick@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/292313015/130001
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/bui...)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/bui...)
The CQ bit was checked by jbudorick@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/292313015/130001
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/bui...)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/bui...)
The CQ bit was checked by jbudorick@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/292313015/130001
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/bui...)
The CQ bit was unchecked by jbudorick@chromium.org
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/bui...)
The CQ bit was checked by jbudorick@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/292313015/150001
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_x64_rel/...)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_x64_rel/...)
The CQ bit was checked by jbudorick@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/292313015/150001
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_x64_rel/...)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_x64_rel/...)
The CQ bit was checked by jbudorick@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/292313015/150001
Message was sent while issue was closed.
Change committed as 276702
Message was sent while issue was closed.
Warning: this patch may have broken "contentshell_instrumentation_tests" on: http://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg%... If the Android builder fails more than once in a row, then the sheriffs will revert this patch. Sorry for the inconvenience :-)
Message was sent while issue was closed.
On 2014/06/12 18:37:51, Rouslan Solomakhin wrote: > Warning: this patch may have broken "contentshell_instrumentation_tests" on: > http://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg%... > > If the Android builder fails more than once in a row, then the sheriffs will > revert this patch. Sorry for the inconvenience :-) Given the failure and the corresponding logcat, I'll be surprised if this CL is the actual cause, but then, I've been surprised before. :/ |