Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(588)

Unified Diff: infra/bots/recipes/swarm_trigger.py

Issue 2249523004: Increase hard and io timeouts for CT builds (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Initial upload Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra/bots/recipes/swarm_trigger.py
diff --git a/infra/bots/recipes/swarm_trigger.py b/infra/bots/recipes/swarm_trigger.py
index c4f1a54937281a15a60908d648050859f4ca4cd9..b16405dd064413f679d4c39e206e6f7215ce9318 100644
--- a/infra/bots/recipes/swarm_trigger.py
+++ b/infra/bots/recipes/swarm_trigger.py
@@ -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,
extra_isolate_hashes):
+ expiration, hard_timeout, io_timeout = get_timeouts(builder_cfg)
task = trigger_task(
api,
'ct_skps',
@@ -309,7 +310,10 @@ def ct_skps_swarm(api, builder_cfg, got_revision, infrabots_dir,
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 @@ def get_timeouts(builder_cfg):
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
« no previous file with comments | « no previous file | infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698