Change in osmo-ci[master]: Add timeout wrapper to regular gerrit verification jobs

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Thu Feb 7 12:59:03 UTC 2019


Max has uploaded this change for review. ( https://gerrit.osmocom.org/12857


Change subject: Add timeout wrapper to regular gerrit verification jobs
......................................................................

Add timeout wrapper to regular gerrit verification jobs

Use 'timeout' utility (from GNU coreutils) to wrap jenkins.sh call to
ensure that verification job terminates within 15 minutes. Docker-based
are left untouched.

This change is prompted by recent issue with libosmo-netif test which
was hanging forever preventing other tests from being executed.

Change-Id: I9d0eb6b9eddf3e17120e74d7570d42291c0750ae
---
M jobs/gerrit-verifications.yml
1 file changed, 7 insertions(+), 7 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/57/12857/1

diff --git a/jobs/gerrit-verifications.yml b/jobs/gerrit-verifications.yml
index a2f68f5..e89c9f7 100644
--- a/jobs/gerrit-verifications.yml
+++ b/jobs/gerrit-verifications.yml
@@ -20,7 +20,7 @@
     combination_filter: ''
     sequential: false
     # most common build invocation
-    cmd: ./contrib/jenkins.sh
+    cmd: timeout 15m ./contrib/jenkins.sh
     repos_url: 'ssh://jenkins@gerrit.osmocom.org:29418/{repos}'
     gerrit_project: '{repos}'
 
@@ -47,7 +47,7 @@
       - libosmo-abis
       - libosmo-netif
       - libosmo-sccp:
-          cmd: WITH_MANUALS=1 ./contrib/jenkins.sh
+          cmd: WITH_MANUALS=1 timeout 15m ./contrib/jenkins.sh
 
       - libosmocore:
           a1_name: arch
@@ -91,7 +91,7 @@
       - openggsn:
           a1_name: GTP
           a1: !!python/tuple [--enable-gtp-linux,--disable-gtp-linux]
-          cmd: ./contrib/jenkins.sh
+          cmd: timeout 15m ./contrib/jenkins.sh
 
       - osmo-bsc:
           concurrent: true
@@ -136,12 +136,12 @@
           combination_filter: >
             (GTP == "--enable-gtp-linux" && WITH_MANUALS == "0") ||
             (GTP == "--disable-gtp-linux" && WITH_MANUALS == "1")
-          cmd: ./contrib/jenkins.sh
+          cmd: timeout 15m ./contrib/jenkins.sh
 
       - osmo-gsm-manuals
 
       - osmo-hlr:
-          cmd: WITH_MANUALS=1 ./contrib/jenkins.sh
+          cmd: WITH_MANUALS=1 timeout 15m ./contrib/jenkins.sh
 
       - osmo-iuh
 
@@ -235,7 +235,7 @@
               osmocom:amd64 /build/contrib/jenkins.sh
 
       - osmo-sip-connector:
-          cmd: WITH_MANUALS=1 ./contrib/jenkins.sh
+          cmd: WITH_MANUALS=1 timeout 15m ./contrib/jenkins.sh
 
       - osmo-trx:
           a1_name: INSTR
@@ -249,7 +249,7 @@
             (INSTR == "--with-sse" && WITH_MANUALS == "1")
 
       - osmocom-bb:
-          cmd: WITH_MANUALS=1 ./contrib/jenkins.sh
+          cmd: WITH_MANUALS=1 timeout 15m ./contrib/jenkins.sh
       - osmo-tetra
       - osmo-sysmon
       - osmo-remsim

-- 
To view, visit https://gerrit.osmocom.org/12857
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9d0eb6b9eddf3e17120e74d7570d42291c0750ae
Gerrit-Change-Number: 12857
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190207/ff689578/attachment.htm>


More information about the gerrit-log mailing list