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

Issue 942663002: [Telemetry] Pass test_runner environment in local args instead of a global variable (Closed)

Created:
5 years, 10 months ago by eakuefner
Modified:
5 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org, telemetry-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Telemetry] Pass test_runner environment in local args instead of a global variable Also adds more fields to environment to narrow the scope of benchmark and user story set discovery. This should avoid problems with adding Python files to unrelated directories, and hides PageTests from external Telemetry benchmark runners like run_gpu_tests.py and chrome_proxy's run_benchmark. R=dtu,nednguyen,sullivan,kbr@chromium.org,bolian BUG=460181 TEST=tools/perf/run_benchmark; content/test/gpu/run_gpu_tests.py; tools/chrome_proxy/run_benchmark # All return a full and correct test list. Committed: https://crrev.com/1da5f7f70ea6dc7dd0667ea78637802c76305f5a Cr-Commit-Position: refs/heads/master@{#318149} Committed: https://crrev.com/e97726ddb2d44271cf6416ed7406ec17b97c7fad Cr-Commit-Position: refs/heads/master@{#318531}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Add docstring for Environment class #

Patch Set 3 : Fix relpath computation for chrome_proxy runner #

Total comments: 7

Patch Set 4 : Address Dave's comments #

Patch Set 5 : Get rid of BenchmarkCommand #

Patch Set 6 : rebase #

Patch Set 7 : even more rebase #

Patch Set 8 : Fix failing Telemetry unittests on waterfall #

Patch Set 9 : Try again #

Patch Set 10 : Fix find_dependencies issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -66 lines) Patch
M content/test/gpu/run_gpu_test.py View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download
M tools/chrome_proxy/run_benchmark View 1 2 3 1 chunk +5 lines, -4 lines 0 comments Download
M tools/perf/run_benchmark View 1 2 3 1 chunk +6 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/benchmark_runner.py View 1 2 3 4 5 6 8 chunks +56 lines, -25 lines 0 comments Download
M tools/telemetry/telemetry/core/command_line.py View 1 2 3 4 5 6 7 8 9 2 chunks +12 lines, -2 lines 0 comments Download
D tools/telemetry/telemetry/core/environment.py View 1 chunk +0 lines, -20 lines 0 comments Download
M tools/telemetry/telemetry/unittest_util/run_tests.py View 1 2 3 4 5 6 7 3 chunks +4 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/util/find_dependencies.py View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 52 (19 generated)
eakuefner
+kbr, bolian for OWNERS This is a refresh of dtu's CL in crrev.com/267253002.
5 years, 10 months ago (2015-02-19 23:44:25 UTC) #1
sullivan
lgtm, but would be great for Ned or Dave to take a second pass since ...
5 years, 10 months ago (2015-02-20 01:57:59 UTC) #2
Ken Russell (switch to Gerrit)
gpu changes lgtm
5 years, 10 months ago (2015-02-20 02:28:05 UTC) #3
nednguyen
https://codereview.chromium.org/942663002/diff/1/tools/telemetry/telemetry/benchmark_runner.py File tools/telemetry/telemetry/benchmark_runner.py (right): https://codereview.chromium.org/942663002/diff/1/tools/telemetry/telemetry/benchmark_runner.py#newcode28 tools/telemetry/telemetry/benchmark_runner.py:28: user_story_set_dirs=None, benchmark_aliases=None): Can you add some documentation of what ...
5 years, 10 months ago (2015-02-20 03:36:09 UTC) #4
eakuefner
https://codereview.chromium.org/942663002/diff/1/tools/telemetry/telemetry/benchmark_runner.py File tools/telemetry/telemetry/benchmark_runner.py (right): https://codereview.chromium.org/942663002/diff/1/tools/telemetry/telemetry/benchmark_runner.py#newcode58 tools/telemetry/telemetry/benchmark_runner.py:58: return self._benchmark_aliases On 2015/02/20 03:36:09, nednguyen wrote: > I ...
5 years, 10 months ago (2015-02-20 03:50:16 UTC) #5
eakuefner
https://codereview.chromium.org/942663002/diff/1/tools/telemetry/telemetry/benchmark_runner.py File tools/telemetry/telemetry/benchmark_runner.py (right): https://codereview.chromium.org/942663002/diff/1/tools/telemetry/telemetry/benchmark_runner.py#newcode28 tools/telemetry/telemetry/benchmark_runner.py:28: user_story_set_dirs=None, benchmark_aliases=None): On 2015/02/20 03:36:09, nednguyen wrote: > Can ...
5 years, 10 months ago (2015-02-20 22:34:21 UTC) #7
nednguyen
lgtm. We can land this and kill benchmark_aliases in a different patch so it's easier ...
5 years, 10 months ago (2015-02-23 16:31:00 UTC) #8
eakuefner
On 2015/02/23 16:31:00, nednguyen wrote: > lgtm. We can land this and kill benchmark_aliases in ...
5 years, 10 months ago (2015-02-23 16:46:45 UTC) #9
dtu
https://codereview.chromium.org/942663002/diff/40001/tools/telemetry/telemetry/benchmark_runner.py File tools/telemetry/telemetry/benchmark_runner.py (right): https://codereview.chromium.org/942663002/diff/40001/tools/telemetry/telemetry/benchmark_runner.py#newcode43 tools/telemetry/telemetry/benchmark_runner.py:43: self._user_story_set_dirs = user_story_set_dirs or [] I'm not sure we ...
5 years, 10 months ago (2015-02-23 18:25:16 UTC) #11
eakuefner
https://codereview.chromium.org/942663002/diff/40001/tools/telemetry/telemetry/benchmark_runner.py File tools/telemetry/telemetry/benchmark_runner.py (right): https://codereview.chromium.org/942663002/diff/40001/tools/telemetry/telemetry/benchmark_runner.py#newcode74 tools/telemetry/telemetry/benchmark_runner.py:74: def AddCommandLineArgs(cls, parser, environment): On 2015/02/23 18:25:16, dtu wrote: ...
5 years, 10 months ago (2015-02-23 18:42:49 UTC) #12
eakuefner
On 2015/02/23 at 18:42:49, eakuefner wrote: > https://codereview.chromium.org/942663002/diff/40001/tools/telemetry/telemetry/benchmark_runner.py > File tools/telemetry/telemetry/benchmark_runner.py (right): > > https://codereview.chromium.org/942663002/diff/40001/tools/telemetry/telemetry/benchmark_runner.py#newcode74 ...
5 years, 10 months ago (2015-02-23 21:28:36 UTC) #13
eakuefner
dtu ptal https://codereview.chromium.org/942663002/diff/40001/tools/telemetry/telemetry/benchmark_runner.py File tools/telemetry/telemetry/benchmark_runner.py (right): https://codereview.chromium.org/942663002/diff/40001/tools/telemetry/telemetry/benchmark_runner.py#newcode43 tools/telemetry/telemetry/benchmark_runner.py:43: self._user_story_set_dirs = user_story_set_dirs or [] On 2015/02/23 ...
5 years, 10 months ago (2015-02-23 22:59:50 UTC) #14
dtu
lgtm
5 years, 10 months ago (2015-02-24 01:48:12 UTC) #15
dtu
On 2015/02/24 01:48:12, dtu wrote: > lgtm OptparseCommand is used in 3 files, and 2 ...
5 years, 10 months ago (2015-02-24 01:50:41 UTC) #16
wfa511com
بتاريخ Feb 20, 2015 2:44 AM، كتبها <eakuefner@chromium.org>: > Reviewers: bolian, dtu, Ken Russell, nednguyen, ...
5 years, 10 months ago (2015-02-24 02:00:44 UTC) #17
eakuefner
Okay, the most recent patch set gets rid of BenchmarkCommand.
5 years, 10 months ago (2015-02-24 17:42:49 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/942663002/120001
5 years, 10 months ago (2015-02-24 18:40:44 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/29959)
5 years, 10 months ago (2015-02-24 20:29:36 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/942663002/140001
5 years, 10 months ago (2015-02-25 18:32:37 UTC) #32
nednguyen
On 2015/02/25 18:32:37, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
5 years, 10 months ago (2015-02-25 18:36:54 UTC) #34
eakuefner
On 2015/02/25 at 18:36:54, nednguyen wrote: > On 2015/02/25 18:32:37, I haz the power (commit-bot) ...
5 years, 10 months ago (2015-02-25 20:32:25 UTC) #35
eakuefner
On 2015/02/25 at 20:32:25, eakuefner wrote: > On 2015/02/25 at 18:36:54, nednguyen wrote: > > ...
5 years, 10 months ago (2015-02-25 20:47:15 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/942663002/160001
5 years, 10 months ago (2015-02-25 22:44:26 UTC) #39
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 10 months ago (2015-02-25 23:40:46 UTC) #40
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/1da5f7f70ea6dc7dd0667ea78637802c76305f5a Cr-Commit-Position: refs/heads/master@{#318149}
5 years, 10 months ago (2015-02-25 23:41:31 UTC) #41
eakuefner
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/955183003/ by eakuefner@chromium.org. ...
5 years, 10 months ago (2015-02-26 02:37:43 UTC) #42
achuithb
On 2015/02/26 02:37:43, eakuefner wrote: > A revert of this CL (patchset #9 id:160001) has ...
5 years, 10 months ago (2015-02-27 00:41:08 UTC) #44
eakuefner
On 2015/02/27 at 00:41:08, achuith wrote: > On 2015/02/26 02:37:43, eakuefner wrote: > > A ...
5 years, 10 months ago (2015-02-27 00:50:00 UTC) #45
achuithb
On 2015/02/27 00:50:00, eakuefner wrote: > On 2015/02/27 at 00:41:08, achuith wrote: > > On ...
5 years, 9 months ago (2015-02-27 21:15:17 UTC) #46
achuithb
On 2015/02/27 21:15:17, achuithb wrote: > On 2015/02/27 00:50:00, eakuefner wrote: > > On 2015/02/27 ...
5 years, 9 months ago (2015-02-27 21:15:27 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/942663002/180001
5 years, 9 months ago (2015-02-27 21:33:11 UTC) #50
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 9 months ago (2015-02-27 22:33:18 UTC) #51
commit-bot: I haz the power
5 years, 9 months ago (2015-02-27 22:33:58 UTC) #52
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/e97726ddb2d44271cf6416ed7406ec17b97c7fad
Cr-Commit-Position: refs/heads/master@{#318531}

Powered by Google App Engine
This is Rietveld 408576698