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

Issue 2302223002: [Findit] Change the criteria of sending notification to code review. (Closed)

Created:
4 years, 3 months ago by chanli
Modified:
4 years, 3 months ago
CC:
chromium-reviews, infra-reviews+infra_chromium.org
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

[Findit] Change the criteria of sending notification to code review. Notifies code review when: 1. Heuristic found a culprit for compile failure, 2. Both approaches found the same culprit. BUG=643461 Committed: https://chromium.googlesource.com/infra/infra/+/e94935097903706240aa39a85f2fcbfd26193b20

Patch Set 1 #

Total comments: 8

Patch Set 2 : For heuristic found culprit for compile, we still need to wait. #

Patch Set 3 : Address comments #

Total comments: 6

Patch Set 4 : Address comments. #

Patch Set 5 : fix format nits #

Total comments: 22

Patch Set 6 : Still need the criterion where 2 try jobs found the same culprit. #

Patch Set 7 : address comments #

Patch Set 8 : . #

Total comments: 4

Patch Set 9 : . #

Total comments: 6

Patch Set 10 : . #

Total comments: 6

Patch Set 11 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+256 lines, -54 lines) Patch
M appengine/findit/waterfall/identify_try_job_culprit_pipeline.py View 1 2 3 4 5 6 7 8 9 10 3 chunks +68 lines, -11 lines 0 comments Download
M appengine/findit/waterfall/send_notification_for_culprit_pipeline.py View 1 2 3 4 5 6 7 8 9 5 chunks +37 lines, -14 lines 0 comments Download
M appengine/findit/waterfall/test/identify_try_job_culprit_pipeline_test.py View 1 2 3 4 2 chunks +110 lines, -11 lines 0 comments Download
M appengine/findit/waterfall/test/send_notification_for_culprit_pipeline_test.py View 1 2 3 4 5 6 3 chunks +41 lines, -18 lines 0 comments Download

Messages

Total messages: 26 (6 generated)
chanli
ptal
4 years, 3 months ago (2016-09-02 00:54:26 UTC) #2
chanli
Made some change on top of the first patch. PTAL
4 years, 3 months ago (2016-09-02 05:52:27 UTC) #4
lijeffrey
https://codereview.chromium.org/2302223002/diff/1/appengine/findit/waterfall/identify_culprit_pipeline.py File appengine/findit/waterfall/identify_culprit_pipeline.py (right): https://codereview.chromium.org/2302223002/diff/1/appengine/findit/waterfall/identify_culprit_pipeline.py#newcode71 appengine/findit/waterfall/identify_culprit_pipeline.py:71: def _NotifyCompileCulprits( nit: Since this is for compile, shouldn't ...
4 years, 3 months ago (2016-09-02 06:37:34 UTC) #5
chanli
https://codereview.chromium.org/2302223002/diff/1/appengine/findit/waterfall/identify_culprit_pipeline.py File appengine/findit/waterfall/identify_culprit_pipeline.py (right): https://codereview.chromium.org/2302223002/diff/1/appengine/findit/waterfall/identify_culprit_pipeline.py#newcode71 appengine/findit/waterfall/identify_culprit_pipeline.py:71: def _NotifyCompileCulprits( On 2016/09/02 06:37:34, lijeffrey wrote: > nit: ...
4 years, 3 months ago (2016-09-02 16:57:19 UTC) #6
Sharu Jiang
https://codereview.chromium.org/2302223002/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/2302223002/diff/40001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode222 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:222: if culprits: If culprits mean try_job_cls, I think rename ...
4 years, 3 months ago (2016-09-02 18:00:22 UTC) #7
chanli
https://codereview.chromium.org/2302223002/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/2302223002/diff/40001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode222 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:222: if culprits: On 2016/09/02 18:00:22, sharu jiang wrote: > ...
4 years, 3 months ago (2016-09-02 18:26:00 UTC) #8
chanli
4 years, 3 months ago (2016-09-02 18:31:28 UTC) #9
Sharu Jiang
lgtm
4 years, 3 months ago (2016-09-02 18:48:01 UTC) #10
Sharu Jiang
https://codereview.chromium.org/2302223002/diff/80001/appengine/findit/waterfall/send_notification_for_culprit_pipeline.py File appengine/findit/waterfall/send_notification_for_culprit_pipeline.py (right): https://codereview.chromium.org/2302223002/diff/80001/appengine/findit/waterfall/send_notification_for_culprit_pipeline.py#newcode25 appengine/findit/waterfall/send_notification_for_culprit_pipeline.py:25: for criterion in additional_criteria.values(): Sorry, just realize =_= You ...
4 years, 3 months ago (2016-09-02 20:42:51 UTC) #11
lijeffrey1
https://codereview.chromium.org/2302223002/diff/80001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/2302223002/diff/80001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode189 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:189: for failure in analysis.result.get('failures', []): nit: add 1 empty ...
4 years, 3 months ago (2016-09-03 00:31:53 UTC) #13
stgao
https://codereview.chromium.org/2302223002/diff/80001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/2302223002/diff/80001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode215 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:215: 'Failed to notify culprits which was found by both ...
4 years, 3 months ago (2016-09-03 00:41:34 UTC) #14
chanli
https://codereview.chromium.org/2302223002/diff/80001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/2302223002/diff/80001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode189 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:189: for failure in analysis.result.get('failures', []): On 2016/09/03 00:31:53, lijeffrey1 ...
4 years, 3 months ago (2016-09-03 01:27:02 UTC) #15
stgao
https://codereview.chromium.org/2302223002/diff/80001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/2302223002/diff/80001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode367 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:367: updated_result_status = _GetResultAnalysisStatus(analysis, result) On 2016/09/03 01:27:02, chanli wrote: ...
4 years, 3 months ago (2016-09-03 06:14:24 UTC) #16
chanli
https://codereview.chromium.org/2302223002/diff/140001/appengine/findit/waterfall/send_notification_for_culprit_pipeline.py File appengine/findit/waterfall/send_notification_for_culprit_pipeline.py (left): https://codereview.chromium.org/2302223002/diff/140001/appengine/findit/waterfall/send_notification_for_culprit_pipeline.py#oldcode35 appengine/findit/waterfall/send_notification_for_culprit_pipeline.py:35: # 2. The culprit is for multiple failures in ...
4 years, 3 months ago (2016-09-05 21:49:45 UTC) #17
lijeffrey1
lgtm https://codereview.chromium.org/2302223002/diff/160001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/2302223002/diff/160001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode213 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:213: master_name, builder_name, build_number, repo_name, revision, nit: 4 spaces ...
4 years, 3 months ago (2016-09-06 16:53:56 UTC) #18
chanli
https://codereview.chromium.org/2302223002/diff/160001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/2302223002/diff/160001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode213 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:213: master_name, builder_name, build_number, repo_name, revision, On 2016/09/06 16:53:56, lijeffrey1 ...
4 years, 3 months ago (2016-09-06 17:12:43 UTC) #19
stgao
lgtm with nits. https://codereview.chromium.org/2302223002/diff/180001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/2302223002/diff/180001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode230 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:230: send_notification_right_now = True Just do: flag ...
4 years, 3 months ago (2016-09-08 21:20:46 UTC) #20
chanli
https://codereview.chromium.org/2302223002/diff/180001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/2302223002/diff/180001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode230 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:230: send_notification_right_now = True On 2016/09/08 21:20:46, stgao wrote: > ...
4 years, 3 months ago (2016-09-08 22:05:01 UTC) #21
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/2302223002/200001
4 years, 3 months ago (2016-09-08 22:15:51 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 22:30:25 UTC) #26
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://chromium.googlesource.com/infra/infra/+/e94935097903706240aa39a85f2fc...

Powered by Google App Engine
This is Rietveld 408576698