Change in docker-playground[master]: ttcn3-{pcu, bts}-test: use PCUIFv9 for 'latest' images

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
Mon Sep 21 19:02:24 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/20240 )


Change subject: ttcn3-{pcu,bts}-test: use PCUIFv9 for 'latest' images
......................................................................

ttcn3-{pcu,bts}-test: use PCUIFv9 for 'latest' images

Change-Id: I6f072e4db07fd6907b91925549edcf62d9c93fb7
Related: I9350c4a54434c3d46ce9424f382ca0057e58d053
Related: SYS#4868, SYS#4915
---
M ttcn3-bts-test/jenkins.sh
M ttcn3-pcu-test/jenkins.sh
2 files changed, 14 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/40/20240/1

diff --git a/ttcn3-bts-test/jenkins.sh b/ttcn3-bts-test/jenkins.sh
index f544d8a..be6a71c 100755
--- a/ttcn3-bts-test/jenkins.sh
+++ b/ttcn3-bts-test/jenkins.sh
@@ -114,11 +114,14 @@
 mkdir $VOL_BASE_DIR/bts-tester-hopping
 cp fh/BTS_Tests.cfg $VOL_BASE_DIR/bts-tester-hopping/
 
-# Work around for a bug in osmo-bts when all transceivers use IPAC_PROTO_RSL_TRX0.
-# Enables patching of IPA stream ID. TODO: remove as soon as we make a new release.
+# TODO: revisit this section every time we tag a new release
 if [ "$IMAGE_SUFFIX" = "latest" ]; then
-	sed "s/RSL_Emulation.mp_rslem_patch_ipa_cid := false/RSL_Emulation.mp_rslem_patch_ipa_cid := true/g" -i \
-		"$VOL_BASE_DIR/bts-tester-generic/BTS_Tests.cfg"
+	# Work around for a bug in osmo-bts causing all transceivers to use IPAC_PROTO_RSL_TRX0
+	sed "s/RSL_Emulation.mp_rslem_patch_ipa_cid := false/RSL_Emulation.mp_rslem_patch_ipa_cid := true/g" \
+		-i "$VOL_BASE_DIR/bts-tester-generic/BTS_Tests.cfg"
+	# PCUIFv10 is not yet supported in the latest release
+	sed "/\[MODULE_PARAMETERS\]/ a PCUIF_Types.mp_pcuif_version := 9;" \
+		-i "$VOL_BASE_DIR/bts-tester-generic/BTS_Tests.cfg"
 fi
 
 cp $VOL_BASE_DIR/bts-tester-generic/BTS_Tests.cfg \
diff --git a/ttcn3-pcu-test/jenkins.sh b/ttcn3-pcu-test/jenkins.sh
index 5dedec7..3e0d816 100755
--- a/ttcn3-pcu-test/jenkins.sh
+++ b/ttcn3-pcu-test/jenkins.sh
@@ -19,6 +19,13 @@
 
 mkdir $VOL_BASE_DIR/unix
 
+# TODO: revisit this section every time we tag a new release
+if [ "$IMAGE_SUFFIX" = "latest" ]; then
+	# PCUIFv10 is not yet supported in the latest release
+	sed "/\[MODULE_PARAMETERS\]/ a PCUIF_Types.mp_pcuif_version := 9;" \
+		-i "$VOL_BASE_DIR/pcu-tester/PCU_Tests.cfg"
+fi
+
 echo Starting container with PCU
 docker run	--rm \
 		$(docker_network_params $SUBNET 101) \

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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I6f072e4db07fd6907b91925549edcf62d9c93fb7
Gerrit-Change-Number: 20240
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200921/f4367c2c/attachment.htm>


More information about the gerrit-log mailing list