Index: appengine/cr-buildbucket/swarming/swarming.py |
diff --git a/appengine/cr-buildbucket/swarming/swarming.py b/appengine/cr-buildbucket/swarming/swarming.py |
index d4970d747b035ba0e098871fb75e5a8666541f06..35033a46abcd6439ec9d3ab14ec13815a467bd69 100644 |
--- a/appengine/cr-buildbucket/swarming/swarming.py |
+++ b/appengine/cr-buildbucket/swarming/swarming.py |
@@ -424,8 +424,8 @@ def _update_build(build, result): |
build.cancelation_reason = model.CancelationReason.CANCELED_EXPLICITLY |
elif state == 'EXPIRED': |
# Task did not start. |
- build.result = model.BuildResult.CANCELED |
- build.cancelation_reason = model.CancelationReason.TIMEOUT |
+ build.result = model.BuildResult.FAILURE |
+ build.failure_reason = model.FailureReason.INFRA_FAILURE |
elif state == 'TIMED_OUT': |
# Task started, but timed out. |
build.result = model.BuildResult.FAILURE |