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

Unified Diff: appengine/findit/model/flake/master_flake_analysis.py

Issue 2438673004: [Findit] Post analysis results of flakes to bug filed by chromium-try-flakes. (Closed)
Patch Set: Add a config flag to enable/disable updating monorail bug. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/findit/handlers/test/config_test.py ('k') | appengine/findit/model/wf_config.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/model/flake/master_flake_analysis.py
diff --git a/appengine/findit/model/flake/master_flake_analysis.py b/appengine/findit/model/flake/master_flake_analysis.py
index 9dc32ed4c759455898e6d2333a7f5a3e699931bf..5a4cd177f233a38a2e11b9b95c8c97fb2b084519 100644
--- a/appengine/findit/model/flake/master_flake_analysis.py
+++ b/appengine/findit/model/flake/master_flake_analysis.py
@@ -80,6 +80,12 @@ class MasterFlakeAnalysis(
def Reset(self):
super(MasterFlakeAnalysis, self).Reset()
+ self.original_master_name = None
+ self.original_builder_name = None
+ self.original_build_number = None
+ self.original_step_name = None
+ self.original_test_name = None
+ self.bug_id = None
self.swarming_rerun_results = []
self.error = None
self.correct_regression_range = None
@@ -89,6 +95,18 @@ class MasterFlakeAnalysis(
self.data_points = []
self.result_status = None
+ # The original build/step/test in which a flake actually occurred.
+ # A CQ trybot step has to be mapped to a Waterfall buildbot step.
+ # A gtest suite.PRE_PRE_test has to be normalized to suite.test.
+ original_master_name = ndb.StringProperty(indexed=True)
+ original_builder_name = ndb.StringProperty(indexed=True)
+ original_build_number = ndb.IntegerProperty(indexed=True)
+ original_step_name = ndb.StringProperty(indexed=True)
+ original_test_name = ndb.StringProperty(indexed=True)
+
+ # The bug id in which this flake is reported.
+ bug_id = ndb.IntegerProperty(indexed=True)
+
# A list of dicts containing information about each swarming rerun's results
# that were involved in this analysis. The contents of this list will be used
# for metrics, such as the number of cache hits this analysis benefited from,
« no previous file with comments | « appengine/findit/handlers/test/config_test.py ('k') | appengine/findit/model/wf_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698