Change in docker-playground[master]: ttcn3-bts: jenkins.sh: Log fake_trx stdout to 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/.

laforge gerrit-no-reply at lists.osmocom.org
Sun Jun 7 19:27:28 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/18642 )

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

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
---
M ttcn3-bts-test/jenkins.sh
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  pespin: Verified



diff --git a/ttcn3-bts-test/jenkins.sh b/ttcn3-bts-test/jenkins.sh
index 4974a34..949d650 100755
--- a/ttcn3-bts-test/jenkins.sh
+++ b/ttcn3-bts-test/jenkins.sh
@@ -46,7 +46,7 @@
 			--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 @@
 				-R 172.18.9.20 -r 172.18.9.22 \
 				--trx TRX1 at 172.18.9.20:5700/1 \
 				--trx TRX2 at 172.18.9.20:5700/2 \
-				--trx TRX3 at 172.18.9.20:5700/3
+				--trx TRX3 at 172.18.9.20:5700/3 >>/data/fake_trx.out 2>&1"
 }
 
 start_trxcon() {

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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I3e13a3b1f78d071618e4848aa19bcba1eb300d18
Gerrit-Change-Number: 18642
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200607/5710acd2/attachment.htm>


More information about the gerrit-log mailing list