osmith has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/42812?usp=email )

Change subject: jobs/octsim_osmo-ccid-firmware: add timeout arg
......................................................................

jobs/octsim_osmo-ccid-firmware: add timeout arg

For testing the hook scripts (see next patch), it is useful to have a
shorter timeout for some test runs. Make it configurable.

Related: SYS#8011
Change-Id: I3bac142a9e2e5f144ad52ea7c36c05ffbad6f5d1
---
M jobs/octsim_osmo-ccid-firmware.yml
1 file changed, 5 insertions(+), 1 deletion(-)

Approvals:
  jolly: Looks good to me, but someone else must approve
  Jenkins Builder: Verified
  laforge: Looks good to me, approved




diff --git a/jobs/octsim_osmo-ccid-firmware.yml 
b/jobs/octsim_osmo-ccid-firmware.yml
index dc6ea35..e0617e7 100644
--- a/jobs/octsim_osmo-ccid-firmware.yml
+++ b/jobs/octsim_osmo-ccid-firmware.yml
@@ -16,12 +16,16 @@
           name: EMAIL_NOTIFICATIONS
           description: For failed build notifications, set to empty to disable
           default: '[email protected] 
[email protected] [email protected]'
+      - string:
+          name: TIMEOUT
+          description: Abort the tests after this time in case they hang
+          default: '30m'
     builders:
     - shell: |
             export PYTHONUNBUFFERED=1
             cd ./tests
             mkdir -p sysmo-octsim/dl
-            timeout 30m ./run-tests
+            timeout $TIMEOUT ./run-tests
     scm:
       - git:
           url: https://gerrit.osmocom.org/osmo-ccid-firmware

--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/42812?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I3bac142a9e2e5f144ad52ea7c36c05ffbad6f5d1
Gerrit-Change-Number: 42812
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: jolly <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>

Reply via email to