pespin has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/32284 )
Change subject: ttcn3-ggsn: Speed up tests by lowering retransmission T3,N3 timers
......................................................................
ttcn3-ggsn: Speed up tests by lowering retransmission T3,N3 timers
Every test needs to wait for T3*N3 seconds before exiting in order to
make sure the queues waiting for duplicates are cleared, otherwise state
from previous state may affect next tests.
Since 1.10.0, osmo-ggsn supports having those timers changed through
VTY. Let's set them to a lower value than default specified by spec, in
order to speed up each test 15 seconds -> 2 seconds.
Only ttcn3-ggsn (against osmo-ggsn) and not ttcn3-ggsn-ogs (against
open5gs-smfd) is updated, since the later doesn't support changing the
default timer values using the config files yet.
Related: OS#5485
Change-Id: Ica346bd791a67b72fad597702d750383e8ac5895
---
M ttcn3-ggsn-test/GGSN_Tests.cfg
M ttcn3-ggsn-test/osmo-ggsn.cfg
2 files changed, 29 insertions(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
osmith: Looks good to me, but someone else must approve
daniel: Looks good to me, but someone else must approve
pespin: Looks good to me, approved
diff --git a/ttcn3-ggsn-test/GGSN_Tests.cfg b/ttcn3-ggsn-test/GGSN_Tests.cfg
index 36603c8..cb548b3 100644
--- a/ttcn3-ggsn-test/GGSN_Tests.cfg
+++ b/ttcn3-ggsn-test/GGSN_Tests.cfg
@@ -19,5 +19,10 @@
GGSN_Tests.m_ggsn_ip4_dns1 := "172.18.3.201"
GGSN_Tests.m_ggsn_ip6_dns1 := "fd02:db8:3::201"
+# local T3-RESPONSE timeout, seconds:
+GGSN_Tests.mp_t3_response := 1
+# local N3-REQUESTS counter:
+GGSN_Tests.mp_n3_requests := 2
+
[EXECUTE]
GGSN_Tests.control
diff --git a/ttcn3-ggsn-test/osmo-ggsn.cfg b/ttcn3-ggsn-test/osmo-ggsn.cfg
index b27a6e4..2f09990 100644
--- a/ttcn3-ggsn-test/osmo-ggsn.cfg
+++ b/ttcn3-ggsn-test/osmo-ggsn.cfg
@@ -44,6 +44,9 @@
ggsn ggsn0
gtp state-dir /tmp
gtp bind-ip 172.18.3.201
+ timer gtp T3 1
+ timer gtp T1003 2
+ timer gtp X3 2
apn internet
gtpu-mode tun
tun-device tun4
--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/32284
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: Ica346bd791a67b72fad597702d750383e8ac5895
Gerrit-Change-Number: 32284
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/32283 )
Change subject: ggsn: Speed up tests by lowering retransmission T3,N3 timers
......................................................................
ggsn: Speed up tests by lowering retransmission T3,N3 timers
The params are set in GGSN_Tests.cfg and not in GGSN_Tests.default,
because those lower values are not really good default ones as per spec.
For instance when running against open5gs-smfd, these values should be
left to the default in code of 5 and 3 seconds, because open5gs-smfd
doesn't support changing the values through cfg file yet.
Related: OS#5485
Change-Id: I3798fba89c2c357afeaa83a73759442c6c433cea
---
M ggsn_tests/GGSN_Tests.cfg
M ggsn_tests/osmo-ggsn.cfg
2 files changed, 23 insertions(+), 0 deletions(-)
Approvals:
pespin: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/ggsn_tests/GGSN_Tests.cfg b/ggsn_tests/GGSN_Tests.cfg
index e849ed4..b542108 100644
--- a/ggsn_tests/GGSN_Tests.cfg
+++ b/ggsn_tests/GGSN_Tests.cfg
@@ -13,6 +13,10 @@
[TESTPORT_PARAMETERS]
[MODULE_PARAMETERS]
+# local T3-RESPONSE timeout, seconds:
+GGSN_Tests.mp_t3_response := 1;
+# local N3-REQUESTS counter:
+GGSN_Tests.mp_n3_requests := 2;
[EXECUTE]
GGSN_Tests.control
diff --git a/ggsn_tests/osmo-ggsn.cfg b/ggsn_tests/osmo-ggsn.cfg
index 5fdcf15..28284e7 100644
--- a/ggsn_tests/osmo-ggsn.cfg
+++ b/ggsn_tests/osmo-ggsn.cfg
@@ -45,6 +45,9 @@
ggsn ggsn0
gtp state-dir /tmp
gtp bind-ip 127.0.0.2
+ timer gtp T3 1
+ timer gtp T1003 2
+ timer gtp X3 2
apn internet
gtpu-mode tun
tun-device tun4
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/32283
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I3798fba89c2c357afeaa83a73759442c6c433cea
Gerrit-Change-Number: 32283
Gerrit-PatchSet: 5
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
Attention is currently required from: falconia.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/32347 )
Change subject: osmo_rtp2trau() for FR & EFR UL: set C13 & C14 correctly
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
+1 when you add the line to TODO-RELEASE
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/32347
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Ifcfc28ad7d77e561d456be546689995abfd8a6f5
Gerrit-Change-Number: 32347
Gerrit-PatchSet: 1
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: falconia <falcon(a)freecalypso.org>
Gerrit-Comment-Date: Tue, 18 Apr 2023 10:00:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: falconia.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/32347 )
Change subject: osmo_rtp2trau() for FR & EFR UL: set C13 & C14 correctly
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
Please add a new line in TODO-RELEASE file that "libosmocodec > 1.8.0" is needed (that's what's needed right?)
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/32347
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Ifcfc28ad7d77e561d456be546689995abfd8a6f5
Gerrit-Change-Number: 32347
Gerrit-PatchSet: 1
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: falconia <falcon(a)freecalypso.org>
Gerrit-Comment-Date: Tue, 18 Apr 2023 09:56:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: pespin.
dexter has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/32336 )
Change subject: e1d: fix log output
......................................................................
Patch Set 4:
(1 comment)
Commit Message:
https://gerrit.osmocom.org/c/libosmo-abis/+/32336/comment/c766ef92_675be379
PS3, Line 9: When a read access to the osmo-e1d fd fails we just prind the error to
> prind->print
Done
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/32336
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I3a0500f083cbe8cc162826e2ec974875bafcaba9
Gerrit-Change-Number: 32336
Gerrit-PatchSet: 4
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 18 Apr 2023 09:45:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment