| 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
|
|
|