aboutsummaryrefslogtreecommitdiffstats
path: root/ttcn3-bsc-test/jenkins.sh
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-06-20 18:42:25 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2020-06-20 18:42:57 +0200
commitb0b594e77c6290a123565c2d31adf647b2a27271 (patch)
tree77674d010123366ef6f4a34967547a2833468042 /ttcn3-bsc-test/jenkins.sh
parent329612ea9cb77aaffb60034b74403a7bf947bde0 (diff)
attempt to capture core dump from osmo-stp during ttcn3-bsc-test run
When launching osmo-stp-master from ttcn3-bsc-test, set ulimit=-1 to allow core files. In osmo-stp-master set WORKDIR to /data to hopefully get the core file ending up there without the need to set a /proc/sys/kernel/core_pattern globally in the jenkins slave. Change-Id: Idd67fcb3f564b9cff9b4596bf639ed1bd1b58daf
Diffstat (limited to 'ttcn3-bsc-test/jenkins.sh')
-rwxr-xr-xttcn3-bsc-test/jenkins.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ttcn3-bsc-test/jenkins.sh b/ttcn3-bsc-test/jenkins.sh
index 7db65d2..0f6f2ce 100755
--- a/ttcn3-bsc-test/jenkins.sh
+++ b/ttcn3-bsc-test/jenkins.sh
@@ -24,6 +24,7 @@ docker run --rm \
--network $NET_NAME --ip 172.18.2.200 \
-v $VOL_BASE_DIR/stp:/data \
--name ${BUILD_TAG}-stp -d \
+ --ulimit core=-1 \
$DOCKER_ARGS \
$REPO_USER/osmo-stp-$IMAGE_SUFFIX