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

Issue 1416763007: Add a recipe to identify culprits for chromium compile failures. (Closed)

Created:
5 years, 1 month ago by stgao
Modified:
5 years ago
CC:
chanli, chromium-reviews, infra-reviews+build_chromium.org, jam, Sharu Jiang, kjellander-cc_chromium.org, lijeffrey, stip+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/build.git@master
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Add a recipe to identify culprits for chromium compile failures on the chromium main waterfall. Input to the recipe: * (target_mastername, target_buildername): the waterfall builder where the compile failure occurred. * root_solution_revisions: the chromium revisions in the regression range. * compile_targets: the failed compile targets that needs to recompile, like browser_tests, etc. Main flow in the recipe: 1. Configure to match (target_mastername, target_buildername) 2. For each revision in the regression range: * Checkout code at the revision * If compile_targets is not provided, use the default compile targets for the given builder (means a full compile). * Run compile. 3. Report results in Json output. BUG=545299 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=297767

Patch Set 1 #

Total comments: 18

Patch Set 2 : Rebase and Address comments. #

Total comments: 41

Patch Set 3 : Just rebase #

Patch Set 4 : Address comments. #

Patch Set 5 : Split "analyze" out. #

Patch Set 6 : Rebase, and add an owner file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+431 lines, -209 lines) Patch
A scripts/slave/recipes/findit/OWNERS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A scripts/slave/recipes/findit/chromium/compile.py View 1 2 3 4 5 1 chunk +179 lines, -0 lines 0 comments Download
A + scripts/slave/recipes/findit/chromium/compile.expected/compile_default_targets.json View 1 2 3 4 10 chunks +50 lines, -61 lines 0 comments Download
A + scripts/slave/recipes/findit/chromium/compile.expected/compile_failed.json View 1 2 3 4 5 10 chunks +51 lines, -28 lines 0 comments Download
A + scripts/slave/recipes/findit/chromium/compile.expected/compile_specified_targets.json View 1 2 3 4 10 chunks +48 lines, -28 lines 0 comments Download
A + scripts/slave/recipes/findit/chromium/compile.expected/compile_succeeded.json View 1 2 3 4 5 10 chunks +51 lines, -28 lines 0 comments Download
A + scripts/slave/recipes/findit/chromium/compile.expected/failed_compile_upon_infra_failure.json View 1 2 3 4 9 chunks +51 lines, -64 lines 0 comments Download

Messages

Total messages: 39 (21 generated)
stgao
Hi Robbie and Dirk, Would you mind a review of the recipe in this CL ...
5 years, 1 month ago (2015-11-13 22:47:36 UTC) #7
stgao
Ping :) dpranke@, would you mind reviewing these two files? scripts/slave/recipe_modules/chromium_tests/api.py scripts/slave/recipe_modules/filter/api.py iannucci@, would you ...
5 years, 1 month ago (2015-11-17 18:40:25 UTC) #9
Dirk Pranke
Sorry for the delay, I've been swamped with branch-related stuff. I should be able to ...
5 years, 1 month ago (2015-11-17 18:58:41 UTC) #10
Dirk Pranke
https://codereview.chromium.org/1416763007/diff/40001/scripts/slave/recipe_modules/chromium_tests/api.py File scripts/slave/recipe_modules/chromium_tests/api.py (right): https://codereview.chromium.org/1416763007/diff/40001/scripts/slave/recipe_modules/chromium_tests/api.py#newcode481 scripts/slave/recipe_modules/chromium_tests/api.py:481: self.m.properties['buildername'] nit: wrap the expression in parentheses instead of ...
5 years, 1 month ago (2015-11-17 22:38:51 UTC) #11
iannucci
This lgtm :) https://codereview.chromium.org/1416763007/diff/40001/scripts/slave/recipe_modules/findit/api.py File scripts/slave/recipe_modules/findit/api.py (right): https://codereview.chromium.org/1416763007/diff/40001/scripts/slave/recipe_modules/findit/api.py#newcode20 scripts/slave/recipe_modules/findit/api.py:20: cwd = self.m.path['checkout'].join(repo_dir) is this if/else ...
5 years, 1 month ago (2015-11-18 03:57:54 UTC) #12
stgao
Sorry for being a bit late on addressing comments. After some hacking to make old-version ...
5 years, 1 month ago (2015-11-19 22:06:34 UTC) #16
Dirk Pranke
I'd like Paweł to take a look at this as well since he's the best ...
5 years, 1 month ago (2015-11-24 00:17:41 UTC) #18
stgao
Many thanks Dirk for the review! I have a quick question as below, do you ...
5 years, 1 month ago (2015-11-24 06:15:29 UTC) #19
Paweł Hajdan Jr.
https://codereview.chromium.org/1416763007/diff/60001/scripts/slave/recipe_modules/chromium_tests/api.py File scripts/slave/recipe_modules/chromium_tests/api.py (right): https://codereview.chromium.org/1416763007/diff/60001/scripts/slave/recipe_modules/chromium_tests/api.py#newcode341 scripts/slave/recipe_modules/chromium_tests/api.py:341: return (sorted(test_compile_targets), sorted(compile_targets), Why do we need this change? ...
5 years ago (2015-11-24 13:20:41 UTC) #20
Dirk Pranke
https://codereview.chromium.org/1416763007/diff/60001/scripts/slave/recipe_modules/chromium_tests/api.py File scripts/slave/recipe_modules/chromium_tests/api.py (right): https://codereview.chromium.org/1416763007/diff/60001/scripts/slave/recipe_modules/chromium_tests/api.py#newcode497 scripts/slave/recipe_modules/chromium_tests/api.py:497: target_mastername = (self.m.properties.get('target_mastername') or On 2015/11/24 13:20:41, Paweł Hajdan ...
5 years ago (2015-11-24 16:35:00 UTC) #21
stgao
Comments are addressed. Do you mind another review? Thanks :) https://codereview.chromium.org/1416763007/diff/60001/scripts/slave/recipe_modules/chromium_tests/api.py File scripts/slave/recipe_modules/chromium_tests/api.py (right): https://codereview.chromium.org/1416763007/diff/60001/scripts/slave/recipe_modules/chromium_tests/api.py#newcode341 ...
5 years ago (2015-11-24 23:19:20 UTC) #22
stgao
Hi Paweł, Do you mind helping review both this CL and https://codereview.chromium.org/1474473004/? Tryjob-based culprit finding ...
5 years ago (2015-11-30 01:26:33 UTC) #23
Paweł Hajdan Jr.
https://codereview.chromium.org/1416763007/diff/60001/scripts/slave/recipes/findit/chromium/compile.py File scripts/slave/recipes/findit/chromium/compile.py (right): https://codereview.chromium.org/1416763007/diff/60001/scripts/slave/recipes/findit/chromium/compile.py#newcode79 scripts/slave/recipes/findit/chromium/compile.py:79: _, compile_targets = api.chromium_tests.analyze( On 2015/11/24 at 23:19:20, Shuotao ...
5 years ago (2015-11-30 16:19:05 UTC) #24
stgao
Hi Paweł, I've addressed your comments based on our discussion offline. Thanks, Shuotao Gao https://codereview.chromium.org/1416763007/diff/60001/scripts/slave/recipes/findit/chromium/compile.py ...
5 years ago (2015-12-01 16:30:01 UTC) #29
stgao
Hi Paweł, I've uploaded a new patch per our discussion in the meeting. Do you ...
5 years ago (2015-12-01 17:15:02 UTC) #32
Paweł Hajdan Jr.
LGTM
5 years ago (2015-12-01 17:30:22 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416763007/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416763007/260001
5 years ago (2015-12-01 21:24:17 UTC) #37
commit-bot: I haz the power
5 years ago (2015-12-01 21:29:44 UTC) #39
Message was sent while issue was closed.
Committed patchset #6 (id:260001) as
http://src.chromium.org/viewvc/chrome?view=rev&revision=297767

Powered by Google App Engine
This is Rietveld 408576698