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
changes/64/16064/2
Pau Espin 3 years ago
parent 0193073507
commit c3f157b939
  1. 4
      ttcn3-bsc-test/jenkins-sccplite.sh
  2. 3
      ttcn3-bsc-test/jenkins.sh
  3. 4
      ttcn3-bsc-test/osmo-bsc.cfg
  4. 4
      ttcn3-bsc-test/osmo-stp.cfg
  5. 2
      ttcn3-bsc-test/sccplite/osmo-bsc.cfg
  6. 3
      ttcn3-bscnat-test/jenkins.sh
  7. 4
      ttcn3-bscnat-test/osmo-bsc-nat.cfg
  8. 7
      ttcn3-bts-test/jenkins.sh
  9. 4
      ttcn3-bts-test/oml/osmo-bts.cfg
  10. 4
      ttcn3-bts-test/osmo-bsc.cfg
  11. 4
      ttcn3-bts-test/osmo-bts.cfg
  12. 4
      ttcn3-bts-test/virtphy/osmo-bts.cfg
  13. 31
      ttcn3-ggsn-test/osmo-ggsn.cfg
  14. 2
      ttcn3-hlr-test/jenkins.sh
  15. 9
      ttcn3-hlr-test/osmo-hlr.cfg
  16. 26
      ttcn3-mgw-test/osmo-mgw.cfg
  17. 2
      ttcn3-msc-test/jenkins.sh
  18. 4
      ttcn3-msc-test/osmo-msc.cfg
  19. 4
      ttcn3-msc-test/osmo-stp.cfg
  20. 2
      ttcn3-pcu-test/jenkins-sns.sh
  21. 2
      ttcn3-pcu-test/jenkins.sh
  22. 2
      ttcn3-pcu-test/osmo-pcu.cfg
  23. 4
      ttcn3-pcu-test/sns/osmo-pcu.cfg
  24. 6
      ttcn3-remsim-test/jenkins.sh
  25. 2
      ttcn3-sgsn-test/jenkins.sh
  26. 2
      ttcn3-sgsn-test/osmo-sgsn.cfg
  27. 4
      ttcn3-sgsn-test/osmo-stp.cfg
  28. 2
      ttcn3-sip-test/jenkins.sh
  29. 6
      ttcn3-sip-test/osmo-sip-connector.cfg
  30. 30
      ttcn3-stp-test/osmo-stp.cfg

@ -33,9 +33,7 @@ for i in `seq 0 2`; do
--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.12.20 $((i + 1234)) 1 >>/data/osmo-bts-omldummy-${i}.log 2>&1"
done
echo Starting container with BSC testsuite

@ -41,8 +41,7 @@ for i in `seq 0 2`; do
--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

@ -7,9 +7,9 @@ log gsmtap 172.18.2.203
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

@ -6,9 +6,9 @@ log gsmtap 172.18.2.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

@ -7,7 +7,7 @@ log gsmtap 172.18.12.203
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

@ -23,7 +23,8 @@ docker run --rm \
--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 \

@ -6,9 +6,9 @@ log gsmtap 172.18.15.203
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

@ -18,7 +18,7 @@ start_bsc() {
-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 @@ start_bts() {
-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 @@ start_trxcon() {
-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 @@ start_virtphy() {
--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() {

@ -6,9 +6,9 @@ log gsmtap 172.18.9.10
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

@ -7,9 +7,9 @@ log gsmtap 172.18.9.10
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

@ -6,9 +6,9 @@ log gsmtap 172.18.9.10
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

@ -6,9 +6,9 @@ log gsmtap 172.18.9.10
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

@ -6,9 +6,9 @@ log gsmtap 172.18.3.202
logging level set-all debug
logging filter all 1
!
log file /data/osmo-ggsn.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
@ -34,33 +34,6 @@ log file /data/osmo-ggsn.log
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 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
!
stats interval 5
!

@ -22,7 +22,7 @@ docker run --rm \
-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 \

@ -8,15 +8,6 @@ log gsmtap 172.18.10.103
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

@ -9,32 +9,6 @@ log gsmtap 172.18.4.181
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

@ -38,7 +38,7 @@ docker run --rm \
-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 \

@ -6,9 +6,9 @@ log gsmtap 172.18.1.103
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

@ -6,9 +6,9 @@ log gsmtap 172.18.1.103
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

@ -27,7 +27,7 @@ docker run --rm \
-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 \

@ -34,7 +34,7 @@ docker run --rm \
-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 \

@ -2,7 +2,7 @@ log gsmtap 172.18.13.10
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

@ -2,9 +2,9 @@ log gsmtap 172.18.14.10
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

@ -14,7 +14,7 @@ start_server() {
-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-server.log 2>&1"
}
start_bankd() {
@ -24,7 +24,7 @@ start_bankd() {
-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 @@ start_client() {
-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"
}

@ -41,7 +41,7 @@ docker run --rm \
-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 \

@ -6,7 +6,7 @@ log gsmtap 172.18.8.103
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

@ -6,9 +6,9 @@ log gsmtap 172.18.1.103
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

@ -27,7 +27,7 @@ docker run --rm \
-v $VOL_BASE_DIR/unix:/data/unix \
--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 \

@ -6,11 +6,11 @@ log gsmtap 172.18.11.103
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

@ -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
!

Loading…
Cancel
Save