From fc94a46a65330a4b683a48b56135d18459f8058c Mon Sep 17 00:00:00 2001 From: Miroslav Miklus Date: Mon, 17 Oct 2016 17:39:22 +0200 Subject: [PATCH] No-activity timeout for csit-perf jobs Absolute timeout is not an option for csit perf jobs, but we can declare perf job as dead if there is no console output for some time. Change-Id: If075c2be8a139c859f80bc55e64e9dac291ac9f8 Signed-off-by: Miroslav Miklus --- jjb/csit/csit.yaml | 8 +++++++- jjb/global-macros.yaml | 8 ++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/jjb/csit/csit.yaml b/jjb/csit/csit.yaml index c9a0d58e4..f8d673642 100644 --- a/jjb/csit/csit.yaml +++ b/jjb/csit/csit.yaml @@ -114,7 +114,10 @@ users: - '{ssh-credentials}' - fdio-infra-wrappers: - build-timeout: 1400 + build-timeout: 1440 +##change build timeout behaviour to no-activity, 30 minutes + - build-no-activity-timeout: + build-timeout: 30 triggers: - gerrit-trigger-manually-triggered: @@ -409,6 +412,9 @@ - '{ssh-credentials}' - fdio-infra-wrappers: build-timeout: '1440' +##change build timeout behaviour to no-activity, 30 minutes + - build-no-activity-timeout: + build-timeout: '1440' triggers: - timed: '0 20 * * *' diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml index 1745da037..48906269e 100644 --- a/jjb/global-macros.yaml +++ b/jjb/global-macros.yaml @@ -102,6 +102,14 @@ timeout: 360 fail: true +- wrapper: + name: build-no-activity-timeout + wrappers: + - timeout: + type: no-activity + timeout: '{build-timeout}' + fail: true + - wrapper: # This wrapper is required for all jobs as it configures the wrappers # needed by the fd.io infra. -- 2.16.6