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

Issue 137143011: [Telemetry] Detect whether sudo is required for certain admin-commands. (Closed)

Created:
6 years, 11 months ago by tonyg
Modified:
6 years, 10 months ago
Reviewers:
jeremy
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org
Visibility:
Public.

Description

[Telemetry] Detect whether sudo is required for certain admin-commands. BUG=337048 NOTRY=True Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247692

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : Address Jeremy's comments #

Patch Set 5 : Fix typo #

Total comments: 12

Patch Set 6 : More comments #

Patch Set 7 : Reupload #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -33 lines) Patch
M tools/telemetry/telemetry/core/platform/__init__.py View 1 2 3 4 2 chunks +13 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/android_platform_backend.py View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/mac_platform_backend.py View 1 2 3 4 5 6 chunks +26 lines, -24 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/mac_platform_backend_unittest.py View 1 2 3 2 chunks +11 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/platform_backend.py View 1 2 3 2 chunks +18 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/posix_platform_backend.py View 1 2 3 4 5 2 chunks +42 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/page/cloud_storage.py View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
tonyg
This should allow our benchmarks to work on the bots and locally.
6 years, 10 months ago (2014-01-28 20:17:21 UTC) #1
jeremy
I don't think this is going to work in it's current form, the reason is ...
6 years, 10 months ago (2014-01-28 20:45:31 UTC) #2
tonyg
Great point. I fixed it up so that it works properly now. PTAL https://codereview.chromium.org/137143011/diff/40001/tools/telemetry/telemetry/core/platform/__init__.py File ...
6 years, 10 months ago (2014-01-29 00:05:14 UTC) #3
jeremy
Very nice! https://codereview.chromium.org/137143011/diff/70001/tools/telemetry/telemetry/core/platform/mac_platform_backend.py File tools/telemetry/telemetry/core/platform/mac_platform_backend.py (right): https://codereview.chromium.org/137143011/diff/70001/tools/telemetry/telemetry/core/platform/mac_platform_backend.py#newcode22 tools/telemetry/telemetry/core/platform/mac_platform_backend.py:22: LEOPARD = platform_backend.OSVersion('leopard', 9) nit I'd add ...
6 years, 10 months ago (2014-01-29 00:27:23 UTC) #4
tonyg
https://codereview.chromium.org/137143011/diff/70001/tools/telemetry/telemetry/core/platform/mac_platform_backend.py File tools/telemetry/telemetry/core/platform/mac_platform_backend.py (right): https://codereview.chromium.org/137143011/diff/70001/tools/telemetry/telemetry/core/platform/mac_platform_backend.py#newcode22 tools/telemetry/telemetry/core/platform/mac_platform_backend.py:22: LEOPARD = platform_backend.OSVersion('leopard', 9) On 2014/01/29 00:27:23, jeremy wrote: ...
6 years, 10 months ago (2014-01-29 01:16:05 UTC) #5
jeremy
LGTM!!!
6 years, 10 months ago (2014-01-29 01:23:19 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tonyg@chromium.org/137143011/100001
6 years, 10 months ago (2014-01-29 01:33:44 UTC) #7
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) remoting_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=217660
6 years, 10 months ago (2014-01-29 02:18:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tonyg@chromium.org/137143011/100001
6 years, 10 months ago (2014-01-29 03:43:13 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tonyg@chromium.org/137143011/100001
6 years, 10 months ago (2014-01-29 14:03:32 UTC) #11
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-29 15:08:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tonyg@chromium.org/137143011/100001
6 years, 10 months ago (2014-01-29 15:47:53 UTC) #13
commit-bot: I haz the power
6 years, 10 months ago (2014-01-29 16:12:10 UTC) #14
Message was sent while issue was closed.
Change committed as 247692

Powered by Google App Engine
This is Rietveld 408576698