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

Issue 1554383003: Add support for "additional_mirrors" property in trybot configs. (Closed)

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

Description

Add support for "additional_mirrors" property in trybot configs. This allows a single trybot to mirror multiple waterfall bots, so that it can build the binaries once, but spawn all of the tests (typically via swarming) that each of those waterfall bots would run. This will be used to pull in the tests from the chromium.gpu waterfall onto a few trybot configurations (linux_chromium_rel_ng, mac_chromium_rel_ng, win_chromium_rel_ng), which is currently being done manually in the chromium_trybot recipe. BUG=573337

Patch Set 1 #

Total comments: 18
Unified diffs Side-by-side diffs Delta from patch set Stats (+716 lines, -167 lines) Patch
M scripts/slave/recipe_modules/auto_bisect/api.py View 1 chunk +2 lines, -2 lines 3 comments Download
M scripts/slave/recipe_modules/chromium/example.py View 1 chunk +3 lines, -3 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_tests/api.py View 14 chunks +112 lines, -36 lines 9 comments Download
M scripts/slave/recipe_modules/chromium_tests/builders.py View 2 chunks +2 lines, -0 lines 0 comments Download
A scripts/slave/recipe_modules/chromium_tests/chromium_gpu.py View 1 chunk +57 lines, -0 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_tests/trybots.py View 1 chunk +10 lines, -0 lines 3 comments Download
M scripts/slave/recipe_modules/perf_try/api.py View 1 chunk +6 lines, -5 lines 0 comments Download
M scripts/slave/recipes/bisection/desktop_bisect.py View 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.py View 1 chunk +5 lines, -5 lines 1 comment Download
A + scripts/slave/recipes/chromium.expected/full_chromium_gpu_GPU_Linux_Builder.json View 7 chunks +13 lines, -13 lines 0 comments Download
A + scripts/slave/recipes/chromium.expected/full_chromium_gpu_Linux_Release__NVIDIA_.json View 9 chunks +15 lines, -15 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.py View 4 chunks +34 lines, -10 lines 1 comment Download
M scripts/slave/recipes/chromium_trybot.expected/analyze_finds_invalid_target.json View 3 chunks +18 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/bot_update_failure.json View 1 chunk +1 line, -1 line 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/check_swarming_version_failure.json View 1 chunk +1 line, -1 line 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze.json View 3 chunks +18 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_matching_exclusion.json View 3 chunks +18 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_with_filtered_compile_targets.json View 3 chunks +18 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_with_filtered_compile_targets_exclude_all.json View 3 chunks +18 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_with_filtered_tests.json View 3 chunks +18 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_with_filtered_tests_no_builder.json View 3 chunks +18 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_failure_infra.json View 5 chunks +20 lines, -4 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_failure_ng.json View 5 chunks +20 lines, -4 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_failure_without_patch_deapply_fn.json View 5 chunks +20 lines, -4 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_failure_without_patch_ng.json View 5 chunks +20 lines, -4 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/dont_analyze_for_non_src_project.json View 3 chunks +18 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_rel_ng.json View 3 chunks +18 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_rel_ng_analyze.json View 3 chunks +18 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/gclient_runhooks__with_patch__failure.json View 4 chunks +4 lines, -4 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/invalid_results.json View 5 chunks +20 lines, -4 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/no_compile_because_of_analyze.json View 3 chunks +18 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/runhooks_failure_ng.json View 4 chunks +4 lines, -4 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_basic_cq.json View 3 chunks +18 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_basic_try_job.json View 3 chunks +18 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_missing_isolated.json View 3 chunks +18 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_paths.json View 3 chunks +18 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_test_failure.json View 5 chunks +20 lines, -4 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_trigger_failure.json View 3 chunks +18 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/telemetry_gpu_harness_failure.json View 3 chunks +18 lines, -2 lines 0 comments Download
M scripts/slave/recipes/findit/chromium/compile.py View 3 chunks +5 lines, -4 lines 0 comments Download
M scripts/slave/recipes/findit/chromium/test.py View 3 chunks +3 lines, -3 lines 0 comments Download
M tests/masters_recipes_test.py View 2 chunks +11 lines, -1 line 1 comment Download

Messages

Total messages: 14 (3 generated)
Ken Russell (switch to Gerrit)
Please provide your feedback on the general direction of this CL. I haven't checked the ...
4 years, 11 months ago (2016-01-05 04:52:52 UTC) #2
luqui
https://codereview.chromium.org/1554383003/diff/1/scripts/slave/recipe_modules/auto_bisect/api.py File scripts/slave/recipe_modules/auto_bisect/api.py (right): https://codereview.chromium.org/1554383003/diff/1/scripts/slave/recipe_modules/auto_bisect/api.py#newcode138 scripts/slave/recipe_modules/auto_bisect/api.py:138: self.start_test_run_for_bisect(api, update_step, master_dicts[0], This [0] is suspicious. Is it ...
4 years, 11 months ago (2016-01-05 23:02:36 UTC) #4
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/1554383003/diff/1/scripts/slave/recipe_modules/auto_bisect/api.py File scripts/slave/recipe_modules/auto_bisect/api.py (right): https://codereview.chromium.org/1554383003/diff/1/scripts/slave/recipe_modules/auto_bisect/api.py#newcode138 scripts/slave/recipe_modules/auto_bisect/api.py:138: self.start_test_run_for_bisect(api, update_step, master_dicts[0], On 2016/01/05 23:02:35, luqui wrote: > ...
4 years, 11 months ago (2016-01-06 00:38:24 UTC) #5
Sergey Berezin
I have a comment on the design - see below. Also, if you can wait, ...
4 years, 11 months ago (2016-01-06 01:50:56 UTC) #6
Ken Russell (switch to Gerrit)
Thanks for your review Sergey. I'm certainly going to wait for Pawel's review before proceeding. ...
4 years, 11 months ago (2016-01-06 03:30:07 UTC) #7
Sergey Berezin
https://codereview.chromium.org/1554383003/diff/1/scripts/slave/recipe_modules/chromium_tests/api.py File scripts/slave/recipe_modules/chromium_tests/api.py (right): https://codereview.chromium.org/1554383003/diff/1/scripts/slave/recipe_modules/chromium_tests/api.py#newcode154 scripts/slave/recipe_modules/chromium_tests/api.py:154: for c in config.get('chromium_apply_config', []): On 2016/01/06 03:30:07, Ken ...
4 years, 11 months ago (2016-01-06 19:12:35 UTC) #8
Paweł Hajdan Jr.
Thanks. Mostly high-level issues. WDYT? https://codereview.chromium.org/1554383003/diff/1/scripts/slave/recipe_modules/chromium_tests/api.py File scripts/slave/recipe_modules/chromium_tests/api.py (right): https://codereview.chromium.org/1554383003/diff/1/scripts/slave/recipe_modules/chromium_tests/api.py#newcode71 scripts/slave/recipe_modules/chromium_tests/api.py:71: def _get_bot_config_internal(self, mastername, buildername): ...
4 years, 11 months ago (2016-01-07 09:14:27 UTC) #9
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/1554383003/diff/1/scripts/slave/recipe_modules/chromium_tests/api.py File scripts/slave/recipe_modules/chromium_tests/api.py (right): https://codereview.chromium.org/1554383003/diff/1/scripts/slave/recipe_modules/chromium_tests/api.py#newcode86 scripts/slave/recipe_modules/chromium_tests/api.py:86: # gclient_config. Otherwise, unexpected results are likely. On 2016/01/07 ...
4 years, 11 months ago (2016-01-07 10:19:24 UTC) #10
Paweł Hajdan Jr.
On 2016/01/07 at 10:19:24, kbr wrote: > I haven't talked with Luke about this patch. ...
4 years, 11 months ago (2016-01-07 16:28:55 UTC) #11
Paweł Hajdan Jr.
After a VC, please don't consider this blocked on me. LGTM after taking into account ...
4 years, 11 months ago (2016-01-08 16:04:42 UTC) #13
Ken Russell (switch to Gerrit)
4 years, 11 months ago (2016-01-09 06:30:44 UTC) #14
Thanks Pawel and everyone for taking a look. After more work on this, going to
pursue the alternate approach in https://codereview.chromium.org/1565113003 and
a coming dependent CL. Closing.

Powered by Google App Engine
This is Rietveld 408576698