osmith has uploaded this change for review. (
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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/12/42812/1
diff --git a/jobs/octsim_osmo-ccid-firmware.yml
b/jobs/octsim_osmo-ccid-firmware.yml
index 79b403e..2adbed7 100644
--- a/jobs/octsim_osmo-ccid-firmware.yml
+++ b/jobs/octsim_osmo-ccid-firmware.yml
@@ -15,12 +15,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: newchange
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I3bac142a9e2e5f144ad52ea7c36c05ffbad6f5d1
Gerrit-Change-Number: 42812
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>