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: 'jenkins-notifications@lists.osmocom.org jsteiger@sysmocom.de acouzens@sysmocom.de' + - 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