ttcn3-bts: jenkins.sh: Log fake_trx stdout to file

This allows easily checking if fake_trx fails to start early during
startup, for instance due to a python exception.

Change-Id: I3e13a3b1f78d071618e4848aa19bcba1eb300d18
This commit is contained in:
Pau Espin 2020-06-03 15:46:52 +02:00 committed by laforge
parent 27fb91638d
commit ed0b9c92bb
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ start_fake_trx() {
--name ${BUILD_TAG}-fake_trx -d \
$DOCKER_ARGS \
$REPO_USER/osmocom-bb-host-master \
/tmp/osmocom-bb/src/target/trx_toolkit/fake_trx.py \
/bin/sh -c "/tmp/osmocom-bb/src/target/trx_toolkit/fake_trx.py \
--log-file-name /data/fake_trx.log \
--log-file-level DEBUG \
--log-file-time \
@ -54,7 +54,7 @@ start_fake_trx() {
-R 172.18.9.20 -r 172.18.9.22 \
--trx TRX1@172.18.9.20:5700/1 \
--trx TRX2@172.18.9.20:5700/2 \
--trx TRX3@172.18.9.20:5700/3
--trx TRX3@172.18.9.20:5700/3 >>/data/fake_trx.out 2>&1"
}
start_trxcon() {