Change in docker-playground[master]: ttcn3-{sgsn, ggsn}-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 15 14:29:20 UTC 2021


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

Change subject: ttcn3-{sgsn,ggsn}-test: set OSMO_SUT_{HOST,PORT}
......................................................................

ttcn3-{sgsn,ggsn}-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.

Change-Id: I61fef7763e6445c231ff2664036e243a9ac96ff6
Related: Icd4c2d80db934535d499598282ed9416d8088163
---
M ttcn3-ggsn-test/jenkins.sh
M ttcn3-sgsn-test/jenkins.sh
2 files changed, 6 insertions(+), 0 deletions(-)

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



diff --git a/ttcn3-ggsn-test/jenkins.sh b/ttcn3-ggsn-test/jenkins.sh
index cdf9bf8..53da74d 100755
--- a/ttcn3-ggsn-test/jenkins.sh
+++ b/ttcn3-ggsn-test/jenkins.sh
@@ -46,12 +46,14 @@
 		-v "$KERNEL_TEST_DIR:/kernel-test:ro"
 		-v "$CACHE_DIR:/cache"
 		"
+	OSMO_SUT_HOST="172.18.$SUBNET.200"
 else
 	cp osmo-ggsn.cfg $VOL_BASE_DIR/ggsn/
 
 	GGSN_DOCKER_ARGS="
 		$(docker_network_params $SUBNET 201)
 		"
+	OSMO_SUT_HOST="172.18.$SUBNET.201"
 fi
 docker run	--cap-add=NET_ADMIN \
 		--device /dev/net/tun:/dev/net/tun \
@@ -74,6 +76,8 @@
 		--ulimit core=-1 \
 		-v $VOL_BASE_DIR/ggsn-tester:/data \
 		-e "TTCN3_PCAP_PATH=/data" \
+		-e "OSMO_SUT_HOST=$OSMO_SUT_HOST" \
+		-e "OSMO_SUT_PORT=4260" \
 		--name ${BUILD_TAG}-ggsn-test \
 		$DOCKER_ARGS \
 		$REPO_USER/ttcn3-ggsn-test
diff --git a/ttcn3-sgsn-test/jenkins.sh b/ttcn3-sgsn-test/jenkins.sh
index 24869c5..dde90a2 100755
--- a/ttcn3-sgsn-test/jenkins.sh
+++ b/ttcn3-sgsn-test/jenkins.sh
@@ -49,6 +49,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=4245" \
 		-v $VOL_BASE_DIR/sgsn-tester:/data \
 		--name ${BUILD_TAG}-ttcn3-sgsn-test \
 		$DOCKER_ARGS \

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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I61fef7763e6445c231ff2664036e243a9ac96ff6
Gerrit-Change-Number: 26573
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy 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/20211215/e9793b70/attachment.htm>


More information about the gerrit-log mailing list