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

September 2026

  • 1 participants
  • 1894 discussions
[XS] Change in osmo-ttcn3-hacks[master]: HTTP2_Server_Emulation: Fix wrong value printed in log
by osmith 23 Sep '26

23 Sep '26
Attention is currently required from: pespin. osmith has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43711?usp=email ) Change subject: HTTP2_Server_Emulation: Fix wrong value printed in log ...................................................................... Patch Set 2: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43711?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: I3f66a3dd2dc529e289abc88a7e3eb4fb1e9385d9 Gerrit-Change-Number: 43711 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Wed, 23 Sep 2026 10:16:41 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[M] Change in osmo-ttcn3-hacks[master]: library/HTTP2: Use same comp_context during lifespan of a conn
by osmith 23 Sep '26

23 Sep '26
Attention is currently required from: pespin. osmith has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43708?usp=email ) Change subject: library/HTTP2: Use same comp_context during lifespan of a conn ...................................................................... Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43708?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: If438832ae647266f7eafdd1ae1d3f7766fb0689b Gerrit-Change-Number: 43708 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Wed, 23 Sep 2026 10:16:20 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[M] Change in osmo-ttcn3-hacks[master]: library/HTTP2: Support ConnHdlr registration based on path match
by osmith 23 Sep '26

23 Sep '26
Attention is currently required from: pespin. osmith has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43707?usp=email ) Change subject: library/HTTP2: Support ConnHdlr registration based on path match ...................................................................... Patch Set 1: Code-Review+1 (2 comments) File library/HTTP2_CodecPort.ttcn: https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43707/comment/96b06cfe_379e… : PS1, Line 70: //log(pin.connId, ": Rx HTTP2 preface"); unrelated change? (same below) File library/HTTP2_Server_Emulation.ttcn: https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43707/comment/0b34a35e_11fc… : PS1, Line 230: "' didn't match: ", path_pattern); */ Do you want to keep the commented out logs here? -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43707?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: Ia62b07d5ae3d1974b4cad1b19d6bdebe8e252714 Gerrit-Change-Number: 43707 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Wed, 23 Sep 2026 10:14:14 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in osmo-ttcn3-hacks[master]: IPAd: Make existing tests work with multi eIM support
by dexter 23 Sep '26

23 Sep '26
Attention is currently required from: jolly. dexter has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43655?usp=email ) Change subject: IPAd: Make existing tests work with multi eIM support ...................................................................... Patch Set 2: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43655?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: Id67bb3acc3f90805b06f441c5352ba29a28698c4 Gerrit-Change-Number: 43655 Gerrit-PatchSet: 2 Gerrit-Owner: jolly <andreas(a)eversberg.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Attention: jolly <andreas(a)eversberg.eu> Gerrit-Comment-Date: Wed, 23 Sep 2026 10:13:44 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[XS] Change in osmo-ttcn3-hacks[master]: smf: Pass idx explicitly when registering against the the HTTP Server...
by osmith 23 Sep '26

23 Sep '26
Attention is currently required from: pespin. osmith has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43700?usp=email ) Change subject: smf: Pass idx explicitly when registering against the the HTTP Server Emulation ...................................................................... Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43700?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: I40ccf951c16d1a0df21ef3b438042c76370aa933 Gerrit-Change-Number: 43700 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Wed, 23 Sep 2026 10:11:37 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[XS] Change in osmo-ttcn3-hacks[master]: smf: Nudm_UECM ids are PDUSessionId
by osmith 23 Sep '26

23 Sep '26
Attention is currently required from: fixeria, pespin. osmith has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43699?usp=email ) Change subject: smf: Nudm_UECM ids are PDUSessionId ...................................................................... Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43699?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: I39a96b55496e8beab187849cdcb72f3aabc25fd3 Gerrit-Change-Number: 43699 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Wed, 23 Sep 2026 10:11:09 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[M] Change in osmo-ttcn3-hacks[master]: HTTP2_Server_Emulation: Fix one_req_per_conn and make it configurable
by pespin 23 Sep '26

23 Sep '26
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43713?usp=email ) Change subject: HTTP2_Server_Emulation: Fix one_req_per_conn and make it configurable ...................................................................... HTTP2_Server_Emulation: Fix one_req_per_conn and make it configurable The GOAWAY must be sent upon Rx time, otherwise a quick client could sent several request headers on different streams before we answered the first one, and then those subsequent request would end up going up the stack. When the ConnHdlr sent a response down the stack, the tcp conn could already have been closed by the HTTP2 client due to receiving the GOAWAY. Fix several state transitions while at it, and make the one_req_per_conn (tx GOAWAY) configurable, supporting also receiving multiple (non-concurrent, sequential stream) requests when one_req_per_conn:=false. From the ConnHdlr PoV, setting one_req_per_conn true or false is transparent, since it simply receives HTTP2_Msg filtered by HTTP2_Server_Emulation. Change-Id: I133eac0f41cfe119531bb3a60c5f0e5cd184abc5 --- M library/HTTP2_Server_Emulation.ttcn M smf/SMF_Tests.ttcn 2 files changed, 45 insertions(+), 13 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/13/43713/1 diff --git a/library/HTTP2_Server_Emulation.ttcn b/library/HTTP2_Server_Emulation.ttcn index 13a32a3..96eb8dc 100644 --- a/library/HTTP2_Server_Emulation.ttcn +++ b/library/HTTP2_Server_Emulation.ttcn @@ -44,6 +44,8 @@ type record HTTP2_Server_Conn { IPL4asp_Types.ConnectionId conn_id, HTTP2_Server_Conn_State state, + integer last_stream_id, + boolean goaway_sent, HTTP2_comp_context ctx_dec, HTTP2_comp_context ctx_enc, HTTP2_header_block rx_hb optional /* Contains received header while in HTTP2_SERVER_CONN_ST_WAIT_BODY */ @@ -54,6 +56,9 @@ conn := { conn_id := -1, state := HTTP2_SERVER_CONN_ST_UNUSED, + /* rfc7540 6.8: "The last stream identifier can be set to 0 if no streams were processed." */ + last_stream_id := 0, + goaway_sent := false, ctx_dec := HTTP2_comp_context_init(), ctx_enc := HTTP2_comp_context_init(), rx_hb := omit @@ -114,7 +119,9 @@ type record Http2ServerEmulationCfg { charstring http2_bind_ip, - integer http2_bind_port + integer http2_bind_port, + /* If enabled, GOAWAY will be sent after first full request is received. */ + boolean one_req_per_conn }; type record HTTP2_ConnHdlr_Entry { @@ -286,6 +293,24 @@ HTTP2.send(http2_tx); } +/* Handle and forward a full request up the stack: */ +private function f_HTTP2_Server_Conn_rx_http2_msg(inout HTTP2_Server_Conn conn, HTTP2_Msg http2_msg) +runs on HTTP2_Server_Emulation_CT { + if (not conn.goaway_sent) { + conn.last_stream_id := http2_msg.stream_id; + if (g_http2_cfg.one_req_per_conn) { + /* Send GOAWAY to avoid receiving more requests on this conn: */ + f_HTTP2_Server_Conn_tx(conn, ts_HTTP2_Frame_Goaway(conn.last_stream_id, 0 /* NO_ERROR */)); + conn.goaway_sent := true; + } + } else if (http2_msg.stream_id > conn.last_stream_id) { + log(f_HTTP2_Server_Conn_str(conn), ": Ignoring received msg since we already sent GOAWAY(", + conn.last_stream_id, "): ", http2_msg); + return; + } + forward_http2_msg(conn, valueof(http2_msg)); +} + private function f_HTTP2_Server_Conn_rx_http2(inout HTTP2_Server_Conn conn, HTTP2_Recv http2_rx) runs on HTTP2_Server_Emulation_CT { var template (value) HTTP2_Msg http2_msg; @@ -338,22 +363,20 @@ log2str(f_HTTP2_Server_Conn_str(conn), ": Rx unexpected: ", http2_rx)); } if (not match(http2_rx.frame, tr_HTTP2_Frame_Header())) { - - return; /* TODO: we should only allow WINDOW_UPDATE and SETTINGS here... */ + return; } var HTTP2_header_block hb; hb := f_HTTP2_Server_Conn_header_block_decode(conn, http2_rx.frame.header_frame.header_block_fragment); - /* TODO: store header in Conn or send to ConNHdlr? */ log(f_HTTP2_Server_Conn_str(conn), ": Decompressed header: ", hb); + if (not http2_rx.frame.header_frame.end_stream_flag) { conn.rx_hb := hb; f_HTTP2_Server_Conn_st_change(conn, HTTP2_SERVER_CONN_ST_WAIT_BODY); return; } - http2_msg := ts_HTTP2_Msg(conn.conn_id, http2_rx.frame.header_frame.stream_id, hb, omit); - forward_http2_msg(conn, valueof(http2_msg)); + f_HTTP2_Server_Conn_rx_http2_msg(conn, valueof(http2_msg)); return; } case (HTTP2_SERVER_CONN_ST_WAIT_BODY) { @@ -362,17 +385,28 @@ log2str(f_HTTP2_Server_Conn_str(conn), ": Rx unexpected: ", http2_rx)); } if (not match(http2_rx.frame, tr_HTTP2_Frame_Data())) { - return; /* TODO: we should only allow WINDOW_UPDATE and SETTINGS here... */ + if (match(http2_rx.frame, tr_HTTP2_Frame_Header())) { + log(f_HTTP2_Server_Conn_str(conn), + ": FIXME: Multiple concurrent active streams not supported! requires updating HTTP2_Server_Conn to use a list of streams!"); + setverdict(fail); + return; + } + return; } if (not http2_rx.frame.data_frame.end_stream_flag) { - log("FIXME: Multiple DATA blocks not supported! requires updating HTTP2_Msg.body to be a list!"); + log(f_HTTP2_Server_Conn_str(conn), + ": FIXME: Multiple DATA blocks not supported! requires updating HTTP2_Msg.body to be a list!"); setverdict(fail); + return; + } else { + f_HTTP2_Server_Conn_st_change(conn, HTTP2_SERVER_CONN_ST_WAIT_HEADER); } + http2_msg := ts_HTTP2_Msg(conn.conn_id, http2_rx.frame.data_frame.stream_id, conn.rx_hb, http2_rx.frame.data_frame); - forward_http2_msg(conn, valueof(http2_msg)); + f_HTTP2_Server_Conn_rx_http2_msg(conn, valueof(http2_msg)); return; } case else { @@ -442,7 +476,6 @@ [] CONN.receive(HTTP2_Msg:?) -> value http2_msg sender vc_conn { //log("HTTP2_Server: Tx ", http2_msg); - var integer last_stream_id := http2_msg.stream_id; idx := f_conn_table_find_by_conn_id(http2_msg.conn_id); if (idx < 0) { @@ -468,8 +501,6 @@ http2_msg.body.padding); f_HTTP2_Server_Conn_tx(conn_table[idx], http2_frame); } - /* Send GOAWAY since we are finished: */ - f_HTTP2_Server_Conn_tx(conn_table[idx], ts_HTTP2_Frame_Goaway(last_stream_id, 0 /* NO_ERROR */)); } [] CONN_PROC.getcall(HTTP2EM_register:{?}) -> param(path_pattern) sender vc_conn { log("HTTP2_Server: Register ", vc_conn, "path: ", path_pattern); diff --git a/smf/SMF_Tests.ttcn b/smf/SMF_Tests.ttcn index 97afed9..5b726f0 100644 --- a/smf/SMF_Tests.ttcn +++ b/smf/SMF_Tests.ttcn @@ -246,7 +246,8 @@ var Http2ServerEmulationCfg http2_srv_cfg := { http2_bind_ip := mp_scp_local_ip, - http2_bind_port := mp_scp_local_port + http2_bind_port := mp_scp_local_port, + one_req_per_conn := false }; vc_HTTP2_SRV_SCP := HTTP2_Server_Emulation_CT.create(id) alive; -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43713?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: I133eac0f41cfe119531bb3a60c5f0e5cd184abc5 Gerrit-Change-Number: 43713 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de>
1 0
0 0
[M] Change in osmo-ttcn3-hacks[master]: smf: Support concurrent sessions
by pespin 23 Sep '26

23 Sep '26
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43714?usp=email ) Change subject: smf: Support concurrent sessions ...................................................................... smf: Support concurrent sessions Change-Id: I10157c936162ea001b81c054041fb9325a0e5d96 --- M library/HTTP2_Server_Emulation.ttcn M smf/SMF_Session_CT.ttcn M smf/SMF_Session_CT_4G.ttcn M smf/SMF_Session_CT_5G.ttcn M smf/SMF_Tests.ttcn M smf/expected-results.xml M smf/open5gs-smf.yaml 7 files changed, 51 insertions(+), 5 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/14/43714/1 diff --git a/library/HTTP2_Server_Emulation.ttcn b/library/HTTP2_Server_Emulation.ttcn index 96eb8dc..5b558bd 100644 --- a/library/HTTP2_Server_Emulation.ttcn +++ b/library/HTTP2_Server_Emulation.ttcn @@ -26,7 +26,7 @@ import from Native_Functions all; import from Misc_Helpers all; -const integer HTTP2_SERVER_EMU_MAX_NUM_CONNS := 16; +const integer HTTP2_SERVER_EMU_MAX_NUM_CONNS := 250; const integer HTTP2_SERVER_EMU_MAX_NUM_CONNHDLR := HTTP2_SERVER_EMU_MAX_NUM_CONNS * 3; /********************* diff --git a/smf/SMF_Session_CT.ttcn b/smf/SMF_Session_CT.ttcn index e7a78fc..e581251 100644 --- a/smf/SMF_Session_CT.ttcn +++ b/smf/SMF_Session_CT.ttcn @@ -296,6 +296,7 @@ f_handler_init_5G(); fn.apply(); + f_handler_cleanup_5G(); } /******* diff --git a/smf/SMF_Session_CT_4G.ttcn b/smf/SMF_Session_CT_4G.ttcn index 06a7e37..d041e19 100644 --- a/smf/SMF_Session_CT_4G.ttcn +++ b/smf/SMF_Session_CT_4G.ttcn @@ -225,7 +225,7 @@ * so that the PFCPEM component cannot route them unambiguously. This is why we * need to ensure that only one ConnHdlr is triggering PFCP session establishment * at the given moment of time. */ - f_Mutex_lock(__BFILE__, __LINE__); + f_Mutex_lock(__BFILE__, __LINE__, Tval := 30.0); /* 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); diff --git a/smf/SMF_Session_CT_5G.ttcn b/smf/SMF_Session_CT_5G.ttcn index f213944..0f01549 100644 --- a/smf/SMF_Session_CT_5G.ttcn +++ b/smf/SMF_Session_CT_5G.ttcn @@ -44,10 +44,24 @@ /* Index in SMF_Session_CT inherited HTTP2_ConnHdlr ports HTTP2_CONN[] and HTTP2_CONN_PROC[] */ const integer HTTP2_CONN_SCP := 0; +/* These are a preset of path matches which can be applied through the entire lifecycle of the session: */ +function f_http2_server_path_match() +runs on SMF_Session_CT return charstring { + var charstring imsi_match := "*imsi-" & g_pars.imsi_str & "*"; + var charstring sm_policy_id_match := valueof(ts_Npcf_SMPolicyControl_path_individual_sm_policy(g_pars.npcf.sm_policy_id)) & "/*"; + var charstring path_match := "(" & imsi_match & ")|(" & sm_policy_id_match & ")"; + return path_match; +} + function f_handler_init_5G() runs on SMF_Session_CT { - /* Create SCP HTTP2 sever, where IUT will send all SBI requests: */ - f_http2_server_emu_register(idx := HTTP2_CONN_SCP); + /* Register SCP HTTP2 sever, where IUT will send all SBI requests: */ + f_http2_server_emu_register(f_http2_server_path_match(), idx := HTTP2_CONN_SCP); +} + +function f_handler_cleanup_5G() +runs on SMF_Session_CT { + f_http2_server_emu_unregister(f_http2_server_path_match(), idx := HTTP2_CONN_SCP); } /******************************************** @@ -206,13 +220,17 @@ * so that the PFCPEM component cannot route them unambiguously. This is why we * need to ensure that only one ConnHdlr is triggering PFCP session establishment * at the given moment of time. */ - f_Mutex_lock(__BFILE__, __LINE__); + f_Mutex_lock(__BFILE__, __LINE__, Tval := 30.0); /* 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); f_http2_adapter_send(http2_tx); + /* PCF: register to rx generic path. We take advantage of the fact that + * we are inside a mutual exclusion zone, so only one session can be here at a time. */ + f_http2_server_emu_register(Npcf_SMPolicyControl_path_sm_policies, idx := HTTP2_CONN_SCP); + /* Expect UDM to receive GET sm-data: */ as_nudm_sdm_get_sm_data(); /* Expect UDM to receive POST sdm-subscriptions: */ @@ -230,11 +248,15 @@ /* Store obtained smContextRef:*/ var charstring created_location := valueof(f_HTTP2_header_list_find_header(http2_rx.hb.headers, c_HTTP2_HDR_location)); g_pars.nsmf.smContextRef := regexp(created_location, Nsmf_uri_prefix & Nsmf_PDUSession_path_sm_contexts & "/(?+)", 0); + /* Prepare expect for the smContextRef: */ + f_http2_server_emu_register(valueof(ts_Nsmf_PDUSession_path_sm_contexts(g_pars.nsmf.smContextRef)), + idx := HTTP2_CONN_SCP); /* Close HTTP2 conn: */ f_http2_adapter_close(idx := http2_idx); /* Expect PCF to receive POST sm-policies: */ as_npcf_smpolicycontrol_post_sm_policies(); + f_http2_server_emu_unregister(Npcf_SMPolicyControl_path_sm_policies, idx := HTTP2_CONN_SCP); /* Expect PFCP Session Establishment Request. */ as_pfcp_sess_est_req(); @@ -364,6 +386,8 @@ /* Successful answer with no content: */ as_http2_adapter_receive(http2_rx, tr_HTTP2_Msg_204_No_Content(), idx := http2_idx); + f_http2_server_emu_unregister(valueof(ts_Nsmf_PDUSession_path_sm_contexts(g_pars.nsmf.smContextRef)), + idx := HTTP2_CONN_SCP); f_http2_adapter_close(idx := http2_idx); setverdict(pass); } diff --git a/smf/SMF_Tests.ttcn b/smf/SMF_Tests.ttcn index 32af169..1c9cf5a 100644 --- a/smf/SMF_Tests.ttcn +++ b/smf/SMF_Tests.ttcn @@ -501,6 +501,22 @@ vc_conn.done; } +testcase TC_n11_createSession_deleteSession_250() runs on SMF_Test_CT { + var SMF_Session_CT vc_conn[250]; + var integer i; + + f_init(); + + for (i := 0; i < sizeof(vc_conn); i := i + 1) { + var SessionPars pars := f_SessionPars(idx := i); + vc_conn[i] := f_start_handler(refers(f_TC_n11_createSession_deleteSession), pars); + } + + for (i := 0; i < sizeof(vc_conn); i := i + 1) { + vc_conn[i].done; + } +} + control { execute( TC_tx_echo() ); execute( TC_createSession_deleteSession() ); @@ -511,6 +527,8 @@ execute( TC_s2b_createSession_v4_apco() ); execute( TC_n11_createSession_deleteSession() ); + + execute( TC_n11_createSession_deleteSession_250() ); } diff --git a/smf/expected-results.xml b/smf/expected-results.xml index a167103..c8f6931 100644 --- a/smf/expected-results.xml +++ b/smf/expected-results.xml @@ -8,4 +8,5 @@ <testcase classname='SMF_Tests' name='TC_s2b_createSession_v4_noapco' time='MASKED'/> <testcase classname='SMF_Tests' name='TC_s2b_createSession_v4_apco' time='MASKED'/> <testcase classname='SMF_Tests' name='TC_n11_createSession_deleteSession' time='MASKED'/> + <testcase classname='SMF_Tests' name='TC_n11_createSession_deleteSession_250' time='MASKED'/> </testsuite> diff --git a/smf/open5gs-smf.yaml b/smf/open5gs-smf.yaml index f37de82..c5dbea1 100644 --- a/smf/open5gs-smf.yaml +++ b/smf/open5gs-smf.yaml @@ -70,3 +70,5 @@ max: time: + message: + duration: 20000 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43714?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: I10157c936162ea001b81c054041fb9325a0e5d96 Gerrit-Change-Number: 43714 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de>
1 0
0 0
[XS] Change in osmo-ttcn3-hacks[master]: bts: f_start_handler(): pass trx_nr to f_resolve_fh_params()
by osmith 23 Sep '26

23 Sep '26
Attention is currently required from: fixeria. osmith has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43712?usp=email ) Change subject: bts: f_start_handler(): pass trx_nr to f_resolve_fh_params() ...................................................................... Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43712?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: Id79a71c5b35407c88bf029116575a0f7f4c7e45f Gerrit-Change-Number: 43712 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Wed, 23 Sep 2026 09:34:18 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[XS] Change in osmo-ttcn3-hacks[master]: bts: TC_nr_seq_error: handle occasional func=RR
by osmith 23 Sep '26

23 Sep '26
Attention is currently required from: fixeria, laforge. osmith has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43690?usp=email ) Change subject: bts: TC_nr_seq_error: handle occasional func=RR ...................................................................... Patch Set 2: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43690?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: I49cb6dcfa66208df246f8da7116d9fc8cba1f11e Gerrit-Change-Number: 43690 Gerrit-PatchSet: 2 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Attention: laforge <laforge(a)osmocom.org> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Wed, 23 Sep 2026 09:33:16 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • ...
  • 190
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.