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

Unified Diff: appengine/findit/waterfall/monitor_try_job_pipeline.py

Issue 2259513003: [Findit] Display last build bucket response to try job dashboard (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Rebase Created 4 years, 4 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
Index: appengine/findit/waterfall/monitor_try_job_pipeline.py
diff --git a/appengine/findit/waterfall/monitor_try_job_pipeline.py b/appengine/findit/waterfall/monitor_try_job_pipeline.py
index 2eac6c78f6bec49d42ad8c61ecc527d5f4dbc52c..0584130675192e97cdfaeab86d73b3af3545378f 100644
--- a/appengine/findit/waterfall/monitor_try_job_pipeline.py
+++ b/appengine/findit/waterfall/monitor_try_job_pipeline.py
@@ -62,10 +62,11 @@ def _GetError(buildbucket_response, buildbucket_error, timed_out):
# Check buildbucket_response.
buildbucket_failure_reason = buildbucket_response.get('failure_reason')
if buildbucket_failure_reason == 'BUILD_FAILURE':
- # Can occurr if an exception is thrown or the disk is full.
+ # Generic buildbucket-reported error which can occurr if an exception is
+ # thrown, disk is full, compile fails during a test try job, etc.
return (
{
- 'message': 'Compile failed unexpectedly.',
+ 'message': 'Buildbucket reported a general error.',
'reason': MonitorTryJobPipeline.UNKNOWN
},
try_job_error.INFRA_FAILURE
« no previous file with comments | « appengine/findit/templates/try_job_dashboard.html ('k') | appengine/findit/waterfall/test/monitor_try_job_pipeline_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698