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

Issue 1588793002: Support variable substitution and tryserver- and waterfall-only cmd line args. (Closed)

Created:
4 years, 11 months ago by Ken Russell (switch to Gerrit)
Modified:
4 years, 11 months ago
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/build.git@master
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Support variable substitution and tryserver- and waterfall-only cmd line args. This adds support to the src-side JSON files for substituting the following variables in the command-line arguments to tests: ${buildername} ${got_revision} and also supports setting command line arguments only on the tryservers, and only on the waterfall bots. BUG=573321 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=298331

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed review feedback. #

Total comments: 2

Patch Set 3 : Addressed review feedback. Revised tests. Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -79 lines) Patch
M scripts/slave/recipe_modules/chromium_tests/api.py View 1 2 4 chunks +20 lines, -4 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_tests/bot_config_and_test_db.py View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_tests/steps.py View 1 2 4 chunks +49 lines, -7 lines 0 comments Download
M scripts/slave/recipes/android/perf.py View 2 chunks +3 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.py View 1 2 1 chunk +8 lines, -1 line 0 comments Download
M scripts/slave/recipes/chromium.expected/dynamic_isolated_script_test.json View 1 2 2 chunks +16 lines, -1 line 0 comments Download
M scripts/slave/recipes/chromium_gn.py View 1 1 chunk +4 lines, -3 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.py View 1 2 2 chunks +32 lines, -0 lines 0 comments Download
A + scripts/slave/recipes/chromium_trybot.expected/dynamic_isolated_script_test_with_args_on_trybot.json View 1 2 9 chunks +129 lines, -59 lines 0 comments Download

Messages

Total messages: 23 (5 generated)
Ken Russell (switch to Gerrit)
Please review. Thanks.
4 years, 11 months ago (2016-01-13 23:45:31 UTC) #2
Sergey Berezin
I didn't have time to review this properly, just got one comment. Hopefully someone else ...
4 years, 11 months ago (2016-01-14 01:39:34 UTC) #3
Sergiy Byelozyorov
lgtm https://codereview.chromium.org/1588793002/diff/1/scripts/slave/recipes/chromium.expected/dynamic_gtest.json File scripts/slave/recipes/chromium.expected/dynamic_gtest.json (right): https://codereview.chromium.org/1588793002/diff/1/scripts/slave/recipes/chromium.expected/dynamic_gtest.json#newcode151 scripts/slave/recipes/chromium.expected/dynamic_gtest.json:151: "@@@STEP_LOG_LINE@json.output@ \"--THIS-ARG-SHOULD-NOT-BE-PRESENT\"@@@", This is confusing. https://codereview.chromium.org/1588793002/diff/1/scripts/slave/recipes/chromium_trybot.expected/dynamic_gtest_with_args_on_trybot.json File scripts/slave/recipes/chromium_trybot.expected/dynamic_gtest_with_args_on_trybot.json ...
4 years, 11 months ago (2016-01-14 09:43:47 UTC) #4
Paweł Hajdan Jr.
"not lgtm" Thanks for the patch. That gives us something specific to discuss. FWIW the ...
4 years, 11 months ago (2016-01-14 15:51:02 UTC) #5
iannucci
FWIW, this lgtm. I like the arg substitution approach a lot better than the pass-the-blob-of-properties ...
4 years, 11 months ago (2016-01-15 01:48:11 UTC) #6
Ken Russell (switch to Gerrit)
Addressed review feedback: 1) Removed the mastername property. (The GPU tests didn't need it.) 2) ...
4 years, 11 months ago (2016-01-15 02:51:01 UTC) #8
Paweł Hajdan Jr.
On 2016/01/15 at 02:51:01, kbr wrote: > https://codereview.chromium.org/1582423004 has been uploaded which will use this ...
4 years, 11 months ago (2016-01-15 14:32:51 UTC) #9
Paweł Hajdan Jr.
I'd like to clarify the context for my above comment: to some degree I'm getting ...
4 years, 11 months ago (2016-01-15 15:00:44 UTC) #10
iannucci
On 2016/01/15 14:32:51, Paweł Hajdan Jr. wrote: > On 2016/01/15 at 02:51:01, kbr wrote: > ...
4 years, 11 months ago (2016-01-15 23:28:51 UTC) #11
Ken Russell (switch to Gerrit)
Two main points in response. 1. The isolated_script_test step type, which the GPU tests use, ...
4 years, 11 months ago (2016-01-20 01:59:50 UTC) #12
iannucci
On 2016/01/20 01:59:50, Ken Russell wrote: > Two main points in response. > > 1. ...
4 years, 11 months ago (2016-01-20 02:05:19 UTC) #13
iannucci
To clarify my lgtm; I think this CL should land as-is. I didn't remember that ...
4 years, 11 months ago (2016-01-20 02:54:55 UTC) #14
Ken Russell (switch to Gerrit)
On 2016/01/20 02:54:55, iannucci wrote: > To clarify my lgtm; I think this CL should ...
4 years, 11 months ago (2016-01-20 03:09:00 UTC) #15
Paweł Hajdan Jr.
On 2016/01/20 at 01:59:50, kbr wrote: > Two main points in response. > > 1. ...
4 years, 11 months ago (2016-01-20 15:10:38 UTC) #16
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/1588793002/diff/20001/scripts/slave/recipe_modules/chromium_tests/steps.py File scripts/slave/recipe_modules/chromium_tests/steps.py (right): https://codereview.chromium.org/1588793002/diff/20001/scripts/slave/recipe_modules/chromium_tests/steps.py#newcode1177 scripts/slave/recipe_modules/chromium_tests/steps.py:1177: args = get_args_for_test(api, chromium_tests_api, spec, bot_update_step) On 2016/01/20 15:10:38, ...
4 years, 11 months ago (2016-01-21 01:29:27 UTC) #17
Ken Russell (switch to Gerrit)
On 2016/01/20 15:10:38, Paweł Hajdan Jr. wrote: > On 2016/01/20 at 01:59:50, kbr wrote: > ...
4 years, 11 months ago (2016-01-21 01:30:23 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1588793002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1588793002/40001
4 years, 11 months ago (2016-01-21 01:30:55 UTC) #21
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 01:33:58 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
http://src.chromium.org/viewvc/chrome?view=rev&revision=298331

Powered by Google App Engine
This is Rietveld 408576698