07:12:33.387696 mtc RemsimServer_Tests.ttcn:143 Starting external command `../ttcn3-tcpdump-start.sh RemsimServer_Tests.TC_connect_client_duplicate'. 07:12:34.403704 mtc RemsimServer_Tests.ttcn:143 External command `../ttcn3-tcpdump-start.sh RemsimServer_Tests.TC_connect_client_duplicate' was executed successfully (exit status: 0). 07:12:34.403795 mtc RemsimServer_Tests.ttcn:143 Test case TC_connect_client_duplicate started. 07:12:34.403832 mtc RemsimServer_Tests.ttcn:143 Initializing variables, timers and ports of component type RemsimServer_Tests.test_CT inside testcase TC_connect_client_duplicate. 07:12:34.403884 mtc RemsimServer_Tests.ttcn:143 Port HTTP was started. 07:12:34.403915 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[0] was started. 07:12:34.403943 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[1] was started. 07:12:34.403972 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[2] was started. 07:12:34.404001 mtc RemsimServer_Tests.ttcn:143 Component type RemsimServer_Tests.test_CT was initialized. 07:12:34.404045 mtc RemsimServer_Tests.ttcn:94 Start timer g_T_guard: 60 s 07:12:34.404080 mtc RemsimServer_Tests.ttcn:95 Altstep as_Tguard was activated as default, id 1 07:12:34.404116 mtc HTTP_Adapter.ttcn:33 Mapping port mtc:HTTP to system:HTTP. 07:12:34.404208 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering HTTPmsg__PT::set_parameter(http_debugging, yes) 07:12:34.404242 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering SSL_Socket::parameter_set(http_debugging, yes) 07:12:34.404268 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving SSL_Socket::parameter_set(http_debugging, yes) 07:12:34.404291 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering Abstract_Socket::parameter_set(http_debugging, yes) 07:12:34.404314 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving Abstract_Socket::parameter_set(http_debugging, yes) 07:12:34.404338 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving HTTPmsg__PT::set_parameter(http_debugging, yes) 07:12:34.404361 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering HTTPmsg__PT::set_parameter(use_notification_ASPs, yes) 07:12:34.404384 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving HTTPmsg__PT::set_parameter(use_notification_ASPs, yes) 07:12:34.404407 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering HTTPmsg__PT::user_map(HTTP) 07:12:34.404431 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering Abstract_Socket::map_user() 07:12:34.404455 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving Abstract_Socket::map_user() 07:12:34.404478 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving HTTPmsg__PT::user_map() 07:12:34.404501 mtc HTTP_Adapter.ttcn:33 Port HTTP was mapped to system:HTTP. 07:12:34.404563 mtc HTTP_Adapter.ttcn:33 Map operation of mtc:HTTP to system:HTTP finished. 07:12:34.404619 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.165.20", portnumber := 9997, use_ssl := false } 07:12:34.404647 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 07:12:34.404674 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.165.20/9997, localAddr: UNSPEC/UNSPEC) called 07:12:34.404785 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 07:12:34.404824 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 07:12:34.404851 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 07:12:34.404979 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.165.10/55398 -> 172.18.165.20/9997 07:12:34.405010 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.165.20 service 9997 via address family IPv4 07:12:34.405037 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 07:12:34.405061 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:34.405085 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:34.405108 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 07:12:34.405132 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 07:12:34.405176 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 07:12:34.405202 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 07:12:34.405226 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 07:12:34.405250 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 07:12:34.405277 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 1 07:12:34.405305 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 07:12:34.405330 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 07:12:34.405356 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 07:12:34.405390 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 07:12:34.405429 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 1 07:12:34.405462 mtc HTTP_Adapter.ttcn:194 Message with id 1 was extracted from the queue of HTTP. 07:12:34.405543 mtc HTTP_Adapter.ttcn:211 Sent on HTTP to system @HTTPmsg_Types.HTTPMessage : { request := { client_id := 8, method := "POST", uri := "/api/backend/v1/global-reset", version_major := 1, version_minor := 1, header := { { header_name := "Host", header_value := "172.18.165.20:9997" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } 07:12:34.405578 mtc HTTP_Adapter.ttcn:211 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:34.405609 mtc HTTP_Adapter.ttcn:211 Abstract socket: entering Abstract_Socket::send_outgoing() 07:12:34.405634 mtc HTTP_Adapter.ttcn:211 Abstract socket: Sending data: Size: 123, Msg: 50 4f 53 54 20 2f 61 70 69 2f 62 61 63 6b 65 6e 64 2f 76 31 2f 67 6c 6f 62 61 6c 2d 72 65 73 65 74 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 74 3a 20 31 37 32 2e 31 38 2e 31 36 35 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 30 0d 0a 0d 0a 07:12:34.405699 mtc HTTP_Adapter.ttcn:211 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 07:12:34.405746 mtc HTTP_Adapter.ttcn:211 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 07:12:34.405826 mtc HTTP_Adapter.ttcn:211 Abstract socket: Nr of bytes sent = 123 07:12:34.405854 mtc HTTP_Adapter.ttcn:211 Abstract socket: leaving Abstract_Socket::send_outgoing() 07:12:34.405879 mtc HTTP_Adapter.ttcn:211 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:34.405908 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 07:12:34.406131 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 07:12:34.406168 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 07:12:34.406186 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 07:12:34.406203 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 07:12:34.406219 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 07:12:34.406241 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.165.10/55398 07:12:34.406258 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received, buffer content: Size: 75, Msg: 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 44 61 74 65 3a 20 54 68 75 2c 20 33 31 20 4f 63 74 20 32 30 32 34 20 30 37 3a 31 32 3a 33 34 20 47 4d 54 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 30 0d 0a 0d 0a 07:12:34.406291 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 07:12:34.406315 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 75 07:12:34.406332 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 07:12:34.406348 mtc HTTP_Adapter.ttcn:235 DECODER: 07:12:34.406366 mtc HTTP_Adapter.ttcn:235 method_name: 07:12:34.406384 mtc HTTP_Adapter.ttcn:235 Decoding the headers 07:12:34.406402 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:34.406419 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:34.406436 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 07:12:34.406452 mtc HTTP_Adapter.ttcn:235 lengthof body: 0, content_length given: 0 07:12:34.406468 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 07:12:34.406485 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 07:12:34.406509 mtc HTTP_Adapter.ttcn:235 Message enqueued on HTTP from system @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Thu, 31 Oct 2024 07:12:34 GMT" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } id 2 07:12:34.406531 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 07:12:34.406547 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 07:12:34.406563 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 07:12:34.406578 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 07:12:34.406594 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 07:12:34.406614 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 07:12:34.406637 mtc HTTP_Adapter.ttcn:236 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Thu, 31 Oct 2024 07:12:34 GMT" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } id 2 07:12:34.406657 mtc HTTP_Adapter.ttcn:236 Message with id 2 was extracted from the queue of HTTP. 07:12:34.406674 mtc HTTP_Adapter.ttcn:237 setverdict(pass): none -> pass 07:12:34.406703 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 07:12:34.406721 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 07:12:34.406738 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 07:12:34.406754 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 07:12:34.406770 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 07:12:34.406789 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 07:12:34.406816 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 07:12:34.406834 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 07:12:34.406850 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 07:12:34.406866 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:34.406884 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:34.406904 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 07:12:34.406926 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 07:12:34.406973 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 07:12:34.406992 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 07:12:34.407016 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 07:12:34.407033 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 07:12:34.407049 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 07:12:34.407073 mtc REMSIM_Tests.ttcn:59 Creating new PTC with component type IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. 07:12:34.412297 5 - Warning: A plug-in from the same path `libjunitlogger2' is already active, skipping plug-in 07:12:34.412398 5 - TTCN-3 Parallel Test Component started on 2425220f4775. Component reference: RSPRO0(5), component type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. Version: 9.0.0. 07:12:34.412431 5 - TTCN Logger v2.2 options: TimeStampFormat:=Time; LogEntityName:=No; LogEventTypes:=No; SourceInfoFormat:=Single; LogSensitiveData:=No; *.FileMask:=LOG_ALL | MATCHING | DEBUG; *.ConsoleMask:=ERROR | TESTCASE | USER | VERDICTOP | WARNING; LogFileSize:=0; LogFileNumber:=1; DiskFullAction:=Error 07:12:34.412499 5 - Connected to MC. 07:12:34.412526 5 - Initializing variables, timers and ports of component type IPA_Emulation.IPA_Emulation_CT inside testcase TC_connect_client_duplicate. 07:12:34.412556 mtc REMSIM_Tests.ttcn:59 PTC was created. Component reference: 5, alive: no, type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. 07:12:34.412604 mtc REMSIM_Tests.ttcn:69 Mapping port RSPRO0(5):IPA_PORT to system:IPA_CODEC_PT. 07:12:34.413451 5 - Port IPA_PORT was started. 07:12:34.413485 5 - Port CFG_PORT was started. 07:12:34.413500 5 - Port IPA_CTRL_PORT was started. 07:12:34.413514 5 - Port IPA_RSPRO_PORT was started. 07:12:34.413528 5 - Port IPA_SP_PORT was started. 07:12:34.413542 5 - Component type IPA_Emulation.IPA_Emulation_CT was initialized. 07:12:34.413582 5 - Port IPA_PORT was mapped to system:IPA_CODEC_PT. 07:12:34.413633 mtc REMSIM_Tests.ttcn:69 Map operation of RSPRO0(5):IPA_PORT to system:IPA_CODEC_PT finished. 07:12:34.413659 mtc REMSIM_Tests.ttcn:70 Connecting ports RSPRO0(5):IPA_RSPRO_PORT and mtc:RSPRO[0]. 07:12:34.413787 mtc REMSIM_Tests.ttcn:70 Port RSPRO[0] is waiting for connection from RSPRO0(5):IPA_RSPRO_PORT on UNIX pathname /tmp/ttcn3-portconn-b33de30b. 07:12:34.413832 5 - Port IPA_RSPRO_PORT has established the connection with mtc:RSPRO[0] using transport type UNIX. 07:12:34.413879 mtc REMSIM_Tests.ttcn:70 Port RSPRO[0] has accepted the connection from RSPRO0(5):IPA_RSPRO_PORT. 07:12:34.413904 mtc REMSIM_Tests.ttcn:70 Connect operation on RSPRO0(5):IPA_RSPRO_PORT and mtc:RSPRO[0] finished. 07:12:34.413924 mtc REMSIM_Tests.ttcn:72 Starting function main_client("172.18.165.20", 9998, "", 10000, { ser_nr := "", name := "Osmocom TTCN-3 RSPRO client simulator", location1 := "", location2 := "", equip_version := "", sw_version := "", ip_addr := "", mac_addr := "", unit_id := "0/1/2", osmo_rand := "" }, true) on component RSPRO0(5). 07:12:34.413981 mtc REMSIM_Tests.ttcn:72 Function was started. 07:12:34.413999 mtc REMSIM_Tests.ttcn:74 Start timer T: 4 s 07:12:34.414081 5 - Starting function main_client("172.18.165.20", 9998, "", 10000, { ser_nr := "", name := "Osmocom TTCN-3 RSPRO client simulator", location1 := "", location2 := "", equip_version := "", sw_version := "", ip_addr := "", mac_addr := "", unit_id := "0/1/2", osmo_rand := "" }, true). 07:12:34.414303 5 IPA_Emulation.ttcnpp:309 entering f__IPL4__PROVIDER__connect: :10000 -> 172.18.165.20:9998 / TCP 07:12:34.415105 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:34.415238 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '06'O 07:12:34.415393 5 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:34.415480 5 IPA_Emulation.ttcnpp:473 Sent on IPA_PORT to system @IPA_CodecPort.IPA_Send : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '06'O } 07:12:34.415577 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Encoding @IPA_Types.PDU_IPA: { lengthInd := 0, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '06'O } 07:12:34.415664 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE06'O 07:12:34.415728 5 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE06'O } 07:12:34.415991 5 IPA_Emulation.ttcnpp:398 Sent on IPA_RSPRO_PORT to mtc @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_UP (1), conn_id := 1, id_resp := omit } 07:12:34.416092 mtc REMSIM_Tests.ttcn:75 Message enqueued on RSPRO[0] from RSPRO0(5) @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_UP (1), conn_id := 1, id_resp := omit } id 1 07:12:34.416133 mtc REMSIM_Tests.ttcn:76 Matching on port RSPRO[0] succeeded: matched 07:12:34.416154 mtc REMSIM_Tests.ttcn:76 Receive operation on port RSPRO[0] succeeded, message from RSPRO0(5): @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_UP (1), conn_id := 1, id_resp := omit } id 1 07:12:34.416173 mtc REMSIM_Tests.ttcn:76 Message with id 1 was extracted from the queue of RSPRO[0]. 07:12:34.416190 mtc REMSIM_Tests.ttcn:82 Warning: Re-starting timer T, which is already active (running or expired). 07:12:34.416214 mtc REMSIM_Tests.ttcn:82 Start timer T: 4 s 07:12:34.416541 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.165.20", remPort := 9998, locName := "172.18.165.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0001FE00'O } id 1 07:12:34.416577 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE00'O 07:12:34.416660 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Decoded @IPA_Types.PDU_IPA: { lengthInd := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '00'O } 07:12:34.416690 5 IPA_Emulation.ttcnpp:735 Incoming message was mapped to @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '00'O } id 1 07:12:34.416717 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.165.20", remPort := 9998, locName := "172.18.165.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0001FE06'O } id 2 07:12:34.416735 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE06'O 07:12:34.416753 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Decoded @IPA_Types.PDU_IPA: { lengthInd := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '06'O } 07:12:34.416780 5 IPA_Emulation.ttcnpp:735 Incoming message was mapped to @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '06'O } id 2 07:12:34.416832 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 07:12:34.416868 5 IPA_Emulation.ttcnpp:737 Receive operation on port IPA_PORT succeeded, message from system(): @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '00'O } id 1 07:12:34.416888 5 IPA_Emulation.ttcnpp:737 Message with id 1 was extracted from the queue of IPA_PORT. 07:12:34.416911 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '00'O 07:12:34.416960 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PING (0), u := omit } 07:12:34.416980 5 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_PING (0), u := omit } 07:12:34.417017 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PONG (1), u := omit } 07:12:34.417038 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '01'O 07:12:34.417057 5 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_PONG (1), u := omit } 07:12:34.417084 5 IPA_Emulation.ttcnpp:473 Sent on IPA_PORT to system @IPA_CodecPort.IPA_Send : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '01'O } 07:12:34.417104 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Encoding @IPA_Types.PDU_IPA: { lengthInd := 0, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '01'O } 07:12:34.417125 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE01'O 07:12:34.417143 5 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE01'O } 07:12:34.417188 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 07:12:34.417208 5 IPA_Emulation.ttcnpp:737 Receive operation on port IPA_PORT succeeded, message from system(): @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '06'O } id 2 07:12:34.417226 5 IPA_Emulation.ttcnpp:737 Message with id 2 was extracted from the queue of IPA_PORT. 07:12:34.417242 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '06'O 07:12:34.417260 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:34.417276 5 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:34.417306 5 IPA_Emulation.ttcnpp:398 Sent on IPA_RSPRO_PORT to mtc @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_ID_ACK (3), conn_id := 1, id_resp := omit } 07:12:34.417348 mtc REMSIM_Tests.ttcn:83 Message enqueued on RSPRO[0] from RSPRO0(5) @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_ID_ACK (3), conn_id := 1, id_resp := omit } id 2 07:12:34.417392 mtc REMSIM_Tests.ttcn:84 Matching on port RSPRO[0] succeeded: matched 07:12:34.417418 mtc REMSIM_Tests.ttcn:84 Receive operation on port RSPRO[0] succeeded, message from RSPRO0(5): @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_ID_ACK (3), conn_id := 1, id_resp := omit } id 2 07:12:34.417437 mtc REMSIM_Tests.ttcn:84 Message with id 2 was extracted from the queue of RSPRO[0]. 07:12:34.417455 mtc REMSIM_Tests.ttcn:92 Altstep as_ignore_id_ack was activated as default, id 2 07:12:34.417488 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.165.20", portnumber := 9997, use_ssl := false } 07:12:34.417507 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 07:12:34.417525 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.165.20/9997, localAddr: UNSPEC/UNSPEC) called 07:12:34.417588 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 07:12:34.417614 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 07:12:34.417632 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 07:12:34.417731 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.165.10/55404 -> 172.18.165.20/9997 07:12:34.417759 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.165.20 service 9997 via address family IPv4 07:12:34.417784 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 07:12:34.417801 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:34.417816 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:34.417832 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 07:12:34.417848 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 07:12:34.417867 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 07:12:34.417883 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 07:12:34.417899 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 07:12:34.417915 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 07:12:34.417932 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 3 07:12:34.417951 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 07:12:34.417967 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 07:12:34.417984 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 07:12:34.418004 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 07:12:34.418021 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 3 07:12:34.418039 mtc HTTP_Adapter.ttcn:194 Message with id 3 was extracted from the queue of HTTP. 07:12:34.418078 mtc HTTP_Adapter.ttcn:220 Sent on HTTP to system @HTTPmsg_Types.HTTPMessage : { request := { client_id := 8, method := "GET", uri := "/api/backend/v1/clients", version_major := 1, version_minor := 1, header := { { header_name := "Host", header_value := "172.18.165.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 07:12:34.418098 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:34.418117 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering Abstract_Socket::send_outgoing() 07:12:34.418133 mtc HTTP_Adapter.ttcn:220 Abstract socket: Sending data: Size: 98, Msg: 47 45 54 20 2f 61 70 69 2f 62 61 63 6b 65 6e 64 2f 76 31 2f 63 6c 69 65 6e 74 73 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 74 3a 20 31 37 32 2e 31 38 2e 31 36 35 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 0d 0a 07:12:34.418170 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 07:12:34.418186 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 07:12:34.418233 mtc HTTP_Adapter.ttcn:220 Abstract socket: Nr of bytes sent = 98 07:12:34.418252 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving Abstract_Socket::send_outgoing() 07:12:34.418267 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:34.418286 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 07:12:34.418373 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 07:12:34.418391 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 07:12:34.418407 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 07:12:34.418423 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 07:12:34.418439 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 07:12:34.418465 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.165.10/55404 07:12:34.418488 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received, buffer content: Size: 122, Msg: 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 44 61 74 65 3a 20 54 68 75 2c 20 33 31 20 4f 63 74 20 32 30 32 34 20 30 37 3a 31 32 3a 33 34 20 47 4d 54 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 31 34 0d 0a 0d 0a 7b 22 63 6c 69 65 6e 74 73 22 3a 5b 5d 7d 07:12:34.418538 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 07:12:34.418554 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 122 07:12:34.418571 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 07:12:34.418587 mtc HTTP_Adapter.ttcn:235 DECODER: 07:12:34.418603 mtc HTTP_Adapter.ttcn:235 method_name: 07:12:34.418620 mtc HTTP_Adapter.ttcn:235 Decoding the headers 07:12:34.418637 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:34.418655 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:34.418671 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:34.418688 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 07:12:34.418704 mtc HTTP_Adapter.ttcn:235 Decoding body, buffer length: 14 07:12:34.418719 mtc HTTP_Adapter.ttcn:235 lengthof body: 14, content_length given: 14 07:12:34.418736 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 07:12:34.418753 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 07:12:34.418778 mtc HTTP_Adapter.ttcn:235 Message enqueued on HTTP from system @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Thu, 31 Oct 2024 07:12:34 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "14" } }, body := "{\"clients\":[]}" } } id 4 07:12:34.418798 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 07:12:34.418815 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 07:12:34.418831 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 07:12:34.418846 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 07:12:34.418862 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 07:12:34.418881 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 07:12:34.418904 mtc HTTP_Adapter.ttcn:236 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Thu, 31 Oct 2024 07:12:34 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "14" } }, body := "{\"clients\":[]}" } } id 4 07:12:34.418924 mtc HTTP_Adapter.ttcn:236 Message with id 4 was extracted from the queue of HTTP. 07:12:34.418940 mtc HTTP_Adapter.ttcn:237 setverdict(pass): pass -> pass, component reason not changed 07:12:34.418967 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 07:12:34.418985 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 07:12:34.419001 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 07:12:34.419016 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 07:12:34.419032 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 07:12:34.419048 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 07:12:34.419067 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 07:12:34.419093 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 07:12:34.419114 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 07:12:34.419133 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:34.419149 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:34.419164 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 07:12:34.419180 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 07:12:34.419220 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 07:12:34.419238 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 07:12:34.419254 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 07:12:34.419270 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 07:12:34.419285 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 07:12:34.419305 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Stream before decoding: '7B22636C69656E7473223A5B5D7D'O ("{\"clients\":[]}") 07:12:34.419337 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Decoded @RSRES.JsRoot: { clients := { }, banks := omit, slotmaps := omit } 07:12:34.419400 mtc REMSIM_Tests.ttcn:150 Sent on RSPRO[0] to RSPRO0(5) @RSPRO.RsproPDU : { version := 2, tag := 0, msg := { connectClientReq := { identity := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, clientSlot := { clientId := 13, slotNr := 1 } } } } 07:12:34.419437 mtc REMSIM_Tests.ttcn:109 Start timer T: 10 s 07:12:34.419780 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_RSPRO_PORT from mtc @RSPRO.RsproPDU : { version := 2, tag := 0, msg := { connectClientReq := { identity := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, clientSlot := { clientId := 13, slotNr := 1 } } } } id 1 07:12:34.419980 5 IPA_Emulation.ttcnpp:896 Matching on port IPA_RSPRO_PORT succeeded: matched 07:12:34.420010 5 IPA_Emulation.ttcnpp:896 Receive operation on port IPA_RSPRO_PORT succeeded, message from mtc: @RSPRO.RsproPDU : { version := 2, tag := 0, msg := { connectClientReq := { identity := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, clientSlot := { clientId := 13, slotNr := 1 } } } } id 1 07:12:34.420037 5 IPA_Emulation.ttcnpp:896 Message with id 1 was extracted from the queue of IPA_RSPRO_PORT. 07:12:34.420458 5 IPA_Emulation.ttcnpp:899 Sent on IPA_PORT to system @IPA_CodecPort.IPA_Send : { connId := 1, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), msg := '3035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 07:12:34.420490 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Encoding @IPA_Types.PDU_IPA: { lengthInd := 0, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), payloadData := '3035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 07:12:34.420531 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O 07:12:34.420566 5 IPA_Emulation.ttcnpp:899 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 07:12:34.461987 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.165.20", remPort := 9998, locName := "172.18.165.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0054EE07305180010281020926A248A34630410A0101160C303465633565626163323834800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431303330323032397E6173616E0A0100'O } id 3 07:12:34.462023 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0054EE07305180010281020926A248A34630410A0101160C303465633565626163323834800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431303330323032397E6173616E0A0100'O 07:12:34.462064 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Decoded @IPA_Types.PDU_IPA: { lengthInd := 84, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), payloadData := '305180010281020926A248A34630410A0101160C303465633565626163323834800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431303330323032397E6173616E0A0100'O } 07:12:34.462099 5 IPA_Emulation.ttcnpp:735 Incoming message was mapped to @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), msg := '305180010281020926A248A34630410A0101160C303465633565626163323834800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431303330323032397E6173616E0A0100'O } id 3 07:12:34.462165 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT IPAC_PROTO_OSMO (238) with IPAC_PROTO_CCM (254) unmatchedIPAC_PROTO_EXT_RSPRO (7) with omit unmatched: First message in the queue does not match the template: 07:12:34.462188 5 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT succeeded: matched 07:12:34.462211 5 IPA_Emulation.ttcnpp:753 Receive operation on port IPA_PORT succeeded, message from system(): @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), msg := '305180010281020926A248A34630410A0101160C303465633565626163323834800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431303330323032397E6173616E0A0100'O } id 3 07:12:34.462238 5 IPA_Emulation.ttcnpp:753 Message with id 3 was extracted from the queue of IPA_PORT. 07:12:34.462632 5 IPA_Emulation.ttcnpp:642 Sent on IPA_RSPRO_PORT to mtc @RSPRO.RsproPDU : { version := 2, tag := 2342, msg := { connectClientRes := { identity := { type_ := remsimServer (1), name := "04ec5ebac284", software := "remsim-server", swVersion := "1.0.0.62-5b8a.202410302029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } 07:12:34.462812 mtc REMSIM_Tests.ttcn:110 Message enqueued on RSPRO[0] from RSPRO0(5) @RSPRO.RsproPDU : { version := 2, tag := 2342, msg := { connectClientRes := { identity := { type_ := remsimServer (1), name := "04ec5ebac284", software := "remsim-server", swVersion := "1.0.0.62-5b8a.202410302029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } id 3 07:12:34.462867 mtc REMSIM_Tests.ttcn:111 Matching on port RSPRO[0] succeeded: matched 07:12:34.462898 mtc REMSIM_Tests.ttcn:111 Receive operation on port RSPRO[0] succeeded, message from RSPRO0(5): @RSPRO.RsproPDU : { version := 2, tag := 2342, msg := { connectClientRes := { identity := { type_ := remsimServer (1), name := "04ec5ebac284", software := "remsim-server", swVersion := "1.0.0.62-5b8a.202410302029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } id 3 07:12:34.462923 mtc REMSIM_Tests.ttcn:111 Message with id 3 was extracted from the queue of RSPRO[0]. 07:12:34.462944 mtc REMSIM_Tests.ttcn:112 setverdict(pass): pass -> pass, component reason not changed 07:12:34.462989 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.165.20", portnumber := 9997, use_ssl := false } 07:12:34.463015 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 07:12:34.463038 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.165.20/9997, localAddr: UNSPEC/UNSPEC) called 07:12:34.463120 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 07:12:34.463155 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 07:12:34.463179 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 07:12:34.463276 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.165.10/55408 -> 172.18.165.20/9997 07:12:34.463303 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.165.20 service 9997 via address family IPv4 07:12:34.463337 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 07:12:34.463362 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:34.463385 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:34.463405 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 07:12:34.463426 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 07:12:34.463450 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 07:12:34.463471 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 07:12:34.463491 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 07:12:34.463512 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 07:12:34.463534 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 5 07:12:34.463557 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 07:12:34.463578 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 07:12:34.463599 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 07:12:34.463623 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 07:12:34.463647 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 5 07:12:34.463670 mtc HTTP_Adapter.ttcn:194 Message with id 5 was extracted from the queue of HTTP. 07:12:34.463719 mtc HTTP_Adapter.ttcn:220 Sent on HTTP to system @HTTPmsg_Types.HTTPMessage : { request := { client_id := 8, method := "GET", uri := "/api/backend/v1/clients", version_major := 1, version_minor := 1, header := { { header_name := "Host", header_value := "172.18.165.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 07:12:34.463744 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:34.463768 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering Abstract_Socket::send_outgoing() 07:12:34.463788 mtc HTTP_Adapter.ttcn:220 Abstract socket: Sending data: Size: 98, Msg: 47 45 54 20 2f 61 70 69 2f 62 61 63 6b 65 6e 64 2f 76 31 2f 63 6c 69 65 6e 74 73 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 74 3a 20 31 37 32 2e 31 38 2e 31 36 35 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 0d 0a 07:12:34.463842 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 07:12:34.463862 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 07:12:34.463923 mtc HTTP_Adapter.ttcn:220 Abstract socket: Nr of bytes sent = 98 07:12:34.463948 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving Abstract_Socket::send_outgoing() 07:12:34.463968 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:34.463992 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 07:12:34.464157 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 07:12:34.464182 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 07:12:34.464202 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 07:12:34.464222 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 07:12:34.464242 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 07:12:34.464273 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.165.10/55408 07:12:34.464303 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received, buffer content: Size: 287, Msg: 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 44 61 74 65 3a 20 54 68 75 2c 20 33 31 20 4f 63 74 20 32 30 32 34 20 30 37 3a 31 32 3a 33 34 20 47 4d 54 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 31 37 38 0d 0a 0d 0a 7b 22 63 6c 69 65 6e 74 73 22 3a 5b 7b 22 70 65 65 72 22 3a 22 43 31 33 3a 31 22 2c 22 73 74 61 74 65 22 3a 22 43 4f 4e 4e 45 43 54 45 44 5f 43 4c 49 45 4e 54 22 2c 22 63 6f 6d 70 6f 6e 65 6e 74 5f 69 64 22 3a 7b 22 74 79 70 65 5f 22 3a 22 72 65 6d 73 69 6d 43 6c 69 65 6e 74 22 2c 22 6e 61 6d 65 22 3a 22 66 6f 6f 62 61 72 22 2c 22 73 6f 66 74 77 61 72 65 22 3a 22 54 54 43 4e 33 22 2c 22 73 77 56 65 72 73 69 6f 6e 22 3a 22 30 2e 31 22 2c 22 68 77 4d 61 6e 75 66 61 63 74 75 72 65 72 22 3a 22 73 79 73 6d 6f 63 6f 6d 22 7d 7d 5d 7d 07:12:34.464398 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 07:12:34.464419 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 287 07:12:34.464440 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 07:12:34.464460 mtc HTTP_Adapter.ttcn:235 DECODER: 07:12:34.464482 mtc HTTP_Adapter.ttcn:235 method_name: 07:12:34.464504 mtc HTTP_Adapter.ttcn:235 Decoding the headers 07:12:34.464525 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:34.464547 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:34.464568 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:34.464590 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 07:12:34.464610 mtc HTTP_Adapter.ttcn:235 Decoding body, buffer length: 178 07:12:34.464629 mtc HTTP_Adapter.ttcn:235 lengthof body: 178, content_length given: 178 07:12:34.464650 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 07:12:34.464672 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 07:12:34.464712 mtc HTTP_Adapter.ttcn:235 Message enqueued on HTTP from system @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Thu, 31 Oct 2024 07:12:34 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "178" } }, body := "{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}" } } id 6 07:12:34.464739 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 07:12:34.464760 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 07:12:34.464780 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 07:12:34.464799 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 07:12:34.464819 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 07:12:34.464844 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 07:12:34.464882 mtc HTTP_Adapter.ttcn:236 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Thu, 31 Oct 2024 07:12:34 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "178" } }, body := "{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}" } } id 6 07:12:34.464917 mtc HTTP_Adapter.ttcn:236 Message with id 6 was extracted from the queue of HTTP. 07:12:34.464939 mtc HTTP_Adapter.ttcn:237 setverdict(pass): pass -> pass, component reason not changed 07:12:34.464972 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 07:12:34.464994 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 07:12:34.465014 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 07:12:34.465034 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 07:12:34.465055 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 07:12:34.465075 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 07:12:34.465099 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 07:12:34.465119 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 07:12:34.465140 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 07:12:34.465160 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:34.465180 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:34.465200 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 07:12:34.465220 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 07:12:34.465268 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 07:12:34.465291 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 07:12:34.465311 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 07:12:34.465331 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 07:12:34.465351 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 07:12:34.465375 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Stream before decoding: '7B22636C69656E7473223A5B7B2270656572223A224331333A31222C227374617465223A22434F4E4E45435445445F434C49454E54222C22636F6D706F6E656E745F6964223A7B22747970655F223A2272656D73696D436C69656E74222C226E616D65223A22666F6F626172222C22736F667477617265223A225454434E33222C22737756657273696F6E223A22302E31222C2268774D616E756661637475726572223A227379736D6F636F6D227D7D5D7D'O ("{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}") 07:12:34.465451 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Decoded @RSRES.JsRoot: { clients := { { peer := "C13:1", state := CONNECTED_CLIENT (2), component_id := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit } } }, banks := omit, slotmaps := omit } 07:12:34.465497 mtc REMSIM_Tests.ttcn:59 Creating new PTC with component type IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. 07:12:34.469282 6 - Warning: A plug-in from the same path `libjunitlogger2' is already active, skipping plug-in 07:12:34.469408 6 - TTCN-3 Parallel Test Component started on 2425220f4775. Component reference: RSPRO1(6), component type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. Version: 9.0.0. 07:12:34.469455 6 - TTCN Logger v2.2 options: TimeStampFormat:=Time; LogEntityName:=No; LogEventTypes:=No; SourceInfoFormat:=Single; LogSensitiveData:=No; *.FileMask:=LOG_ALL | MATCHING | DEBUG; *.ConsoleMask:=ERROR | TESTCASE | USER | VERDICTOP | WARNING; LogFileSize:=0; LogFileNumber:=1; DiskFullAction:=Error 07:12:34.469542 6 - Connected to MC. 07:12:34.469578 6 - Initializing variables, timers and ports of component type IPA_Emulation.IPA_Emulation_CT inside testcase TC_connect_client_duplicate. 07:12:34.469610 mtc REMSIM_Tests.ttcn:59 PTC was created. Component reference: 6, alive: no, type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. 07:12:34.469638 mtc REMSIM_Tests.ttcn:69 Mapping port RSPRO1(6):IPA_PORT to system:IPA_CODEC_PT. 07:12:34.470909 6 - Port IPA_PORT was started. 07:12:34.470958 6 - Port CFG_PORT was started. 07:12:34.470980 6 - Port IPA_CTRL_PORT was started. 07:12:34.471001 6 - Port IPA_RSPRO_PORT was started. 07:12:34.471022 6 - Port IPA_SP_PORT was started. 07:12:34.471043 6 - Component type IPA_Emulation.IPA_Emulation_CT was initialized. 07:12:34.471098 6 - Port IPA_PORT was mapped to system:IPA_CODEC_PT. 07:12:34.471168 mtc REMSIM_Tests.ttcn:69 Map operation of RSPRO1(6):IPA_PORT to system:IPA_CODEC_PT finished. 07:12:34.471192 mtc REMSIM_Tests.ttcn:70 Connecting ports RSPRO1(6):IPA_RSPRO_PORT and mtc:RSPRO[1]. 07:12:34.471304 mtc REMSIM_Tests.ttcn:70 Port RSPRO[1] is waiting for connection from RSPRO1(6):IPA_RSPRO_PORT on UNIX pathname /tmp/ttcn3-portconn-b03ce30b. 07:12:34.471363 6 - Port IPA_RSPRO_PORT has established the connection with mtc:RSPRO[1] using transport type UNIX. 07:12:34.471402 mtc REMSIM_Tests.ttcn:70 Port RSPRO[1] has accepted the connection from RSPRO1(6):IPA_RSPRO_PORT. 07:12:34.471428 mtc REMSIM_Tests.ttcn:70 Connect operation on RSPRO1(6):IPA_RSPRO_PORT and mtc:RSPRO[1] finished. 07:12:34.471447 mtc REMSIM_Tests.ttcn:72 Starting function main_client("172.18.165.20", 9998, "", 10001, { ser_nr := "", name := "Osmocom TTCN-3 RSPRO client simulator", location1 := "", location2 := "", equip_version := "", sw_version := "", ip_addr := "", mac_addr := "", unit_id := "0/1/2", osmo_rand := "" }, true) on component RSPRO1(6). 07:12:34.471505 mtc REMSIM_Tests.ttcn:72 Function was started. 07:12:34.471524 mtc REMSIM_Tests.ttcn:74 Start timer T: 4 s 07:12:34.471639 6 - Starting function main_client("172.18.165.20", 9998, "", 10001, { ser_nr := "", name := "Osmocom TTCN-3 RSPRO client simulator", location1 := "", location2 := "", equip_version := "", sw_version := "", ip_addr := "", mac_addr := "", unit_id := "0/1/2", osmo_rand := "" }, true). 07:12:34.471932 6 IPA_Emulation.ttcnpp:309 entering f__IPL4__PROVIDER__connect: :10001 -> 172.18.165.20:9998 / TCP 07:12:34.472790 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:34.472923 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '06'O 07:12:34.473076 6 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:34.473162 6 IPA_Emulation.ttcnpp:473 Sent on IPA_PORT to system @IPA_CodecPort.IPA_Send : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '06'O } 07:12:34.473279 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Encoding @IPA_Types.PDU_IPA: { lengthInd := 0, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '06'O } 07:12:34.473380 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE06'O 07:12:34.473458 6 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE06'O } 07:12:34.473751 6 IPA_Emulation.ttcnpp:398 Sent on IPA_RSPRO_PORT to mtc @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_UP (1), conn_id := 1, id_resp := omit } 07:12:34.473841 mtc REMSIM_Tests.ttcn:75 Message enqueued on RSPRO[1] from RSPRO1(6) @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_UP (1), conn_id := 1, id_resp := omit } id 1 07:12:34.473874 mtc REMSIM_Tests.ttcn:76 Matching on port RSPRO[1] succeeded: matched 07:12:34.473894 mtc REMSIM_Tests.ttcn:76 Receive operation on port RSPRO[1] succeeded, message from RSPRO1(6): @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_UP (1), conn_id := 1, id_resp := omit } id 1 07:12:34.473912 mtc REMSIM_Tests.ttcn:76 Message with id 1 was extracted from the queue of RSPRO[1]. 07:12:34.473928 mtc REMSIM_Tests.ttcn:82 Warning: Re-starting timer T, which is already active (running or expired). 07:12:34.473952 mtc REMSIM_Tests.ttcn:82 Start timer T: 4 s 07:12:34.474344 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.165.20", remPort := 9998, locName := "172.18.165.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0001FE00'O } id 1 07:12:34.474384 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE00'O 07:12:34.474467 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Decoded @IPA_Types.PDU_IPA: { lengthInd := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '00'O } 07:12:34.474496 6 IPA_Emulation.ttcnpp:735 Incoming message was mapped to @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '00'O } id 1 07:12:34.474523 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.165.20", remPort := 9998, locName := "172.18.165.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0001FE06'O } id 2 07:12:34.474541 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE06'O 07:12:34.474559 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Decoded @IPA_Types.PDU_IPA: { lengthInd := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '06'O } 07:12:34.474587 6 IPA_Emulation.ttcnpp:735 Incoming message was mapped to @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '06'O } id 2 07:12:34.474660 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 07:12:34.474707 6 IPA_Emulation.ttcnpp:737 Receive operation on port IPA_PORT succeeded, message from system(): @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '00'O } id 1 07:12:34.474728 6 IPA_Emulation.ttcnpp:737 Message with id 1 was extracted from the queue of IPA_PORT. 07:12:34.474757 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '00'O 07:12:34.474806 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PING (0), u := omit } 07:12:34.474826 6 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_PING (0), u := omit } 07:12:34.474862 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PONG (1), u := omit } 07:12:34.474883 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '01'O 07:12:34.474902 6 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_PONG (1), u := omit } 07:12:34.474929 6 IPA_Emulation.ttcnpp:473 Sent on IPA_PORT to system @IPA_CodecPort.IPA_Send : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '01'O } 07:12:34.474952 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Encoding @IPA_Types.PDU_IPA: { lengthInd := 0, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '01'O } 07:12:34.474980 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE01'O 07:12:34.475006 6 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE01'O } 07:12:34.475066 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 07:12:34.475103 6 IPA_Emulation.ttcnpp:737 Receive operation on port IPA_PORT succeeded, message from system(): @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '06'O } id 2 07:12:34.475129 6 IPA_Emulation.ttcnpp:737 Message with id 2 was extracted from the queue of IPA_PORT. 07:12:34.475151 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '06'O 07:12:34.475170 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:34.475187 6 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:34.475222 6 IPA_Emulation.ttcnpp:398 Sent on IPA_RSPRO_PORT to mtc @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_ID_ACK (3), conn_id := 1, id_resp := omit } 07:12:34.475267 mtc REMSIM_Tests.ttcn:83 Message enqueued on RSPRO[1] from RSPRO1(6) @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_ID_ACK (3), conn_id := 1, id_resp := omit } id 2 07:12:34.475311 mtc REMSIM_Tests.ttcn:84 Matching on port RSPRO[1] succeeded: matched 07:12:34.475339 mtc REMSIM_Tests.ttcn:84 Receive operation on port RSPRO[1] succeeded, message from RSPRO1(6): @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_ID_ACK (3), conn_id := 1, id_resp := omit } id 2 07:12:34.475373 mtc REMSIM_Tests.ttcn:84 Message with id 2 was extracted from the queue of RSPRO[1]. 07:12:34.475402 mtc REMSIM_Tests.ttcn:92 Altstep as_ignore_id_ack was activated as default, id 3 07:12:34.475496 mtc REMSIM_Tests.ttcn:150 Sent on RSPRO[1] to RSPRO1(6) @RSPRO.RsproPDU : { version := 2, tag := 0, msg := { connectClientReq := { identity := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, clientSlot := { clientId := 13, slotNr := 1 } } } } 07:12:34.475546 mtc REMSIM_Tests.ttcn:109 Start timer T: 10 s 07:12:34.475887 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_RSPRO_PORT from mtc @RSPRO.RsproPDU : { version := 2, tag := 0, msg := { connectClientReq := { identity := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, clientSlot := { clientId := 13, slotNr := 1 } } } } id 1 07:12:34.476124 6 IPA_Emulation.ttcnpp:896 Matching on port IPA_RSPRO_PORT succeeded: matched 07:12:34.476157 6 IPA_Emulation.ttcnpp:896 Receive operation on port IPA_RSPRO_PORT succeeded, message from mtc: @RSPRO.RsproPDU : { version := 2, tag := 0, msg := { connectClientReq := { identity := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, clientSlot := { clientId := 13, slotNr := 1 } } } } id 1 07:12:34.476182 6 IPA_Emulation.ttcnpp:896 Message with id 1 was extracted from the queue of IPA_RSPRO_PORT. 07:12:34.476640 6 IPA_Emulation.ttcnpp:899 Sent on IPA_PORT to system @IPA_CodecPort.IPA_Send : { connId := 1, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), msg := '3035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 07:12:34.476677 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Encoding @IPA_Types.PDU_IPA: { lengthInd := 0, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), payloadData := '3035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 07:12:34.476713 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O 07:12:34.476761 6 IPA_Emulation.ttcnpp:899 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 07:12:34.517968 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.165.20", remPort := 9998, locName := "172.18.165.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0054EE07305180010281020926A248A34630410A0101160C303465633565626163323834800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431303330323032397E6173616E0A0106'O } id 3 07:12:34.517993 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0054EE07305180010281020926A248A34630410A0101160C303465633565626163323834800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431303330323032397E6173616E0A0106'O 07:12:34.518024 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Decoded @IPA_Types.PDU_IPA: { lengthInd := 84, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), payloadData := '305180010281020926A248A34630410A0101160C303465633565626163323834800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431303330323032397E6173616E0A0106'O } 07:12:34.518051 6 IPA_Emulation.ttcnpp:735 Incoming message was mapped to @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), msg := '305180010281020926A248A34630410A0101160C303465633565626163323834800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431303330323032397E6173616E0A0106'O } id 3 07:12:34.518099 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT IPAC_PROTO_OSMO (238) with IPAC_PROTO_CCM (254) unmatchedIPAC_PROTO_EXT_RSPRO (7) with omit unmatched: First message in the queue does not match the template: 07:12:34.518117 6 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT succeeded: matched 07:12:34.518135 6 IPA_Emulation.ttcnpp:753 Receive operation on port IPA_PORT succeeded, message from system(): @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), msg := '305180010281020926A248A34630410A0101160C303465633565626163323834800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431303330323032397E6173616E0A0106'O } id 3 07:12:34.518150 6 IPA_Emulation.ttcnpp:753 Message with id 3 was extracted from the queue of IPA_PORT. 07:12:34.518354 6 IPA_Emulation.ttcnpp:642 Sent on IPA_RSPRO_PORT to mtc @RSPRO.RsproPDU : { version := 2, tag := 2342, msg := { connectClientRes := { identity := { type_ := remsimServer (1), name := "04ec5ebac284", software := "remsim-server", swVersion := "1.0.0.62-5b8a.202410302029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } 07:12:34.518453 mtc REMSIM_Tests.ttcn:110 Message enqueued on RSPRO[1] from RSPRO1(6) @RSPRO.RsproPDU : { version := 2, tag := 2342, msg := { connectClientRes := { identity := { type_ := remsimServer (1), name := "04ec5ebac284", software := "remsim-server", swVersion := "1.0.0.62-5b8a.202410302029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } id 3 07:12:34.518508 mtc REMSIM_Tests.ttcn:111 Matching on port RSPRO[1] succeeded: matched 07:12:34.518539 mtc REMSIM_Tests.ttcn:111 Receive operation on port RSPRO[1] succeeded, message from RSPRO1(6): @RSPRO.RsproPDU : { version := 2, tag := 2342, msg := { connectClientRes := { identity := { type_ := remsimServer (1), name := "04ec5ebac284", software := "remsim-server", swVersion := "1.0.0.62-5b8a.202410302029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } id 3 07:12:34.518565 mtc REMSIM_Tests.ttcn:111 Message with id 3 was extracted from the queue of RSPRO[1]. 07:12:34.518586 mtc REMSIM_Tests.ttcn:112 setverdict(pass): pass -> pass, component reason not changed 07:12:34.518629 mtc REMSIM_Tests.ttcn:133 Start timer T: 10 s 07:12:35.519316 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @Socket_API_Definitions.PortEvent : { connClosed := { connId := 1, remName := "172.18.165.20", remPort := 9998, locName := "172.18.165.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } id 4 07:12:35.519554 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT failed: Type of the first message in the queue is not @IPA_CodecPort.IPA_RecvFrom. 07:12:35.519578 6 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT failed: Type of the first message in the queue is not @IPA_CodecPort.IPA_RecvFrom. 07:12:35.519661 6 IPA_Emulation.ttcnpp:822 Matching on port IPA_PORT { connClosed := { connId := 1, remName := "172.18.165.20", remPort := 9998, locName := "172.18.165.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } with { connOpened := ? } unmatched: First message in the queue does not match the template: 07:12:35.519695 6 IPA_Emulation.ttcnpp:839 Matching on port IPA_PORT succeeded: matched 07:12:35.519716 6 IPA_Emulation.ttcnpp:839 Receive operation on port IPA_PORT succeeded, message from system(): @Socket_API_Definitions.PortEvent : { connClosed := { connId := 1, remName := "172.18.165.20", remPort := 9998, locName := "172.18.165.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } id 4 07:12:35.519739 6 IPA_Emulation.ttcnpp:839 Message with id 4 was extracted from the queue of IPA_PORT. 07:12:35.519762 6 IPA_Emulation.ttcnpp:840 IPA: Closed 07:12:35.519808 6 IPA_Emulation.ttcnpp:398 Sent on IPA_RSPRO_PORT to mtc @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_DOWN (0), conn_id := 1, id_resp := omit } 07:12:35.519848 6 IPA_Emulation.ttcnpp:844 Stopping test component execution. 07:12:35.519897 mtc REMSIM_Tests.ttcn:134 Message enqueued on RSPRO[1] from RSPRO1(6) @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_DOWN (0), conn_id := 1, id_resp := omit } id 4 07:12:35.520100 mtc REMSIM_Tests.ttcn:135 Matching on port RSPRO[1] succeeded: matched 07:12:35.520116 6 - Function main_client was stopped. PTC terminates. 07:12:35.520136 mtc REMSIM_Tests.ttcn:135 Receive operation on port RSPRO[1] succeeded, message from RSPRO1(6): @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_DOWN (0), conn_id := 1, id_resp := omit } id 4 07:12:35.520155 6 - Terminating component type IPA_Emulation.IPA_Emulation_CT. 07:12:35.520167 mtc REMSIM_Tests.ttcn:135 Message with id 4 was extracted from the queue of RSPRO[1]. 07:12:35.520172 6 - Removing unterminated mapping between port IPA_PORT and system:IPA_CODEC_PT. 07:12:35.520197 6 - Port IPA_PORT was unmapped from system:IPA_CODEC_PT. 07:12:35.520200 mtc REMSIM_Tests.ttcn:136 setverdict(pass): pass -> pass, component reason not changed 07:12:35.520220 6 - Port IPA_PORT was stopped. 07:12:35.520250 6 - Port CFG_PORT was stopped. 07:12:35.520267 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.165.20", portnumber := 9997, use_ssl := false } 07:12:35.520277 6 - Port IPA_CTRL_PORT was stopped. 07:12:35.520297 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 07:12:35.520301 6 - Removing unterminated connection between port IPA_RSPRO_PORT and mtc:RSPRO[1]. 07:12:35.520327 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.165.20/9997, localAddr: UNSPEC/UNSPEC) called 07:12:35.520351 6 - Port IPA_RSPRO_PORT was stopped. 07:12:35.520375 6 - Port IPA_SP_PORT was stopped. 07:12:35.520399 6 - Component type IPA_Emulation.IPA_Emulation_CT was shut down inside testcase TC_connect_client_duplicate. 07:12:35.520432 6 - Final verdict of PTC: none 07:12:35.520438 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 07:12:35.520483 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 07:12:35.520512 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 07:12:35.520544 6 - Disconnected from MC. 07:12:35.520574 6 - TTCN-3 Parallel Test Component finished. 07:12:35.520644 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.165.10/55420 -> 172.18.165.20/9997 07:12:35.520677 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.165.20 service 9997 via address family IPv4 07:12:35.520706 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 07:12:35.520734 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:35.520758 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:35.520782 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 07:12:35.520805 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 07:12:35.520836 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 07:12:35.520861 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 07:12:35.520885 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 07:12:35.520909 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 07:12:35.520936 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 7 07:12:35.520964 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 07:12:35.520988 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 07:12:35.521014 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 07:12:35.521046 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 07:12:35.521073 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 7 07:12:35.521100 mtc HTTP_Adapter.ttcn:194 Message with id 7 was extracted from the queue of HTTP. 07:12:35.521164 mtc HTTP_Adapter.ttcn:220 Sent on HTTP to system @HTTPmsg_Types.HTTPMessage : { request := { client_id := 8, method := "GET", uri := "/api/backend/v1/clients", version_major := 1, version_minor := 1, header := { { header_name := "Host", header_value := "172.18.165.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 07:12:35.521194 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:35.521224 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering Abstract_Socket::send_outgoing() 07:12:35.521248 mtc HTTP_Adapter.ttcn:220 Abstract socket: Sending data: Size: 98, Msg: 47 45 54 20 2f 61 70 69 2f 62 61 63 6b 65 6e 64 2f 76 31 2f 63 6c 69 65 6e 74 73 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 74 3a 20 31 37 32 2e 31 38 2e 31 36 35 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 0d 0a 07:12:35.521316 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 07:12:35.521340 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 07:12:35.521409 mtc HTTP_Adapter.ttcn:220 Abstract socket: Nr of bytes sent = 98 07:12:35.521437 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving Abstract_Socket::send_outgoing() 07:12:35.521461 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:35.521489 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 07:12:35.521543 mtc HTTP_Adapter.ttcn:235 Connection of port RSPRO[1] to RSPRO1(6):IPA_RSPRO_PORT was closed unexpectedly by the peer. 07:12:35.521572 mtc HTTP_Adapter.ttcn:235 Port RSPRO[1] was disconnected from RSPRO1(6):IPA_RSPRO_PORT. 07:12:35.521645 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 07:12:35.521673 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 07:12:35.521697 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 07:12:35.521755 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 07:12:35.521780 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 07:12:35.521812 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.165.10/55420 07:12:35.521836 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received, buffer content: Size: 287, Msg: 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 44 61 74 65 3a 20 54 68 75 2c 20 33 31 20 4f 63 74 20 32 30 32 34 20 30 37 3a 31 32 3a 33 35 20 47 4d 54 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 31 37 38 0d 0a 0d 0a 7b 22 63 6c 69 65 6e 74 73 22 3a 5b 7b 22 70 65 65 72 22 3a 22 43 31 33 3a 31 22 2c 22 73 74 61 74 65 22 3a 22 43 4f 4e 4e 45 43 54 45 44 5f 43 4c 49 45 4e 54 22 2c 22 63 6f 6d 70 6f 6e 65 6e 74 5f 69 64 22 3a 7b 22 74 79 70 65 5f 22 3a 22 72 65 6d 73 69 6d 43 6c 69 65 6e 74 22 2c 22 6e 61 6d 65 22 3a 22 66 6f 6f 62 61 72 22 2c 22 73 6f 66 74 77 61 72 65 22 3a 22 54 54 43 4e 33 22 2c 22 73 77 56 65 72 73 69 6f 6e 22 3a 22 30 2e 31 22 2c 22 68 77 4d 61 6e 75 66 61 63 74 75 72 65 72 22 3a 22 73 79 73 6d 6f 63 6f 6d 22 7d 7d 5d 7d 07:12:35.521958 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 07:12:35.521983 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 287 07:12:35.522007 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 07:12:35.522032 mtc HTTP_Adapter.ttcn:235 DECODER: 07:12:35.522058 mtc HTTP_Adapter.ttcn:235 method_name: 07:12:35.522086 mtc HTTP_Adapter.ttcn:235 Decoding the headers 07:12:35.522112 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:35.522138 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:35.522163 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:35.522189 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 07:12:35.522212 mtc HTTP_Adapter.ttcn:235 Decoding body, buffer length: 178 07:12:35.522234 mtc HTTP_Adapter.ttcn:235 lengthof body: 178, content_length given: 178 07:12:35.522250 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 07:12:35.522268 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 07:12:35.522299 mtc HTTP_Adapter.ttcn:235 Message enqueued on HTTP from system @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Thu, 31 Oct 2024 07:12:35 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "178" } }, body := "{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}" } } id 8 07:12:35.522329 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 07:12:35.522346 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 07:12:35.522362 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 07:12:35.522378 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 07:12:35.522393 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 07:12:35.522413 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 07:12:35.522444 mtc HTTP_Adapter.ttcn:236 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Thu, 31 Oct 2024 07:12:35 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "178" } }, body := "{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}" } } id 8 07:12:35.522465 mtc HTTP_Adapter.ttcn:236 Message with id 8 was extracted from the queue of HTTP. 07:12:35.522482 mtc HTTP_Adapter.ttcn:237 setverdict(pass): pass -> pass, component reason not changed 07:12:35.522509 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 07:12:35.522527 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 07:12:35.522543 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 07:12:35.522558 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 07:12:35.522574 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 07:12:35.522590 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 07:12:35.522610 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 07:12:35.522626 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 07:12:35.522642 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 07:12:35.522658 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:35.522678 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:35.522695 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 07:12:35.522711 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 07:12:35.522751 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 07:12:35.522773 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 07:12:35.522789 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 07:12:35.522805 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 07:12:35.522820 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 07:12:35.522841 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Stream before decoding: '7B22636C69656E7473223A5B7B2270656572223A224331333A31222C227374617465223A22434F4E4E45435445445F434C49454E54222C22636F6D706F6E656E745F6964223A7B22747970655F223A2272656D73696D436C69656E74222C226E616D65223A22666F6F626172222C22736F667477617265223A225454434E33222C22737756657273696F6E223A22302E31222C2268774D616E756661637475726572223A227379736D6F636F6D227D7D5D7D'O ("{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}") 07:12:35.522924 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Decoded @RSRES.JsRoot: { clients := { { peer := "C13:1", state := CONNECTED_CLIENT (2), component_id := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit } } }, banks := omit, slotmaps := omit } 07:12:35.522971 mtc RemsimServer_Tests.ttcn:177 setverdict(pass): pass -> pass, component reason not changed 07:12:35.522997 mtc RemsimServer_Tests.ttcn:177 Terminating component type RemsimServer_Tests.test_CT. 07:12:35.523018 mtc RemsimServer_Tests.ttcn:177 Default with id 1 (altstep as_Tguard) was deactivated. 07:12:35.523035 mtc RemsimServer_Tests.ttcn:177 Default with id 2 (altstep as_ignore_id_ack) was deactivated. 07:12:35.523051 mtc RemsimServer_Tests.ttcn:177 Default with id 3 (altstep as_ignore_id_ack) was deactivated. 07:12:35.523067 mtc RemsimServer_Tests.ttcn:177 Stop timer g_T_guard: 60 s 07:12:35.523086 mtc RemsimServer_Tests.ttcn:177 Removing unterminated mapping between port HTTP and system:HTTP. 07:12:35.523104 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering HTTPmsg__PT::user_unmap(HTTP) 07:12:35.523119 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering Abstract_Socket::unmap_user() 07:12:35.523137 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering Abstract_Socket::remove_all_clients 07:12:35.523153 mtc RemsimServer_Tests.ttcn:177 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 07:12:35.523169 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving Abstract_Socket::remove_all_clients 07:12:35.523184 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving Abstract_Socket::unmap_user() 07:12:35.523199 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving HTTPmsg__PT::user_unmap() 07:12:35.523216 mtc RemsimServer_Tests.ttcn:177 Port HTTP was unmapped from system:HTTP. 07:12:35.523240 mtc RemsimServer_Tests.ttcn:177 Port HTTP was stopped. 07:12:35.523258 mtc RemsimServer_Tests.ttcn:177 Removing unterminated connection between port RSPRO[0] and RSPRO0(5):IPA_RSPRO_PORT. 07:12:35.523302 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[0] was stopped. 07:12:35.523319 5 IPA_Emulation.ttcnpp:735 Connection of port IPA_RSPRO_PORT to mtc:RSPRO[0] was closed unexpectedly by the peer. 07:12:35.523320 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[1] was stopped. 07:12:35.523335 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[2] was stopped. 07:12:35.523350 mtc RemsimServer_Tests.ttcn:177 Component type RemsimServer_Tests.test_CT was shut down inside testcase TC_connect_client_duplicate. 07:12:35.523369 mtc RemsimServer_Tests.ttcn:177 Waiting for PTCs to finish. 07:12:35.523374 5 IPA_Emulation.ttcnpp:735 Port IPA_RSPRO_PORT was disconnected from mtc:RSPRO[0]. 07:12:35.523457 5 IPA_Emulation.ttcnpp:735 Kill was requested from MC. 07:12:35.523483 5 IPA_Emulation.ttcnpp:735 Terminating test component execution. 07:12:35.523889 5 - Function main_client was stopped. PTC terminates. 07:12:35.523933 5 - Terminating component type IPA_Emulation.IPA_Emulation_CT. 07:12:35.523958 5 - Removing unterminated mapping between port IPA_PORT and system:IPA_CODEC_PT. 07:12:35.524236 5 - Port IPA_PORT was unmapped from system:IPA_CODEC_PT. 07:12:35.524288 5 - Port IPA_PORT was stopped. 07:12:35.524320 5 - Port CFG_PORT was stopped. 07:12:35.524348 5 - Port IPA_CTRL_PORT was stopped. 07:12:35.524375 5 - Port IPA_RSPRO_PORT was stopped. 07:12:35.524402 5 - Port IPA_SP_PORT was stopped. 07:12:35.524429 5 - Component type IPA_Emulation.IPA_Emulation_CT was shut down inside testcase TC_connect_client_duplicate. 07:12:35.524471 5 - Final verdict of PTC: none 07:12:35.524591 mtc RemsimServer_Tests.ttcn:177 Setting final verdict of the test case. 07:12:35.524593 5 - Disconnected from MC. 07:12:35.524615 mtc RemsimServer_Tests.ttcn:177 Local verdict of MTC: pass 07:12:35.524627 5 - TTCN-3 Parallel Test Component finished. 07:12:35.524637 mtc RemsimServer_Tests.ttcn:177 Local verdict of PTC RSPRO0(5): none (pass -> pass) 07:12:35.524660 mtc RemsimServer_Tests.ttcn:177 Local verdict of PTC RSPRO1(6): none (pass -> pass) 07:12:35.524683 mtc RemsimServer_Tests.ttcn:177 Test case TC_connect_client_duplicate finished. Verdict: pass 07:12:35.524716 mtc RemsimServer_Tests.ttcn:177 Starting external command `../ttcn3-tcpdump-stop.sh RemsimServer_Tests.TC_connect_client_duplicate pass'. 07:12:37.551161 mtc RemsimServer_Tests.ttcn:177 External command `../ttcn3-tcpdump-stop.sh RemsimServer_Tests.TC_connect_client_duplicate pass' was executed successfully (exit status: 0). 07:12:37.551236 mtc RemsimServer_Tests.ttcn:180 Switching to log file `REMSIM_Tests-TC_connect_bank-2425220f4775-mtc.log'