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

Issue 1308173006: Create daemon to monitor android device temperatures (Closed)

Created:
5 years, 3 months ago by bpastene
Modified:
5 years, 3 months ago
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org, stip+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/build.git@master
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Create daemon to monitor android device temperatures This cl adds the start-up and shut-down scripts for a new daemon that will monitor android device temperatures and upload them to monarch using infra's ts_mon. This daemon is intended to be launced right before the first test suite is ran and killed right after the last suite. BUG=519884 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=296614

Patch Set 1 #

Total comments: 22

Patch Set 2 : respond to comments #

Total comments: 38

Patch Set 3 : respond to stip-nits #

Total comments: 8

Patch Set 4 : Change metric name + nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -0 lines) Patch
A scripts/slave/recipe_modules/chromium_android/resources/spawn_device_temp_monitor.py View 1 2 3 1 chunk +108 lines, -0 lines 0 comments Download
A scripts/slave/recipe_modules/chromium_android/tests/spawn_device_temp_monitor_test.py View 1 2 3 1 chunk +127 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
bpastene
ptal when you get a chance
5 years, 3 months ago (2015-09-02 00:46:47 UTC) #2
luqui
https://codereview.chromium.org/1308173006/diff/1/scripts/slave/recipe_modules/chromium_android/resources/shutdown_device_temp_monitor.py File scripts/slave/recipe_modules/chromium_android/resources/shutdown_device_temp_monitor.py (right): https://codereview.chromium.org/1308173006/diff/1/scripts/slave/recipe_modules/chromium_android/resources/shutdown_device_temp_monitor.py#newcode13 scripts/slave/recipe_modules/chromium_android/resources/shutdown_device_temp_monitor.py:13: def main(pid_file_path='/tmp/device_monitor_pid'): pidfiles usually end in .pid, rather than ...
5 years, 3 months ago (2015-09-03 01:10:41 UTC) #3
bpastene
https://codereview.chromium.org/1308173006/diff/1/scripts/slave/recipe_modules/chromium_android/resources/spawn_device_temp_monitor.py File scripts/slave/recipe_modules/chromium_android/resources/spawn_device_temp_monitor.py (right): https://codereview.chromium.org/1308173006/diff/1/scripts/slave/recipe_modules/chromium_android/resources/spawn_device_temp_monitor.py#newcode48 scripts/slave/recipe_modules/chromium_android/resources/spawn_device_temp_monitor.py:48: if pid_file_path: On 2015/09/03 01:10:41, luqui wrote: > This ...
5 years, 3 months ago (2015-09-03 17:36:00 UTC) #4
jbudorick
https://codereview.chromium.org/1308173006/diff/1/scripts/slave/recipe_modules/chromium_android/resources/shutdown_device_temp_monitor.py File scripts/slave/recipe_modules/chromium_android/resources/shutdown_device_temp_monitor.py (right): https://codereview.chromium.org/1308173006/diff/1/scripts/slave/recipe_modules/chromium_android/resources/shutdown_device_temp_monitor.py#newcode13 scripts/slave/recipe_modules/chromium_android/resources/shutdown_device_temp_monitor.py:13: def main(pid_file_path='/tmp/device_monitor_pid'): I'd use argparse for command-line arguments to ...
5 years, 3 months ago (2015-09-03 17:37:31 UTC) #5
bpastene
https://codereview.chromium.org/1308173006/diff/1/scripts/slave/recipe_modules/chromium_android/resources/spawn_device_temp_monitor.py File scripts/slave/recipe_modules/chromium_android/resources/spawn_device_temp_monitor.py (right): https://codereview.chromium.org/1308173006/diff/1/scripts/slave/recipe_modules/chromium_android/resources/spawn_device_temp_monitor.py#newcode22 scripts/slave/recipe_modules/chromium_android/resources/spawn_device_temp_monitor.py:22: _RUN_PY = '/opt/infra-python/run.py' On 2015/09/03 01:10:41, luqui wrote: > ...
5 years, 3 months ago (2015-09-04 03:47:21 UTC) #6
luqui
lgtm
5 years, 3 months ago (2015-09-08 20:06:43 UTC) #7
ghost stip (do not use)
hella nits, and a question about PYTHONPATH manipulation other than that lgtm https://chromiumcodereview.appspot.com/1308173006/diff/20001/scripts/slave/recipe_modules/chromium_android/resources/spawn_device_temp_monitor.py File scripts/slave/recipe_modules/chromium_android/resources/spawn_device_temp_monitor.py ...
5 years, 3 months ago (2015-09-08 21:46:37 UTC) #9
bpastene
https://codereview.chromium.org/1308173006/diff/20001/scripts/slave/recipe_modules/chromium_android/resources/spawn_device_temp_monitor.py File scripts/slave/recipe_modules/chromium_android/resources/spawn_device_temp_monitor.py (right): https://codereview.chromium.org/1308173006/diff/20001/scripts/slave/recipe_modules/chromium_android/resources/spawn_device_temp_monitor.py#newcode1 scripts/slave/recipe_modules/chromium_android/resources/spawn_device_temp_monitor.py:1: #!/usr/bin/env python On 2015/09/08 21:46:36, stip wrote: > Add ...
5 years, 3 months ago (2015-09-09 00:02:19 UTC) #10
bpastene
Sergey, when you get a chance, can you take a quick look at the metrics ...
5 years, 3 months ago (2015-09-09 01:04:23 UTC) #12
Sergey Berezin
Major comment on the metric naming - let's sort it out before committing. It shouldn't ...
5 years, 3 months ago (2015-09-09 16:47:14 UTC) #13
bpastene
https://codereview.chromium.org/1308173006/diff/40001/scripts/slave/recipe_modules/chromium_android/resources/spawn_device_temp_monitor.py File scripts/slave/recipe_modules/chromium_android/resources/spawn_device_temp_monitor.py (right): https://codereview.chromium.org/1308173006/diff/40001/scripts/slave/recipe_modules/chromium_android/resources/spawn_device_temp_monitor.py#newcode9 scripts/slave/recipe_modules/chromium_android/resources/spawn_device_temp_monitor.py:9: temperatures every 30 seconds via adb and uploads them ...
5 years, 3 months ago (2015-09-09 18:32:20 UTC) #14
Sergey Berezin
LGTM. Thanks!
5 years, 3 months ago (2015-09-09 19:15:12 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308173006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308173006/60001
5 years, 3 months ago (2015-09-09 21:05:44 UTC) #18
commit-bot: I haz the power
5 years, 3 months ago (2015-09-09 21:07:46 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
http://src.chromium.org/viewvc/chrome?view=rev&revision=296614

Powered by Google App Engine
This is Rietveld 408576698