lists.osmocom.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

gerrit-log

Thread Start a new thread
Download
Threads by month
  • ----- 2026 -----
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
gerrit-log@lists.osmocom.org

October 2024

  • 1 participants
  • 1631 discussions
[S] Change in osmo-ttcn3-hacks[master]: hnbgw: Tear down SCCP conn from CN under normal conditions
by pespin 31 Oct '24

31 Oct '24
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38597?usp=email ) Change subject: hnbgw: Tear down SCCP conn from CN under normal conditions ...................................................................... hnbgw: Tear down SCCP conn from CN under normal conditions Specs mention that under normal conditions the CN is the one expected to tear down the SCCP underlaying connection upon recieving Iu-ReleaseComplete. Change-Id: I920cabcb63ca352db0ed06e4c35dade52bae5399 --- M hnbgw/ConnHdlr.ttcn M library/SCCP_Templates.ttcn 2 files changed, 19 insertions(+), 15 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/97/38597/1 diff --git a/hnbgw/ConnHdlr.ttcn b/hnbgw/ConnHdlr.ttcn index 1b053d0..13c8d4c 100644 --- a/hnbgw/ConnHdlr.ttcn +++ b/hnbgw/ConnHdlr.ttcn @@ -72,6 +72,7 @@ import from L3_Common all; import from SCCPasp_Types all; +import from SCCP_Templates all; /*********************************************************************** * code running inside per-UE ConnHdlr @@ -444,19 +445,6 @@ /* expect to receive it on the Iu side */ rx := f_bssap_expect(exp_rx); - - /* expect disconnect on the Iu side */ - T.start; - alt { - [] BSSAP.receive(tr_MSC_CONN_PRIM_DISC_IND) { - setverdict(pass); - } - [] T.timeout { - setverdict(fail, "Timeout waiting for Iu disconnect"); - return rx; - } - - } return rx; } @@ -545,13 +533,13 @@ /* HNB <- CN: Iu-ReleaseCmd, HNB -> CN: Iu-ReleaseCompl */ function f_cn_iu_release_procedure(boolean mgcp_teardown := false, boolean pfcp_teardown := false) runs on ConnHdlr { var RANAP_PDU tx; - timer T := 5.0; + timer T; tx := valueof(ts_RANAP_IuReleaseCommand(g_pars.rab_rel_cause)); f_iu2iuh(tx); if (mgcp_teardown) { - T.start; + T.start(5.0); alt { [] as_mgcp_dlcx() {} [] T.timeout { @@ -570,6 +558,21 @@ tx := valueof(ts_RANAP_IuReleaseComplete()); f_iuh2iu_disconnect(tx, RUA_IEs.Cause:{radioNetwork:=normal}); + + /* Once CN receives Iu-ReleaseComplete, it tears down the SCCP conn under Iu: */ + BSSAP.send(ts_MSC_CONN_PRIM_DISC_REQ(sccp_par_reason_end_user_originated)); + /* There's no signalling from lower layers regarding when RLC is + * received, hence only make sure the IUT is not sending an RLSD on its own + * after a timeout, which would mean it didn't process our RLSD */ + T.start(2.0); + alt { + [] BSSAP.receive(tr_MSC_CONN_PRIM_DISC_IND) { + Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "Rx Unexpected RLSD to our RLSD"); + } + [] T.timeout { + setverdict(pass); + } + } } /* Reply to a received CRCX with an OK (or the reply configured in cpars), using the given parameters. diff --git a/library/SCCP_Templates.ttcn b/library/SCCP_Templates.ttcn index 40a6156..f36dc5a 100644 --- a/library/SCCP_Templates.ttcn +++ b/library/SCCP_Templates.ttcn @@ -15,6 +15,7 @@ import from SCCPasp_Types all; import from SCCP_Emulation all; +const integer sccp_par_reason_end_user_originated := 0; /* End user originated */ const integer sccp_par_reason_end_user_failure := 2; /* End user failure */ /* construct a SCCP_PAR_Address with just SSN and no PC or GT */ -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38597?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: I920cabcb63ca352db0ed06e4c35dade52bae5399 Gerrit-Change-Number: 38597 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de>
1 0
0 0
[S] Change in osmo-ttcn3-hacks[master]: hnbgw: Introduce test TC_ps_iu_release_req_rua_disconnect
by pespin 31 Oct '24

31 Oct '24
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38598?usp=email ) Change subject: hnbgw: Introduce test TC_ps_iu_release_req_rua_disconnect ...................................................................... hnbgw: Introduce test TC_ps_iu_release_req_rua_disconnect Change-Id: Id24a5aed5255af77fbbd30521be70700a9bff1c9 --- M hnbgw/HNBGW_Tests.ttcn M hnbgw/expected-results.xml 2 files changed, 47 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/98/38598/1 diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn index c917816..e7174e8 100644 --- a/hnbgw/HNBGW_Tests.ttcn +++ b/hnbgw/HNBGW_Tests.ttcn @@ -1364,6 +1364,51 @@ f_shutdown_helper(); } +/* Same as TC_ps_iu_release_req_rua_disconnect, but with PS RAB */ +private function f_tc_ps_iu_release_req_rua_disconnect(charstring id) runs on ConnHdlr { + var RANAP_PDU tx; + timer T := 5.0; + + f_create_mgcp_expect(ExpectCriteria:{omit,omit,omit}); + + tx := f_build_initial_ue(g_pars); + f_iuh2iu_connect(tx); + + f_create_rab_ps(); + + RUA.send(ts_RANAP_IuReleaseRequest(ts_RanapCause_radio_rab_preempted)); + BSSAP.receive(tr_RANAP_IuReleaseRequest(ts_RanapCause_radio_rab_preempted)); + + RUA.send(RUA_Disc_Req:{{misc:=unspecified}, omit}); + + /* HNBGW tears down related PFCP sessions: */ + if (g_pars.pfcp_pars.pfcp_enabled) { + var PDU_PFCP m := f_pfcp_expect(tr_PFCP_Session_Del_Req(g_pars.pfcp_pars.up_f_seid.seid)); + PFCP.send(ts_PFCP_Session_Del_Resp(m.sequence_number, g_pars.pfcp_pars.hnbgw_f_seid.seid)); + } + + /* We cannot guarantee we can send Iu-ReleaseCommand at RANAP_Emulation + * before it receives the RLSD from HNBGW, hence we don't send it. If we + * sent it, it would be ignored by HNBGW since the RUA conn is already + * disconnected: + * BSSAP.send(ts_RANAP_IuReleaseCommand(ts_RanapCause_radio_rab_preempted)); + */ + + BSSAP.receive(tr_MSC_CONN_PRIM_DISC_IND); + /* Let RAN_Emulation some time to answer RLSD with RLC: */ + f_sleep(1.0); +} +testcase TC_ps_iu_release_req_rua_disconnect() runs on test_CT { + var ConnHdlr vc_conn; + g_num_hnbs := 1; + f_init(); + + vc_conn := f_start_handler_with_pars(refers(f_tc_ps_iu_release_req_rua_disconnect), f_TestHdlrParams(9, true)); + vc_conn.done; + + f_shutdown_helper(); +} + friend function f_tc_ps_rab_assignment(charstring id) runs on ConnHdlr { var RANAP_PDU tx; diff --git a/hnbgw/expected-results.xml b/hnbgw/expected-results.xml index 7bbcdec..70e29e6 100644 --- a/hnbgw/expected-results.xml +++ b/hnbgw/expected-results.xml @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<testsuite name='Titan' tests='53' failures='0' errors='0' skipped='0' inconc='0' time='MASKED'> +<testsuite name='Titan' tests='54' failures='0' errors='0' skipped='0' inconc='0' time='MASKED'> <testcase classname='HNBGW_Tests' name='TC_hnb_register' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_hnb_register_duplicate' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_hnb_register_duplicate_reuse_sctp_assoc' time='MASKED'/> @@ -25,6 +25,7 @@ <testcase classname='HNBGW_Tests' name='TC_ranap_cs_creq_cref' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_ranap_ps_creq_cref' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_cs_iu_release_req_rua_disconnect' time='MASKED'/> + <testcase classname='HNBGW_Tests' name='TC_ps_iu_release_req_rua_disconnect' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_ps_rab_assignment' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_mscpool_L3Compl_on_1_cnlink' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_mscpool_L3Complete_by_imsi_round_robin' time='MASKED'/> -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38598?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: Id24a5aed5255af77fbbd30521be70700a9bff1c9 Gerrit-Change-Number: 38598 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de>
1 0
0 0
[L] Change in osmo-ttcn3-hacks[master]: hnbgw: Introduce PfcpParameters in TestHdlrParameters
by pespin 31 Oct '24

31 Oct '24
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38594?usp=email ) Change subject: hnbgw: Introduce PfcpParameters in TestHdlrParameters ...................................................................... hnbgw: Introduce PfcpParameters in TestHdlrParameters This allows creating generic functions to establish PS RABs based on test setup configuration. Change-Id: I5de50bb7032891a073e4e4e25b2dc86bc84e3d60 --- M hnbgw/ConnHdlr.ttcn M hnbgw/HNBGW_Tests.ttcn 2 files changed, 170 insertions(+), 113 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/94/38594/1 diff --git a/hnbgw/ConnHdlr.ttcn b/hnbgw/ConnHdlr.ttcn index 46cd6f2..47dbd21 100644 --- a/hnbgw/ConnHdlr.ttcn +++ b/hnbgw/ConnHdlr.ttcn @@ -193,6 +193,26 @@ } } +const OCT8 c_SEID0 := '0000000000000000'O; +const OCT8 c_SEID1 := '1111111111111111'O; +type record PfcpParameters { + /* whether we expect HNBGW to manage a UPF through PFCP: */ + boolean pfcp_enabled, + charstring pfcp_local_addr, + Node_ID upf_node_id, + F_SEID up_f_seid, + F_SEID hnbgw_f_seid optional +} + +template (value) PfcpParameters t_PfcpParams(boolean pfcp_enabled := false, + charstring pfcp_local_addr := "127.0.0.1") := { + pfcp_enabled := pfcp_enabled, + pfcp_local_addr := pfcp_local_addr, + upf_node_id := valueof(ts_PFCP_Node_ID_fqdn("\07osmocom\03org")), + up_f_seid := ts_PFCP_F_SEID_ipv4(f_inet_addr(pfcp_local_addr), c_SEID1), + hnbgw_f_seid := omit +} + type record HnbConfig { LocationAreaIdentification lai, integer sac @@ -211,7 +231,7 @@ boolean expect_separate_sccp_cr, integer tx_sccp_cr_data_len, boolean expect_compl_l3_success, - charstring pfcp_local_addr, + PfcpParameters pfcp_pars, octetstring nas_pdu optional, /* local and remote SCCP addresses, used to transmit conectionless * (unitdata) messages: */ @@ -232,7 +252,7 @@ integer tx_sccp_cr_data_len := 0, boolean expect_compl_l3_success := true, integer cn_idx := 0, - charstring pfcp_local_addr := "127.0.0.1", + template (value) PfcpParameters pfcp_pars := t_PfcpParams(), template (value) RANAP_IEs.Cause rab_rel_cause := ts_RanapCause_nas_normal, integer hnbgw_timer_x31 := 5, float t_guard := 20.0) := { @@ -246,7 +266,7 @@ expect_separate_sccp_cr := expect_separate_sccp_cr, tx_sccp_cr_data_len := tx_sccp_cr_data_len, expect_compl_l3_success := expect_compl_l3_success, - pfcp_local_addr := pfcp_local_addr, + pfcp_pars := pfcp_pars, nas_pdu := omit, sccp_addr_msc := omit, sccp_addr_hnbgw := omit, @@ -715,6 +735,141 @@ f_rab_ass_resp_cs(); } +function f_pfcp_wait_assoc_setup_req() runs on ConnHdlr { + /* ask PFCPEM to route all PDUs to us */ + f_PFCPEM_subscribe_bcast(); + + var PDU_PFCP m; + + m := f_pfcp_expect(tr_PFCP_Assoc_Setup_Req(), wait_time := 15.0); + PFCP.send(ts_PFCP_Assoc_Setup_Resp(m.sequence_number, g_pars.pfcp_pars.upf_node_id, + ts_PFCP_Cause(REQUEST_ACCEPTED), 1234)); + /* ask PFCPEM to *not* route all PDUs to us anymore */ + f_PFCPEM_unsubscribe_bcast(); +} + +function f_rab_ass_req_ps_with_pfcp() runs on ConnHdlr { + var RANAP_PDU tx; + var RANAP_PDU rx; + var PDU_PFCP m; + + /* Subscribe for PFCP Session Establishment Request PDU(s), which are + * expected to have SEID set to 0, as per 3GPP TS 29.244, section 7.2.2.4.2. */ + f_PFCPEM_subscribe_seid(c_SEID0); + + /* Send RAB Assignment Request */ + var template RAB_SetupOrModifyList rab_sml; + rab_sml := ts_RAB_SML_ps(t_RAB_id(23), f_ts_RAB_TLA(g_pars.gtp_pars.core.remote.addr), g_pars.gtp_pars.core.remote.teid); + tx := valueof(ts_RANAP_RabAssReq(rab_sml)); + BSSAP.send(tx); + + /* Expect PFCP Session Establishment Request. */ + m := f_pfcp_expect(tr_PFCP_Session_Est_Req()); + /* Ask PFCPEM to route PDUs with to be indicated F-SEID to us. */ + f_PFCPEM_subscribe_seid(c_SEID1); + /* We no longer expect to receive PFCP Session Establishment Request PDU(s). */ + f_PFCPEM_unsubscribe_seid(c_SEID0); + + var PFCP_Session_Establishment_Request serq := m.message_body.pfcp_session_establishment_request; + /* Store HNBGW F-SEID for later: */ + g_pars.pfcp_pars.hnbgw_f_seid := serq.CP_F_SEID; + + /* Acting as UPF, invent a new PFCP SEID to send to HNBGW. Respond to the Session Establishment. + * The PFCP response must have the same sequence_number as the request. */ + var template F_TEID f_teid1 := ts_PFCP_F_TEID_ipv4(g_pars.gtp_pars.core.local.teid, + f_inet_addr(g_pars.gtp_pars.core.local.addr)); + var template F_TEID f_teid2 := ts_PFCP_F_TEID_ipv4(g_pars.gtp_pars.access.local.teid, + f_inet_addr(g_pars.gtp_pars.access.local.addr)); + var template Created_PDR pdr1 := ts_PFCP_Created_PDR(pdr_id := serq.create_PDR_list[0].grouped_ie.pdr_id, + local_F_TEID := f_teid1); + var template Created_PDR pdr2 := ts_PFCP_Created_PDR(pdr_id := serq.create_PDR_list[1].grouped_ie.pdr_id, + local_F_TEID := f_teid2); + var template PDU_PFCP r := ts_PFCP_Session_Est_Resp(seq_nr := m.sequence_number, + node_id := g_pars.pfcp_pars.upf_node_id, + seid := g_pars.pfcp_pars.hnbgw_f_seid.seid, + f_seid := g_pars.pfcp_pars.up_f_seid, + created_pdr := {pdr1, pdr2}); + PFCP.send(r); + + /* Expect on Iuh: RAB Assignment Request with IP/port from PFCP Session Est Resp */ + rab_sml := ts_RAB_SML_ps(t_RAB_id(23), f_ts_RAB_TLA(g_pars.gtp_pars.access.local.addr), + g_pars.gtp_pars.access.local.teid); + rx := valueof(ts_RANAP_RabAssReq(rab_sml)); + f_rua_expect(rx); +} + +function f_rab_ass_resp_ps_with_pfcp() runs on ConnHdlr { + var RANAP_PDU tx; + var RANAP_PDU rx; + var template PDU_PFCP r; + var PDU_PFCP m; + + /* Send back RAB Assignment Response via Iuh */ + var template RAB_SetupOrModifiedList rab_smdl; + rab_smdl := ts_RAB_SMdL_ps(t_RAB_id(23), f_ts_RAB_TLA(g_pars.gtp_pars.access.remote.addr), + g_pars.gtp_pars.access.remote.teid); + tx := valueof(ts_RANAP_RabAssResp(rab_smdl)); + RUA.send(tx); + + m := f_pfcp_expect(tr_PFCP_Session_Mod_Req(g_pars.pfcp_pars.up_f_seid.seid)); + r := ts_PFCP_Session_Mod_Resp(m.sequence_number, g_pars.pfcp_pars.hnbgw_f_seid.seid); + PFCP.send(r); + + rab_smdl := ts_RAB_SMdL_ps(t_RAB_id(23), f_ts_RAB_TLA(g_pars.gtp_pars.core.local.addr), g_pars.gtp_pars.core.local.teid); + f_bssap_expect(tr_RANAP_RabAssResp(rab_smdl)); +} + +function f_create_rab_ps_with_pfcp() runs on ConnHdlr { + f_rab_ass_req_ps_with_pfcp(); + f_rab_ass_resp_ps_with_pfcp(); +} + +function f_rab_ass_req_ps_without_pfcp() runs on ConnHdlr { + var RANAP_PDU tx; + var RANAP_PDU rx; + + /* ask PFCPEM to route all PDUs to us */ + f_PFCPEM_subscribe_bcast(); + activate(as_disallow_pfcp()); + + var template RAB_SetupOrModifyList rab_sml; + rab_sml := ts_RAB_SML_ps(t_RAB_id(23), f_ts_RAB_TLA(g_pars.gtp_pars.core.remote.addr), g_pars.gtp_pars.core.remote.teid); + tx := valueof(ts_RANAP_RabAssReq(rab_sml)); + BSSAP.send(tx); + + /* Expect on Iuh: unmodified RAB Assignment Request */ + rx := valueof(ts_RANAP_RabAssReq(rab_sml)); + f_rua_expect(rx); +} + +function f_rab_ass_resp_ps_without_pfcp() runs on ConnHdlr { + var RANAP_PDU tx; + var RANAP_PDU rx; + + /* Send back RAB Assignment Response via Iuh */ + var template RAB_SetupOrModifiedList rab_smdl; + rab_smdl := ts_RAB_SMdL_ps(t_RAB_id(23), f_ts_RAB_TLA(g_pars.gtp_pars.access.remote.addr), + g_pars.gtp_pars.access.remote.teid); + tx := valueof(ts_RANAP_RabAssResp(rab_smdl)); + RUA.send(tx); + + /* Expect on IuPS: unmodified RAB Assignment Response */ + f_bssap_expect(tr_RANAP_RabAssResp(rab_smdl)); +} + +function f_create_rab_ps_without_pfcp() runs on ConnHdlr { + f_rab_ass_req_ps_without_pfcp(); + f_rab_ass_resp_ps_without_pfcp(); +} + +function f_create_rab_ps() runs on ConnHdlr { + if (g_pars.pfcp_pars.pfcp_enabled) { + f_create_rab_ps_with_pfcp(); + } else { + f_create_rab_ps_without_pfcp(); + } +} + altstep as_mgcp_dlcx() runs on ConnHdlr { var MgcpCommand mgcp_cmd; diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn index a4c9703..e89a07f 100644 --- a/hnbgw/HNBGW_Tests.ttcn +++ b/hnbgw/HNBGW_Tests.ttcn @@ -512,13 +512,17 @@ template (value) RANAP_IEs.Cause rab_rel_cause := ts_RanapCause_nas_normal) runs on test_CT return TestHdlrParams { var template (value) TestHdlrParams pars; + var template (value) PfcpParameters pfcp_pars; + + pfcp_pars := t_PfcpParams(pfcp_enabled := mp_enable_pfcp_tests, + pfcp_local_addr := mp_pfcp_ip_local); pars := t_pars(imsi_suffix, ps_domain := ps_domain, expect_separate_sccp_cr := expect_separate_sccp_cr, tx_sccp_cr_data_len := tx_sccp_cr_data_len, expect_compl_l3_success := expect_compl_l3_success, cn_idx := f_cn_idx(ps_domain, cn_nr), - pfcp_local_addr := mp_pfcp_ip_local, + pfcp_pars := pfcp_pars, rab_rel_cause := rab_rel_cause, hnbgw_timer_x31 := mp_hnbgw_timer_x31); pars.sccp_addr_hnbgw := g_cn[valueof(pars.cn_idx)].sccp_addr_peer; @@ -1380,99 +1384,25 @@ } friend function f_tc_ps_rab_assignment_with_pfcp(charstring id) runs on ConnHdlr { - const OCT8 c_SEID0 := '0000000000000000'O; - const OCT8 c_SEID1 := '1111111111111111'O; var RANAP_PDU tx; - var RANAP_PDU rx; - - /* ask PFCPEM to route all PDUs to us */ - f_PFCPEM_subscribe_bcast(); - var PDU_PFCP m; - var Node_ID upf_node_id := valueof(ts_PFCP_Node_ID_fqdn("\07osmocom\03org")); - - m := f_pfcp_expect(tr_PFCP_Assoc_Setup_Req(), wait_time := 15.0); - PFCP.send(ts_PFCP_Assoc_Setup_Resp(m.sequence_number, upf_node_id, - ts_PFCP_Cause(REQUEST_ACCEPTED), 1234)); - - /* Subscribe for PFCP Session Establishment Request PDU(s), which are - * expected to have SEID set to 0, as per 3GPP TS 29.244, section 7.2.2.4.2. */ - f_PFCPEM_subscribe_seid(c_SEID0); - - /* ask PFCPEM to *not* route all PDUs to us anymore */ - f_PFCPEM_unsubscribe_bcast(); + f_pfcp_wait_assoc_setup_req(); tx := f_build_initial_ue(g_pars); f_iuh2iu_connect(tx); - /* Send RAB Assignment Request */ - var template RAB_SetupOrModifyList rab_sml; - rab_sml := ts_RAB_SML_ps(t_RAB_id(23), f_ts_RAB_TLA(g_pars.gtp_pars.core.remote.addr), g_pars.gtp_pars.core.remote.teid); - tx := valueof(ts_RANAP_RabAssReq(rab_sml)); - BSSAP.send(tx); - - /* Expect PFCP Session Establishment Request. */ - m := f_pfcp_expect(tr_PFCP_Session_Est_Req()); - /* Ask PFCPEM to route PDUs with to be indicated F-SEID to us. */ - f_PFCPEM_subscribe_seid(c_SEID1); - /* We no longer expect to receive PFCP Session Establishment Request PDU(s). */ - f_PFCPEM_unsubscribe_seid(c_SEID0); - - var PFCP_Session_Establishment_Request serq := m.message_body.pfcp_session_establishment_request; - var F_SEID hnbgw_f_seid := serq.CP_F_SEID; - - /* Acting as UPF, invent a new PFCP SEID to send to HNBGW. Respond to the Session Establishment. - * The PFCP response must have the same sequence_number as the request. */ - var template F_SEID up_f_seid := ts_PFCP_F_SEID_ipv4(f_inet_addr("127.0.0.1"), c_SEID1); - var template F_TEID f_teid1 := ts_PFCP_F_TEID_ipv4(g_pars.gtp_pars.core.local.teid, - f_inet_addr(g_pars.gtp_pars.core.local.addr)); - var template F_TEID f_teid2 := ts_PFCP_F_TEID_ipv4(g_pars.gtp_pars.access.local.teid, - f_inet_addr(g_pars.gtp_pars.access.local.addr)); - var template Created_PDR pdr1 := ts_PFCP_Created_PDR(pdr_id := serq.create_PDR_list[0].grouped_ie.pdr_id, - local_F_TEID := f_teid1); - var template Created_PDR pdr2 := ts_PFCP_Created_PDR(pdr_id := serq.create_PDR_list[1].grouped_ie.pdr_id, - local_F_TEID := f_teid2); - var template PDU_PFCP r := ts_PFCP_Session_Est_Resp(seq_nr := m.sequence_number, - node_id := upf_node_id, - seid := hnbgw_f_seid.seid, - f_seid := up_f_seid, - created_pdr := {pdr1, pdr2}); - PFCP.send(r); - - /* Expect on Iuh: RAB Assignment Request with IP/port from PFCP Session Est Resp */ - rab_sml := ts_RAB_SML_ps(t_RAB_id(23), f_ts_RAB_TLA(g_pars.gtp_pars.access.local.addr), - g_pars.gtp_pars.access.local.teid); - rx := valueof(ts_RANAP_RabAssReq(rab_sml)); - f_rua_expect(rx); - - /* Send back RAB Assignment Response via Iuh */ - var template RAB_SetupOrModifiedList rab_smdl; - rab_smdl := ts_RAB_SMdL_ps(t_RAB_id(23), f_ts_RAB_TLA(g_pars.gtp_pars.access.remote.addr), - g_pars.gtp_pars.access.remote.teid); - tx := valueof(ts_RANAP_RabAssResp(rab_smdl)); - RUA.send(tx); - - m := f_pfcp_expect(tr_PFCP_Session_Mod_Req(up_f_seid.seid)); - r := ts_PFCP_Session_Mod_Resp(m.sequence_number, hnbgw_f_seid.seid); - PFCP.send(r); - - rab_smdl := ts_RAB_SMdL_ps(t_RAB_id(23), f_ts_RAB_TLA(g_pars.gtp_pars.core.local.addr), g_pars.gtp_pars.core.local.teid); - f_bssap_expect(tr_RANAP_RabAssResp(rab_smdl)); - + f_create_rab_ps_with_pfcp(); f_sleep(2.0); + tx := valueof(ts_RANAP_IuReleaseCommand(g_pars.rab_rel_cause)); f_iu2iuh(tx); - tx := valueof(ts_RANAP_IuReleaseComplete()); f_iuh2iu(tx); - m := f_pfcp_expect(tr_PFCP_Session_Del_Req(up_f_seid.seid)); - PFCP.send(ts_PFCP_Session_Del_Resp(m.sequence_number, hnbgw_f_seid.seid)); - + m := f_pfcp_expect(tr_PFCP_Session_Del_Req(g_pars.pfcp_pars.up_f_seid.seid)); + PFCP.send(ts_PFCP_Session_Del_Resp(m.sequence_number, g_pars.pfcp_pars.hnbgw_f_seid.seid)); /* ask PFCPEM to *not* route PDUs with this specific SEID to us */ f_PFCPEM_unsubscribe_seid(c_SEID1); - - f_sleep(2.0); } testcase TC_ps_rab_assignment_with_pfcp() runs on test_CT { @@ -1490,44 +1420,16 @@ friend function f_tc_ps_rab_assignment_without_pfcp(charstring id) runs on ConnHdlr { var RANAP_PDU tx; - var RANAP_PDU rx; - timer T := 5.0; - - /* ask PFCPEM to route all PDUs to us */ - f_PFCPEM_subscribe_bcast(); - activate(as_disallow_pfcp()); - tx := f_build_initial_ue(g_pars); f_iuh2iu_connect(tx); - /* Send RAB Assignment Request */ - var template RAB_SetupOrModifyList rab_sml; - rab_sml := ts_RAB_SML_ps(t_RAB_id(23), f_ts_RAB_TLA(g_pars.gtp_pars.core.remote.addr), g_pars.gtp_pars.core.remote.teid); - tx := valueof(ts_RANAP_RabAssReq(rab_sml)); - BSSAP.send(tx); - - /* Expect on Iuh: unmodified RAB Assignment Request */ - rx := valueof(ts_RANAP_RabAssReq(rab_sml)); - f_rua_expect(rx); - - /* Send back RAB Assignment Response via Iuh */ - var template RAB_SetupOrModifiedList rab_smdl; - rab_smdl := ts_RAB_SMdL_ps(t_RAB_id(23), f_ts_RAB_TLA(g_pars.gtp_pars.access.remote.addr), - g_pars.gtp_pars.access.remote.teid); - tx := valueof(ts_RANAP_RabAssResp(rab_smdl)); - RUA.send(tx); - - /* Expect on IuPS: unmodified RAB Assignment Response */ - f_bssap_expect(tr_RANAP_RabAssResp(rab_smdl)); - + f_create_rab_ps_without_pfcp(); f_sleep(2.0); + tx := valueof(ts_RANAP_IuReleaseCommand(g_pars.rab_rel_cause)); f_iu2iuh(tx); - tx := valueof(ts_RANAP_IuReleaseComplete()); f_iuh2iu(tx); - - f_sleep(2.0); } testcase TC_ps_rab_assignment_without_pfcp() runs on test_CT { -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38594?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: I5de50bb7032891a073e4e4e25b2dc86bc84e3d60 Gerrit-Change-Number: 38594 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de>
1 0
0 0
[M] Change in osmo-ttcn3-hacks[master]: hnbgw: Merge TC_ps_rab_assignment_* testcases
by pespin 31 Oct '24

31 Oct '24
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38595?usp=email ) Change subject: hnbgw: Merge TC_ps_rab_assignment_* testcases ...................................................................... hnbgw: Merge TC_ps_rab_assignment_* testcases Change-Id: Ibfc3a7d74494bd78d8cfb4efa535ab4cd1b07cae --- M hnbgw/HNBGW_Tests.ttcn M hnbgw/expected-results.xml 2 files changed, 17 insertions(+), 43 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/95/38595/1 diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn index e89a07f..c422ba2 100644 --- a/hnbgw/HNBGW_Tests.ttcn +++ b/hnbgw/HNBGW_Tests.ttcn @@ -1383,15 +1383,17 @@ f_shutdown_helper(); } -friend function f_tc_ps_rab_assignment_with_pfcp(charstring id) runs on ConnHdlr { +friend function f_tc_ps_rab_assignment(charstring id) runs on ConnHdlr { var RANAP_PDU tx; - var PDU_PFCP m; - f_pfcp_wait_assoc_setup_req(); + + if (g_pars.pfcp_pars.pfcp_enabled) { + f_pfcp_wait_assoc_setup_req(); + } tx := f_build_initial_ue(g_pars); f_iuh2iu_connect(tx); - f_create_rab_ps_with_pfcp(); + f_create_rab_ps(); f_sleep(2.0); tx := valueof(ts_RANAP_IuReleaseCommand(g_pars.rab_rel_cause)); @@ -1399,46 +1401,23 @@ tx := valueof(ts_RANAP_IuReleaseComplete()); f_iuh2iu(tx); - m := f_pfcp_expect(tr_PFCP_Session_Del_Req(g_pars.pfcp_pars.up_f_seid.seid)); - PFCP.send(ts_PFCP_Session_Del_Resp(m.sequence_number, g_pars.pfcp_pars.hnbgw_f_seid.seid)); - /* ask PFCPEM to *not* route PDUs with this specific SEID to us */ - f_PFCPEM_unsubscribe_seid(c_SEID1); + if (g_pars.pfcp_pars.pfcp_enabled) { + var PDU_PFCP m; + m := f_pfcp_expect(tr_PFCP_Session_Del_Req(g_pars.pfcp_pars.up_f_seid.seid)); + PFCP.send(ts_PFCP_Session_Del_Resp(m.sequence_number, g_pars.pfcp_pars.hnbgw_f_seid.seid)); + /* ask PFCPEM to *not* route PDUs with this specific SEID to us */ + f_PFCPEM_unsubscribe_seid(c_SEID1); + } } -testcase TC_ps_rab_assignment_with_pfcp() runs on test_CT { +testcase TC_ps_rab_assignment() runs on test_CT { var ConnHdlr vc_conn; g_num_hnbs := 1; f_init(); f_init_pfcp(testcasename()); f_sleep(1.0); - vc_conn := f_start_handler_with_pars(refers(f_tc_ps_rab_assignment_with_pfcp), f_TestHdlrParams(7, ps_domain := true)); - vc_conn.done; - - f_shutdown_helper(); -} - -friend function f_tc_ps_rab_assignment_without_pfcp(charstring id) runs on ConnHdlr { - var RANAP_PDU tx; - tx := f_build_initial_ue(g_pars); - f_iuh2iu_connect(tx); - - f_create_rab_ps_without_pfcp(); - f_sleep(2.0); - - tx := valueof(ts_RANAP_IuReleaseCommand(g_pars.rab_rel_cause)); - f_iu2iuh(tx); - tx := valueof(ts_RANAP_IuReleaseComplete()); - f_iuh2iu(tx); -} - -testcase TC_ps_rab_assignment_without_pfcp() runs on test_CT { - var ConnHdlr vc_conn; - f_init(); - f_init_pfcp(testcasename()); - f_sleep(1.0); - - vc_conn := f_start_handler_with_pars(refers(f_tc_ps_rab_assignment_without_pfcp), f_TestHdlrParams(7, ps_domain := true)); + vc_conn := f_start_handler_with_pars(refers(f_tc_ps_rab_assignment), f_TestHdlrParams(7, ps_domain := true)); vc_conn.done; f_shutdown_helper(); @@ -2344,12 +2323,7 @@ execute(TC_ranap_cs_creq_cref()); execute(TC_ranap_ps_creq_cref()); execute(TC_cs_iu_release_req_rua_disconnect()); - - if (mp_enable_pfcp_tests) { - execute(TC_ps_rab_assignment_with_pfcp()); - } else { - execute(TC_ps_rab_assignment_without_pfcp()); - } + execute(TC_ps_rab_assignment()); execute( TC_mscpool_L3Compl_on_1_cnlink() ); execute( TC_mscpool_L3Complete_by_imsi_round_robin() ); diff --git a/hnbgw/expected-results.xml b/hnbgw/expected-results.xml index a7f5021..7bbcdec 100644 --- a/hnbgw/expected-results.xml +++ b/hnbgw/expected-results.xml @@ -25,7 +25,7 @@ <testcase classname='HNBGW_Tests' name='TC_ranap_cs_creq_cref' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_ranap_ps_creq_cref' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_cs_iu_release_req_rua_disconnect' time='MASKED'/> - <testcase classname='HNBGW_Tests' name='TC_ps_rab_assignment_without_pfcp' time='MASKED'/> + <testcase classname='HNBGW_Tests' name='TC_ps_rab_assignment' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_mscpool_L3Compl_on_1_cnlink' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_mscpool_L3Complete_by_imsi_round_robin' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_mscpool_LU_by_tmsi_null_nri_0_round_robin' time='MASKED'/> -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38595?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: Ibfc3a7d74494bd78d8cfb4efa535ab4cd1b07cae Gerrit-Change-Number: 38595 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de>
1 0
0 0
[M] Change in osmo-ttcn3-hacks[master]: hnbgw: Move normal condition Iu Release procedure to helper function
by pespin 31 Oct '24

31 Oct '24
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38596?usp=email ) Change subject: hnbgw: Move normal condition Iu Release procedure to helper function ...................................................................... hnbgw: Move normal condition Iu Release procedure to helper function Change-Id: I5dc7923b78d1b98fea1f71aa6e39c41f70b1f3e6 --- M hnbgw/ConnHdlr.ttcn M hnbgw/HNBGW_Tests.ttcn 2 files changed, 38 insertions(+), 51 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/96/38596/1 diff --git a/hnbgw/ConnHdlr.ttcn b/hnbgw/ConnHdlr.ttcn index 47dbd21..1b053d0 100644 --- a/hnbgw/ConnHdlr.ttcn +++ b/hnbgw/ConnHdlr.ttcn @@ -542,6 +542,36 @@ return valueof(ts_RANAP_RabAssResp(rab_sml)); } +/* HNB <- CN: Iu-ReleaseCmd, HNB -> CN: Iu-ReleaseCompl */ +function f_cn_iu_release_procedure(boolean mgcp_teardown := false, boolean pfcp_teardown := false) runs on ConnHdlr { + var RANAP_PDU tx; + timer T := 5.0; + + tx := valueof(ts_RANAP_IuReleaseCommand(g_pars.rab_rel_cause)); + f_iu2iuh(tx); + + if (mgcp_teardown) { + T.start; + alt { + [] as_mgcp_dlcx() {} + [] T.timeout { + setverdict(fail, "Timeout waiting for DLCX"); + } + } + T.stop; + } + if (pfcp_teardown) { + var PDU_PFCP m; + m := f_pfcp_expect(tr_PFCP_Session_Del_Req(g_pars.pfcp_pars.up_f_seid.seid)); + PFCP.send(ts_PFCP_Session_Del_Resp(m.sequence_number, g_pars.pfcp_pars.hnbgw_f_seid.seid)); + /* ask PFCPEM to *not* route PDUs with this specific SEID to us */ + f_PFCPEM_unsubscribe_seid(c_SEID1); + } + + tx := valueof(ts_RANAP_IuReleaseComplete()); + f_iuh2iu_disconnect(tx, RUA_IEs.Cause:{radioNetwork:=normal}); +} + /* Reply to a received CRCX with an OK (or the reply configured in cpars), using the given parameters. * Return true when an OK reply was sent, false otherwise. * Count occurrence of Osmux, include Osmux parameters in the reply if necessary. */ diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn index c422ba2..c917816 100644 --- a/hnbgw/HNBGW_Tests.ttcn +++ b/hnbgw/HNBGW_Tests.ttcn @@ -1007,21 +1007,7 @@ }; f_statsd_expect(expect); - /* Send Iu Release */ - tx := valueof(ts_RANAP_IuReleaseCommand(g_pars.rab_rel_cause)); - f_iu2iuh(tx); - - T.start; - alt { - [] as_mgcp_dlcx() {} - [] T.timeout { - setverdict(fail, "Timeout waiting for DLCX"); - } - } - T.stop - - tx := valueof(ts_RANAP_IuReleaseComplete()); - f_iuh2iu(tx); + f_cn_iu_release_procedure(mgcp_teardown := true); } testcase TC_rab_assignment() runs on test_CT { @@ -1198,12 +1184,7 @@ } } - /* Send Iu Release */ - tx := valueof(ts_RANAP_IuReleaseCommand(g_pars.rab_rel_cause)); - f_iu2iuh(tx); - - tx := valueof(ts_RANAP_IuReleaseComplete()); - f_iuh2iu(tx); + f_cn_iu_release_procedure(); } testcase TC_rab_assign_mgcp_to() runs on test_CT { @@ -1273,12 +1254,12 @@ /* HNB->MSC: InitialUE */ f_iuh2iu_connect(f_build_initial_ue(g_pars)); + g_pars.rab_rel_cause := valueof(ts_RanapCause_radio_conn_release); + /* HNB->MSC: Request CN to start Iu-Release procedure: */ - f_iuh2iu(ts_RANAP_IuReleaseRequest(ts_RanapCause_radio_conn_release)); + f_iuh2iu(ts_RANAP_IuReleaseRequest(g_pars.rab_rel_cause)); /* HNB<-MSC: CN starts Iu-Release procedure: */ - f_iu2iuh(ts_RANAP_IuReleaseCommand(ts_RanapCause_radio_conn_release)); - /* HNB->MSC: RUA disconnect */ - f_iuh2iu_disconnect(ts_RANAP_IuReleaseComplete, RUA_IEs.Cause:{misc:=processing_overload}); + f_cn_iu_release_procedure(); } testcase TC_ranap_cs_mo_disconnect() runs on test_CT { var ConnHdlr vc_conn; @@ -1396,18 +1377,7 @@ f_create_rab_ps(); f_sleep(2.0); - tx := valueof(ts_RANAP_IuReleaseCommand(g_pars.rab_rel_cause)); - f_iu2iuh(tx); - tx := valueof(ts_RANAP_IuReleaseComplete()); - f_iuh2iu(tx); - - if (g_pars.pfcp_pars.pfcp_enabled) { - var PDU_PFCP m; - m := f_pfcp_expect(tr_PFCP_Session_Del_Req(g_pars.pfcp_pars.up_f_seid.seid)); - PFCP.send(ts_PFCP_Session_Del_Resp(m.sequence_number, g_pars.pfcp_pars.hnbgw_f_seid.seid)); - /* ask PFCPEM to *not* route PDUs with this specific SEID to us */ - f_PFCPEM_unsubscribe_seid(c_SEID1); - } + f_cn_iu_release_procedure(pfcp_teardown := g_pars.pfcp_pars.pfcp_enabled); } testcase TC_ps_rab_assignment() runs on test_CT { @@ -2247,20 +2217,7 @@ f_bssap_expect(tx); /* Send Iu Release */ - tx := valueof(ts_RANAP_IuReleaseCommand(g_pars.rab_rel_cause)); - f_iu2iuh(tx); - - T.start; - alt { - [] as_mgcp_dlcx() {} - [] T.timeout { - setverdict(fail, "Timeout waiting for DLCX"); - } - } - T.stop; - - tx := valueof(ts_RANAP_IuReleaseComplete()); - f_iuh2iu(tx); + f_cn_iu_release_procedure(mgcp_teardown := true); } testcase TC_second_rab_assignment() runs on test_CT { -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38596?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: I5dc7923b78d1b98fea1f71aa6e39c41f70b1f3e6 Gerrit-Change-Number: 38596 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de>
1 0
0 0
[XS] Change in osmo-ttcn3-hacks[master]: testenv: make podman stop more robust
by osmith 31 Oct '24

31 Oct '24
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38592?usp=email ) Change subject: testenv: make podman stop more robust ...................................................................... testenv: make podman stop more robust Terminate the watchdog process before killing the podman container. This avoids bogus errors from a race condition where the container gets killed first, and then the watchdog process tries to feed the watchdog and fails: [testenv] Stopping podman container [testenv] + ['podman', 'kill', 'testenv-hnbgw-all-osmocom-latest-20241031-1222-f34534a5-1'] e41700779a8ca5daf18ac5daa27d59a84d8442196e352f2756a19baf0592cf89 Error: no container with name or ID testenv-hnbgw-all-osmocom-latest-20241031-1222-f34534a5-1 found: no such container [testenv] podman container crashed! While at it, use "check=False" with the "podman kill" command, so we avoid additional error messages if the container was already killed at that point (could happen through a bug). If we fail to kill it here, it is not a problem because the watchdog will ensure it terminates shortly after the watchdog process was stopped. Related: OS#6607 Change-Id: I6c67273af5b6a80ae0c94e14cb92e3784807c21d --- M _testenv/testenv/podman.py 1 file changed, 5 insertions(+), 1 deletion(-) Approvals: osmith: Looks good to me, approved Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve diff --git a/_testenv/testenv/podman.py b/_testenv/testenv/podman.py index f849408..538ec41 100644 --- a/_testenv/testenv/podman.py +++ b/_testenv/testenv/podman.py @@ -311,6 +311,7 @@ global container_name global run_shell_on_stop global restart_count + global feed_watchdog_process if not is_running(): return @@ -329,10 +330,13 @@ restart_msg = " (restart)" if restart else "" logging.info(f"Stopping podman container{restart_msg}") - testenv.cmd.run(["podman", "kill", container_name], no_podman=True) if feed_watchdog_process: feed_watchdog_process.terminate() + feed_watchdog_process.wait() + feed_watchdog_process = None + + testenv.cmd.run(["podman", "kill", container_name], no_podman=True, check=False) if restart: testenv.cmd.run(["podman", "wait", container_name], no_podman=True, check=False) -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38592?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: I6c67273af5b6a80ae0c94e14cb92e3784807c21d Gerrit-Change-Number: 38592 Gerrit-PatchSet: 2 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> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
1 0
0 0
[XS] Change in osmo-ttcn3-hacks[master]: testenv: make podman stop more robust
by osmith 31 Oct '24

31 Oct '24
Attention is currently required from: fixeria. osmith has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38592?usp=email ) Change subject: testenv: make podman stop more robust ...................................................................... Patch Set 1: Code-Review+2 (1 comment) Patchset: PS1: I'm seeing this error a lot right now, probably a side effect of: https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38580 Merging. -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38592?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I6c67273af5b6a80ae0c94e14cb92e3784807c21d Gerrit-Change-Number: 38592 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> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Thu, 31 Oct 2024 15:55:17 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes
1 0
0 0
[XS] Change in osmo-ttcn3-hacks[master]: hnbgw/expected-results: update
by osmith 31 Oct '24

31 Oct '24
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38593?usp=email ) Change subject: hnbgw/expected-results: update ...................................................................... hnbgw/expected-results: update Add: * TC_hnb_disconnected_timeout * TC_mscpool_L3Compl_no_cn * TC_sgsnpool_L3Compl_no_cn Fixes: 25fc127c ("hnbgw: test for RUA Disconnect when there is no CN") Change-Id: Ib126ff53aa9edfeb94f5e7e058145bd4fbe7b604 --- M hnbgw/expected-results.xml 1 file changed, 4 insertions(+), 1 deletion(-) Approvals: osmith: Looks good to me, approved Jenkins Builder: Verified diff --git a/hnbgw/expected-results.xml b/hnbgw/expected-results.xml index 7d8bbbf..a7f5021 100644 --- a/hnbgw/expected-results.xml +++ b/hnbgw/expected-results.xml @@ -1,8 +1,9 @@ <?xml version="1.0"?> -<testsuite name='Titan' tests='50' failures='0' errors='0' skipped='0' inconc='0' time='MASKED'> +<testsuite name='Titan' tests='53' failures='0' errors='0' skipped='0' inconc='0' time='MASKED'> <testcase classname='HNBGW_Tests' name='TC_hnb_register' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_hnb_register_duplicate' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_hnb_register_duplicate_reuse_sctp_assoc' time='MASKED'/> + <testcase classname='HNBGW_Tests' name='TC_hnb_disconnected_timeout' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_ue_register' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_ue_register_tmsi_lai' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_ue_register_before_hnb_register' time='MASKED'/> @@ -33,6 +34,7 @@ <testcase classname='HNBGW_Tests' name='TC_mscpool_L3Complete_by_tmsi_valid_nri_msc_not_connected_round_robin' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_mscpool_L3Complete_by_tmsi_valid_nri_1' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_mscpool_L3Complete_by_tmsi_valid_nri_2' time='MASKED'/> + <testcase classname='HNBGW_Tests' name='TC_mscpool_L3Compl_no_cn' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_mscpool_LU_by_tmsi_from_other_PLMN' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_mscpool_paging_imsi' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_mscpool_paging_tmsi' time='MASKED'/> @@ -44,6 +46,7 @@ <testcase classname='HNBGW_Tests' name='TC_sgsnpool_L3Complete_no_nri_round_robin' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_sgsnpool_L3Complete_valid_nri_1' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_sgsnpool_L3Complete_valid_nri_2' time='MASKED'/> + <testcase classname='HNBGW_Tests' name='TC_sgsnpool_L3Compl_no_cn' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_sgsnpool_nri_from_other_PLMN' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_sgsnpool_sccp_n_pcstate_detaches_cnlink' time='MASKED'/> <testcase classname='HNBGW_Tests' name='TC_sgsnpool_sccp_n_pcstate_attaches_cnlink' time='MASKED'/> -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38593?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: Ib126ff53aa9edfeb94f5e7e058145bd4fbe7b604 Gerrit-Change-Number: 38593 Gerrit-PatchSet: 3 Gerrit-Owner: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
1 0
0 0
[XS] Change in osmo-ttcn3-hacks[master]: hnbgw/expected-results: update
by osmith 31 Oct '24

31 Oct '24
osmith has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38593?usp=email ) Change subject: hnbgw/expected-results: update ...................................................................... Patch Set 3: (1 comment) Patchset: PS3: merging, as discussed with Pau -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38593?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Ib126ff53aa9edfeb94f5e7e058145bd4fbe7b604 Gerrit-Change-Number: 38593 Gerrit-PatchSet: 3 Gerrit-Owner: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Comment-Date: Thu, 31 Oct 2024 14:15:25 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No
1 0
0 0
[XS] Change in osmo-ttcn3-hacks[master]: hnbgw/expected-results: update
by osmith 31 Oct '24

31 Oct '24
osmith has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38593?usp=email ) Change subject: hnbgw/expected-results: update ...................................................................... Patch Set 3: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38593?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Ib126ff53aa9edfeb94f5e7e058145bd4fbe7b604 Gerrit-Change-Number: 38593 Gerrit-PatchSet: 3 Gerrit-Owner: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Comment-Date: Thu, 31 Oct 2024 14:15:16 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
  • ← Newer
  • 1
  • 2
  • 3
  • 4
  • 5
  • ...
  • 164
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.