From ea246cd5fb43e2b4aaeccc76d05a8a89735671c2 Mon Sep 17 00:00:00 2001 From: rmistry Date: Mon, 15 Aug 2016 09:54:56 -0700 Subject: [PATCH] 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 --- ...buntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs.json | 4 ++-- infra/bots/recipes/swarm_trigger.py | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) 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 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 -- 2.7.4