osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42918?usp=email )
Change subject: 5gc: disable TC_handover_inter_ngran_xn for latest
......................................................................
5gc: disable TC_handover_inter_ngran_xn for latest
Temporarily disable the test for latest as it is known to result in a
crash with open5gs v2.8.0.
Related: OS#7023
Change-Id: Ibf3683683093c41a85bb443e14eab23d23fefa24
---
M 5gc/C5G_Tests.ttcn
1 file changed, 6 insertions(+), 1 deletion(-)
Approvals:
fixeria: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/5gc/C5G_Tests.ttcn b/5gc/C5G_Tests.ttcn
index 573bbf3..2649a2f 100644
--- a/5gc/C5G_Tests.ttcn
+++ b/5gc/C5G_Tests.ttcn
@@ -1152,7 +1152,12 @@
execute( TC_normal_reg_emergency_services_fallback() );
execute( TC_emergency_registration() );
- execute( TC_handover_inter_ngran_xn() );
+ /* OS#7023: Don't run against latest until a > v2.8.0 release was made
+ * with d2707b0c39c2bf055646184e108ca006c728e443 */
+ if (Misc_Helpers.f_osmo_repo_is("nightly")) {
+ execute( TC_handover_inter_ngran_xn() );
+ }
+
execute( TC_handover_inter_ngran_n2() );
execute( TC_handover_inter_ngran_n2_cancel() );
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42918?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ibf3683683093c41a85bb443e14eab23d23fefa24
Gerrit-Change-Number: 42918
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42918?usp=email )
Change subject: 5gc: disable TC_handover_inter_ngran_xn for latest
......................................................................
5gc: disable TC_handover_inter_ngran_xn for latest
Temporarily disable the test for latest as it is known to result in a
crash with open5gs v2.8.0.
Related: OS#7023
Change-Id: Ibf3683683093c41a85bb443e14eab23d23fefa24
---
M 5gc/C5G_Tests.ttcn
1 file changed, 6 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/18/42918/1
diff --git a/5gc/C5G_Tests.ttcn b/5gc/C5G_Tests.ttcn
index 573bbf3..2649a2f 100644
--- a/5gc/C5G_Tests.ttcn
+++ b/5gc/C5G_Tests.ttcn
@@ -1152,7 +1152,12 @@
execute( TC_normal_reg_emergency_services_fallback() );
execute( TC_emergency_registration() );
- execute( TC_handover_inter_ngran_xn() );
+ /* OS#7023: Don't run against latest until a > v2.8.0 release was made
+ * with d2707b0c39c2bf055646184e108ca006c728e443 */
+ if (Misc_Helpers.f_osmo_repo_is("nightly")) {
+ execute( TC_handover_inter_ngran_xn() );
+ }
+
execute( TC_handover_inter_ngran_n2() );
execute( TC_handover_inter_ngran_n2_cancel() );
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42918?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ibf3683683093c41a85bb443e14eab23d23fefa24
Gerrit-Change-Number: 42918
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42915?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Verified+1 by Jenkins Builder
Change subject: library: add f_gsm_fn_{sum,sub,diff}()
......................................................................
library: add f_gsm_fn_{sum,sub,diff}()
Change-Id: Ie91ccef5d3f170f4a341a6cf9d3323a896b299e6
---
M bts/BTS_Tests.ttcn
M library/GSM_Types.ttcn
M library/RLCMAC_Templates.ttcn
M pcu/PCUIF_Components.ttcn
4 files changed, 31 insertions(+), 11 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/15/42915/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42915?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ie91ccef5d3f170f4a341a6cf9d3323a896b299e6
Gerrit-Change-Number: 42915
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42915?usp=email )
Change subject: library: add f_gsm_fn_{sum,sub,diff}()
......................................................................
library: add f_gsm_fn_{sum,sub,diff}()
Change-Id: Ie91ccef5d3f170f4a341a6cf9d3323a896b299e6
---
M library/GSM_Types.ttcn
1 file changed, 22 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/15/42915/1
diff --git a/library/GSM_Types.ttcn b/library/GSM_Types.ttcn
index b3b6dc9..764b8ba 100644
--- a/library/GSM_Types.ttcn
+++ b/library/GSM_Types.ttcn
@@ -434,6 +434,28 @@
return (fn / 51) mod 8;
}
+/* 45.002 4.3.3: TDMA frame number modular arithmetic */
+
+/* Return the sum of two given TDMA frame numbers, wrapping around the hyperframe */
+function f_gsm_fn_sum(GsmFrameNumber a, GsmFrameNumber b) return GsmFrameNumber {
+ return (a + b) mod GsmMaxFrameNumber;
+}
+
+/* Return the difference of two given TDMA frame numbers, wrapping around the hyperframe */
+function f_gsm_fn_sub(GsmFrameNumber a, GsmFrameNumber b) return GsmFrameNumber {
+ return (a - b + GsmMaxFrameNumber) mod GsmMaxFrameNumber;
+}
+
+/* Return the *minimum* distance between two given TDMA frame numbers */
+function f_gsm_fn_diff(GsmFrameNumber a, GsmFrameNumber b) return GsmFrameNumber {
+ var GsmFrameNumber d1 := f_gsm_fn_sub(a, b);
+ var GsmFrameNumber d2 := f_gsm_fn_sub(b, a);
+ if (d1 < d2) {
+ return d1;
+ }
+ return d2;
+}
+
type hexstring GsmBcdString with { variant "HEXORDER(low)" };
type GsmBcdString BcdMccMnc with { variant "FIELDLENGTH(6)" };
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42915?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ie91ccef5d3f170f4a341a6cf9d3323a896b299e6
Gerrit-Change-Number: 42915
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>