Increase hard and io timeouts for CT builds.

BUG=skia:5641
TBR=borenet
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2249523004

Review-Url: https://codereview.chromium.org/2249523004
This commit is contained in:
rmistry 2016-08-15 09:54:56 -07:00 committed by Commit bot
parent bcae9d3d15
commit ea246cd5fb
2 changed files with 10 additions and 3 deletions

View File

@ -333,9 +333,9 @@
"--expiration", "--expiration",
"72000", "72000",
"--io-timeout", "--io-timeout",
"2400", "3600",
"--hard-timeout", "--hard-timeout",
"14400", "86400",
"--dimension", "--dimension",
"os", "os",
"Ubuntu", "Ubuntu",

View File

@ -297,6 +297,7 @@ def recreate_skps_swarm(api, builder_cfg, got_revision, infrabots_dir,
def ct_skps_swarm(api, builder_cfg, got_revision, infrabots_dir, def ct_skps_swarm(api, builder_cfg, got_revision, infrabots_dir,
extra_isolate_hashes): extra_isolate_hashes):
expiration, hard_timeout, io_timeout = get_timeouts(builder_cfg)
task = trigger_task( task = trigger_task(
api, api,
'ct_skps', 'ct_skps',
@ -309,7 +310,10 @@ def ct_skps_swarm(api, builder_cfg, got_revision, infrabots_dir,
infrabots_dir, infrabots_dir,
idempotent=False, idempotent=False,
store_output=False, store_output=False,
extra_isolate_hashes=extra_isolate_hashes) extra_isolate_hashes=extra_isolate_hashes,
expiration=expiration,
hard_timeout=hard_timeout,
io_timeout=io_timeout)
return api.swarming.collect_swarming_task(task) return api.swarming.collect_swarming_task(task)
@ -395,6 +399,9 @@ def get_timeouts(builder_cfg):
expiration = 2*24*60*60 expiration = 2*24*60*60
hard_timeout = 9*60*60 hard_timeout = 9*60*60
io_timeout = 60*60 io_timeout = 60*60
if builder_cfg.get('extra_config', '').startswith('CT_'):
hard_timeout = 24*60*60
io_timeout = 60*60
return expiration, hard_timeout, io_timeout return expiration, hard_timeout, io_timeout