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

Side by Side Diff: appengine/findit/model/wf_analysis.py

Issue 1591003002: [Findit] Modify tryjob pipelines to trigger try jobs for test failure. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: If different tests within the same step fail in different revisions, all revisions should be culpri… Created 4 years, 11 months 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from google.appengine.ext import ndb 5 from google.appengine.ext import ndb
6 6
7 from model.base_build_model import BaseBuildModel 7 from model.base_build_model import BaseBuildModel
8 from model import wf_analysis_status 8 from model import wf_analysis_status
9 from model import wf_analysis_result_status 9 from model import wf_analysis_result_status
10 10
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 # When the analysis was updated. 105 # When the analysis was updated.
106 updated_time = ndb.DateTimeProperty(indexed=False, auto_now=True) 106 updated_time = ndb.DateTimeProperty(indexed=False, auto_now=True)
107 # Record which version of analysis. 107 # Record which version of analysis.
108 version = ndb.StringProperty(indexed=False) 108 version = ndb.StringProperty(indexed=False)
109 109
110 # Analysis result for the build failure. 110 # Analysis result for the build failure.
111 not_passed_steps = ndb.StringProperty(indexed=False, repeated=True) 111 not_passed_steps = ndb.StringProperty(indexed=False, repeated=True)
112 result = ndb.JsonProperty(indexed=False, compressed=True) 112 result = ndb.JsonProperty(indexed=False, compressed=True)
113 # Suspected CLs we found. 113 # Suspected CLs we found.
114 suspected_cls = ndb.JsonProperty(indexed=False, compressed=True) 114 suspected_cls = ndb.JsonProperty(indexed=False, compressed=True)
115 # Record the id of tryjob results of each failure. 115 # Record the id of try job results of each failure.
116 failure_result_map = ndb.JsonProperty(indexed=False, compressed=True) 116 failure_result_map = ndb.JsonProperty(indexed=False, compressed=True)
117 117
118 # The actual culprit CLs that are responsible for the failures. 118 # The actual culprit CLs that are responsible for the failures.
119 culprit_cls = ndb.JsonProperty(indexed=False, compressed=True) 119 culprit_cls = ndb.JsonProperty(indexed=False, compressed=True)
120 # Conclusion of analysis result for the build failure: 'Found' or 'Not Found'. 120 # Conclusion of analysis result for the build failure: 'Found' or 'Not Found'.
121 result_status = ndb.IntegerProperty(indexed=True) 121 result_status = ndb.IntegerProperty(indexed=True)
122 # Record the history of triage. 122 # Record the history of triage.
123 triage_history = ndb.JsonProperty(indexed=False, compressed=True) 123 triage_history = ndb.JsonProperty(indexed=False, compressed=True)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698