13:12:32.295386 mtc RemsimServer_Tests.ttcn:143 Starting external command `../ttcn3-tcpdump-start.sh RemsimServer_Tests.TC_connect_client_duplicate'. 13:12:33.311165 mtc RemsimServer_Tests.ttcn:143 External command `../ttcn3-tcpdump-start.sh RemsimServer_Tests.TC_connect_client_duplicate' was executed successfully (exit status: 0). 13:12:33.311251 mtc RemsimServer_Tests.ttcn:143 Test case TC_connect_client_duplicate started. 13:12:33.311284 mtc RemsimServer_Tests.ttcn:143 Initializing variables, timers and ports of component type RemsimServer_Tests.test_CT inside testcase TC_connect_client_duplicate. 13:12:33.311330 mtc RemsimServer_Tests.ttcn:143 Port HTTP was started. 13:12:33.311354 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[0] was started. 13:12:33.311377 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[1] was started. 13:12:33.311401 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[2] was started. 13:12:33.311422 mtc RemsimServer_Tests.ttcn:143 Component type RemsimServer_Tests.test_CT was initialized. 13:12:33.311463 mtc RemsimServer_Tests.ttcn:94 Start timer g_T_guard: 60 s 13:12:33.311493 mtc RemsimServer_Tests.ttcn:95 Altstep as_Tguard was activated as default, id 1 13:12:33.311521 mtc HTTP_Adapter.ttcn:32 Mapping port mtc:HTTP to system:HTTP. 13:12:33.311582 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering HTTPmsg__PT::set_parameter(http_debugging, yes) 13:12:33.311608 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering SSL_Socket::parameter_set(http_debugging, yes) 13:12:33.311629 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving SSL_Socket::parameter_set(http_debugging, yes) 13:12:33.311649 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering Abstract_Socket::parameter_set(http_debugging, yes) 13:12:33.311670 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving Abstract_Socket::parameter_set(http_debugging, yes) 13:12:33.311689 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving HTTPmsg__PT::set_parameter(http_debugging, yes) 13:12:33.311709 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering HTTPmsg__PT::set_parameter(use_notification_ASPs, yes) 13:12:33.311729 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving HTTPmsg__PT::set_parameter(use_notification_ASPs, yes) 13:12:33.311748 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering HTTPmsg__PT::user_map(HTTP) 13:12:33.311769 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering Abstract_Socket::map_user() 13:12:33.311790 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving Abstract_Socket::map_user() 13:12:33.311810 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving HTTPmsg__PT::user_map() 13:12:33.311829 mtc HTTP_Adapter.ttcn:32 Port HTTP was mapped to system:HTTP. 13:12:33.311877 mtc HTTP_Adapter.ttcn:32 Map operation of mtc:HTTP to system:HTTP finished. 13:12:33.311926 mtc HTTP_Adapter.ttcn:190 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.202.20", portnumber := 9997, use_ssl := false } 13:12:33.311949 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 13:12:33.311973 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.202.20/9997, localAddr: UNSPEC/UNSPEC) called 13:12:33.312056 mtc HTTP_Adapter.ttcn:190 Abstract socket: Number of remote addresses: 1 13:12:33.312088 mtc HTTP_Adapter.ttcn:190 Abstract socket: Using address family for socket 8: IPv4 13:12:33.312111 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 13:12:33.312216 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connection established (addr): 172.18.202.10/45340 -> 172.18.202.20/9997 13:12:33.312242 mtc HTTP_Adapter.ttcn:190 Abstract socket: connected to: host 172.18.202.20 service 9997 via address family IPv4 13:12:33.312265 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 13:12:33.312286 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 13:12:33.312307 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 13:12:33.312327 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 13:12:33.312348 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 13:12:33.312386 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 13:12:33.312408 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 13:12:33.312432 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 13:12:33.312457 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 13:12:33.312484 mtc HTTP_Adapter.ttcn:190 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 1 13:12:33.312517 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 13:12:33.312538 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 13:12:33.312561 mtc HTTP_Adapter.ttcn:191 Start timer T: 2 s 13:12:33.312586 mtc HTTP_Adapter.ttcn:193 Matching on port HTTP succeeded: matched 13:12:33.312611 mtc HTTP_Adapter.ttcn:193 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 1 13:12:33.312635 mtc HTTP_Adapter.ttcn:193 Message with id 1 was extracted from the queue of HTTP. 13:12:33.312695 mtc HTTP_Adapter.ttcn:210 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.202.20:9997" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } 13:12:33.312721 mtc HTTP_Adapter.ttcn:210 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 13:12:33.312748 mtc HTTP_Adapter.ttcn:210 Abstract socket: entering Abstract_Socket::send_outgoing() 13:12:33.312769 mtc HTTP_Adapter.ttcn:210 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 32 30 32 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 13:12:33.312824 mtc HTTP_Adapter.ttcn:210 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 13:12:33.312845 mtc HTTP_Adapter.ttcn:210 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 13:12:33.312907 mtc HTTP_Adapter.ttcn:210 Abstract socket: Nr of bytes sent = 123 13:12:33.312931 mtc HTTP_Adapter.ttcn:210 Abstract socket: leaving Abstract_Socket::send_outgoing() 13:12:33.312952 mtc HTTP_Adapter.ttcn:210 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 13:12:33.312977 mtc HTTP_Adapter.ttcn:233 Start timer T: 2 s 13:12:33.313122 mtc HTTP_Adapter.ttcn:234 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 13:12:33.313145 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 13:12:33.313166 mtc HTTP_Adapter.ttcn:234 Abstract socket: receiving data 13:12:33.313187 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 13:12:33.313207 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 13:12:33.313253 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received from address (addr) 172.18.202.10/45340 13:12:33.313276 mtc HTTP_Adapter.ttcn:234 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 46 72 69 2c 20 31 34 20 4a 75 6e 20 32 30 32 34 20 31 33 3a 31 32 3a 33 33 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 13:12:33.313322 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::message_incoming() 13:12:33.313351 mtc HTTP_Adapter.ttcn:234 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 75 13:12:33.313373 mtc HTTP_Adapter.ttcn:234 starting f_HTTP_decodeCommon 13:12:33.313394 mtc HTTP_Adapter.ttcn:234 DECODER: 13:12:33.313416 mtc HTTP_Adapter.ttcn:234 method_name: 13:12:33.313439 mtc HTTP_Adapter.ttcn:234 Decoding the headers 13:12:33.313461 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:33.313483 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:33.313505 mtc HTTP_Adapter.ttcn:234 Headers decoded. Valid headers. 13:12:33.313525 mtc HTTP_Adapter.ttcn:234 lengthof body: 0, content_length given: 0 13:12:33.313546 mtc HTTP_Adapter.ttcn:234 Message successfully decoded 13:12:33.313569 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, before calling incoming_message 13:12:33.313597 mtc HTTP_Adapter.ttcn:234 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 := "Fri, 14 Jun 2024 13:12:33 GMT" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } id 2 13:12:33.313624 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, after calling incoming_message 13:12:33.313644 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::message_incoming() 13:12:33.313665 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::handle_message() 13:12:33.313685 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 13:12:33.313719 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 13:12:33.313748 mtc HTTP_Adapter.ttcn:235 Matching on port HTTP succeeded: matched 13:12:33.313778 mtc HTTP_Adapter.ttcn:235 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 := "Fri, 14 Jun 2024 13:12:33 GMT" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } id 2 13:12:33.313803 mtc HTTP_Adapter.ttcn:235 Message with id 2 was extracted from the queue of HTTP. 13:12:33.313825 mtc HTTP_Adapter.ttcn:236 setverdict(pass): none -> pass 13:12:33.313860 mtc HTTP_Adapter.ttcn:251 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 13:12:33.313886 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 13:12:33.313912 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_all_clients 13:12:33.313933 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 13:12:33.313960 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 13:12:33.313983 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_client(8) 13:12:33.314013 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 13:12:33.314034 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 13:12:33.314055 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 13:12:33.314076 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 13:12:33.314097 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 13:12:33.314118 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 13:12:33.314138 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 13:12:33.314188 mtc HTTP_Adapter.ttcn:251 Abstract socket: Removed client 8. 13:12:33.314211 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_client(8) 13:12:33.314241 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 13:12:33.314262 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_all_clients 13:12:33.314282 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 13:12:33.314312 mtc REMSIM_Tests.ttcn:59 Creating new PTC with component type IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. 13:12:33.318137 5 - Warning: A plug-in from the same path `libjunitlogger2' is already active, skipping plug-in 13:12:33.318244 5 - TTCN-3 Parallel Test Component started on ea30b2440fea. Component reference: RSPRO0(5), component type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. Version: 9.0.0. 13:12:33.318277 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 13:12:33.318346 5 - Connected to MC. 13:12:33.318370 5 - Initializing variables, timers and ports of component type IPA_Emulation.IPA_Emulation_CT inside testcase TC_connect_client_duplicate. 13:12:33.318396 mtc REMSIM_Tests.ttcn:59 PTC was created. Component reference: 5, alive: no, type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. 13:12:33.318437 mtc REMSIM_Tests.ttcn:69 Mapping port RSPRO0(5):IPA_PORT to system:IPA_CODEC_PT. 13:12:33.319491 5 - Port IPA_PORT was started. 13:12:33.319526 5 - Port CFG_PORT was started. 13:12:33.319543 5 - Port IPA_CTRL_PORT was started. 13:12:33.319559 5 - Port IPA_RSPRO_PORT was started. 13:12:33.319574 5 - Port IPA_SP_PORT was started. 13:12:33.319590 5 - Component type IPA_Emulation.IPA_Emulation_CT was initialized. 13:12:33.319628 5 - Port IPA_PORT was mapped to system:IPA_CODEC_PT. 13:12:33.319684 mtc REMSIM_Tests.ttcn:69 Map operation of RSPRO0(5):IPA_PORT to system:IPA_CODEC_PT finished. 13:12:33.319716 mtc REMSIM_Tests.ttcn:70 Connecting ports RSPRO0(5):IPA_RSPRO_PORT and mtc:RSPRO[0]. 13:12:33.319837 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. 13:12:33.319876 5 - Port IPA_RSPRO_PORT has established the connection with mtc:RSPRO[0] using transport type UNIX. 13:12:33.319921 mtc REMSIM_Tests.ttcn:70 Port RSPRO[0] has accepted the connection from RSPRO0(5):IPA_RSPRO_PORT. 13:12:33.319949 mtc REMSIM_Tests.ttcn:70 Connect operation on RSPRO0(5):IPA_RSPRO_PORT and mtc:RSPRO[0] finished. 13:12:33.319971 mtc REMSIM_Tests.ttcn:72 Starting function main_client("172.18.202.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). 13:12:33.320024 mtc REMSIM_Tests.ttcn:72 Function was started. 13:12:33.320043 mtc REMSIM_Tests.ttcn:74 Start timer T: 4 s 13:12:33.320130 5 - Starting function main_client("172.18.202.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). 13:12:33.320371 5 IPA_Emulation.ttcnpp:309 entering f__IPL4__PROVIDER__connect: :10000 -> 172.18.202.20:9998 / TCP 13:12:33.321268 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 13:12:33.321404 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '06'O 13:12:33.321563 5 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 13:12:33.321655 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 } 13:12:33.321771 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 } 13:12:33.321872 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE06'O 13:12:33.321948 5 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE06'O } 13:12:33.322239 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 } 13:12:33.322323 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 13:12:33.322357 mtc REMSIM_Tests.ttcn:76 Matching on port RSPRO[0] succeeded: matched 13:12:33.322376 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 13:12:33.322396 mtc REMSIM_Tests.ttcn:76 Message with id 1 was extracted from the queue of RSPRO[0]. 13:12:33.322416 mtc REMSIM_Tests.ttcn:82 Warning: Re-starting timer T, which is already active (running or expired). 13:12:33.322443 mtc REMSIM_Tests.ttcn:82 Start timer T: 4 s 13:12:33.322803 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.202.20", remPort := 9998, locName := "172.18.202.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0001FE00'O } id 1 13:12:33.322842 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE00'O 13:12:33.322927 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 } 13:12:33.322957 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 13:12:33.322985 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.202.20", remPort := 9998, locName := "172.18.202.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0001FE06'O } id 2 13:12:33.323003 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE06'O 13:12:33.323021 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 } 13:12:33.323049 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 13:12:33.323102 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 13:12:33.323133 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 13:12:33.323153 5 IPA_Emulation.ttcnpp:737 Message with id 1 was extracted from the queue of IPA_PORT. 13:12:33.323171 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '00'O 13:12:33.323218 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PING (0), u := omit } 13:12:33.323238 5 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_PING (0), u := omit } 13:12:33.323275 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PONG (1), u := omit } 13:12:33.323296 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '01'O 13:12:33.323315 5 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_PONG (1), u := omit } 13:12:33.323342 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 } 13:12:33.323361 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 } 13:12:33.323382 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE01'O 13:12:33.323404 5 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE01'O } 13:12:33.323456 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 13:12:33.323482 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 13:12:33.323502 5 IPA_Emulation.ttcnpp:737 Message with id 2 was extracted from the queue of IPA_PORT. 13:12:33.323519 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '06'O 13:12:33.323536 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 13:12:33.323553 5 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 13:12:33.323583 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 } 13:12:33.323626 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 13:12:33.323663 mtc REMSIM_Tests.ttcn:84 Matching on port RSPRO[0] succeeded: matched 13:12:33.323685 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 13:12:33.323708 mtc REMSIM_Tests.ttcn:84 Message with id 2 was extracted from the queue of RSPRO[0]. 13:12:33.323732 mtc REMSIM_Tests.ttcn:92 Altstep as_ignore_id_ack was activated as default, id 2 13:12:33.323771 mtc HTTP_Adapter.ttcn:190 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.202.20", portnumber := 9997, use_ssl := false } 13:12:33.323791 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 13:12:33.323809 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.202.20/9997, localAddr: UNSPEC/UNSPEC) called 13:12:33.323874 mtc HTTP_Adapter.ttcn:190 Abstract socket: Number of remote addresses: 1 13:12:33.323900 mtc HTTP_Adapter.ttcn:190 Abstract socket: Using address family for socket 8: IPv4 13:12:33.323919 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 13:12:33.323994 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connection established (addr): 172.18.202.10/45352 -> 172.18.202.20/9997 13:12:33.324016 mtc HTTP_Adapter.ttcn:190 Abstract socket: connected to: host 172.18.202.20 service 9997 via address family IPv4 13:12:33.324042 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 13:12:33.324059 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 13:12:33.324075 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 13:12:33.324091 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 13:12:33.324107 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 13:12:33.324126 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 13:12:33.324142 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 13:12:33.324159 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 13:12:33.324175 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 13:12:33.324193 mtc HTTP_Adapter.ttcn:190 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 3 13:12:33.324211 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 13:12:33.324227 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 13:12:33.324244 mtc HTTP_Adapter.ttcn:191 Start timer T: 2 s 13:12:33.324264 mtc HTTP_Adapter.ttcn:193 Matching on port HTTP succeeded: matched 13:12:33.324282 mtc HTTP_Adapter.ttcn:193 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 3 13:12:33.324299 mtc HTTP_Adapter.ttcn:193 Message with id 3 was extracted from the queue of HTTP. 13:12:33.324338 mtc HTTP_Adapter.ttcn:219 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.202.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 13:12:33.324358 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 13:12:33.324378 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering Abstract_Socket::send_outgoing() 13:12:33.324394 mtc HTTP_Adapter.ttcn:219 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 32 30 32 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 13:12:33.324433 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 13:12:33.324450 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 13:12:33.324496 mtc HTTP_Adapter.ttcn:219 Abstract socket: Nr of bytes sent = 98 13:12:33.324518 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving Abstract_Socket::send_outgoing() 13:12:33.324537 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 13:12:33.324557 mtc HTTP_Adapter.ttcn:233 Start timer T: 2 s 13:12:33.324633 mtc HTTP_Adapter.ttcn:234 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 13:12:33.324655 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 13:12:33.324672 mtc HTTP_Adapter.ttcn:234 Abstract socket: receiving data 13:12:33.324688 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 13:12:33.324703 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 13:12:33.324729 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received from address (addr) 172.18.202.10/45352 13:12:33.324753 mtc HTTP_Adapter.ttcn:234 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 46 72 69 2c 20 31 34 20 4a 75 6e 20 32 30 32 34 20 31 33 3a 31 32 3a 33 33 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 13:12:33.324795 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::message_incoming() 13:12:33.324816 mtc HTTP_Adapter.ttcn:234 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 122 13:12:33.324834 mtc HTTP_Adapter.ttcn:234 starting f_HTTP_decodeCommon 13:12:33.324851 mtc HTTP_Adapter.ttcn:234 DECODER: 13:12:33.324867 mtc HTTP_Adapter.ttcn:234 method_name: 13:12:33.324885 mtc HTTP_Adapter.ttcn:234 Decoding the headers 13:12:33.324905 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:33.324929 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:33.324946 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:33.324964 mtc HTTP_Adapter.ttcn:234 Headers decoded. Valid headers. 13:12:33.324980 mtc HTTP_Adapter.ttcn:234 Decoding body, buffer length: 14 13:12:33.324995 mtc HTTP_Adapter.ttcn:234 lengthof body: 14, content_length given: 14 13:12:33.325012 mtc HTTP_Adapter.ttcn:234 Message successfully decoded 13:12:33.325029 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, before calling incoming_message 13:12:33.325054 mtc HTTP_Adapter.ttcn:234 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 := "Fri, 14 Jun 2024 13:12:33 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "14" } }, body := "{\"clients\":[]}" } } id 4 13:12:33.325076 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, after calling incoming_message 13:12:33.325092 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::message_incoming() 13:12:33.325108 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::handle_message() 13:12:33.325124 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 13:12:33.325144 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 13:12:33.325164 mtc HTTP_Adapter.ttcn:235 Matching on port HTTP succeeded: matched 13:12:33.325189 mtc HTTP_Adapter.ttcn:235 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 := "Fri, 14 Jun 2024 13:12:33 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "14" } }, body := "{\"clients\":[]}" } } id 4 13:12:33.325209 mtc HTTP_Adapter.ttcn:235 Message with id 4 was extracted from the queue of HTTP. 13:12:33.325231 mtc HTTP_Adapter.ttcn:236 setverdict(pass): pass -> pass, component reason not changed 13:12:33.325264 mtc HTTP_Adapter.ttcn:251 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 13:12:33.325282 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 13:12:33.325300 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_all_clients 13:12:33.325319 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 13:12:33.325336 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 13:12:33.325356 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_client(8) 13:12:33.325379 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 13:12:33.325408 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 13:12:33.325430 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 13:12:33.325447 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 13:12:33.325463 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 13:12:33.325479 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 13:12:33.325495 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 13:12:33.325537 mtc HTTP_Adapter.ttcn:251 Abstract socket: Removed client 8. 13:12:33.325556 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_client(8) 13:12:33.325572 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 13:12:33.325588 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_all_clients 13:12:33.325604 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 13:12:33.325624 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Stream before decoding: '7B22636C69656E7473223A5B5D7D'O ("{\"clients\":[]}") 13:12:33.325657 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Decoded @RSRES.JsRoot: { clients := { }, banks := omit, slotmaps := omit } 13:12:33.325745 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 } } } } 13:12:33.325788 mtc REMSIM_Tests.ttcn:109 Start timer T: 10 s 13:12:33.326100 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 13:12:33.326290 5 IPA_Emulation.ttcnpp:896 Matching on port IPA_RSPRO_PORT succeeded: matched 13:12:33.326322 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 13:12:33.326347 5 IPA_Emulation.ttcnpp:896 Message with id 1 was extracted from the queue of IPA_RSPRO_PORT. 13:12:33.326743 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 } 13:12:33.326774 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 } 13:12:33.326815 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O 13:12:33.326843 5 IPA_Emulation.ttcnpp:899 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 13:12:33.370054 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.202.20", remPort := 9998, locName := "172.18.202.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0054EE07305180010281020926A248A34630410A0101160C653035346366646334366161800D72656D73696D2D736572766572811F312E302E302E36312D303661312E3230323430363133323032397E6173616E0A0100'O } id 3 13:12:33.370117 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0054EE07305180010281020926A248A34630410A0101160C653035346366646334366161800D72656D73696D2D736572766572811F312E302E302E36312D303661312E3230323430363133323032397E6173616E0A0100'O 13:12:33.370182 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 := '305180010281020926A248A34630410A0101160C653035346366646334366161800D72656D73696D2D736572766572811F312E302E302E36312D303661312E3230323430363133323032397E6173616E0A0100'O } 13:12:33.370234 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 := '305180010281020926A248A34630410A0101160C653035346366646334366161800D72656D73696D2D736572766572811F312E302E302E36312D303661312E3230323430363133323032397E6173616E0A0100'O } id 3 13:12:33.370350 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: 13:12:33.370386 5 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT succeeded: matched 13:12:33.370420 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 := '305180010281020926A248A34630410A0101160C653035346366646334366161800D72656D73696D2D736572766572811F312E302E302E36312D303661312E3230323430363133323032397E6173616E0A0100'O } id 3 13:12:33.370449 5 IPA_Emulation.ttcnpp:753 Message with id 3 was extracted from the queue of IPA_PORT. 13:12:33.370842 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 := "e054cfdc46aa", software := "remsim-server", swVersion := "1.0.0.61-06a1.202406132029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } 13:12:33.371000 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 := "e054cfdc46aa", software := "remsim-server", swVersion := "1.0.0.61-06a1.202406132029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } id 3 13:12:33.371072 mtc REMSIM_Tests.ttcn:111 Matching on port RSPRO[0] succeeded: matched 13:12:33.371109 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 := "e054cfdc46aa", software := "remsim-server", swVersion := "1.0.0.61-06a1.202406132029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } id 3 13:12:33.371139 mtc REMSIM_Tests.ttcn:111 Message with id 3 was extracted from the queue of RSPRO[0]. 13:12:33.371164 mtc REMSIM_Tests.ttcn:112 setverdict(pass): pass -> pass, component reason not changed 13:12:33.371227 mtc HTTP_Adapter.ttcn:190 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.202.20", portnumber := 9997, use_ssl := false } 13:12:33.371255 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 13:12:33.371284 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.202.20/9997, localAddr: UNSPEC/UNSPEC) called 13:12:33.371393 mtc HTTP_Adapter.ttcn:190 Abstract socket: Number of remote addresses: 1 13:12:33.371441 mtc HTTP_Adapter.ttcn:190 Abstract socket: Using address family for socket 8: IPv4 13:12:33.371469 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 13:12:33.371587 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connection established (addr): 172.18.202.10/45366 -> 172.18.202.20/9997 13:12:33.371619 mtc HTTP_Adapter.ttcn:190 Abstract socket: connected to: host 172.18.202.20 service 9997 via address family IPv4 13:12:33.371657 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 13:12:33.371682 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 13:12:33.371705 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 13:12:33.371729 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 13:12:33.371753 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 13:12:33.371783 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 13:12:33.371808 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 13:12:33.371832 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 13:12:33.371856 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 13:12:33.371882 mtc HTTP_Adapter.ttcn:190 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 5 13:12:33.371910 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 13:12:33.371934 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 13:12:33.371960 mtc HTTP_Adapter.ttcn:191 Start timer T: 2 s 13:12:33.371991 mtc HTTP_Adapter.ttcn:193 Matching on port HTTP succeeded: matched 13:12:33.372017 mtc HTTP_Adapter.ttcn:193 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 5 13:12:33.372044 mtc HTTP_Adapter.ttcn:193 Message with id 5 was extracted from the queue of HTTP. 13:12:33.372104 mtc HTTP_Adapter.ttcn:219 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.202.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 13:12:33.372134 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 13:12:33.372164 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering Abstract_Socket::send_outgoing() 13:12:33.372188 mtc HTTP_Adapter.ttcn:219 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 32 30 32 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 13:12:33.372255 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 13:12:33.372279 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 13:12:33.372349 mtc HTTP_Adapter.ttcn:219 Abstract socket: Nr of bytes sent = 98 13:12:33.372377 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving Abstract_Socket::send_outgoing() 13:12:33.372401 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 13:12:33.372429 mtc HTTP_Adapter.ttcn:233 Start timer T: 2 s 13:12:33.372537 mtc HTTP_Adapter.ttcn:234 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 13:12:33.372564 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 13:12:33.372589 mtc HTTP_Adapter.ttcn:234 Abstract socket: receiving data 13:12:33.372613 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 13:12:33.372637 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 13:12:33.372673 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received from address (addr) 172.18.202.10/45366 13:12:33.372708 mtc HTTP_Adapter.ttcn:234 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 46 72 69 2c 20 31 34 20 4a 75 6e 20 32 30 32 34 20 31 33 3a 31 32 3a 33 33 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 13:12:33.372828 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::message_incoming() 13:12:33.372852 mtc HTTP_Adapter.ttcn:234 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 287 13:12:33.372877 mtc HTTP_Adapter.ttcn:234 starting f_HTTP_decodeCommon 13:12:33.372902 mtc HTTP_Adapter.ttcn:234 DECODER: 13:12:33.372927 mtc HTTP_Adapter.ttcn:234 method_name: 13:12:33.372954 mtc HTTP_Adapter.ttcn:234 Decoding the headers 13:12:33.372979 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:33.373005 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:33.373030 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:33.373056 mtc HTTP_Adapter.ttcn:234 Headers decoded. Valid headers. 13:12:33.373080 mtc HTTP_Adapter.ttcn:234 Decoding body, buffer length: 178 13:12:33.373103 mtc HTTP_Adapter.ttcn:234 lengthof body: 178, content_length given: 178 13:12:33.373128 mtc HTTP_Adapter.ttcn:234 Message successfully decoded 13:12:33.373154 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, before calling incoming_message 13:12:33.373201 mtc HTTP_Adapter.ttcn:234 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 := "Fri, 14 Jun 2024 13:12:33 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 13:12:33.373234 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, after calling incoming_message 13:12:33.373259 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::message_incoming() 13:12:33.373282 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::handle_message() 13:12:33.373306 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 13:12:33.373329 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 13:12:33.373358 mtc HTTP_Adapter.ttcn:235 Matching on port HTTP succeeded: matched 13:12:33.373404 mtc HTTP_Adapter.ttcn:235 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 := "Fri, 14 Jun 2024 13:12:33 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 13:12:33.373446 mtc HTTP_Adapter.ttcn:235 Message with id 6 was extracted from the queue of HTTP. 13:12:33.373472 mtc HTTP_Adapter.ttcn:236 setverdict(pass): pass -> pass, component reason not changed 13:12:33.373513 mtc HTTP_Adapter.ttcn:251 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 13:12:33.373540 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 13:12:33.373564 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_all_clients 13:12:33.373588 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 13:12:33.373616 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 13:12:33.373648 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_client(8) 13:12:33.373683 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 13:12:33.373752 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 13:12:33.373779 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 13:12:33.373805 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 13:12:33.373829 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 13:12:33.373852 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 13:12:33.373876 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 13:12:33.373934 mtc HTTP_Adapter.ttcn:251 Abstract socket: Removed client 8. 13:12:33.373961 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_client(8) 13:12:33.373984 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 13:12:33.374000 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_all_clients 13:12:33.374016 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 13:12:33.374036 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\"}}]}") 13:12:33.374104 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 } 13:12:33.374148 mtc REMSIM_Tests.ttcn:59 Creating new PTC with component type IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. 13:12:33.379380 6 - Warning: A plug-in from the same path `libjunitlogger2' is already active, skipping plug-in 13:12:33.379467 6 - TTCN-3 Parallel Test Component started on ea30b2440fea. Component reference: RSPRO1(6), component type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. Version: 9.0.0. 13:12:33.379494 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 13:12:33.379556 6 - Connected to MC. 13:12:33.379576 6 - Initializing variables, timers and ports of component type IPA_Emulation.IPA_Emulation_CT inside testcase TC_connect_client_duplicate. 13:12:33.379614 mtc REMSIM_Tests.ttcn:59 PTC was created. Component reference: 6, alive: no, type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. 13:12:33.379659 mtc REMSIM_Tests.ttcn:69 Mapping port RSPRO1(6):IPA_PORT to system:IPA_CODEC_PT. 13:12:33.380534 6 - Port IPA_PORT was started. 13:12:33.380575 6 - Port CFG_PORT was started. 13:12:33.380590 6 - Port IPA_CTRL_PORT was started. 13:12:33.380605 6 - Port IPA_RSPRO_PORT was started. 13:12:33.380619 6 - Port IPA_SP_PORT was started. 13:12:33.380633 6 - Component type IPA_Emulation.IPA_Emulation_CT was initialized. 13:12:33.380671 6 - Port IPA_PORT was mapped to system:IPA_CODEC_PT. 13:12:33.380724 mtc REMSIM_Tests.ttcn:69 Map operation of RSPRO1(6):IPA_PORT to system:IPA_CODEC_PT finished. 13:12:33.380756 mtc REMSIM_Tests.ttcn:70 Connecting ports RSPRO1(6):IPA_RSPRO_PORT and mtc:RSPRO[1]. 13:12:33.380865 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. 13:12:33.380917 6 - Port IPA_RSPRO_PORT has established the connection with mtc:RSPRO[1] using transport type UNIX. 13:12:33.380970 mtc REMSIM_Tests.ttcn:70 Port RSPRO[1] has accepted the connection from RSPRO1(6):IPA_RSPRO_PORT. 13:12:33.381003 mtc REMSIM_Tests.ttcn:70 Connect operation on RSPRO1(6):IPA_RSPRO_PORT and mtc:RSPRO[1] finished. 13:12:33.381022 mtc REMSIM_Tests.ttcn:72 Starting function main_client("172.18.202.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). 13:12:33.381078 mtc REMSIM_Tests.ttcn:72 Function was started. 13:12:33.381104 mtc REMSIM_Tests.ttcn:74 Start timer T: 4 s 13:12:33.381200 6 - Starting function main_client("172.18.202.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). 13:12:33.381441 6 IPA_Emulation.ttcnpp:309 entering f__IPL4__PROVIDER__connect: :10001 -> 172.18.202.20:9998 / TCP 13:12:33.382299 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 13:12:33.382430 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '06'O 13:12:33.382587 6 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 13:12:33.382678 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 } 13:12:33.382790 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 } 13:12:33.382889 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE06'O 13:12:33.382955 6 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE06'O } 13:12:33.383247 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 } 13:12:33.383338 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 13:12:33.383386 mtc REMSIM_Tests.ttcn:76 Matching on port RSPRO[1] succeeded: matched 13:12:33.383412 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 13:12:33.383437 mtc REMSIM_Tests.ttcn:76 Message with id 1 was extracted from the queue of RSPRO[1]. 13:12:33.383461 mtc REMSIM_Tests.ttcn:82 Warning: Re-starting timer T, which is already active (running or expired). 13:12:33.383491 mtc REMSIM_Tests.ttcn:82 Start timer T: 4 s 13:12:33.383898 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.202.20", remPort := 9998, locName := "172.18.202.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0001FE00'O } id 1 13:12:33.383945 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE00'O 13:12:33.384037 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 } 13:12:33.384067 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 13:12:33.384096 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.202.20", remPort := 9998, locName := "172.18.202.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0001FE06'O } id 2 13:12:33.384114 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE06'O 13:12:33.384133 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 } 13:12:33.384160 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 13:12:33.384217 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 13:12:33.384248 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 13:12:33.384269 6 IPA_Emulation.ttcnpp:737 Message with id 1 was extracted from the queue of IPA_PORT. 13:12:33.384287 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '00'O 13:12:33.384340 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PING (0), u := omit } 13:12:33.384360 6 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_PING (0), u := omit } 13:12:33.384399 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PONG (1), u := omit } 13:12:33.384421 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '01'O 13:12:33.384441 6 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_PONG (1), u := omit } 13:12:33.384468 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 } 13:12:33.384491 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 } 13:12:33.384516 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE01'O 13:12:33.384540 6 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE01'O } 13:12:33.384629 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 13:12:33.384663 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 13:12:33.384683 6 IPA_Emulation.ttcnpp:737 Message with id 2 was extracted from the queue of IPA_PORT. 13:12:33.384700 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '06'O 13:12:33.384719 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 13:12:33.384735 6 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 13:12:33.384769 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 } 13:12:33.384826 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 13:12:33.384889 mtc REMSIM_Tests.ttcn:84 Matching on port RSPRO[1] succeeded: matched 13:12:33.384920 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 13:12:33.384955 mtc REMSIM_Tests.ttcn:84 Message with id 2 was extracted from the queue of RSPRO[1]. 13:12:33.384989 mtc REMSIM_Tests.ttcn:92 Altstep as_ignore_id_ack was activated as default, id 3 13:12:33.385119 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 } } } } 13:12:33.385174 mtc REMSIM_Tests.ttcn:109 Start timer T: 10 s 13:12:33.385501 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 13:12:33.385700 6 IPA_Emulation.ttcnpp:896 Matching on port IPA_RSPRO_PORT succeeded: matched 13:12:33.385755 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 13:12:33.385781 6 IPA_Emulation.ttcnpp:896 Message with id 1 was extracted from the queue of IPA_RSPRO_PORT. 13:12:33.386200 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 } 13:12:33.386231 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 } 13:12:33.386270 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O 13:12:33.386300 6 IPA_Emulation.ttcnpp:899 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 13:12:33.429979 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.202.20", remPort := 9998, locName := "172.18.202.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0054EE07305180010281020926A248A34630410A0101160C653035346366646334366161800D72656D73696D2D736572766572811F312E302E302E36312D303661312E3230323430363133323032397E6173616E0A0106'O } id 3 13:12:33.430021 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0054EE07305180010281020926A248A34630410A0101160C653035346366646334366161800D72656D73696D2D736572766572811F312E302E302E36312D303661312E3230323430363133323032397E6173616E0A0106'O 13:12:33.430076 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 := '305180010281020926A248A34630410A0101160C653035346366646334366161800D72656D73696D2D736572766572811F312E302E302E36312D303661312E3230323430363133323032397E6173616E0A0106'O } 13:12:33.430119 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 := '305180010281020926A248A34630410A0101160C653035346366646334366161800D72656D73696D2D736572766572811F312E302E302E36312D303661312E3230323430363133323032397E6173616E0A0106'O } id 3 13:12:33.430197 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: 13:12:33.430225 6 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT succeeded: matched 13:12:33.430254 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 := '305180010281020926A248A34630410A0101160C653035346366646334366161800D72656D73696D2D736572766572811F312E302E302E36312D303661312E3230323430363133323032397E6173616E0A0106'O } id 3 13:12:33.430278 6 IPA_Emulation.ttcnpp:753 Message with id 3 was extracted from the queue of IPA_PORT. 13:12:33.430594 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 := "e054cfdc46aa", software := "remsim-server", swVersion := "1.0.0.61-06a1.202406132029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } 13:12:33.430726 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 := "e054cfdc46aa", software := "remsim-server", swVersion := "1.0.0.61-06a1.202406132029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } id 3 13:12:33.431105 mtc REMSIM_Tests.ttcn:111 Matching on port RSPRO[1] succeeded: matched 13:12:33.431137 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 := "e054cfdc46aa", software := "remsim-server", swVersion := "1.0.0.61-06a1.202406132029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } id 3 13:12:33.431162 mtc REMSIM_Tests.ttcn:111 Message with id 3 was extracted from the queue of RSPRO[1]. 13:12:33.431183 mtc REMSIM_Tests.ttcn:112 setverdict(pass): pass -> pass, component reason not changed 13:12:33.431228 mtc REMSIM_Tests.ttcn:133 Start timer T: 10 s 13:12:34.431234 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @Socket_API_Definitions.PortEvent : { connClosed := { connId := 1, remName := "172.18.202.20", remPort := 9998, locName := "172.18.202.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } id 4 13:12:34.431405 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. 13:12:34.431420 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. 13:12:34.431475 6 IPA_Emulation.ttcnpp:822 Matching on port IPA_PORT { connClosed := { connId := 1, remName := "172.18.202.20", remPort := 9998, locName := "172.18.202.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } with { connOpened := ? } unmatched: First message in the queue does not match the template: 13:12:34.431500 6 IPA_Emulation.ttcnpp:839 Matching on port IPA_PORT succeeded: matched 13:12:34.431514 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.202.20", remPort := 9998, locName := "172.18.202.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } id 4 13:12:34.431529 6 IPA_Emulation.ttcnpp:839 Message with id 4 was extracted from the queue of IPA_PORT. 13:12:34.431544 6 IPA_Emulation.ttcnpp:840 IPA: Closed 13:12:34.431581 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 } 13:12:34.431611 6 IPA_Emulation.ttcnpp:844 Stopping test component execution. 13:12:34.431642 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 13:12:34.431730 mtc REMSIM_Tests.ttcn:135 Matching on port RSPRO[1] succeeded: matched 13:12:34.431765 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 13:12:34.431793 6 - Function main_client was stopped. PTC terminates. 13:12:34.431796 mtc REMSIM_Tests.ttcn:135 Message with id 4 was extracted from the queue of RSPRO[1]. 13:12:34.431822 6 - Terminating component type IPA_Emulation.IPA_Emulation_CT. 13:12:34.431824 mtc REMSIM_Tests.ttcn:136 setverdict(pass): pass -> pass, component reason not changed 13:12:34.431834 6 - Removing unterminated mapping between port IPA_PORT and system:IPA_CODEC_PT. 13:12:34.431850 6 - Port IPA_PORT was unmapped from system:IPA_CODEC_PT. 13:12:34.431864 6 - Port IPA_PORT was stopped. 13:12:34.431875 6 - Port CFG_PORT was stopped. 13:12:34.431884 6 - Port IPA_CTRL_PORT was stopped. 13:12:34.431892 6 - Removing unterminated connection between port IPA_RSPRO_PORT and mtc:RSPRO[1]. 13:12:34.431892 mtc HTTP_Adapter.ttcn:190 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.202.20", portnumber := 9997, use_ssl := false } 13:12:34.431913 6 - Port IPA_RSPRO_PORT was stopped. 13:12:34.431924 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 13:12:34.431926 6 - Port IPA_SP_PORT was stopped. 13:12:34.431936 6 - Component type IPA_Emulation.IPA_Emulation_CT was shut down inside testcase TC_connect_client_duplicate. 13:12:34.431953 6 - Final verdict of PTC: none 13:12:34.431955 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.202.20/9997, localAddr: UNSPEC/UNSPEC) called 13:12:34.432019 6 - Disconnected from MC. 13:12:34.432042 6 - TTCN-3 Parallel Test Component finished. 13:12:34.432063 mtc HTTP_Adapter.ttcn:190 Abstract socket: Number of remote addresses: 1 13:12:34.432108 mtc HTTP_Adapter.ttcn:190 Abstract socket: Using address family for socket 8: IPv4 13:12:34.432139 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 13:12:34.432270 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connection established (addr): 172.18.202.10/45370 -> 172.18.202.20/9997 13:12:34.432304 mtc HTTP_Adapter.ttcn:190 Abstract socket: connected to: host 172.18.202.20 service 9997 via address family IPv4 13:12:34.432333 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 13:12:34.432359 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 13:12:34.432385 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 13:12:34.432410 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 13:12:34.432435 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 13:12:34.432467 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 13:12:34.432494 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 13:12:34.432520 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 13:12:34.432547 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 13:12:34.432575 mtc HTTP_Adapter.ttcn:190 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 7 13:12:34.432605 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 13:12:34.432631 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 13:12:34.432659 mtc HTTP_Adapter.ttcn:191 Start timer T: 2 s 13:12:34.432693 mtc HTTP_Adapter.ttcn:193 Matching on port HTTP succeeded: matched 13:12:34.432722 mtc HTTP_Adapter.ttcn:193 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 7 13:12:34.432751 mtc HTTP_Adapter.ttcn:193 Message with id 7 was extracted from the queue of HTTP. 13:12:34.432819 mtc HTTP_Adapter.ttcn:219 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.202.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 13:12:34.432852 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 13:12:34.432886 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering Abstract_Socket::send_outgoing() 13:12:34.432912 mtc HTTP_Adapter.ttcn:219 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 32 30 32 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 13:12:34.432989 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 13:12:34.433016 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 13:12:34.433092 mtc HTTP_Adapter.ttcn:219 Abstract socket: Nr of bytes sent = 98 13:12:34.433124 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving Abstract_Socket::send_outgoing() 13:12:34.433150 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 13:12:34.433181 mtc HTTP_Adapter.ttcn:233 Start timer T: 2 s 13:12:34.433237 mtc HTTP_Adapter.ttcn:234 Connection of port RSPRO[1] to RSPRO1(6):IPA_RSPRO_PORT was closed unexpectedly by the peer. 13:12:34.433269 mtc HTTP_Adapter.ttcn:234 Port RSPRO[1] was disconnected from RSPRO1(6):IPA_RSPRO_PORT. 13:12:34.433350 mtc HTTP_Adapter.ttcn:234 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 13:12:34.433383 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 13:12:34.433409 mtc HTTP_Adapter.ttcn:234 Abstract socket: receiving data 13:12:34.433435 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 13:12:34.433461 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 13:12:34.433502 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received from address (addr) 172.18.202.10/45370 13:12:34.433529 mtc HTTP_Adapter.ttcn:234 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 46 72 69 2c 20 31 34 20 4a 75 6e 20 32 30 32 34 20 31 33 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 13:12:34.433670 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::message_incoming() 13:12:34.433696 mtc HTTP_Adapter.ttcn:234 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 287 13:12:34.433741 mtc HTTP_Adapter.ttcn:234 starting f_HTTP_decodeCommon 13:12:34.433768 mtc HTTP_Adapter.ttcn:234 DECODER: 13:12:34.433796 mtc HTTP_Adapter.ttcn:234 method_name: 13:12:34.433826 mtc HTTP_Adapter.ttcn:234 Decoding the headers 13:12:34.433854 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:34.433882 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:34.433910 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:34.433938 mtc HTTP_Adapter.ttcn:234 Headers decoded. Valid headers. 13:12:34.433964 mtc HTTP_Adapter.ttcn:234 Decoding body, buffer length: 178 13:12:34.433989 mtc HTTP_Adapter.ttcn:234 lengthof body: 178, content_length given: 178 13:12:34.434016 mtc HTTP_Adapter.ttcn:234 Message successfully decoded 13:12:34.434045 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, before calling incoming_message 13:12:34.434097 mtc HTTP_Adapter.ttcn:234 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 := "Fri, 14 Jun 2024 13: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 8 13:12:34.434147 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, after calling incoming_message 13:12:34.434175 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::message_incoming() 13:12:34.434202 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::handle_message() 13:12:34.434230 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 13:12:34.434257 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 13:12:34.434289 mtc HTTP_Adapter.ttcn:235 Matching on port HTTP succeeded: matched 13:12:34.434342 mtc HTTP_Adapter.ttcn:235 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 := "Fri, 14 Jun 2024 13: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 8 13:12:34.434377 mtc HTTP_Adapter.ttcn:235 Message with id 8 was extracted from the queue of HTTP. 13:12:34.434405 mtc HTTP_Adapter.ttcn:236 setverdict(pass): pass -> pass, component reason not changed 13:12:34.434447 mtc HTTP_Adapter.ttcn:251 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 13:12:34.434476 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 13:12:34.434502 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_all_clients 13:12:34.434528 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 13:12:34.434555 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 13:12:34.434580 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_client(8) 13:12:34.434612 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 13:12:34.434639 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 13:12:34.434665 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 13:12:34.434691 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 13:12:34.434717 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 13:12:34.434742 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 13:12:34.434768 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 13:12:34.434828 mtc HTTP_Adapter.ttcn:251 Abstract socket: Removed client 8. 13:12:34.434858 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_client(8) 13:12:34.434884 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 13:12:34.434909 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_all_clients 13:12:34.434935 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 13:12:34.434967 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\"}}]}") 13:12:34.435100 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 } 13:12:34.435178 mtc RemsimServer_Tests.ttcn:177 setverdict(pass): pass -> pass, component reason not changed 13:12:34.435225 mtc RemsimServer_Tests.ttcn:177 Terminating component type RemsimServer_Tests.test_CT. 13:12:34.435258 mtc RemsimServer_Tests.ttcn:177 Default with id 1 (altstep as_Tguard) was deactivated. 13:12:34.435290 mtc RemsimServer_Tests.ttcn:177 Default with id 2 (altstep as_ignore_id_ack) was deactivated. 13:12:34.435319 mtc RemsimServer_Tests.ttcn:177 Default with id 3 (altstep as_ignore_id_ack) was deactivated. 13:12:34.435349 mtc RemsimServer_Tests.ttcn:177 Stop timer g_T_guard: 60 s 13:12:34.435383 mtc RemsimServer_Tests.ttcn:177 Removing unterminated mapping between port HTTP and system:HTTP. 13:12:34.435415 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering HTTPmsg__PT::user_unmap(HTTP) 13:12:34.435444 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering Abstract_Socket::unmap_user() 13:12:34.435472 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering Abstract_Socket::remove_all_clients 13:12:34.435500 mtc RemsimServer_Tests.ttcn:177 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 13:12:34.435529 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving Abstract_Socket::remove_all_clients 13:12:34.435557 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving Abstract_Socket::unmap_user() 13:12:34.435586 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving HTTPmsg__PT::user_unmap() 13:12:34.435613 mtc RemsimServer_Tests.ttcn:177 Port HTTP was unmapped from system:HTTP. 13:12:34.435653 mtc RemsimServer_Tests.ttcn:177 Port HTTP was stopped. 13:12:34.435684 mtc RemsimServer_Tests.ttcn:177 Removing unterminated connection between port RSPRO[0] and RSPRO0(5):IPA_RSPRO_PORT. 13:12:34.435758 5 IPA_Emulation.ttcnpp:735 Connection of port IPA_RSPRO_PORT to mtc:RSPRO[0] was closed unexpectedly by the peer. 13:12:34.435761 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[0] was stopped. 13:12:34.435793 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[1] was stopped. 13:12:34.435801 5 IPA_Emulation.ttcnpp:735 Port IPA_RSPRO_PORT was disconnected from mtc:RSPRO[0]. 13:12:34.435822 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[2] was stopped. 13:12:34.435850 mtc RemsimServer_Tests.ttcn:177 Component type RemsimServer_Tests.test_CT was shut down inside testcase TC_connect_client_duplicate. 13:12:34.435882 mtc RemsimServer_Tests.ttcn:177 Waiting for PTCs to finish. 13:12:34.435948 5 IPA_Emulation.ttcnpp:735 Kill was requested from MC. 13:12:34.435968 5 IPA_Emulation.ttcnpp:735 Terminating test component execution. 13:12:34.436230 5 - Function main_client was stopped. PTC terminates. 13:12:34.436259 5 - Terminating component type IPA_Emulation.IPA_Emulation_CT. 13:12:34.436275 5 - Removing unterminated mapping between port IPA_PORT and system:IPA_CODEC_PT. 13:12:34.436435 5 - Port IPA_PORT was unmapped from system:IPA_CODEC_PT. 13:12:34.436462 5 - Port IPA_PORT was stopped. 13:12:34.436478 5 - Port CFG_PORT was stopped. 13:12:34.436492 5 - Port IPA_CTRL_PORT was stopped. 13:12:34.436505 5 - Port IPA_RSPRO_PORT was stopped. 13:12:34.436519 5 - Port IPA_SP_PORT was stopped. 13:12:34.436533 5 - Component type IPA_Emulation.IPA_Emulation_CT was shut down inside testcase TC_connect_client_duplicate. 13:12:34.436553 5 - Final verdict of PTC: none 13:12:34.436635 5 - Disconnected from MC. 13:12:34.436641 mtc RemsimServer_Tests.ttcn:177 Setting final verdict of the test case. 13:12:34.436668 5 - TTCN-3 Parallel Test Component finished. 13:12:34.436686 mtc RemsimServer_Tests.ttcn:177 Local verdict of MTC: pass 13:12:34.436726 mtc RemsimServer_Tests.ttcn:177 Local verdict of PTC RSPRO0(5): none (pass -> pass) 13:12:34.436816 mtc RemsimServer_Tests.ttcn:177 Local verdict of PTC RSPRO1(6): none (pass -> pass) 13:12:34.436865 mtc RemsimServer_Tests.ttcn:177 Test case TC_connect_client_duplicate finished. Verdict: pass 13:12:34.436911 mtc RemsimServer_Tests.ttcn:177 Starting external command `../ttcn3-tcpdump-stop.sh RemsimServer_Tests.TC_connect_client_duplicate pass'. 13:12:36.460306 mtc RemsimServer_Tests.ttcn:177 External command `../ttcn3-tcpdump-stop.sh RemsimServer_Tests.TC_connect_client_duplicate pass' was executed successfully (exit status: 0). 13:12:36.460374 mtc RemsimServer_Tests.ttcn:180 Switching to log file `REMSIM_Tests-TC_connect_bank-ea30b2440fea-mtc.log'