Change in docker-playground[master]: Update ttcn3-*/jenkins.sh to log stdout+stderr of process to log file

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

pespin gerrit-no-reply at lists.osmocom.org
Wed Nov 13 16:09:20 UTC 2019


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/16064 )


Change subject: Update ttcn3-*/jenkins.sh to log stdout+stderr of process to log file
......................................................................

Update ttcn3-*/jenkins.sh to log stdout+stderr of process to log file

This way we get VTY parsing failures as well as backtraces upon process
crash.

Related: OS#4212
Change-Id: I3d9f6de638dbc07391a32c6a0cbd469dc5adf2b5
---
M ttcn3-bsc-test/jenkins-sccplite.sh
M ttcn3-bsc-test/jenkins.sh
M ttcn3-bsc-test/osmo-bsc.cfg
M ttcn3-bsc-test/osmo-stp.cfg
M ttcn3-bsc-test/sccplite/osmo-bsc.cfg
M ttcn3-bscnat-test/jenkins.sh
M ttcn3-bscnat-test/osmo-bsc-nat.cfg
M ttcn3-bts-test/jenkins.sh
M ttcn3-bts-test/oml/osmo-bts.cfg
M ttcn3-bts-test/osmo-bsc.cfg
M ttcn3-bts-test/osmo-bts.cfg
M ttcn3-bts-test/virtphy/osmo-bts.cfg
M ttcn3-ggsn-test/osmo-ggsn.cfg
M ttcn3-hlr-test/jenkins.sh
M ttcn3-hlr-test/osmo-hlr.cfg
M ttcn3-mgw-test/osmo-mgw.cfg
M ttcn3-msc-test/jenkins.sh
M ttcn3-msc-test/osmo-msc.cfg
M ttcn3-msc-test/osmo-stp.cfg
M ttcn3-pcu-test/jenkins-sns.sh
M ttcn3-pcu-test/jenkins.sh
M ttcn3-pcu-test/osmo-pcu.cfg
M ttcn3-pcu-test/sns/osmo-pcu.cfg
M ttcn3-remsim-test/jenkins.sh
M ttcn3-sgsn-test/jenkins.sh
M ttcn3-sgsn-test/osmo-sgsn.cfg
M ttcn3-sgsn-test/osmo-stp.cfg
M ttcn3-sip-test/jenkins.sh
M ttcn3-sip-test/osmo-sip-connector.cfg
M ttcn3-stp-test/osmo-stp.cfg
30 files changed, 50 insertions(+), 138 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/64/16064/1

diff --git a/ttcn3-bsc-test/jenkins-sccplite.sh b/ttcn3-bsc-test/jenkins-sccplite.sh
index 0a2ff8b..ae62dc5 100755
--- a/ttcn3-bsc-test/jenkins-sccplite.sh
+++ b/ttcn3-bsc-test/jenkins-sccplite.sh
@@ -33,9 +33,7 @@
 			--network $NET_NAME --ip 172.18.12.10$i \
 			--name ${BUILD_TAG}-bts$i -d \
 			$REPO_USER/osmo-bts-$IMAGE_SUFFIX \
-			/usr/local/bin/respawn.sh \
-			osmo-bts-omldummy \
-			172.18.12.20 $((i + 1234)) 1
+			/bin/sh -c "/usr/local/bin/respawn.sh osmo-bts-omldummy 172.18.2.20 $((i + 1234)) 1 >>/data/osmo-bts-omldummy-${i}.log 2>&1"
 done
 
 echo Starting container with BSC testsuite
diff --git a/ttcn3-bsc-test/jenkins.sh b/ttcn3-bsc-test/jenkins.sh
index af5c965..3455dc1 100755
--- a/ttcn3-bsc-test/jenkins.sh
+++ b/ttcn3-bsc-test/jenkins.sh
@@ -41,8 +41,7 @@
 			--network $NET_NAME --ip 172.18.2.10$i \
 			--name ${BUILD_TAG}-bts$i -d \
 			$REPO_USER/osmo-bts-$IMAGE_SUFFIX \
-			/usr/local/bin/respawn.sh \
-			osmo-bts-omldummy 172.18.2.20 $((i + 1234)) 1
+			/bin/sh -c "/usr/local/bin/respawn.sh osmo-bts-omldummy 172.18.2.20 $((i + 1234)) 1 >>/data/osmo-bts-omldummy-${i}.log 2>&1"
 done
 
 echo Starting container with BSC testsuite
diff --git a/ttcn3-bsc-test/osmo-bsc.cfg b/ttcn3-bsc-test/osmo-bsc.cfg
index beee66b..4f8fdc2 100644
--- a/ttcn3-bsc-test/osmo-bsc.cfg
+++ b/ttcn3-bsc-test/osmo-bsc.cfg
@@ -7,9 +7,9 @@
  logging level set-all debug
  logging filter all 1
 !
-log file /data/osmo-bsc.log
+log stderr
  logging filter all 1
- logging color 0
+ logging color 1
  logging print category 1
  logging timestamp 1
  logging print extended-timestamp 1
diff --git a/ttcn3-bsc-test/osmo-stp.cfg b/ttcn3-bsc-test/osmo-stp.cfg
index cc734d4..9102114 100644
--- a/ttcn3-bsc-test/osmo-stp.cfg
+++ b/ttcn3-bsc-test/osmo-stp.cfg
@@ -6,9 +6,9 @@
  logging level set-all debug
  logging filter all 1
 !
-log file /data/osmo-stp.log
+log stderr
  logging filter all 1
- logging color 0
+ logging color 1
  logging print category 1
  logging timestamp 1
  logging print extended-timestamp 1
diff --git a/ttcn3-bsc-test/sccplite/osmo-bsc.cfg b/ttcn3-bsc-test/sccplite/osmo-bsc.cfg
index 326a5c0..3519d3e 100644
--- a/ttcn3-bsc-test/sccplite/osmo-bsc.cfg
+++ b/ttcn3-bsc-test/sccplite/osmo-bsc.cfg
@@ -7,7 +7,7 @@
  logging level set-all debug
  logging filter all 1
 !
-log file /data/osmo-bsc.log
+log stderr
  logging filter all 1
  logging color 1
  logging print category 1
diff --git a/ttcn3-bscnat-test/jenkins.sh b/ttcn3-bscnat-test/jenkins.sh
index 61ea89b..d52e79a 100755
--- a/ttcn3-bscnat-test/jenkins.sh
+++ b/ttcn3-bscnat-test/jenkins.sh
@@ -23,7 +23,8 @@
 		--network $NET_NAME --ip 172.18.15.20 \
 		-v $VOL_BASE_DIR/bscnat:/data \
 		--name ${BUILD_TAG}-bscnat -d \
-		$REPO_USER/osmo-nitb-$IMAGE_SUFFIX osmo-bsc_nat -c /data/osmo-bsc-nat.cfg
+		$REPO_USER/osmo-nitb-$IMAGE_SUFFIX \
+		/bin/sh -c "osmo-bsc_nat -c /data/osmo-bsc-nat.cfg >/data/osmo-bsc-nat.log 2>&1"
 
 echo Starting container with BSCNAT testsuite
 docker run	--rm \
diff --git a/ttcn3-bscnat-test/osmo-bsc-nat.cfg b/ttcn3-bscnat-test/osmo-bsc-nat.cfg
index b873b21..c7518b7 100644
--- a/ttcn3-bscnat-test/osmo-bsc-nat.cfg
+++ b/ttcn3-bscnat-test/osmo-bsc-nat.cfg
@@ -6,9 +6,9 @@
  logging level set-all debug
  logging filter all 1
 !
-log file /data/osmo-bsc_nat.log
+log stderr
   logging filter all 1
-  logging color 0
+  logging color 1
   logging print category 1
   logging timestamp 1
   logging print extended-timestamp 1
diff --git a/ttcn3-bts-test/jenkins.sh b/ttcn3-bts-test/jenkins.sh
index 2d49e0b..194720b 100755
--- a/ttcn3-bts-test/jenkins.sh
+++ b/ttcn3-bts-test/jenkins.sh
@@ -18,7 +18,7 @@
 			-v $VOL_BASE_DIR/bsc:/data \
 			--name ${BUILD_TAG}-bsc -d \
 			$REPO_USER/osmo-bsc-$IMAGE_SUFFIX \
-			osmo-bsc -c /data/osmo-bsc.cfg
+			/bin/sh -c "osmo-bsc -c /data/osmo-bsc.cfg >>/data/osmo-bsc.log 2>&1"
 }
 
 start_bts() {
@@ -35,7 +35,7 @@
 			-v $VOL_BASE_DIR/unix:/data/unix \
 			--name ${BUILD_TAG}-bts -d \
 			$REPO_USER/osmo-bts-$IMAGE_SUFFIX \
-			/usr/local/bin/respawn.sh osmo-bts-$variant -c /data/osmo-bts.cfg -i 172.18.9.10
+			/bin/sh -c "/usr/local/bin/respawn.sh osmo-bts-$variant -c /data/osmo-bts.cfg -i 172.18.9.10 >>/data/osmo-bts.log 2>&1"
 }
 
 start_fake_trx() {
@@ -59,7 +59,7 @@
 			-v $VOL_BASE_DIR/unix:/data/unix \
 			--name ${BUILD_TAG}-trxcon -d \
 			$REPO_USER/osmocom-bb-host-master \
-			trxcon -i 172.18.9.21 -s /data/unix/osmocom_l2
+			/bin/sh -c "trxcon -i 172.18.9.21 -s /data/unix/osmocom_l2 >>/data/trxcon.log 2>&1"
 }
 
 start_virtphy() {
@@ -70,6 +70,7 @@
 			--name ${BUILD_TAG}-virtphy -d \
 			$REPO_USER/osmocom-bb-host-master \
 			virtphy -s /data/unix/osmocom_l2
+			/bin/sh -c "virtphy -s /data/unix/osmocom_l2 >>/data/virtphy.log 2>&1"
 }
 
 start_testsuite() {
diff --git a/ttcn3-bts-test/oml/osmo-bts.cfg b/ttcn3-bts-test/oml/osmo-bts.cfg
index 2ed761a..a6e3a23 100644
--- a/ttcn3-bts-test/oml/osmo-bts.cfg
+++ b/ttcn3-bts-test/oml/osmo-bts.cfg
@@ -6,9 +6,9 @@
  logging level set-all debug
  logging filter all 1
 !
-log file /data/osmo-bts.log
+log stderr
  logging filter all 1
- logging color 0
+ logging color 1
  logging print category 1
  logging timestamp 1
  logging print extended-timestamp 1
diff --git a/ttcn3-bts-test/osmo-bsc.cfg b/ttcn3-bts-test/osmo-bsc.cfg
index 63bde9e..4675216 100644
--- a/ttcn3-bts-test/osmo-bsc.cfg
+++ b/ttcn3-bts-test/osmo-bsc.cfg
@@ -7,9 +7,9 @@
  logging level set-all debug
  logging filter all 1
 !
-log file /data/osmo-bsc.log
+log stderr
  logging filter all 1
- logging color 0
+ logging color 1
  logging print category 1
  logging timestamp 1
  logging print extended-timestamp 1
diff --git a/ttcn3-bts-test/osmo-bts.cfg b/ttcn3-bts-test/osmo-bts.cfg
index b8ad8ee..ca64f81 100644
--- a/ttcn3-bts-test/osmo-bts.cfg
+++ b/ttcn3-bts-test/osmo-bts.cfg
@@ -6,9 +6,9 @@
  logging level set-all debug
  logging filter all 1
 !
-log file /data/osmo-bts.log
+log stderr
  logging filter all 1
- logging color 0
+ logging color 1
  logging print category 1
  logging timestamp 1
  logging print extended-timestamp 1
diff --git a/ttcn3-bts-test/virtphy/osmo-bts.cfg b/ttcn3-bts-test/virtphy/osmo-bts.cfg
index ce47b6d..51e6128 100644
--- a/ttcn3-bts-test/virtphy/osmo-bts.cfg
+++ b/ttcn3-bts-test/virtphy/osmo-bts.cfg
@@ -6,9 +6,9 @@
  logging level set-all debug
  logging filter all 1
 !
-log file /data/osmo-bts.log
+log stderr
  logging filter all 1
- logging color 0
+ logging color 1
  logging print category 1
  logging timestamp 1
  logging print extended-timestamp 1
diff --git a/ttcn3-ggsn-test/osmo-ggsn.cfg b/ttcn3-ggsn-test/osmo-ggsn.cfg
index 6644dae..7dff25f 100644
--- a/ttcn3-ggsn-test/osmo-ggsn.cfg
+++ b/ttcn3-ggsn-test/osmo-ggsn.cfg
@@ -6,39 +6,12 @@
  logging level set-all debug
  logging filter all 1
 !
-log file /data/osmo-ggsn.log
- logging filter all 1
- logging color 0
- logging print category 1
- logging timestamp 1
- logging print extended-timestamp 1
- logging level ip info
- logging level tun info
- logging level ggsn info
- logging level sgsn notice
- logging level icmp6 debug
- logging level lglobal notice
- logging level llapd notice
- logging level linp notice
- logging level lmux notice
- logging level lmi notice
- logging level lmib notice
- logging level lsms notice
- logging level lctrl notice
- logging level lgtp info
- logging level lstats notice
- logging level lgsup notice
- logging level loap notice
- logging level lss7 notice
- logging level lsccp notice
- logging level lsua notice
- logging level lm3ua notice
- logging level lmgcp notice
 log stderr
  logging filter all 1
  logging color 1
- logging print category 0
- logging timestamp 0
+ logging print category 1
+ logging timestamp 1
+ logging print extended-timestamp 1
  logging level ip info
  logging level tun info
  logging level ggsn info
diff --git a/ttcn3-hlr-test/jenkins.sh b/ttcn3-hlr-test/jenkins.sh
index 3d942de..2bf1f98 100755
--- a/ttcn3-hlr-test/jenkins.sh
+++ b/ttcn3-hlr-test/jenkins.sh
@@ -22,7 +22,7 @@
 		-v $VOL_BASE_DIR/hlr:/data \
 		--name ${BUILD_TAG}-hlr -d \
 		$REPO_USER/osmo-hlr-$IMAGE_SUFFIX \
-		osmo-hlr
+		/bin/sh -c "osmo-hlr -c /data/osmo-hlr.cfg >/data/osmo-hlr.log 2>&1"
 
 echo Starting container with HLR testsuite
 docker run	--rm \
diff --git a/ttcn3-hlr-test/osmo-hlr.cfg b/ttcn3-hlr-test/osmo-hlr.cfg
index c5dcd89..5cda49e 100644
--- a/ttcn3-hlr-test/osmo-hlr.cfg
+++ b/ttcn3-hlr-test/osmo-hlr.cfg
@@ -8,15 +8,6 @@
 log stderr
  logging filter all 1
  logging color 1
- logging print category 1
- logging timestamp 1
- logging print extended-timestamp 1
- logging level all debug
- logging level linp error
-!
-log file /data/osmo-hlr.log
- logging filter all 1
- logging color 0
  logging print level 1
  logging print category 1
  logging print category-hex 0
diff --git a/ttcn3-mgw-test/osmo-mgw.cfg b/ttcn3-mgw-test/osmo-mgw.cfg
index 3c08ee0..b410dca 100644
--- a/ttcn3-mgw-test/osmo-mgw.cfg
+++ b/ttcn3-mgw-test/osmo-mgw.cfg
@@ -9,32 +9,6 @@
 log stderr
  logging filter all 1
  logging color 1
- logging print category 1
- logging timestamp 1
- logging print extended-timestamp 1
- logging level all everything
- logging level rtp notice
- logging level lglobal notice
- logging level llapd notice
- logging level linp notice
- logging level lmux notice
- logging level lmi notice
- logging level lmib notice
- logging level lsms notice
- logging level lctrl notice
- logging level lgtp notice
- logging level lstats notice
- logging level lgsup notice
- logging level loap notice
- logging level lss7 notice
- logging level lsccp notice
- logging level lsua notice
- logging level lm3ua notice
- logging level lmgcp debug
-!
-log file /data/osmo-mgw.log
- logging filter all 1
- logging color 0
  logging print level 1
  logging print category 1
  logging timestamp 1
diff --git a/ttcn3-msc-test/jenkins.sh b/ttcn3-msc-test/jenkins.sh
index a0a5f87..28bc4b7 100755
--- a/ttcn3-msc-test/jenkins.sh
+++ b/ttcn3-msc-test/jenkins.sh
@@ -38,7 +38,7 @@
 		-v $VOL_BASE_DIR/unix:/data/unix \
 		--name ${BUILD_TAG}-msc -d \
 		$REPO_USER/osmo-msc-$IMAGE_SUFFIX \
-		osmo-msc
+		/bin/sh -c "osmo-msc -c /data/osmo-msc.cfg >>/data/osmo-msc.log 2>&1"
 
 echo Starting container with MSC testsuite
 docker run	--rm \
diff --git a/ttcn3-msc-test/osmo-msc.cfg b/ttcn3-msc-test/osmo-msc.cfg
index 48765d2..a713786 100644
--- a/ttcn3-msc-test/osmo-msc.cfg
+++ b/ttcn3-msc-test/osmo-msc.cfg
@@ -6,9 +6,9 @@
  logging level set-all debug
  logging filter all 1
 !
-log file /data/osmo-msc.log
+log stderr
  logging filter all 1
- logging color 0
+ logging color 1
  logging print category 1
  logging timestamp 1
  logging print extended-timestamp 1
diff --git a/ttcn3-msc-test/osmo-stp.cfg b/ttcn3-msc-test/osmo-stp.cfg
index 620fa68..6d081fd 100644
--- a/ttcn3-msc-test/osmo-stp.cfg
+++ b/ttcn3-msc-test/osmo-stp.cfg
@@ -6,9 +6,9 @@
  logging level set-all debug
  logging filter all 1
 !
-log file /data/osmo-stp.log
+log stderr
  logging filter all 1
- logging color 0
+ logging color 1
  logging print category 1
  logging timestamp 1
  logging print extended-timestamp 1
diff --git a/ttcn3-pcu-test/jenkins-sns.sh b/ttcn3-pcu-test/jenkins-sns.sh
index fb6ccd3..51b5f64 100755
--- a/ttcn3-pcu-test/jenkins-sns.sh
+++ b/ttcn3-pcu-test/jenkins-sns.sh
@@ -27,7 +27,7 @@
 		-v $VOL_BASE_DIR/unix:/data/unix \
 		--name ${BUILD_TAG}-pcu-sns -d \
 		$REPO_USER/osmo-pcu-$IMAGE_SUFFIX \
-		/usr/local/bin/respawn.sh osmo-pcu -c /data/osmo-pcu.cfg
+		/bin/sh -c "/usr/local/bin/respawn.sh osmo-pcu -c /data/osmo-pcu.cfg -i 172.18.14.10 >>/data/osmo-pcu.log 2>&1"
 
 echo Starting container with PCU testsuite
 docker run	--rm \
diff --git a/ttcn3-pcu-test/jenkins.sh b/ttcn3-pcu-test/jenkins.sh
index 8c855f1..d4e8be0 100755
--- a/ttcn3-pcu-test/jenkins.sh
+++ b/ttcn3-pcu-test/jenkins.sh
@@ -34,7 +34,7 @@
 		-v $VOL_BASE_DIR/unix:/data/unix \
 		--name ${BUILD_TAG}-pcu -d \
 		$REPO_USER/osmo-pcu-$IMAGE_SUFFIX \
-		/usr/local/bin/respawn.sh osmo-pcu -c /data/osmo-pcu.cfg -i 172.18.13.10
+		/bin/sh -c "/usr/local/bin/respawn.sh osmo-pcu -c /data/osmo-pcu.cfg -i 172.18.13.10 >>/data/osmo-pcu.log 2>&1"
 
 echo Starting container with PCU testsuite
 docker run	--rm \
diff --git a/ttcn3-pcu-test/osmo-pcu.cfg b/ttcn3-pcu-test/osmo-pcu.cfg
index e486362..d7ef445 100644
--- a/ttcn3-pcu-test/osmo-pcu.cfg
+++ b/ttcn3-pcu-test/osmo-pcu.cfg
@@ -2,7 +2,7 @@
  logging level set-all debug
  logging filter all 1
 
-log file /data/osmo-pcu.log
+log stderr
  logging filter all 1
  logging color 1
  logging print level 1
diff --git a/ttcn3-pcu-test/sns/osmo-pcu.cfg b/ttcn3-pcu-test/sns/osmo-pcu.cfg
index 0b20ecb..884261a 100644
--- a/ttcn3-pcu-test/sns/osmo-pcu.cfg
+++ b/ttcn3-pcu-test/sns/osmo-pcu.cfg
@@ -2,9 +2,9 @@
  logging level set-all debug
  logging filter all 1
 
-log file /data/osmo-pcu.log
+log stderr
  logging filter all 1
- logging color 0
+ logging color 1
  logging print level 1
  logging print category 1
  logging print category-hex 0
diff --git a/ttcn3-remsim-test/jenkins.sh b/ttcn3-remsim-test/jenkins.sh
index 38da9b3..aff76f6 100755
--- a/ttcn3-remsim-test/jenkins.sh
+++ b/ttcn3-remsim-test/jenkins.sh
@@ -14,7 +14,7 @@
 			-v $VOL_BASE_DIR/server:/data \
 			--name ${BUILD_TAG}-server -d \
 			$REPO_USER/osmo-remsim-$IMAGE_SUFFIX \
-			osmo-remsim-server
+			/bin/sh -c "osmo-remsim-server >/data/osmo-remsim-client.log 2>&1"
 }
 
 start_bankd() {
@@ -24,7 +24,7 @@
 			-v $VOL_BASE_DIR/bankd:/data \
 			--name ${BUILD_TAG}-bankd -d \
 			$REPO_USER/osmo-remsim-$IMAGE_SUFFIX \
-			osmo-remsim-bankd -i 172.18.17.10
+			/bin/sh -c "osmo-remsim-bankd -i 172.18.17.10 >/data/osmo-remsim-bankd.log 2>&1"
 }
 
 start_client() {
@@ -34,7 +34,7 @@
 			-v $VOL_BASE_DIR/client:/data \
 			--name ${BUILD_TAG}-client-d \
 			$REPO_USER/osmo-remsim-$IMAGE_SUFFIX \
-			osmo-remsim-client
+			/bin/sh -c "osmo-remsim-client >/data/osmo-remsim-client.log 2>&1"
 }
 
 
diff --git a/ttcn3-sgsn-test/jenkins.sh b/ttcn3-sgsn-test/jenkins.sh
index 462c5b2..7f322f4 100755
--- a/ttcn3-sgsn-test/jenkins.sh
+++ b/ttcn3-sgsn-test/jenkins.sh
@@ -41,7 +41,7 @@
 		-v $VOL_BASE_DIR/sgsn:/data \
 		--name ${BUILD_TAG}-sgsn -d \
 		$REPO_USER/osmo-sgsn-$IMAGE_SUFFIX \
-		osmo-sgsn
+		/bin/sh -c "osmo-sgsn -c /data/osmo-sgsn.cfg >/data/osmo-sgsn.log 2>&1"
 
 echo Starting container with SGSN testsuite
 docker run	--rm \
diff --git a/ttcn3-sgsn-test/osmo-sgsn.cfg b/ttcn3-sgsn-test/osmo-sgsn.cfg
index 5bf7325..68af562 100644
--- a/ttcn3-sgsn-test/osmo-sgsn.cfg
+++ b/ttcn3-sgsn-test/osmo-sgsn.cfg
@@ -6,7 +6,7 @@
  logging level set-all debug
  logging filter all 1
 !
-log file /data/osmo-sgsn.log
+log stderr
  logging filter all 1
  logging color 1
  logging print category 1
diff --git a/ttcn3-sgsn-test/osmo-stp.cfg b/ttcn3-sgsn-test/osmo-stp.cfg
index 30adf32..a0b5b0b 100644
--- a/ttcn3-sgsn-test/osmo-stp.cfg
+++ b/ttcn3-sgsn-test/osmo-stp.cfg
@@ -6,9 +6,9 @@
  logging level set-all debug
  logging filter all 1
 !
-log file /data/osmo-stp.log
+log stderr
  logging filter all 1
- logging color 0
+ logging color 1
  logging print category 1
  logging timestamp 1
  logging print extended-timestamp 1
diff --git a/ttcn3-sip-test/jenkins.sh b/ttcn3-sip-test/jenkins.sh
index 02c7cd6..50671ee 100755
--- a/ttcn3-sip-test/jenkins.sh
+++ b/ttcn3-sip-test/jenkins.sh
@@ -28,6 +28,7 @@
 		--name ${BUILD_TAG}-sip-connector -d \
 		$REPO_USER/osmo-sip-$IMAGE_SUFFIX \
 		osmo-sip-connector
+		/bin/sh -c "osmo-sip-connector -c /data/osmo-sip-connector.cfg >>/data/osmo-sip-connector.log 2>&1"
 
 echo Starting container with SIP testsuite
 docker run	--rm \
diff --git a/ttcn3-sip-test/osmo-sip-connector.cfg b/ttcn3-sip-test/osmo-sip-connector.cfg
index 04ef19c..7f54c1c 100644
--- a/ttcn3-sip-test/osmo-sip-connector.cfg
+++ b/ttcn3-sip-test/osmo-sip-connector.cfg
@@ -6,11 +6,11 @@
  logging level set-all debug
  logging filter all 1
 !
-log file /data/osmo-sip-connector.log
+log stderr
  logging filter all 1
- logging color 0
+ logging color 1
  logging print category 1
- logging timestamp 0
+ logging timestamp 1
  logging print extended-timestamp 1
  logging print file basename
  logging level all everything
diff --git a/ttcn3-stp-test/osmo-stp.cfg b/ttcn3-stp-test/osmo-stp.cfg
index a9e377f..20fb298 100644
--- a/ttcn3-stp-test/osmo-stp.cfg
+++ b/ttcn3-stp-test/osmo-stp.cfg
@@ -5,39 +5,13 @@
 log gsmtap 172.18.19.203
  logging level set-all debug
  logging filter all 1
-log file /data/osmo-stp.log
+log stderr
  logging filter all 1
- logging color 0
+ logging color 1
  logging print category 1
  logging timestamp 1
  logging print extended-timestamp 1
  logging level set-all debug
-log stderr
- logging filter all 1
- logging color 1
- logging print category-hex 1
- logging print category 1
- logging timestamp 0
- logging print file 1
- logging level lglobal notice
- logging level llapd notice
- logging level linp notice
- logging level lmux notice
- logging level lmi notice
- logging level lmib notice
- logging level lsms notice
- logging level lctrl notice
- logging level lgtp notice
- logging level lstats notice
- logging level lgsup notice
- logging level loap notice
- logging level lss7 debug
- logging level lsccp debug
- logging level lsua debug
- logging level lm3ua debug
- logging level lmgcp notice
- logging level ljibuf notice
- logging level lrspro notice
 !
 stats interval 5
 !

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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I3d9f6de638dbc07391a32c6a0cbd469dc5adf2b5
Gerrit-Change-Number: 16064
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191113/b3f9938f/attachment.htm>


More information about the gerrit-log mailing list