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

Issue 1401403002: Improve resiliency for Android. (Closed)

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

Description

Improve resiliency for Android. Add asserts to create more reasonable error messages when a user did an error. Improve resilience against broken devices, when one of the following returns junk: - echo /sys/class/thermal/thermal_zone0/temp - dumpsys battery - dumpsys diskstats R=stip@chromium.org BUG=chromium:525873 Committed: https://github.com/luci/luci-py/commit/958fe9dab3312bf43782e1494badf05f781459cc

Patch Set 1 #

Total comments: 4

Patch Set 2 : Return None #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -18 lines) Patch
M appengine/swarming/swarming_bot/api/platforms/android.py View 1 9 chunks +33 lines, -17 lines 0 comments Download
M appengine/swarming/swarming_bot/api/platforms/android_test.py View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 11 (1 generated)
M-A Ruel
Splitting CL in small parts as requested
5 years, 2 months ago (2015-10-13 17:18:54 UTC) #1
ghost stip (do not use)
lgtm with NaN https://chromiumcodereview.appspot.com/1401403002/diff/1/appengine/swarming/swarming_bot/api/platforms/android.py File appengine/swarming/swarming_bot/api/platforms/android.py (right): https://chromiumcodereview.appspot.com/1401403002/diff/1/appengine/swarming/swarming_bot/api/platforms/android.py#newcode470 appengine/swarming/swarming_bot/api/platforms/android.py:470: pass should we append a NaN ...
5 years, 2 months ago (2015-10-13 21:03:40 UTC) #2
M-A Ruel
https://chromiumcodereview.appspot.com/1401403002/diff/1/appengine/swarming/swarming_bot/api/platforms/android.py File appengine/swarming/swarming_bot/api/platforms/android.py (right): https://chromiumcodereview.appspot.com/1401403002/diff/1/appengine/swarming/swarming_bot/api/platforms/android.py#newcode470 appengine/swarming/swarming_bot/api/platforms/android.py:470: pass On 2015/10/13 21:03:40, stip wrote: > should we ...
5 years, 2 months ago (2015-10-13 21:08:57 UTC) #3
ghost stip (do not use)
https://chromiumcodereview.appspot.com/1401403002/diff/1/appengine/swarming/swarming_bot/api/platforms/android.py File appengine/swarming/swarming_bot/api/platforms/android.py (right): https://chromiumcodereview.appspot.com/1401403002/diff/1/appengine/swarming/swarming_bot/api/platforms/android.py#newcode470 appengine/swarming/swarming_bot/api/platforms/android.py:470: pass On 2015/10/13 21:08:57, M-A Ruel wrote: > On ...
5 years, 2 months ago (2015-10-13 21:21:08 UTC) #4
M-A Ruel
https://chromiumcodereview.appspot.com/1401403002/diff/1/appengine/swarming/swarming_bot/api/platforms/android.py File appengine/swarming/swarming_bot/api/platforms/android.py (right): https://chromiumcodereview.appspot.com/1401403002/diff/1/appengine/swarming/swarming_bot/api/platforms/android.py#newcode470 appengine/swarming/swarming_bot/api/platforms/android.py:470: pass On 2015/10/13 21:21:08, stip wrote: > On 2015/10/13 ...
5 years, 2 months ago (2015-10-13 21:22:52 UTC) #5
ghost stip (do not use)
I still don't feel good about it. can we fail noisily instead?
5 years, 2 months ago (2015-10-13 22:04:40 UTC) #6
M-A Ruel
On 2015/10/13 22:04:40, stip wrote: > I still don't feel good about it. can we ...
5 years, 2 months ago (2015-10-14 01:36:31 UTC) #7
ghost stip (do not use)
lgtm
5 years, 2 months ago (2015-10-14 06:05:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1401403002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1401403002/20001
5 years, 2 months ago (2015-10-14 06:55:44 UTC) #10
commit-bot: I haz the power
5 years, 2 months ago (2015-10-14 06:57:31 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://github.com/luci/luci-py/commit/958fe9dab3312bf43782e1494badf05f781459cc

Powered by Google App Engine
This is Rietveld 408576698