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

Unified Diff: appengine/findit/common/waterfall/try_job_error.py

Issue 1921493002: [Findit] Adding improved error detection to MonitorTryJobPipeline (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Addressing comments Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | appengine/findit/model/wf_try_job_data.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/common/waterfall/try_job_error.py
diff --git a/appengine/findit/common/waterfall/try_job_error.py b/appengine/findit/common/waterfall/try_job_error.py
new file mode 100644
index 0000000000000000000000000000000000000000..1ba8b19dd5a13c976c65f8fdc263e1e608863431
--- /dev/null
+++ b/appengine/findit/common/waterfall/try_job_error.py
@@ -0,0 +1,18 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""Represents possible error codes for what can go wrong during try jobs."""
+
+# An error was detected but the root cause unknown. Cases resulting in this
+# should be investigated individually and common root causes added to this
+# module as dedicated error codes.
+UNKNOWN = 10
+# The try job did not finish within the required time and was abandoned.
+TIMEOUT = 20
+# An error was returned directly when making a request buildbucket.
+BUILDBUCKET_REQUEST_ERROR = 30
+# Buildbucket ran the try job and reported an error.
+CI_REPORTED_ERROR = 40
+# An infra failure occurred according to the recipe report.
+INFRA_FAILURE = 50
« no previous file with comments | « no previous file | appengine/findit/model/wf_try_job_data.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698