Change in docker-playground[master]: attempt to capture core dump from osmo-stp during ttcn3-bsc-test run

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/.

neels gerrit-no-reply at lists.osmocom.org
Sat Jun 20 16:45:15 UTC 2020


neels has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/18928 )

Change subject: attempt to capture core dump from osmo-stp during ttcn3-bsc-test run
......................................................................

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
---
M osmo-stp-master/Dockerfile
M ttcn3-bsc-test/jenkins.sh
2 files changed, 2 insertions(+), 1 deletion(-)

Approvals:
  neels: Looks good to me, approved; Verified



diff --git a/osmo-stp-master/Dockerfile b/osmo-stp-master/Dockerfile
index a91313f..6396b32 100644
--- a/osmo-stp-master/Dockerfile
+++ b/osmo-stp-master/Dockerfile
@@ -38,7 +38,7 @@
 		;; \
 	esac
 
-WORKDIR	/tmp
+WORKDIR	/data
 
 ARG	OSMO_STP_BRANCH="master"
 
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 @@
 		--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
 

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/18928
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: Idd67fcb3f564b9cff9b4596bf639ed1bd1b58daf
Gerrit-Change-Number: 18928
Gerrit-PatchSet: 2
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200620/0dc67807/attachment.htm>


More information about the gerrit-log mailing list