diff options
author | Don Garrett <dgarrett@google.com> | 2014-05-14 15:16:35 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-05-17 22:14:41 +0000 |
commit | e7ab694053365437746ee3a76f0e69b6e45d22e1 (patch) | |
tree | 793f8e1c00ec3ec0f692bfad8841e4d2c2d52cec /buildbot | |
parent | c17aa8e0f0eaa83aa7155d01cb95c3d6a0910e79 (diff) | |
download | chromite-e7ab694053365437746ee3a76f0e69b6e45d22e1.tar.gz |
cbuildbot: Make the PaygenStage a RetryStage.
The PaygenStage continues to have occasional flake around loopback device
mounting and cleanup. Retry the entire stage to work around this.
Also increase the timeout used to wait for PUSHIMAGE. I reverting the first
version of this CL thinking it was causing issues, when the real problem
was the timeout being too short.
BUG=chromium:369566
TEST=Unitests + sanity trybot
Change-Id: Id1e247facea10e355c2d742c074628fe4dd719e1
Reviewed-on: https://chromium-review.googlesource.com/200199
Tested-by: Don Garrett <dgarrett@chromium.org>
Reviewed-by: Yu-Ju Hong <yjhong@chromium.org>
Commit-Queue: Don Garrett <dgarrett@chromium.org>
Diffstat (limited to 'buildbot')
-rw-r--r-- | buildbot/cbuildbot_stages.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/buildbot/cbuildbot_stages.py b/buildbot/cbuildbot_stages.py index 18d701746..0dcc1688c 100644 --- a/buildbot/cbuildbot_stages.py +++ b/buildbot/cbuildbot_stages.py @@ -76,10 +76,10 @@ class PaygenStage(artifact_stages.ArchivingStage): # Poll for new results every 30 seconds. SIGNING_PERIOD = 30 - # Timeout for PushImage to finish uploading images. 1 hour in seconds. - PUSHIMAGE_TIMEOUT = 60 * 60 + # Timeout for PushImage to finish uploading images. 2 hours in seconds. + PUSHIMAGE_TIMEOUT = 2 * 60 * 60 - # Abort, if the signing takes longer than 2 hours (in seconds) + # Timeout for the signing process. 2 hours in seconds. SIGNING_TIMEOUT = 2 * 60 * 60 FINISHED = 'finished' |