Change in docker-playground[master]: ttcn3-bts-test/jenkins.sh: fix latest: enable IPA stream ID patching

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
Tue Jun 9 14:30:16 UTC 2020


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

Change subject: ttcn3-bts-test/jenkins.sh: fix latest: enable IPA stream ID patching
......................................................................

ttcn3-bts-test/jenkins.sh: fix latest: enable IPA stream ID patching

Change-Id: I9d76acc717f5aafbfbecafb30160b02486d341fd
Depends: I66cecc9ea24ba79e1a03492e3fda2874951d37a0
---
M ttcn3-bts-test/BTS_Tests.cfg
M ttcn3-bts-test/jenkins.sh
2 files changed, 10 insertions(+), 0 deletions(-)

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



diff --git a/ttcn3-bts-test/BTS_Tests.cfg b/ttcn3-bts-test/BTS_Tests.cfg
index 7e734c8..4ea1e59 100644
--- a/ttcn3-bts-test/BTS_Tests.cfg
+++ b/ttcn3-bts-test/BTS_Tests.cfg
@@ -15,6 +15,9 @@
 L1CTL_PortType.m_l1ctl_sock_path := "/data/unix/osmocom_l2"
 BTS_Tests.mp_ctrl_ip   := "172.18.9.20"
 
+# Workaround for osmo-bts-latest: enable IPA stream ID patching
+RSL_Emulation.mp_rslem_patch_ipa_cid := false;
+
 [MAIN_CONTROLLER]
 
 [EXECUTE]
diff --git a/ttcn3-bts-test/jenkins.sh b/ttcn3-bts-test/jenkins.sh
index 0d0473b..20ad748 100755
--- a/ttcn3-bts-test/jenkins.sh
+++ b/ttcn3-bts-test/jenkins.sh
@@ -99,6 +99,13 @@
 mkdir $VOL_BASE_DIR/bts-tester/unix
 cp BTS_Tests.cfg $VOL_BASE_DIR/bts-tester/
 
+# 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.
+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/BTS_Tests.cfg"
+fi
+
 mkdir $VOL_BASE_DIR/bsc
 cp osmo-bsc.cfg $VOL_BASE_DIR/bsc/
 

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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I9d76acc717f5aafbfbecafb30160b02486d341fd
Gerrit-Change-Number: 18743
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy 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/20200609/babbfac9/attachment.htm>


More information about the gerrit-log mailing list