summaryrefslogtreecommitdiff
path: root/cbuildbot/stages/completion_stages.py
diff options
context:
space:
mode:
authorYu-Ju Hong <yjhong@chromium.org>2014-08-27 12:14:00 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-08-28 04:23:40 +0000
commit9e0b46f3f2d1ca9b8246c6bdbdf58f67674c67f1 (patch)
tree0fff9a4703fa085cfb8f4b76b8f0f3b3579e1bee /cbuildbot/stages/completion_stages.py
parent6ca5b5402a420be9bbab156c0fa56cbb5ecd354d (diff)
downloadchromite-9e0b46f3f2d1ca9b8246c6bdbdf58f67674c67f1.tar.gz
Increase canary timeout by 10 minutes
BUG=None TEST=None Change-Id: I973c2c554a27ec618343c414e65b158f41748a68 Reviewed-on: https://chromium-review.googlesource.com/214463 Reviewed-by: Yu-Ju Hong <yjhong@chromium.org> Tested-by: Yu-Ju Hong <yjhong@chromium.org> Commit-Queue: Yu-Ju Hong <yjhong@chromium.org>
Diffstat (limited to 'cbuildbot/stages/completion_stages.py')
-rw-r--r--cbuildbot/stages/completion_stages.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/cbuildbot/stages/completion_stages.py b/cbuildbot/stages/completion_stages.py
index f5ae2dd93..be3c64612 100644
--- a/cbuildbot/stages/completion_stages.py
+++ b/cbuildbot/stages/completion_stages.py
@@ -133,10 +133,6 @@ class MasterSlaveSyncCompletionStage(ManifestVersionedSyncCompletionStage):
# Max wait time for results from slaves.
SLAVE_STATUS_TIMEOUT_SECONDS = 4 * 60 * 60
- # Max wait time for results for Canary type builders. Canaries are
- # scheduled to run every 8 hours, so this timeout must be smaller
- # than that.
- CANARY_SLAVE_STATUS_TIMEOUT_SECONDS = 460 * 60
# Max wait time for results for PFQ type builders. Note that this
# does not include Chrome PFQ or CQ.
PFQ_SLAVE_STATUS_TIMEOUT_SECONDS = 20 * 60
@@ -178,8 +174,6 @@ class MasterSlaveSyncCompletionStage(ManifestVersionedSyncCompletionStage):
timeout = 3 * 60
elif self._run.config.build_type == constants.PFQ_TYPE:
timeout = self.PFQ_SLAVE_STATUS_TIMEOUT_SECONDS
- elif cbuildbot_config.IsCanaryType(self._run.config.build_type):
- timeout = self.CANARY_SLAVE_STATUS_TIMEOUT_SECONDS
else:
timeout = self.SLAVE_STATUS_TIMEOUT_SECONDS
@@ -377,6 +371,10 @@ class MasterSlaveSyncCompletionStage(ManifestVersionedSyncCompletionStage):
class CanaryCompletionStage(MasterSlaveSyncCompletionStage):
"""Collect build slave statuses and handle the failures."""
+ # This is used in MasterSlaveSyncCompletionStage._FetchSlaveStatuses()
+ # as the max wait time for results from slaves. Canaries are scheduled
+ # to run every 8 hours, so this timeout must be smaller than that.
+ SLAVE_STATUS_TIMEOUT_SECONDS = (7 * 60 + 50) * 60
def HandleFailure(self, failing, inflight, no_stat):
"""Handle a build failure or timeout in the Canary builders.