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

Issue 2230103002: [Findit] Pipeline change to save suspected cls to data store. (Closed)

Created:
4 years, 4 months ago by chanli
Modified:
4 years, 2 months ago
CC:
chromium-reviews, infra-reviews+infra_chromium.org
Base URL:
https://chromium.googlesource.com/infra/infra.git@0808-resubmit-suspected_cl_model
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

[Findit] Pipeline change to save suspected cls to data store. BUG=636199 Committed: https://chromium.googlesource.com/infra/infra/+/29add55a8e77c144218429a140a017ae82d9b775

Patch Set 1 #

Total comments: 14

Patch Set 2 : address comments and rebase #

Total comments: 4

Patch Set 3 : . #

Total comments: 6

Patch Set 4 : Modified pipelines after design change. #

Total comments: 8

Patch Set 5 : Self review. #

Total comments: 16

Patch Set 6 : Address comments and add some change for later use. #

Patch Set 7 : . #

Patch Set 8 : Add todos and make sure analysis.suspected_cls have consistent format. #

Total comments: 6

Patch Set 9 : Update suspected_cl.failure_type to COMPILE_AND_TEST if needed. #

Patch Set 10 : . #

Patch Set 11 : rebase #

Total comments: 10

Patch Set 12 : Address comments #

Patch Set 13 : Use Jeff's suggestion from another CL. #

Patch Set 14 : . #

Total comments: 10

Patch Set 15 : . #

Patch Set 16 : save time info when creating or updating suspected_cl. #

Patch Set 17 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+858 lines, -322 lines) Patch
M appengine/findit/handlers/test/build_failure_test.py View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -1 line 0 comments Download
M appengine/findit/handlers/test/list_analyses_test.py View 1 2 3 4 5 2 chunks +19 lines, -2 lines 0 comments Download
M appengine/findit/model/base_suspected_cl.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -0 lines 0 comments Download
M appengine/findit/waterfall/build_failure_analysis.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 9 chunks +82 lines, -10 lines 0 comments Download
M appengine/findit/waterfall/build_util.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M appengine/findit/waterfall/identify_culprit_pipeline.py View 1 2 3 4 5 6 3 chunks +36 lines, -21 lines 0 comments Download
M appengine/findit/waterfall/identify_try_job_culprit_pipeline.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 12 chunks +58 lines, -49 lines 0 comments Download
A appengine/findit/waterfall/suspected_cl_util.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +59 lines, -0 lines 0 comments Download
M appengine/findit/waterfall/test/build_failure_analysis_test.py View 1 2 3 4 5 5 chunks +77 lines, -5 lines 0 comments Download
M appengine/findit/waterfall/test/build_util_test.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M appengine/findit/waterfall/test/identify_culprit_pipeline_test.py View 1 2 3 4 5 6 5 chunks +55 lines, -115 lines 0 comments Download
M appengine/findit/waterfall/test/identify_try_job_culprit_pipeline_test.py View 1 2 3 4 5 6 7 8 9 10 11 12 28 chunks +208 lines, -104 lines 0 comments Download
A appengine/findit/waterfall/test/suspected_cl_util_test.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +242 lines, -0 lines 0 comments Download
M appengine/findit/waterfall/test/trigger_swarming_tasks_pipeline_test.py View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -3 lines 0 comments Download
M appengine/findit/waterfall/try_job_util.py View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +11 lines, -10 lines 0 comments Download

Messages

Total messages: 32 (5 generated)
chanli
PTAL
4 years, 4 months ago (2016-08-10 02:50:08 UTC) #2
lijeffrey
https://codereview.chromium.org/2230103002/diff/1/appengine/findit/waterfall/identify_culprit_pipeline.py File appengine/findit/waterfall/identify_culprit_pipeline.py (right): https://codereview.chromium.org/2230103002/diff/1/appengine/findit/waterfall/identify_culprit_pipeline.py#newcode42 appengine/findit/waterfall/identify_culprit_pipeline.py:42: suspected_cl = WfSuspectedCL.Get(repo_name, revision) how about suspected_cl = WfSuspectedCL.Get(...) ...
4 years, 4 months ago (2016-08-10 08:12:39 UTC) #3
chanli
https://codereview.chromium.org/2230103002/diff/1/appengine/findit/waterfall/identify_culprit_pipeline.py File appengine/findit/waterfall/identify_culprit_pipeline.py (right): https://codereview.chromium.org/2230103002/diff/1/appengine/findit/waterfall/identify_culprit_pipeline.py#newcode42 appengine/findit/waterfall/identify_culprit_pipeline.py:42: suspected_cl = WfSuspectedCL.Get(repo_name, revision) On 2016/08/10 08:12:38, lijeffrey wrote: ...
4 years, 4 months ago (2016-08-11 23:39:36 UTC) #4
Sharu Jiang
https://codereview.chromium.org/2230103002/diff/20001/appengine/findit/model/wf_suspected_cl.py File appengine/findit/model/wf_suspected_cl.py (right): https://codereview.chromium.org/2230103002/diff/20001/appengine/findit/model/wf_suspected_cl.py#newcode28 appengine/findit/model/wf_suspected_cl.py:28: is_culprit = ndb.BooleanProperty(indexed=True, default=None) The property default is already ...
4 years, 4 months ago (2016-08-12 17:45:04 UTC) #5
chanli
https://codereview.chromium.org/2230103002/diff/20001/appengine/findit/model/wf_suspected_cl.py File appengine/findit/model/wf_suspected_cl.py (right): https://codereview.chromium.org/2230103002/diff/20001/appengine/findit/model/wf_suspected_cl.py#newcode28 appengine/findit/model/wf_suspected_cl.py:28: is_culprit = ndb.BooleanProperty(indexed=True, default=None) On 2016/08/12 17:45:04, sharu jiang ...
4 years, 4 months ago (2016-08-16 16:53:52 UTC) #6
lijeffrey
lgtm with nits https://codereview.chromium.org/2230103002/diff/40001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/2230103002/diff/40001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode98 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:98: is_compile_try_job: True if the try job ...
4 years, 4 months ago (2016-08-17 19:31:12 UTC) #7
chanli
Hi, I have redone the pipeline change after we modified design. Please take a look ...
4 years, 3 months ago (2016-09-12 20:13:19 UTC) #9
chanli
https://codereview.chromium.org/2230103002/diff/40001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/2230103002/diff/40001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode98 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:98: is_compile_try_job: True if the try job is for compile ...
4 years, 3 months ago (2016-09-12 20:56:16 UTC) #10
lijeffrey
https://codereview.chromium.org/2230103002/diff/80001/appengine/findit/waterfall/build_failure_analysis.py File appengine/findit/waterfall/build_failure_analysis.py (right): https://codereview.chromium.org/2230103002/diff/80001/appengine/findit/waterfall/build_failure_analysis.py#newcode605 appengine/findit/waterfall/build_failure_analysis.py:605: class _CLInfo(object): So how about making this depend on ...
4 years, 3 months ago (2016-09-12 22:55:11 UTC) #11
stgao
https://codereview.chromium.org/2230103002/diff/80001/appengine/findit/waterfall/build_failure_analysis.py File appengine/findit/waterfall/build_failure_analysis.py (right): https://codereview.chromium.org/2230103002/diff/80001/appengine/findit/waterfall/build_failure_analysis.py#newcode615 appengine/findit/waterfall/build_failure_analysis.py:615: def not_none_failures(self): What does this mean? https://codereview.chromium.org/2230103002/diff/80001/appengine/findit/waterfall/build_failure_analysis.py#newcode630 appengine/findit/waterfall/build_failure_analysis.py:630: cl_failure_map[cl_key].top_score ...
4 years, 3 months ago (2016-09-15 17:35:12 UTC) #12
chanli
https://codereview.chromium.org/2230103002/diff/80001/appengine/findit/waterfall/build_failure_analysis.py File appengine/findit/waterfall/build_failure_analysis.py (right): https://codereview.chromium.org/2230103002/diff/80001/appengine/findit/waterfall/build_failure_analysis.py#newcode605 appengine/findit/waterfall/build_failure_analysis.py:605: class _CLInfo(object): On 2016/09/12 22:55:11, lijeffrey wrote: > So ...
4 years, 3 months ago (2016-09-16 21:24:19 UTC) #13
chanli
ptal
4 years, 3 months ago (2016-09-16 22:53:33 UTC) #14
chanli
4 years, 3 months ago (2016-09-19 22:48:26 UTC) #15
Sharu Jiang
https://codereview.chromium.org/2230103002/diff/140001/appengine/findit/waterfall/build_failure_analysis.py File appengine/findit/waterfall/build_failure_analysis.py (right): https://codereview.chromium.org/2230103002/diff/140001/appengine/findit/waterfall/build_failure_analysis.py#newcode650 appengine/findit/waterfall/build_failure_analysis.py:650: """Analyze the given failure signals, and figure out culprit ...
4 years, 3 months ago (2016-09-19 23:17:54 UTC) #16
chanli
https://codereview.chromium.org/2230103002/diff/140001/appengine/findit/waterfall/build_failure_analysis.py File appengine/findit/waterfall/build_failure_analysis.py (right): https://codereview.chromium.org/2230103002/diff/140001/appengine/findit/waterfall/build_failure_analysis.py#newcode650 appengine/findit/waterfall/build_failure_analysis.py:650: """Analyze the given failure signals, and figure out culprit ...
4 years, 3 months ago (2016-09-21 22:04:25 UTC) #17
Sharu Jiang
lgtm
4 years, 3 months ago (2016-09-22 01:36:14 UTC) #18
chanli
4 years, 3 months ago (2016-09-22 23:54:31 UTC) #19
stgao
https://codereview.chromium.org/2230103002/diff/80001/appengine/findit/waterfall/build_failure_analysis.py File appengine/findit/waterfall/build_failure_analysis.py (right): https://codereview.chromium.org/2230103002/diff/80001/appengine/findit/waterfall/build_failure_analysis.py#newcode615 appengine/findit/waterfall/build_failure_analysis.py:615: def not_none_failures(self): On 2016/09/16 21:24:19, chanli wrote: > On ...
4 years, 3 months ago (2016-09-23 18:30:21 UTC) #20
stgao
https://codereview.chromium.org/2230103002/diff/200001/appengine/findit/waterfall/suspected_cl_util.py File appengine/findit/waterfall/suspected_cl_util.py (right): https://codereview.chromium.org/2230103002/diff/200001/appengine/findit/waterfall/suspected_cl_util.py#newcode33 appengine/findit/waterfall/suspected_cl_util.py:33: build_key = '%s/%s/%d' %(master_name, builder_name, build_number) Can we extract ...
4 years, 3 months ago (2016-09-23 18:56:54 UTC) #21
chanli
https://codereview.chromium.org/2230103002/diff/80001/appengine/findit/waterfall/build_failure_analysis.py File appengine/findit/waterfall/build_failure_analysis.py (right): https://codereview.chromium.org/2230103002/diff/80001/appengine/findit/waterfall/build_failure_analysis.py#newcode615 appengine/findit/waterfall/build_failure_analysis.py:615: def not_none_failures(self): On 2016/09/23 18:30:21, stgao (slow) wrote: > ...
4 years, 3 months ago (2016-09-24 00:05:00 UTC) #22
chanli
4 years, 3 months ago (2016-09-24 01:09:56 UTC) #23
chanli
4 years, 3 months ago (2016-09-24 01:52:04 UTC) #24
stgao
lgtm with nits. https://codereview.chromium.org/2230103002/diff/260001/appengine/findit/handlers/test/build_failure_test.py File appengine/findit/handlers/test/build_failure_test.py (right): https://codereview.chromium.org/2230103002/diff/260001/appengine/findit/handlers/test/build_failure_test.py#newcode126 appengine/findit/handlers/test/build_failure_test.py:126: build_key = BaseBuildModel.CreateBuildId( There is another ...
4 years, 2 months ago (2016-09-28 00:13:27 UTC) #25
chanli
https://codereview.chromium.org/2230103002/diff/260001/appengine/findit/handlers/test/build_failure_test.py File appengine/findit/handlers/test/build_failure_test.py (right): https://codereview.chromium.org/2230103002/diff/260001/appengine/findit/handlers/test/build_failure_test.py#newcode126 appengine/findit/handlers/test/build_failure_test.py:126: build_key = BaseBuildModel.CreateBuildId( On 2016/09/28 00:13:27, stgao (slow) wrote: ...
4 years, 2 months ago (2016-09-30 20:41:01 UTC) #26
chanli
4 years, 2 months ago (2016-10-05 00:13:10 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2230103002/320001
4 years, 2 months ago (2016-10-05 20:09:16 UTC) #30
commit-bot: I haz the power
4 years, 2 months ago (2016-10-05 20:23:36 UTC) #32
Message was sent while issue was closed.
Committed patchset #17 (id:320001) as
https://chromium.googlesource.com/infra/infra/+/29add55a8e77c144218429a140a01...

Powered by Google App Engine
This is Rietveld 408576698