For post-analysis bug deduplication (1 bug per culprit), Flake Culprits need to know about existing Flake Issues to prevent creating too many bugs that turn out to have the same root cause (per developer request)
The following revision refers to this bug: https://chromium.googlesource.com/infra/infra/+/9e4fb8c91b2412d35da2a93912aa833f00806ae4 commit 9e4fb8c91b2412d35da2a93912aa833f00806ae4 Author: Jeffrey Li <lijeffrey@chromium.org> Date: Thu Nov 29 01:51:26 2018 [Findit] Flake Analyzer - Associate FlakeCulprit with FlakeIssue 1. Add flake_culprit_key to FlakeIssue 2. Add flake_issue_key to FlakeCulprit 3. Create basic auto-action layer function calls (currently just a service, which is to be upgraded to an async taskqueue task later) actions/flake_analysis_actions.py 4. Link FlakeCulprit and FlakeIssue to each other (no deduplication yet). Bug: 905505 Change-Id: Ie5c63b0e3439c2c31d911b9e8e9fa70458664741 Reviewed-on: https://chromium-review.googlesource.com/c/1337543 Reviewed-by: Chan Li <chanli@chromium.org> Commit-Queue: Jeffrey Li <lijeffrey@chromium.org> Cr-Commit-Position: refs/heads/master@{#19221} [add] https://crrev.com/9e4fb8c91b2412d35da2a93912aa833f00806ae4/appengine/findit/services/actions/__init__.py [modify] https://crrev.com/9e4fb8c91b2412d35da2a93912aa833f00806ae4/appengine/findit/model/flake/flake_issue.py [add] https://crrev.com/9e4fb8c91b2412d35da2a93912aa833f00806ae4/appengine/findit/services/actions/flake_analysis_actions.py [add] https://crrev.com/9e4fb8c91b2412d35da2a93912aa833f00806ae4/appengine/findit/services/actions/test/flake_analysis_actions_test.py [modify] https://crrev.com/9e4fb8c91b2412d35da2a93912aa833f00806ae4/appengine/findit/pipelines/flake_failure/analyze_flake_pipeline.py [modify] https://crrev.com/9e4fb8c91b2412d35da2a93912aa833f00806ae4/appengine/findit/pipelines/flake_failure/test/analyze_flake_pipeline_test.py [modify] https://crrev.com/9e4fb8c91b2412d35da2a93912aa833f00806ae4/appengine/findit/model/flake/analysis/flake_culprit.py [add] https://crrev.com/9e4fb8c91b2412d35da2a93912aa833f00806ae4/appengine/findit/services/actions/test/__init__.py [modify] https://crrev.com/9e4fb8c91b2412d35da2a93912aa833f00806ae4/appengine/findit/handlers/flake/detection/test/show_flake_test.py [modify] https://crrev.com/9e4fb8c91b2412d35da2a93912aa833f00806ae4/appengine/findit/handlers/flake/detection/test/flake_detection_utils_test.py
Comment 1 by lijeffrey@chromium.org
, Nov 15