diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-11-13 16:15:44 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-11-20 17:17:45 +0100 |
commit | c3f157b939784f19f0337ac92ac727063c8d3452 (patch) | |
tree | d0fc97173447761f7c0307a9de51ecf5bd3b835d /ttcn3-bsc-test | |
parent | 0193073507459f51fcef1b66dc0a8cfb619fffe3 (diff) |
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
Diffstat (limited to 'ttcn3-bsc-test')
-rwxr-xr-x | ttcn3-bsc-test/jenkins-sccplite.sh | 4 | ||||
-rwxr-xr-x | ttcn3-bsc-test/jenkins.sh | 3 | ||||
-rw-r--r-- | ttcn3-bsc-test/osmo-bsc.cfg | 4 | ||||
-rw-r--r-- | ttcn3-bsc-test/osmo-stp.cfg | 4 | ||||
-rw-r--r-- | ttcn3-bsc-test/sccplite/osmo-bsc.cfg | 2 |
5 files changed, 7 insertions, 10 deletions
diff --git a/ttcn3-bsc-test/jenkins-sccplite.sh b/ttcn3-bsc-test/jenkins-sccplite.sh index 0a2ff8b..b3791a5 100755 --- a/ttcn3-bsc-test/jenkins-sccplite.sh +++ b/ttcn3-bsc-test/jenkins-sccplite.sh @@ -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 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 @@ 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 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 @@ 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 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 @@ 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 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 @@ 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 |