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

Issue 11021004: Make device_status_check.py email clank-infra if devices go offline. (Closed)

Created:
8 years, 2 months ago by navabi1
Modified:
8 years, 2 months ago
Reviewers:
cmp, navabi, szager, Isaac (away)
CC:
chromium-reviews, peter+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org
Visibility:
Public.

Description

Make device_status_check.py email clank-infra if devices go offline. BUG=152583 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=159819

Patch Set 1 #

Total comments: 11

Patch Set 2 : Fixes and only email first time device goes offline. #

Total comments: 6

Patch Set 3 : Add num devices online and clean WriteDeviceList for missing devs. #

Total comments: 6

Patch Set 4 : Nits and write .last_devices outside of if/else block. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -21 lines) Patch
M build/android/device_status_check.py View 1 2 3 3 chunks +57 lines, -21 lines 1 comment Download

Messages

Total messages: 17 (0 generated)
navabi1
I tested by changing the clank infra email to my email and changing 'slave' to ...
8 years, 2 months ago (2012-09-29 03:01:34 UTC) #1
Isaac (away)
looks good. I have a couple suggestions, we might need to pull in factory properties ...
8 years, 2 months ago (2012-09-29 03:17:04 UTC) #2
Isaac (away)
BTW, please run this through gpylint -- the original version passes so you'll only get ...
8 years, 2 months ago (2012-09-29 03:20:22 UTC) #3
Isaac (away)
https://codereview.chromium.org/11021004/diff/1/build/android/device_status_check.py File build/android/device_status_check.py (right): https://codereview.chromium.org/11021004/diff/1/build/android/device_status_check.py#newcode76 build/android/device_status_check.py:76: to_address = 'clank-infrastructure-team@google.com' On 2012/09/29 03:17:04, Isaac wrote: > ...
8 years, 2 months ago (2012-09-29 03:33:08 UTC) #4
navabi1
https://codereview.chromium.org/11021004/diff/1/build/android/device_status_check.py File build/android/device_status_check.py (right): https://codereview.chromium.org/11021004/diff/1/build/android/device_status_check.py#newcode76 build/android/device_status_check.py:76: to_address = 'clank-infrastructure-team@google.com' On 2012/09/29 03:33:08, Isaac wrote: > ...
8 years, 2 months ago (2012-10-01 21:52:15 UTC) #5
navabi1
ilevy suggested to only email the first time a device drops offline. It's a good ...
8 years, 2 months ago (2012-10-01 21:55:19 UTC) #6
Isaac (away)
https://chromiumcodereview.appspot.com/11021004/diff/1/build/android/device_status_check.py File build/android/device_status_check.py (right): https://chromiumcodereview.appspot.com/11021004/diff/1/build/android/device_status_check.py#newcode81 build/android/device_status_check.py:81: subject = 'Device not detected on %s' % bot_name ...
8 years, 2 months ago (2012-10-01 22:35:45 UTC) #7
navabi1
https://chromiumcodereview.appspot.com/11021004/diff/8001/build/android/device_status_check.py File build/android/device_status_check.py (right): https://chromiumcodereview.appspot.com/11021004/diff/8001/build/android/device_status_check.py#newcode92 build/android/device_status_check.py:92: subject = 'Device not detected on %s, %s.' % ...
8 years, 2 months ago (2012-10-02 01:21:22 UTC) #8
navabi1
8 years, 2 months ago (2012-10-02 01:22:28 UTC) #9
Isaac (away)
lgtm with indentation fix https://chromiumcodereview.appspot.com/11021004/diff/12001/build/android/device_status_check.py File build/android/device_status_check.py (right): https://chromiumcodereview.appspot.com/11021004/diff/12001/build/android/device_status_check.py#newcode131 build/android/device_status_check.py:131: WriteDeviceList('.last_devices', (adb_online_devs + last_devices)) unindent ...
8 years, 2 months ago (2012-10-02 01:58:20 UTC) #10
Isaac (away)
https://chromiumcodereview.appspot.com/11021004/diff/12001/build/android/device_status_check.py File build/android/device_status_check.py (right): https://chromiumcodereview.appspot.com/11021004/diff/12001/build/android/device_status_check.py#newcode117 build/android/device_status_check.py:117: new_missing_devs = list(set(missing_devs) - set(last_missing)) nit: you could remove ...
8 years, 2 months ago (2012-10-02 02:00:28 UTC) #11
Isaac (away)
actually two more suggestion, comments inline in the latest patch. Also, please send this to ...
8 years, 2 months ago (2012-10-02 04:55:34 UTC) #12
navabi1
https://chromiumcodereview.appspot.com/11021004/diff/12001/build/android/device_status_check.py File build/android/device_status_check.py (right): https://chromiumcodereview.appspot.com/11021004/diff/12001/build/android/device_status_check.py#newcode100 build/android/device_status_check.py:100: body = '\r\n'.join( On 2012/10/02 04:55:35, Isaac wrote: > ...
8 years, 2 months ago (2012-10-02 20:14:41 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/navabi@chromium.org/11021004/17001
8 years, 2 months ago (2012-10-02 22:33:43 UTC) #14
commit-bot: I haz the power
Change committed as 159819
8 years, 2 months ago (2012-10-03 00:49:57 UTC) #15
Isaac (away)
https://chromiumcodereview.appspot.com/11021004/diff/17001/build/android/device_status_check.py File build/android/device_status_check.py (right): https://chromiumcodereview.appspot.com/11021004/diff/17001/build/android/device_status_check.py#newcode103 build/android/device_status_check.py:103: 'SHERIFF: See go/clank/engineering/buildbots/troubleshooting', Why did you change this link? ...
8 years, 2 months ago (2012-10-03 06:39:50 UTC) #16
navabi
8 years, 2 months ago (2012-10-03 15:51:04 UTC) #17
Good catch. I did not change the link, I accidentally copied it from the
downstream patch (that is the downstream address for the sheriff).  I originally
implemented this downstream (locally) and then moved the patch to my upstream
tree.

Powered by Google App Engine
This is Rietveld 408576698