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

Issue 1574433004: Allow a single trybot to mirror multiple waterfall bots. (Closed)

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

Description

Allow a single trybot to mirror multiple waterfall bots. This formalizes a mastername/buildername pair into a "bot description" (bot_desc), and allows multiple such descriptions to be passed in to key APIs in api.chromium_tests. For these APIs, the "mastername" and "buildername" arguments have been replaced with a "bot_desc" argument. For most callers of api.chromium_tests, the appropriate argument is created by calling api.chromium_tests.create_bot_desc, passing in the mastername and buildername. The chromium_trybot recipe, however, now allows a trybot to refer to a list of dictionaries containing these properties, not just a single dictionary. New tests have been added which currently work with an imaginary builder and tester. This is required during the transition of the GPU bots to the Chromium recipe to avoid accidentally picking up tests out of the src-side test specs before we're ready. After the transition is complete, the fake names will replaced with real ones. BUG=542370

Patch Set 1 #

Total comments: 37
Unified diffs Side-by-side diffs Delta from patch set Stats (+847 lines, -163 lines) Patch
M scripts/slave/recipe_modules/auto_bisect/api.py View 1 chunk +3 lines, -2 lines 0 comments Download
M scripts/slave/recipe_modules/auto_bisect/example.py View 1 chunk +3 lines, -2 lines 0 comments Download
M scripts/slave/recipe_modules/auto_bisect/local_bisect.py View 1 chunk +3 lines, -2 lines 0 comments Download
M scripts/slave/recipe_modules/chromium/example.py View 1 chunk +3 lines, -2 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_tests/api.py View 9 chunks +184 lines, -59 lines 31 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 +55 lines, -0 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_tests/test_api.py View 1 chunk +6 lines, -0 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_tests/trybots.py View 1 chunk +12 lines, -5 lines 4 comments Download
M scripts/slave/recipe_modules/perf_try/api.py View 1 chunk +1 line, -2 lines 0 comments Download
M scripts/slave/recipes/bisection/desktop_bisect.py View 1 chunk +3 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.py View 1 chunk +4 lines, -3 lines 0 comments Download
A + scripts/slave/recipes/chromium.expected/full_chromium_gpu_Fake_Linux_Release__NVIDIA_.json View 9 chunks +15 lines, -15 lines 0 comments Download
A + scripts/slave/recipes/chromium.expected/full_chromium_gpu_GPU_Fake_Linux_Builder.json View 9 chunks +15 lines, -16 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.py View 8 chunks +64 lines, -30 lines 2 comments Download
M scripts/slave/recipes/chromium_trybot.expected/analyze_finds_invalid_target.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_matching_exclusion.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_with_filtered_compile_targets.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_with_filtered_compile_targets_exclude_all.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_with_filtered_tests.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_with_filtered_tests_no_builder.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_failure_infra.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_failure_ng.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_failure_without_patch_deapply_fn.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_failure_without_patch_ng.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/dont_analyze_for_non_src_project.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_rel_ng.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_rel_ng_analyze.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/invalid_results.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/no_compile_because_of_analyze.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_basic_cq.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_basic_try_job.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_missing_isolated.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_paths.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_test_failure.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_trigger_failure.json View 1 chunk +16 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/telemetry_gpu_harness_failure.json View 1 chunk +16 lines, -0 lines 0 comments Download
A + scripts/slave/recipes/chromium_trybot.expected/trybot_mirrors_multiple_waterfall_bots.json View 7 chunks +59 lines, -0 lines 0 comments Download
M scripts/slave/recipes/findit/chromium/compile.py View 3 chunks +8 lines, -7 lines 0 comments Download
M scripts/slave/recipes/findit/chromium/test.py View 3 chunks +6 lines, -4 lines 0 comments Download
M tests/masters_recipes_test.py View 4 chunks +33 lines, -12 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 9 (2 generated)
Ken Russell (switch to Gerrit)
Hi all, Here is a revised version of the earlier CL allowing a single trybot ...
4 years, 11 months ago (2016-01-09 06:46:06 UTC) #2
Paweł Hajdan Jr.
Just a high-level review: I haven't reviewed every line yet. I could finish rewriting this ...
4 years, 11 months ago (2016-01-11 18:41:11 UTC) #3
Ken Russell (switch to Gerrit)
Pawel, yes, I would really appreciate it if you would pick up this CL and ...
4 years, 11 months ago (2016-01-11 22:54:01 UTC) #4
Sergey Berezin
Overall it looks good modulo some nits and comments. My biggest concern is touching linux_chromium_rel_ng ...
4 years, 11 months ago (2016-01-12 01:44:23 UTC) #5
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/1574433004/diff/1/scripts/slave/recipe_modules/chromium_tests/api.py File scripts/slave/recipe_modules/chromium_tests/api.py (left): https://codereview.chromium.org/1574433004/diff/1/scripts/slave/recipe_modules/chromium_tests/api.py#oldcode21 scripts/slave/recipe_modules/chromium_tests/api.py:21: On 2016/01/12 01:44:23, Sergey Berezin wrote: > nit: please ...
4 years, 11 months ago (2016-01-12 05:35:51 UTC) #6
Paweł Hajdan Jr.
Uploaded initial CL: https://codereview.chromium.org/1575393002
4 years, 11 months ago (2016-01-12 12:25:08 UTC) #7
Ken Russell (switch to Gerrit)
4 years, 11 months ago (2016-01-12 18:50:03 UTC) #8
I'm going to close this to make it clear I'm not pursuing it -- Pawel and I
talked offline and he's going to independently land a series of CLs to get to
this sort of functionality, but in a more robust manner.

Powered by Google App Engine
This is Rietveld 408576698