Change in docker-playground[master]: ttcn3-{bts, bsc, msc, hlr}-test: set OSMO_SUT_{HOST, PORT}

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

fixeria gerrit-no-reply at lists.osmocom.org
Wed Dec 1 13:48:50 UTC 2021


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

Change subject: ttcn3-{bts,bsc,msc,hlr}-test: set OSMO_SUT_{HOST,PORT}
......................................................................

ttcn3-{bts,bsc,msc,hlr}-test: set OSMO_SUT_{HOST,PORT}

This enables the test suite to obtain talloc reports between the
test case executions, which get stored together with the PCAP files.
Let's see how it works with the mentioned projects first;  others
can be configured later.  See [1] for more details.

Change-Id: Icd4c2d80db934535d499598282ed9416d8088163
Related: [1] I1b03b17426d8760c55976e3b78ca2f3af248c055
Related: OS#5328
---
M ttcn3-bsc-test/jenkins.sh
M ttcn3-bts-test/jenkins.sh
M ttcn3-hlr-test/jenkins.sh
M ttcn3-msc-test/jenkins.sh
4 files changed, 8 insertions(+), 0 deletions(-)

Approvals:
  fixeria: Looks good to me, approved; Verified
  pespin: Looks good to me, but someone else must approve
  osmith: Looks good to me, but someone else must approve



diff --git a/ttcn3-bsc-test/jenkins.sh b/ttcn3-bsc-test/jenkins.sh
index 3898491..7f05c5e 100755
--- a/ttcn3-bsc-test/jenkins.sh
+++ b/ttcn3-bsc-test/jenkins.sh
@@ -62,6 +62,8 @@
 		$(docker_network_params $SUBNET 203) \
 		--ulimit core=-1 \
 		-e "TTCN3_PCAP_PATH=/data" \
+		-e "OSMO_SUT_HOST=172.18.$SUBNET.20" \
+		-e "OSMO_SUT_PORT=4242" \
 		-v $VOL_BASE_DIR/bsc-tester:/data \
 		--name ${BUILD_TAG}-ttcn3-bsc-test \
 		$DOCKER_ARGS \
diff --git a/ttcn3-bts-test/jenkins.sh b/ttcn3-bts-test/jenkins.sh
index 4ce333e..395407b 100755
--- a/ttcn3-bts-test/jenkins.sh
+++ b/ttcn3-bts-test/jenkins.sh
@@ -107,6 +107,8 @@
 			$(docker_network_params $SUBNET 10) \
 			--ulimit core=-1 \
 			-e "TTCN3_PCAP_PATH=/data" \
+			-e "OSMO_SUT_HOST=172.18.$SUBNET.20" \
+			-e "OSMO_SUT_PORT=4241" \
 			-v $VOL_BASE_DIR/bts-tester-${variant}:/data \
 			-v $VOL_BASE_DIR/unix:/data/unix \
 			--name ${BUILD_TAG}-ttcn3-bts-test \
diff --git a/ttcn3-hlr-test/jenkins.sh b/ttcn3-hlr-test/jenkins.sh
index 6702e40..317f141 100755
--- a/ttcn3-hlr-test/jenkins.sh
+++ b/ttcn3-hlr-test/jenkins.sh
@@ -34,6 +34,8 @@
 		$(docker_network_params $SUBNET 103) \
 		--ulimit core=-1 \
 		-e "TTCN3_PCAP_PATH=/data" \
+		-e "OSMO_SUT_HOST=172.18.$SUBNET.20" \
+		-e "OSMO_SUT_PORT=4258" \
 		-v $VOL_BASE_DIR/hlr-tester:/data \
 		--name ${BUILD_TAG}-ttcn3-hlr-test \
 		$DOCKER_ARGS \
diff --git a/ttcn3-msc-test/jenkins.sh b/ttcn3-msc-test/jenkins.sh
index 937b91f..a8e6229 100755
--- a/ttcn3-msc-test/jenkins.sh
+++ b/ttcn3-msc-test/jenkins.sh
@@ -51,6 +51,8 @@
 		$(docker_network_params $SUBNET 103) \
 		--ulimit core=-1 \
 		-e "TTCN3_PCAP_PATH=/data" \
+		-e "OSMO_SUT_HOST=172.18.$SUBNET.10" \
+		-e "OSMO_SUT_PORT=4254" \
 		-v $VOL_BASE_DIR/msc-tester:/data \
 		-v $VOL_BASE_DIR/unix:/data/unix \
 		--name ${BUILD_TAG}-ttcn3-msc-test \

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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: Icd4c2d80db934535d499598282ed9416d8088163
Gerrit-Change-Number: 26408
Gerrit-PatchSet: 4
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
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/20211201/35652f3a/attachment.htm>


More information about the gerrit-log mailing list