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
diff --git a/infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs.json b/infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs.json
index 11352bc..7fc60bf 100644
--- a/infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs.json
+++ b/infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs.json
@@ -333,9 +333,9 @@
"--expiration",
"72000",
"--io-timeout",
- "2400",
+ "3600",
"--hard-timeout",
- "14400",
+ "86400",
"--dimension",
"os",
"Ubuntu",
diff --git a/infra/bots/recipes/swarm_trigger.py b/infra/bots/recipes/swarm_trigger.py
index c4f1a54..b16405d 100644
--- a/infra/bots/recipes/swarm_trigger.py
+++ b/infra/bots/recipes/swarm_trigger.py
@@ -297,6 +297,7 @@
def ct_skps_swarm(api, builder_cfg, got_revision, infrabots_dir,
extra_isolate_hashes):
+ expiration, hard_timeout, io_timeout = get_timeouts(builder_cfg)
task = trigger_task(
api,
'ct_skps',
@@ -309,7 +310,10 @@
infrabots_dir,
idempotent=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)
@@ -395,6 +399,9 @@
expiration = 2*24*60*60
hard_timeout = 9*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