collect core dumps: '--ulimit core=-1' and WORKDIR=/data everywhere

Change-Id: Ief73b53ed9da6f5af82975bc36d851277d5d3185
changes/29/18929/2
Neels Hofmeyr 3 years ago committed by laforge
parent 2eb5e0e6a0
commit 04c20edefd
  1. 2
      nplab-m3ua-test/jenkins.sh
  2. 2
      nplab-sua-test/jenkins.sh
  3. 2
      osmo-gsm-tester/jenkins.sh
  4. 2
      osmo-stp-latest/Dockerfile
  5. 3
      ttcn3-bsc-test/jenkins-sccplite.sh
  6. 4
      ttcn3-bsc-test/jenkins.sh
  7. 2
      ttcn3-bscnat-test/jenkins.sh
  8. 6
      ttcn3-bts-test/jenkins.sh
  9. 2
      ttcn3-ggsn-test/jenkins.sh
  10. 2
      ttcn3-hlr-test/jenkins.sh
  11. 2
      ttcn3-mgw-test/jenkins.sh
  12. 3
      ttcn3-msc-test/jenkins.sh
  13. 3
      ttcn3-nitb-sysinfo/jenkins.sh
  14. 2
      ttcn3-pcu-test/jenkins-sns.sh
  15. 2
      ttcn3-pcu-test/jenkins.sh
  16. 4
      ttcn3-remsim-test/jenkins.sh
  17. 2
      ttcn3-sccp-test/jenkins.sh
  18. 4
      ttcn3-sgsn-test/jenkins.sh
  19. 2
      ttcn3-sip-test/jenkins.sh
  20. 2
      ttcn3-stp-test/jenkins.sh

@ -21,6 +21,7 @@ network_create 172.18.7.0/24
docker run --rm \
--sysctl net.ipv6.conf.all.disable_ipv6=0 \
--network $NET_NAME --ip 172.18.7.200 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/stp:/data \
--name ${BUILD_TAG}-stp \
-d $REPO_USER/osmo-stp-$IMAGE_SUFFIX
@ -28,6 +29,7 @@ docker run --rm \
# start docker container with tests
docker run --rm \
--network $NET_NAME --ip 172.18.7.2 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/m3ua-tester:/data \
--name ${BUILD_TAG}-m3ua-test \
$REPO_USER/nplab-m3ua-test > $VOL_BASE_DIR/junit-xml-m3ua.log

@ -21,6 +21,7 @@ network_create 172.18.6.0/24
docker run --rm \
--sysctl net.ipv6.conf.all.disable_ipv6=0 \
--network $NET_NAME --ip 172.18.6.200 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/stp:/data \
--name ${BUILD_TAG}-stp \
-d $REPO_USER/osmo-stp-$IMAGE_SUFFIX
@ -28,6 +29,7 @@ docker run --rm \
# start docker container with tests
docker run --rm \
--network $NET_NAME --ip 172.18.6.3 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/sua-tester:/data \
--name ${BUILD_TAG}-sua-test \
$REPO_USER/nplab-sua-test > $VOL_BASE_DIR/junit-xml-sua.log

@ -74,6 +74,7 @@ docker run --rm \
--device /dev/net/tun:/dev/net/tun \
--network $NET_NAME \
--ip 172.18.50.100 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/ogt-slave:/data \
--name ${BUILD_TAG}-ogt-slave -d \
$REPO_USER/osmo-gsm-tester \
@ -89,6 +90,7 @@ docker run --rm \
--device /dev/net/tun:/dev/net/tun \
--network $NET_NAME \
--ip 172.18.50.2 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/ogt-master:/data \
-v "${TRIAL_DIR}:/tmp/trial" \
-e "OSMO_GSM_TESTER_CONF=${OSMO_GSM_TESTER_CONF}" \

@ -21,7 +21,7 @@ RUN apt-get update && \
telnet && \
apt-get clean
WORKDIR /tmp
WORKDIR /data
VOLUME /data
COPY osmo-stp.cfg /data/

@ -21,6 +21,7 @@ network_create 172.18.12.0/24
echo Starting container with BSC
docker run --rm \
--network $NET_NAME --ip 172.18.12.20 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/bsc:/data \
--name ${BUILD_TAG}-bsc -d \
$DOCKER_ARGS \
@ -30,6 +31,7 @@ for i in `seq 0 2`; do
echo Starting container with OML for BTS$i
docker run --rm \
--network $NET_NAME --ip 172.18.12.10$i \
--ulimit core=-1 \
--name ${BUILD_TAG}-bts$i -d \
$DOCKER_ARGS \
$REPO_USER/osmo-bts-$IMAGE_SUFFIX \
@ -39,6 +41,7 @@ done
echo Starting container with BSC testsuite
docker run --rm \
--network $NET_NAME --ip 172.18.12.203 \
--ulimit core=-1 \
-e "TTCN3_PCAP_PATH=/data" \
-v $VOL_BASE_DIR/bsc-tester:/data \
--name ${BUILD_TAG}-ttcn3-bsc-test \

@ -22,6 +22,7 @@ network_create 172.18.2.0/24
echo Starting container with STP
docker run --rm \
--network $NET_NAME --ip 172.18.2.200 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/stp:/data \
--name ${BUILD_TAG}-stp -d \
--ulimit core=-1 \
@ -31,6 +32,7 @@ docker run --rm \
echo Starting container with BSC
docker run --rm \
--network $NET_NAME --ip 172.18.2.20 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/bsc:/data \
--name ${BUILD_TAG}-bsc -d \
$DOCKER_ARGS \
@ -40,6 +42,7 @@ for i in `seq 0 2`; do
echo Starting container with OML for BTS$i
docker run --rm \
--network $NET_NAME --ip 172.18.2.10$i \
--ulimit core=-1 \
--name ${BUILD_TAG}-bts$i -d \
$DOCKER_ARGS \
$REPO_USER/osmo-bts-$IMAGE_SUFFIX \
@ -49,6 +52,7 @@ done
echo Starting container with BSC testsuite
docker run --rm \
--network $NET_NAME --ip 172.18.2.203 \
--ulimit core=-1 \
-e "TTCN3_PCAP_PATH=/data" \
-v $VOL_BASE_DIR/bsc-tester:/data \
--name ${BUILD_TAG}-ttcn3-bsc-test \

@ -19,6 +19,7 @@ network_create 172.18.15.0/24
echo Starting container with BSCNAT
docker run --rm \
--network $NET_NAME --ip 172.18.15.20 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/bscnat:/data \
--name ${BUILD_TAG}-bscnat -d \
$DOCKER_ARGS \
@ -28,6 +29,7 @@ docker run --rm \
echo Starting container with BSCNAT testsuite
docker run --rm \
--network $NET_NAME --ip 172.18.15.203 \
--ulimit core=-1 \
-e "TTCN3_PCAP_PATH=/data" \
-v $VOL_BASE_DIR/bscnat-tester:/data \
--name ${BUILD_TAG}-ttcn3-bscnat-test \

@ -13,6 +13,7 @@ start_bsc() {
echo Starting container with BSC
docker run --rm \
--network $NET_NAME --ip 172.18.9.11 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/bsc:/data \
--name ${BUILD_TAG}-bsc -d \
$DOCKER_ARGS \
@ -30,6 +31,7 @@ start_bts() {
fi
docker run --rm \
--network $NET_NAME --ip 172.18.9.20 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/bts:/data \
-v $VOL_BASE_DIR/unix:/data/unix \
--name ${BUILD_TAG}-bts -d \
@ -42,6 +44,7 @@ start_fake_trx() {
echo Starting container with fake_trx
docker run --rm \
--network $NET_NAME --ip 172.18.9.21 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/fake_trx:/data \
--name ${BUILD_TAG}-fake_trx -d \
$DOCKER_ARGS \
@ -61,6 +64,7 @@ start_trxcon() {
echo Starting container with trxcon
docker run --rm \
--network $NET_NAME --ip 172.18.9.22 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/trxcon:/data \
-v $VOL_BASE_DIR/unix:/data/unix \
--name ${BUILD_TAG}-trxcon -d \
@ -73,6 +77,7 @@ start_virtphy() {
echo Starting container with virtphy
docker run --rm \
--network $NET_NAME --ip 172.18.9.22 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/virtphy:/data \
-v $VOL_BASE_DIR/unix:/data/unix \
--name ${BUILD_TAG}-virtphy -d \
@ -85,6 +90,7 @@ start_testsuite() {
echo Starting container with BTS testsuite
docker run --rm \
--network $NET_NAME --ip 172.18.9.10 \
--ulimit core=-1 \
-e "TTCN3_PCAP_PATH=/data" \
-v $VOL_BASE_DIR/bts-tester:/data \
-v $VOL_BASE_DIR/unix:/data/unix \

@ -20,6 +20,7 @@ docker run --cap-add=NET_ADMIN \
--sysctl net.ipv6.conf.all.disable_ipv6=0 \
--rm \
--network $NET_NAME --ip 172.18.3.201 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/ggsn:/data \
--name ${BUILD_TAG}-ggsn -d \
$DOCKER_ARGS \
@ -30,6 +31,7 @@ docker run --cap-add=NET_ADMIN \
docker run --rm \
--sysctl net.ipv6.conf.all.disable_ipv6=0 \
--network $NET_NAME --ip 172.18.3.202 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/ggsn-tester:/data \
-e "TTCN3_PCAP_PATH=/data" \
--name ${BUILD_TAG}-ggsn-test \

@ -23,6 +23,7 @@ cp osmo-hlr.cfg $VOL_BASE_DIR/hlr/
echo Starting container with HLR
docker run --rm \
--network $NET_NAME --ip 172.18.10.20 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/hlr:/data \
--name ${BUILD_TAG}-hlr -d \
$DOCKER_ARGS \
@ -32,6 +33,7 @@ docker run --rm \
echo Starting container with HLR testsuite
docker run --rm \
--network $NET_NAME --ip 172.18.10.103 \
--ulimit core=-1 \
-e "TTCN3_PCAP_PATH=/data" \
-v $VOL_BASE_DIR/hlr-tester:/data \
--name ${BUILD_TAG}-ttcn3-hlr-test \

@ -17,6 +17,7 @@ network_create 172.18.4.0/24
# start container with mgw in background
docker run --rm \
--network $NET_NAME --ip 172.18.4.180 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/mgw:/data \
--name ${BUILD_TAG}-mgw -d \
$DOCKER_ARGS \
@ -25,6 +26,7 @@ docker run --rm \
# start docker container with testsuite in foreground
docker run --rm \
--network $NET_NAME --ip 172.18.4.181 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/mgw-tester:/data \
-e "TTCN3_PCAP_PATH=/data" \
--name ${BUILD_TAG}-ttcn3-mgw-test \

@ -25,6 +25,7 @@ mkdir $VOL_BASE_DIR/unix
echo Starting container with STP
docker run --rm \
--network $NET_NAME --ip 172.18.1.200 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/stp:/data \
--name ${BUILD_TAG}-stp -d \
$REPO_USER/osmo-stp-$IMAGE_SUFFIX
@ -32,6 +33,7 @@ docker run --rm \
echo Starting container with MSC
docker run --rm \
--network $NET_NAME --ip 172.18.1.10 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/msc:/data \
-v $VOL_BASE_DIR/unix:/data/unix \
--name ${BUILD_TAG}-msc -d \
@ -42,6 +44,7 @@ docker run --rm \
echo Starting container with MSC testsuite
docker run --rm \
--network $NET_NAME --ip 172.18.1.103 \
--ulimit core=-1 \
-e "TTCN3_PCAP_PATH=/data" \
-v $VOL_BASE_DIR/msc-tester:/data \
-v $VOL_BASE_DIR/unix:/data/unix \

@ -9,6 +9,7 @@ docker volume rm nitb-vol
docker run --rm \
--sysctl net.ipv6.conf.all.disable_ipv6=0 \
--network $NET_NAME --ip 172.18.5.20 \
--ulimit core=-1 \
-v nitb-vol:/data \
--name ${BUILD_TAG}-nitb -d \
$REPO_USER/osmo-nitb-master
@ -18,6 +19,7 @@ docker volume rm bts-vol
docker run --rm \
--sysctl net.ipv6.conf.all.disable_ipv6=0 \
--network $NET_NAME --ip 172.18.5.210 \
--ulimit core=-1 \
-v bts-vol:/data \
--name ${BUILD_TAG}-bts -d \
$REPO_USER/osmo-bts-master
@ -28,6 +30,7 @@ docker volume rm ttcn3-nitb-sysinfo-vol
docker run --rm \
--sysctl net.ipv6.conf.all.disable_ipv6=0 \
--network $NET_NAME --ip 172.18.5.230 \
--ulimit core=-1 \
-v ttcn3-nitb-sysinfo-vol:/data \
--name ${BUILD_TAG}-ttcn3-nitb-sysinfo \
$REPO_USER/ttcn3-nitb-sysinfo

@ -21,6 +21,7 @@ mkdir $VOL_BASE_DIR/unix
echo Starting container with PCU
docker run --rm \
--network $NET_NAME --ip 172.18.14.101 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/pcu:/data \
-v $VOL_BASE_DIR/unix:/data/unix \
--name ${BUILD_TAG}-pcu-sns -d \
@ -31,6 +32,7 @@ docker run --rm \
echo Starting container with PCU testsuite
docker run --rm \
--network $NET_NAME --ip 172.18.14.10 \
--ulimit core=-1 \
-e "TTCN3_PCAP_PATH=/data" \
-v $VOL_BASE_DIR/pcu-tester:/data \
-v $VOL_BASE_DIR/unix:/data/unix \

@ -21,6 +21,7 @@ mkdir $VOL_BASE_DIR/unix
echo Starting container with PCU
docker run --rm \
--network $NET_NAME --ip 172.18.13.101 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/pcu:/data \
-v $VOL_BASE_DIR/unix:/data/unix \
--name ${BUILD_TAG}-pcu -d \
@ -31,6 +32,7 @@ docker run --rm \
echo Starting container with PCU testsuite
docker run --rm \
--network $NET_NAME --ip 172.18.13.10 \
--ulimit core=-1 \
-e "TTCN3_PCAP_PATH=/data" \
-v $VOL_BASE_DIR/pcu-tester:/data \
-v $VOL_BASE_DIR/unix:/data/unix \

@ -10,6 +10,7 @@ start_server() {
echo Starting container with osmo-remsim-server
docker run --rm \
--network $NET_NAME --ip 172.18.17.20 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/server:/data \
--name ${BUILD_TAG}-server -d \
$DOCKER_ARGS \
@ -21,6 +22,7 @@ start_bankd() {
echo Starting container with osmo-remsim-bankd
docker run --rm \
--network $NET_NAME --ip 172.18.17.30 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/bankd:/data \
--name ${BUILD_TAG}-bankd -d \
$DOCKER_ARGS \
@ -32,6 +34,7 @@ start_client() {
echo Starting container with osmo-remsim-client
docker run --rm \
--network $NET_NAME --ip 172.18.17.40 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/client:/data \
--name ${BUILD_TAG}-client-d \
$DOCKER_ARGS \
@ -45,6 +48,7 @@ start_testsuite() {
echo Starting container with REMSIM testsuite
docker run --rm \
--network $NET_NAME --ip 172.18.17.10 \
--ulimit core=-1 \
-e "TTCN3_PCAP_PATH=/data" \
-v $VOL_BASE_DIR/remsim-tester:/data \
--name ${BUILD_TAG}-ttcn3-remsim-test \

@ -18,6 +18,7 @@ network_create 172.18.22.0/24
echo Starting container with sccp_demo_user
docker run --rm \
--network $NET_NAME --ip 172.18.22.200 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/sccp:/data \
--name ${BUILD_TAG}-stp -d \
$DOCKER_ARGS \
@ -28,6 +29,7 @@ docker run --rm \
echo Starting container with SCCP testsuite
docker run --rm \
--network $NET_NAME --ip 172.18.22.203 \
--ulimit core=-1 \
-e "TTCN3_PCAP_PATH=/data" \
-v $VOL_BASE_DIR/sccp-tester:/data \
--name ${BUILD_TAG}-ttcn3-sccp-test \

@ -23,6 +23,7 @@ mkdir $VOL_BASE_DIR/unix
echo Starting container with STP
docker run --rm \
--network $NET_NAME --ip 172.18.8.200 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/stp:/data \
--name ${BUILD_TAG}-stp -d \
$DOCKER_ARGS \
@ -31,6 +32,7 @@ docker run --rm \
echo Starting container with SGSN
docker run --rm \
--network $NET_NAME --ip 172.18.8.10 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/sgsn:/data \
--name ${BUILD_TAG}-sgsn -d \
$DOCKER_ARGS \
@ -40,6 +42,7 @@ docker run --rm \
echo Starting container with SGSN testsuite
docker run --rm \
--network $NET_NAME --ip 172.18.8.103 \
--ulimit core=-1 \
-e "TTCN3_PCAP_PATH=/data" \
-v $VOL_BASE_DIR/sgsn-tester:/data \
--name ${BUILD_TAG}-ttcn3-sgsn-test \
@ -49,6 +52,7 @@ docker run --rm \
echo Starting container to merge logs
docker run --rm \
--network $NET_NAME --ip 172.18.8.103 \
--ulimit core=-1 \
-e "TTCN3_PCAP_PATH=/data" \
-v $VOL_BASE_DIR/sgsn-tester:/data \
--name ${BUILD_TAG}-ttcn3-sgsn-test-logmerge \

@ -21,6 +21,7 @@ mkdir $VOL_BASE_DIR/unix
echo Starting container with osmo-sip-connector
docker run --rm \
--network $NET_NAME --ip 172.18.11.10 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/sip:/data \
-v $VOL_BASE_DIR/unix:/data/unix \
--name ${BUILD_TAG}-sip-connector -d \
@ -31,6 +32,7 @@ docker run --rm \
echo Starting container with SIP testsuite
docker run --rm \
--network $NET_NAME --ip 172.18.11.103 \
--ulimit core=-1 \
-e "TTCN3_PCAP_PATH=/data" \
-v $VOL_BASE_DIR/sip-tester:/data \
-v $VOL_BASE_DIR/unix:/data/unix \

@ -17,6 +17,7 @@ network_create 172.18.19.0/24
echo Starting container with STP
docker run --rm \
--network $NET_NAME --ip 172.18.19.200 \
--ulimit core=-1 \
-v $VOL_BASE_DIR/stp:/data \
--name ${BUILD_TAG}-stp -d \
$DOCKER_ARGS \
@ -25,6 +26,7 @@ docker run --rm \
echo Starting container with STP testsuite
docker run --rm \
--network $NET_NAME --ip 172.18.19.203 \
--ulimit core=-1 \
-e "TTCN3_PCAP_PATH=/data" \
-v $VOL_BASE_DIR/stp-tester:/data \
--name ${BUILD_TAG}-ttcn3-stp-test \

Loading…
Cancel
Save