13:12:33.150296 mtc RemsimServer_Tests.ttcn:143 Starting external command `../ttcn3-tcpdump-start.sh RemsimServer_Tests.TC_connect_client_duplicate'. 13:12:34.166641 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:34.166716 mtc RemsimServer_Tests.ttcn:143 Test case TC_connect_client_duplicate started. 13:12:34.166745 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:34.166792 mtc RemsimServer_Tests.ttcn:143 Port HTTP was started. 13:12:34.166812 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[0] was started. 13:12:34.166827 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[1] was started. 13:12:34.166842 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[2] was started. 13:12:34.166857 mtc RemsimServer_Tests.ttcn:143 Component type RemsimServer_Tests.test_CT was initialized. 13:12:34.166892 mtc RemsimServer_Tests.ttcn:94 Start timer g_T_guard: 60 s 13:12:34.166918 mtc RemsimServer_Tests.ttcn:95 Altstep as_Tguard was activated as default, id 1 13:12:34.166944 mtc HTTP_Adapter.ttcn:32 Mapping port mtc:HTTP to system:HTTP. 13:12:34.167006 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering HTTPmsg__PT::set_parameter(http_debugging, yes) 13:12:34.167030 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering SSL_Socket::parameter_set(http_debugging, yes) 13:12:34.167048 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving SSL_Socket::parameter_set(http_debugging, yes) 13:12:34.167064 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering Abstract_Socket::parameter_set(http_debugging, yes) 13:12:34.167080 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving Abstract_Socket::parameter_set(http_debugging, yes) 13:12:34.167096 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving HTTPmsg__PT::set_parameter(http_debugging, yes) 13:12:34.167111 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering HTTPmsg__PT::set_parameter(use_notification_ASPs, yes) 13:12:34.167127 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving HTTPmsg__PT::set_parameter(use_notification_ASPs, yes) 13:12:34.167143 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering HTTPmsg__PT::user_map(HTTP) 13:12:34.167158 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering Abstract_Socket::map_user() 13:12:34.167175 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving Abstract_Socket::map_user() 13:12:34.167190 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving HTTPmsg__PT::user_map() 13:12:34.167206 mtc HTTP_Adapter.ttcn:32 Port HTTP was mapped to system:HTTP. 13:12:34.167270 mtc HTTP_Adapter.ttcn:32 Map operation of mtc:HTTP to system:HTTP finished. 13:12:34.167314 mtc HTTP_Adapter.ttcn:190 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.136.20", portnumber := 9997, use_ssl := false } 13:12:34.167334 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 13:12:34.167353 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.136.20/9997, localAddr: UNSPEC/UNSPEC) called 13:12:34.167425 mtc HTTP_Adapter.ttcn:190 Abstract socket: Number of remote addresses: 1 13:12:34.167452 mtc HTTP_Adapter.ttcn:190 Abstract socket: Using address family for socket 8: IPv4 13:12:34.167470 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 13:12:34.167563 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connection established (addr): 172.18.136.10/49662 -> 172.18.136.20/9997 13:12:34.167584 mtc HTTP_Adapter.ttcn:190 Abstract socket: connected to: host 172.18.136.20 service 9997 via address family IPv4 13:12:34.167603 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 13:12:34.167620 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 13:12:34.167636 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 13:12:34.167652 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 13:12:34.167668 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 13:12:34.167698 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 13:12:34.167716 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 13:12:34.167733 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 13:12:34.167749 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 13:12:34.167767 mtc HTTP_Adapter.ttcn:190 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 1 13:12:34.167786 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 13:12:34.167803 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 13:12:34.167821 mtc HTTP_Adapter.ttcn:191 Start timer T: 2 s 13:12:34.167841 mtc HTTP_Adapter.ttcn:193 Matching on port HTTP succeeded: matched 13:12:34.167860 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:34.167879 mtc HTTP_Adapter.ttcn:193 Message with id 1 was extracted from the queue of HTTP. 13:12:34.167928 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.136.20:9997" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } 13:12:34.167949 mtc HTTP_Adapter.ttcn:210 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 13:12:34.167971 mtc HTTP_Adapter.ttcn:210 Abstract socket: entering Abstract_Socket::send_outgoing() 13:12:34.167988 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 31 33 36 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:34.168033 mtc HTTP_Adapter.ttcn:210 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 13:12:34.168049 mtc HTTP_Adapter.ttcn:210 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 13:12:34.168098 mtc HTTP_Adapter.ttcn:210 Abstract socket: Nr of bytes sent = 123 13:12:34.168117 mtc HTTP_Adapter.ttcn:210 Abstract socket: leaving Abstract_Socket::send_outgoing() 13:12:34.168133 mtc HTTP_Adapter.ttcn:210 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 13:12:34.168153 mtc HTTP_Adapter.ttcn:233 Start timer T: 2 s 13:12:34.168352 mtc HTTP_Adapter.ttcn:234 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 13:12:34.168372 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 13:12:34.168388 mtc HTTP_Adapter.ttcn:234 Abstract socket: receiving data 13:12:34.168405 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 13:12:34.168421 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.168459 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received from address (addr) 172.18.136.10/49662 13:12:34.168477 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 57 65 64 2c 20 30 37 20 41 75 67 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 4c 65 6e 67 74 68 3a 20 30 0d 0a 0d 0a 13:12:34.168515 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::message_incoming() 13:12:34.168538 mtc HTTP_Adapter.ttcn:234 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 75 13:12:34.168555 mtc HTTP_Adapter.ttcn:234 starting f_HTTP_decodeCommon 13:12:34.168571 mtc HTTP_Adapter.ttcn:234 DECODER: 13:12:34.168588 mtc HTTP_Adapter.ttcn:234 method_name: 13:12:34.168608 mtc HTTP_Adapter.ttcn:234 Decoding the headers 13:12:34.168625 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:34.168642 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:34.168660 mtc HTTP_Adapter.ttcn:234 Headers decoded. Valid headers. 13:12:34.168675 mtc HTTP_Adapter.ttcn:234 lengthof body: 0, content_length given: 0 13:12:34.168692 mtc HTTP_Adapter.ttcn:234 Message successfully decoded 13:12:34.168710 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, before calling incoming_message 13:12:34.168733 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 := "Wed, 07 Aug 2024 13:12:34 GMT" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } id 2 13:12:34.168753 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, after calling incoming_message 13:12:34.168770 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::message_incoming() 13:12:34.168786 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::handle_message() 13:12:34.168802 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 13:12:34.168818 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 13:12:34.168838 mtc HTTP_Adapter.ttcn:235 Matching on port HTTP succeeded: matched 13:12:34.168860 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 := "Wed, 07 Aug 2024 13:12:34 GMT" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } id 2 13:12:34.168880 mtc HTTP_Adapter.ttcn:235 Message with id 2 was extracted from the queue of HTTP. 13:12:34.168898 mtc HTTP_Adapter.ttcn:236 setverdict(pass): none -> pass 13:12:34.168927 mtc HTTP_Adapter.ttcn:251 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 13:12:34.168945 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 13:12:34.168964 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_all_clients 13:12:34.168987 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 13:12:34.169005 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 13:12:34.169021 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_client(8) 13:12:34.169045 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 13:12:34.169067 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 13:12:34.169090 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 13:12:34.169109 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 13:12:34.169125 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 13:12:34.169141 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 13:12:34.169158 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 13:12:34.169200 mtc HTTP_Adapter.ttcn:251 Abstract socket: Removed client 8. 13:12:34.169218 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_client(8) 13:12:34.169243 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 13:12:34.169260 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_all_clients 13:12:34.169276 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 13:12:34.169301 mtc REMSIM_Tests.ttcn:59 Creating new PTC with component type IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. 13:12:34.172961 5 - Warning: A plug-in from the same path `libjunitlogger2' is already active, skipping plug-in 13:12:34.173045 5 - TTCN-3 Parallel Test Component started on 0cbf0b300bde. Component reference: RSPRO0(5), component type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. Version: 9.0.0. 13:12:34.173072 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:34.173123 5 - Connected to MC. 13:12:34.173141 5 - Initializing variables, timers and ports of component type IPA_Emulation.IPA_Emulation_CT inside testcase TC_connect_client_duplicate. 13:12:34.173199 mtc REMSIM_Tests.ttcn:59 PTC was created. Component reference: 5, alive: no, type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. 13:12:34.173233 mtc REMSIM_Tests.ttcn:69 Mapping port RSPRO0(5):IPA_PORT to system:IPA_CODEC_PT. 13:12:34.174005 5 - Port IPA_PORT was started. 13:12:34.174028 5 - Port CFG_PORT was started. 13:12:34.174037 5 - Port IPA_CTRL_PORT was started. 13:12:34.174046 5 - Port IPA_RSPRO_PORT was started. 13:12:34.174055 5 - Port IPA_SP_PORT was started. 13:12:34.174064 5 - Component type IPA_Emulation.IPA_Emulation_CT was initialized. 13:12:34.174093 5 - Port IPA_PORT was mapped to system:IPA_CODEC_PT. 13:12:34.174160 mtc REMSIM_Tests.ttcn:69 Map operation of RSPRO0(5):IPA_PORT to system:IPA_CODEC_PT finished. 13:12:34.174198 mtc REMSIM_Tests.ttcn:70 Connecting ports RSPRO0(5):IPA_RSPRO_PORT and mtc:RSPRO[0]. 13:12:34.174380 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:34.174434 5 - Port IPA_RSPRO_PORT has established the connection with mtc:RSPRO[0] using transport type UNIX. 13:12:34.174500 mtc REMSIM_Tests.ttcn:70 Port RSPRO[0] has accepted the connection from RSPRO0(5):IPA_RSPRO_PORT. 13:12:34.174539 mtc REMSIM_Tests.ttcn:70 Connect operation on RSPRO0(5):IPA_RSPRO_PORT and mtc:RSPRO[0] finished. 13:12:34.174566 mtc REMSIM_Tests.ttcn:72 Starting function main_client("172.18.136.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:34.174661 mtc REMSIM_Tests.ttcn:72 Function was started. 13:12:34.174687 mtc REMSIM_Tests.ttcn:74 Start timer T: 4 s 13:12:34.174730 5 - Starting function main_client("172.18.136.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:34.174887 5 IPA_Emulation.ttcnpp:309 entering f__IPL4__PROVIDER__connect: :10000 -> 172.18.136.20:9998 / TCP 13:12:34.175455 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:34.175538 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '06'O 13:12:34.175647 5 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 13:12:34.175708 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:34.175770 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:34.175827 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE06'O 13:12:34.175875 5 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE06'O } 13:12:34.176067 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:34.176141 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:34.176177 mtc REMSIM_Tests.ttcn:76 Matching on port RSPRO[0] succeeded: matched 13:12:34.176203 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:34.176226 mtc REMSIM_Tests.ttcn:76 Message with id 1 was extracted from the queue of RSPRO[0]. 13:12:34.176247 mtc REMSIM_Tests.ttcn:82 Warning: Re-starting timer T, which is already active (running or expired). 13:12:34.176276 mtc REMSIM_Tests.ttcn:82 Start timer T: 4 s 13:12:34.176445 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.136.20", remPort := 9998, locName := "172.18.136.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0001FE00'O } id 1 13:12:34.176481 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE00'O 13:12:34.176539 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:34.176558 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:34.176576 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.136.20", remPort := 9998, locName := "172.18.136.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0001FE06'O } id 2 13:12:34.176587 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE06'O 13:12:34.176598 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:34.176616 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:34.176651 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 13:12:34.176674 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:34.176687 5 IPA_Emulation.ttcnpp:737 Message with id 1 was extracted from the queue of IPA_PORT. 13:12:34.176699 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '00'O 13:12:34.176730 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:34.176742 5 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_PING (0), u := omit } 13:12:34.176767 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:34.176780 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '01'O 13:12:34.176792 5 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_PONG (1), u := omit } 13:12:34.176809 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:34.176821 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:34.176834 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE01'O 13:12:34.176846 5 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE01'O } 13:12:34.176875 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 13:12:34.176889 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:34.176901 5 IPA_Emulation.ttcnpp:737 Message with id 2 was extracted from the queue of IPA_PORT. 13:12:34.176914 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '06'O 13:12:34.176929 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:34.176941 5 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 13:12:34.176976 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:34.177008 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:34.177030 mtc REMSIM_Tests.ttcn:84 Matching on port RSPRO[0] succeeded: matched 13:12:34.177043 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:34.177057 mtc REMSIM_Tests.ttcn:84 Message with id 2 was extracted from the queue of RSPRO[0]. 13:12:34.177069 mtc REMSIM_Tests.ttcn:92 Altstep as_ignore_id_ack was activated as default, id 2 13:12:34.177091 mtc HTTP_Adapter.ttcn:190 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.136.20", portnumber := 9997, use_ssl := false } 13:12:34.177103 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 13:12:34.177115 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.136.20/9997, localAddr: UNSPEC/UNSPEC) called 13:12:34.177155 mtc HTTP_Adapter.ttcn:190 Abstract socket: Number of remote addresses: 1 13:12:34.177172 mtc HTTP_Adapter.ttcn:190 Abstract socket: Using address family for socket 8: IPv4 13:12:34.177184 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 13:12:34.177235 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connection established (addr): 172.18.136.10/49672 -> 172.18.136.20/9997 13:12:34.177249 mtc HTTP_Adapter.ttcn:190 Abstract socket: connected to: host 172.18.136.20 service 9997 via address family IPv4 13:12:34.177266 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 13:12:34.177277 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 13:12:34.177287 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 13:12:34.177297 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 13:12:34.177308 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 13:12:34.177320 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 13:12:34.177331 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 13:12:34.177341 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 13:12:34.177351 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 13:12:34.177363 mtc HTTP_Adapter.ttcn:190 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 3 13:12:34.177375 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 13:12:34.177385 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 13:12:34.177396 mtc HTTP_Adapter.ttcn:191 Start timer T: 2 s 13:12:34.177409 mtc HTTP_Adapter.ttcn:193 Matching on port HTTP succeeded: matched 13:12:34.177420 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:34.177432 mtc HTTP_Adapter.ttcn:193 Message with id 3 was extracted from the queue of HTTP. 13:12:34.177457 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.136.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 13:12:34.177470 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 13:12:34.177483 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering Abstract_Socket::send_outgoing() 13:12:34.177494 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 31 33 36 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.177519 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 13:12:34.177530 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.177561 mtc HTTP_Adapter.ttcn:219 Abstract socket: Nr of bytes sent = 98 13:12:34.177573 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving Abstract_Socket::send_outgoing() 13:12:34.177584 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 13:12:34.177596 mtc HTTP_Adapter.ttcn:233 Start timer T: 2 s 13:12:34.177774 mtc HTTP_Adapter.ttcn:234 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 13:12:34.177788 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 13:12:34.177799 mtc HTTP_Adapter.ttcn:234 Abstract socket: receiving data 13:12:34.177809 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 13:12:34.177819 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.177836 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received from address (addr) 172.18.136.10/49672 13:12:34.177852 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 57 65 64 2c 20 30 37 20 41 75 67 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 34 0d 0a 0d 0a 7b 22 63 6c 69 65 6e 74 73 22 3a 5b 5d 7d 13:12:34.177880 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::message_incoming() 13:12:34.177890 mtc HTTP_Adapter.ttcn:234 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 122 13:12:34.177901 mtc HTTP_Adapter.ttcn:234 starting f_HTTP_decodeCommon 13:12:34.177912 mtc HTTP_Adapter.ttcn:234 DECODER: 13:12:34.177923 mtc HTTP_Adapter.ttcn:234 method_name: 13:12:34.177935 mtc HTTP_Adapter.ttcn:234 Decoding the headers 13:12:34.177946 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:34.177959 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:34.177971 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:34.177984 mtc HTTP_Adapter.ttcn:234 Headers decoded. Valid headers. 13:12:34.177994 mtc HTTP_Adapter.ttcn:234 Decoding body, buffer length: 14 13:12:34.178004 mtc HTTP_Adapter.ttcn:234 lengthof body: 14, content_length given: 14 13:12:34.178015 mtc HTTP_Adapter.ttcn:234 Message successfully decoded 13:12:34.178026 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, before calling incoming_message 13:12:34.178043 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 := "Wed, 07 Aug 2024 13:12:34 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "14" } }, body := "{\"clients\":[]}" } } id 4 13:12:34.178057 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, after calling incoming_message 13:12:34.178067 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::message_incoming() 13:12:34.178078 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::handle_message() 13:12:34.178088 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 13:12:34.178098 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 13:12:34.178111 mtc HTTP_Adapter.ttcn:235 Matching on port HTTP succeeded: matched 13:12:34.178127 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 := "Wed, 07 Aug 2024 13:12:34 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "14" } }, body := "{\"clients\":[]}" } } id 4 13:12:34.178140 mtc HTTP_Adapter.ttcn:235 Message with id 4 was extracted from the queue of HTTP. 13:12:34.178151 mtc HTTP_Adapter.ttcn:236 setverdict(pass): pass -> pass, component reason not changed 13:12:34.178169 mtc HTTP_Adapter.ttcn:251 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 13:12:34.178180 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 13:12:34.178190 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_all_clients 13:12:34.178200 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 13:12:34.178211 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 13:12:34.178221 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_client(8) 13:12:34.178234 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 13:12:34.178253 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 13:12:34.178268 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 13:12:34.178280 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 13:12:34.178292 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 13:12:34.178303 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 13:12:34.178314 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 13:12:34.178340 mtc HTTP_Adapter.ttcn:251 Abstract socket: Removed client 8. 13:12:34.178352 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_client(8) 13:12:34.178363 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 13:12:34.178374 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_all_clients 13:12:34.178384 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 13:12:34.178397 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Stream before decoding: '7B22636C69656E7473223A5B5D7D'O ("{\"clients\":[]}") 13:12:34.178420 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Decoded @RSRES.JsRoot: { clients := { }, banks := omit, slotmaps := omit } 13:12:34.178471 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:34.178497 mtc REMSIM_Tests.ttcn:109 Start timer T: 10 s 13:12:34.178739 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:34.178879 5 IPA_Emulation.ttcnpp:896 Matching on port IPA_RSPRO_PORT succeeded: matched 13:12:34.178898 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:34.178913 5 IPA_Emulation.ttcnpp:896 Message with id 1 was extracted from the queue of IPA_RSPRO_PORT. 13:12:34.179195 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:34.179214 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:34.179238 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O 13:12:34.179256 5 IPA_Emulation.ttcnpp:899 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 13:12:34.217952 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.136.20", remPort := 9998, locName := "172.18.136.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0054EE07305180010281020926A248A34630410A0101160C313333333663383830333039800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323430383036323032397E6173616E0A0100'O } id 3 13:12:34.217977 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0054EE07305180010281020926A248A34630410A0101160C313333333663383830333039800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323430383036323032397E6173616E0A0100'O 13:12:34.218007 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 := '305180010281020926A248A34630410A0101160C313333333663383830333039800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323430383036323032397E6173616E0A0100'O } 13:12:34.218034 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 := '305180010281020926A248A34630410A0101160C313333333663383830333039800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323430383036323032397E6173616E0A0100'O } id 3 13:12:34.218080 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:34.218101 5 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT succeeded: matched 13:12:34.218115 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 := '305180010281020926A248A34630410A0101160C313333333663383830333039800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323430383036323032397E6173616E0A0100'O } id 3 13:12:34.218127 5 IPA_Emulation.ttcnpp:753 Message with id 3 was extracted from the queue of IPA_PORT. 13:12:34.218304 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 := "13336c880309", software := "remsim-server", swVersion := "1.0.0.62-5b8a.202408062029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } 13:12:34.218395 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 := "13336c880309", software := "remsim-server", swVersion := "1.0.0.62-5b8a.202408062029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } id 3 13:12:34.218448 mtc REMSIM_Tests.ttcn:111 Matching on port RSPRO[0] succeeded: matched 13:12:34.218478 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 := "13336c880309", software := "remsim-server", swVersion := "1.0.0.62-5b8a.202408062029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } id 3 13:12:34.218503 mtc REMSIM_Tests.ttcn:111 Message with id 3 was extracted from the queue of RSPRO[0]. 13:12:34.218524 mtc REMSIM_Tests.ttcn:112 setverdict(pass): pass -> pass, component reason not changed 13:12:34.218568 mtc HTTP_Adapter.ttcn:190 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.136.20", portnumber := 9997, use_ssl := false } 13:12:34.218592 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 13:12:34.218614 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.136.20/9997, localAddr: UNSPEC/UNSPEC) called 13:12:34.218690 mtc HTTP_Adapter.ttcn:190 Abstract socket: Number of remote addresses: 1 13:12:34.218723 mtc HTTP_Adapter.ttcn:190 Abstract socket: Using address family for socket 8: IPv4 13:12:34.218753 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 13:12:34.218859 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connection established (addr): 172.18.136.10/49682 -> 172.18.136.20/9997 13:12:34.218888 mtc HTTP_Adapter.ttcn:190 Abstract socket: connected to: host 172.18.136.20 service 9997 via address family IPv4 13:12:34.218923 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 13:12:34.218944 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 13:12:34.218964 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 13:12:34.218984 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 13:12:34.219004 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 13:12:34.219029 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 13:12:34.219050 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 13:12:34.219070 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 13:12:34.219090 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 13:12:34.219112 mtc HTTP_Adapter.ttcn:190 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 5 13:12:34.219135 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 13:12:34.219155 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 13:12:34.219177 mtc HTTP_Adapter.ttcn:191 Start timer T: 2 s 13:12:34.219201 mtc HTTP_Adapter.ttcn:193 Matching on port HTTP succeeded: matched 13:12:34.219223 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:34.219246 mtc HTTP_Adapter.ttcn:193 Message with id 5 was extracted from the queue of HTTP. 13:12:34.219293 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.136.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 13:12:34.219318 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 13:12:34.219342 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering Abstract_Socket::send_outgoing() 13:12:34.219362 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 31 33 36 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.219417 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 13:12:34.219437 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.219496 mtc HTTP_Adapter.ttcn:219 Abstract socket: Nr of bytes sent = 98 13:12:34.219520 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving Abstract_Socket::send_outgoing() 13:12:34.219540 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 13:12:34.219564 mtc HTTP_Adapter.ttcn:233 Start timer T: 2 s 13:12:34.219729 mtc HTTP_Adapter.ttcn:234 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 13:12:34.219753 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 13:12:34.219773 mtc HTTP_Adapter.ttcn:234 Abstract socket: receiving data 13:12:34.219793 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 13:12:34.219814 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.219845 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received from address (addr) 172.18.136.10/49682 13:12:34.219874 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 57 65 64 2c 20 30 37 20 41 75 67 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.219973 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::message_incoming() 13:12:34.219993 mtc HTTP_Adapter.ttcn:234 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 287 13:12:34.220014 mtc HTTP_Adapter.ttcn:234 starting f_HTTP_decodeCommon 13:12:34.220034 mtc HTTP_Adapter.ttcn:234 DECODER: 13:12:34.220058 mtc HTTP_Adapter.ttcn:234 method_name: 13:12:34.220083 mtc HTTP_Adapter.ttcn:234 Decoding the headers 13:12:34.220104 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:34.220126 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:34.220147 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:34.220168 mtc HTTP_Adapter.ttcn:234 Headers decoded. Valid headers. 13:12:34.220188 mtc HTTP_Adapter.ttcn:234 Decoding body, buffer length: 178 13:12:34.220208 mtc HTTP_Adapter.ttcn:234 lengthof body: 178, content_length given: 178 13:12:34.220229 mtc HTTP_Adapter.ttcn:234 Message successfully decoded 13:12:34.220251 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, before calling incoming_message 13:12:34.220290 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 := "Wed, 07 Aug 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 6 13:12:34.220318 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, after calling incoming_message 13:12:34.220338 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::message_incoming() 13:12:34.220359 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::handle_message() 13:12:34.220378 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 13:12:34.220398 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 13:12:34.220423 mtc HTTP_Adapter.ttcn:235 Matching on port HTTP succeeded: matched 13:12:34.220461 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 := "Wed, 07 Aug 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 6 13:12:34.220496 mtc HTTP_Adapter.ttcn:235 Message with id 6 was extracted from the queue of HTTP. 13:12:34.220517 mtc HTTP_Adapter.ttcn:236 setverdict(pass): pass -> pass, component reason not changed 13:12:34.220551 mtc HTTP_Adapter.ttcn:251 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 13:12:34.220573 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 13:12:34.220594 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_all_clients 13:12:34.220614 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 13:12:34.220634 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 13:12:34.220654 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_client(8) 13:12:34.220678 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 13:12:34.220698 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 13:12:34.220719 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 13:12:34.220743 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 13:12:34.220770 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 13:12:34.220792 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 13:12:34.220812 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 13:12:34.220863 mtc HTTP_Adapter.ttcn:251 Abstract socket: Removed client 8. 13:12:34.220887 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_client(8) 13:12:34.220907 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 13:12:34.220927 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_all_clients 13:12:34.220947 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 13:12:34.220973 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.221050 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.221097 mtc REMSIM_Tests.ttcn:59 Creating new PTC with component type IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. 13:12:34.225502 6 - Warning: A plug-in from the same path `libjunitlogger2' is already active, skipping plug-in 13:12:34.225613 6 - TTCN-3 Parallel Test Component started on 0cbf0b300bde. Component reference: RSPRO1(6), component type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. Version: 9.0.0. 13:12:34.225654 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:34.225734 6 - Connected to MC. 13:12:34.225763 6 - Initializing variables, timers and ports of component type IPA_Emulation.IPA_Emulation_CT inside testcase TC_connect_client_duplicate. 13:12:34.225832 mtc REMSIM_Tests.ttcn:59 PTC was created. Component reference: 6, alive: no, type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. 13:12:34.225873 mtc REMSIM_Tests.ttcn:69 Mapping port RSPRO1(6):IPA_PORT to system:IPA_CODEC_PT. 13:12:34.226773 6 - Port IPA_PORT was started. 13:12:34.226806 6 - Port CFG_PORT was started. 13:12:34.226824 6 - Port IPA_CTRL_PORT was started. 13:12:34.226841 6 - Port IPA_RSPRO_PORT was started. 13:12:34.226859 6 - Port IPA_SP_PORT was started. 13:12:34.226876 6 - Component type IPA_Emulation.IPA_Emulation_CT was initialized. 13:12:34.226922 6 - Port IPA_PORT was mapped to system:IPA_CODEC_PT. 13:12:34.227017 mtc REMSIM_Tests.ttcn:69 Map operation of RSPRO1(6):IPA_PORT to system:IPA_CODEC_PT finished. 13:12:34.227044 mtc REMSIM_Tests.ttcn:70 Connecting ports RSPRO1(6):IPA_RSPRO_PORT and mtc:RSPRO[1]. 13:12:34.227183 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:34.227232 6 - Port IPA_RSPRO_PORT has established the connection with mtc:RSPRO[1] using transport type UNIX. 13:12:34.227286 mtc REMSIM_Tests.ttcn:70 Port RSPRO[1] has accepted the connection from RSPRO1(6):IPA_RSPRO_PORT. 13:12:34.227319 mtc REMSIM_Tests.ttcn:70 Connect operation on RSPRO1(6):IPA_RSPRO_PORT and mtc:RSPRO[1] finished. 13:12:34.227342 mtc REMSIM_Tests.ttcn:72 Starting function main_client("172.18.136.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:34.227409 mtc REMSIM_Tests.ttcn:72 Function was started. 13:12:34.227432 mtc REMSIM_Tests.ttcn:74 Start timer T: 4 s 13:12:34.227509 6 - Starting function main_client("172.18.136.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:34.227729 6 IPA_Emulation.ttcnpp:309 entering f__IPL4__PROVIDER__connect: :10001 -> 172.18.136.20:9998 / TCP 13:12:34.228543 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:34.228657 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '06'O 13:12:34.228798 6 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 13:12:34.228889 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:34.228979 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:34.229065 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE06'O 13:12:34.229134 6 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE06'O } 13:12:34.229389 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:34.229461 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:34.229481 mtc REMSIM_Tests.ttcn:76 Matching on port RSPRO[1] succeeded: matched 13:12:34.229493 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:34.229505 mtc REMSIM_Tests.ttcn:76 Message with id 1 was extracted from the queue of RSPRO[1]. 13:12:34.229516 mtc REMSIM_Tests.ttcn:82 Warning: Re-starting timer T, which is already active (running or expired). 13:12:34.229530 mtc REMSIM_Tests.ttcn:82 Start timer T: 4 s 13:12:34.229937 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.136.20", remPort := 9998, locName := "172.18.136.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0001FE00'O } id 1 13:12:34.229981 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE00'O 13:12:34.230060 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:34.230090 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:34.230118 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.136.20", remPort := 9998, locName := "172.18.136.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0001FE06'O } id 2 13:12:34.230137 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE06'O 13:12:34.230157 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:34.230186 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:34.230239 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 13:12:34.230274 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:34.230295 6 IPA_Emulation.ttcnpp:737 Message with id 1 was extracted from the queue of IPA_PORT. 13:12:34.230315 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '00'O 13:12:34.230363 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:34.230384 6 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_PING (0), u := omit } 13:12:34.230424 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:34.230445 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '01'O 13:12:34.230466 6 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_PONG (1), u := omit } 13:12:34.230495 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:34.230515 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:34.230538 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE01'O 13:12:34.230558 6 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE01'O } 13:12:34.230607 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 13:12:34.230629 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:34.230648 6 IPA_Emulation.ttcnpp:737 Message with id 2 was extracted from the queue of IPA_PORT. 13:12:34.230666 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '06'O 13:12:34.230685 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:34.230702 6 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 13:12:34.230733 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:34.230770 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:34.230792 mtc REMSIM_Tests.ttcn:84 Matching on port RSPRO[1] succeeded: matched 13:12:34.230805 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:34.230817 mtc REMSIM_Tests.ttcn:84 Message with id 2 was extracted from the queue of RSPRO[1]. 13:12:34.230830 mtc REMSIM_Tests.ttcn:92 Altstep as_ignore_id_ack was activated as default, id 3 13:12:34.230895 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:34.230920 mtc REMSIM_Tests.ttcn:109 Start timer T: 10 s 13:12:34.231226 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:34.231392 6 IPA_Emulation.ttcnpp:896 Matching on port IPA_RSPRO_PORT succeeded: matched 13:12:34.231419 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:34.231442 6 IPA_Emulation.ttcnpp:896 Message with id 1 was extracted from the queue of IPA_RSPRO_PORT. 13:12:34.231818 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:34.231850 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:34.231886 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O 13:12:34.231915 6 IPA_Emulation.ttcnpp:899 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 13:12:34.273981 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.136.20", remPort := 9998, locName := "172.18.136.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0054EE07305180010281020926A248A34630410A0101160C313333333663383830333039800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323430383036323032397E6173616E0A0106'O } id 3 13:12:34.274011 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0054EE07305180010281020926A248A34630410A0101160C313333333663383830333039800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323430383036323032397E6173616E0A0106'O 13:12:34.274047 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 := '305180010281020926A248A34630410A0101160C313333333663383830333039800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323430383036323032397E6173616E0A0106'O } 13:12:34.274081 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 := '305180010281020926A248A34630410A0101160C313333333663383830333039800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323430383036323032397E6173616E0A0106'O } id 3 13:12:34.274135 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:34.274161 6 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT succeeded: matched 13:12:34.274184 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 := '305180010281020926A248A34630410A0101160C313333333663383830333039800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323430383036323032397E6173616E0A0106'O } id 3 13:12:34.274201 6 IPA_Emulation.ttcnpp:753 Message with id 3 was extracted from the queue of IPA_PORT. 13:12:34.274443 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 := "13336c880309", software := "remsim-server", swVersion := "1.0.0.62-5b8a.202408062029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } 13:12:34.274557 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 := "13336c880309", software := "remsim-server", swVersion := "1.0.0.62-5b8a.202408062029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } id 3 13:12:34.274608 mtc REMSIM_Tests.ttcn:111 Matching on port RSPRO[1] succeeded: matched 13:12:34.274639 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 := "13336c880309", software := "remsim-server", swVersion := "1.0.0.62-5b8a.202408062029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } id 3 13:12:34.274664 mtc REMSIM_Tests.ttcn:111 Message with id 3 was extracted from the queue of RSPRO[1]. 13:12:34.274685 mtc REMSIM_Tests.ttcn:112 setverdict(pass): pass -> pass, component reason not changed 13:12:34.274730 mtc REMSIM_Tests.ttcn:133 Start timer T: 10 s 13:12:35.275359 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @Socket_API_Definitions.PortEvent : { connClosed := { connId := 1, remName := "172.18.136.20", remPort := 9998, locName := "172.18.136.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } id 4 13:12:35.275630 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:35.275659 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:35.275755 6 IPA_Emulation.ttcnpp:822 Matching on port IPA_PORT { connClosed := { connId := 1, remName := "172.18.136.20", remPort := 9998, locName := "172.18.136.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } with { connOpened := ? } unmatched: First message in the queue does not match the template: 13:12:35.275799 6 IPA_Emulation.ttcnpp:839 Matching on port IPA_PORT succeeded: matched 13:12:35.275825 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.136.20", remPort := 9998, locName := "172.18.136.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } id 4 13:12:35.275853 6 IPA_Emulation.ttcnpp:839 Message with id 4 was extracted from the queue of IPA_PORT. 13:12:35.275881 6 IPA_Emulation.ttcnpp:840 IPA: Closed 13:12:35.275937 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:35.275996 6 IPA_Emulation.ttcnpp:844 Stopping test component execution. 13:12:35.276021 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:35.276127 mtc REMSIM_Tests.ttcn:135 Matching on port RSPRO[1] succeeded: matched 13:12:35.276160 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:35.276189 mtc REMSIM_Tests.ttcn:135 Message with id 4 was extracted from the queue of RSPRO[1]. 13:12:35.276216 mtc REMSIM_Tests.ttcn:136 setverdict(pass): pass -> pass, component reason not changed 13:12:35.276269 6 - Function main_client was stopped. PTC terminates. 13:12:35.276286 mtc HTTP_Adapter.ttcn:190 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.136.20", portnumber := 9997, use_ssl := false } 13:12:35.276311 6 - Terminating component type IPA_Emulation.IPA_Emulation_CT. 13:12:35.276317 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 13:12:35.276332 6 - Removing unterminated mapping between port IPA_PORT and system:IPA_CODEC_PT. 13:12:35.276346 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.136.20/9997, localAddr: UNSPEC/UNSPEC) called 13:12:35.276360 6 - Port IPA_PORT was unmapped from system:IPA_CODEC_PT. 13:12:35.276388 6 - Port IPA_PORT was stopped. 13:12:35.276407 6 - Port CFG_PORT was stopped. 13:12:35.276424 6 - Port IPA_CTRL_PORT was stopped. 13:12:35.276440 6 - Removing unterminated connection between port IPA_RSPRO_PORT and mtc:RSPRO[1]. 13:12:35.276451 mtc HTTP_Adapter.ttcn:190 Abstract socket: Number of remote addresses: 1 13:12:35.276476 6 - Port IPA_RSPRO_PORT was stopped. 13:12:35.276489 mtc HTTP_Adapter.ttcn:190 Abstract socket: Using address family for socket 8: IPv4 13:12:35.276494 6 - Port IPA_SP_PORT was stopped. 13:12:35.276512 6 - Component type IPA_Emulation.IPA_Emulation_CT was shut down inside testcase TC_connect_client_duplicate. 13:12:35.276518 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 13:12:35.276537 6 - Final verdict of PTC: none 13:12:35.276623 6 - Disconnected from MC. 13:12:35.276645 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connection established (addr): 172.18.136.10/49684 -> 172.18.136.20/9997 13:12:35.276646 6 - TTCN-3 Parallel Test Component finished. 13:12:35.276677 mtc HTTP_Adapter.ttcn:190 Abstract socket: connected to: host 172.18.136.20 service 9997 via address family IPv4 13:12:35.276704 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 13:12:35.276731 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 13:12:35.276759 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 13:12:35.276783 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 13:12:35.276807 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 13:12:35.276837 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 13:12:35.276862 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 13:12:35.276886 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 13:12:35.276910 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 13:12:35.276937 mtc HTTP_Adapter.ttcn:190 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 7 13:12:35.276964 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 13:12:35.276988 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 13:12:35.277014 mtc HTTP_Adapter.ttcn:191 Start timer T: 2 s 13:12:35.277045 mtc HTTP_Adapter.ttcn:193 Matching on port HTTP succeeded: matched 13:12:35.277072 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:35.277099 mtc HTTP_Adapter.ttcn:193 Message with id 7 was extracted from the queue of HTTP. 13:12:35.277164 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.136.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 13:12:35.277193 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 13:12:35.277223 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering Abstract_Socket::send_outgoing() 13:12:35.277247 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 31 33 36 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:35.277315 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 13:12:35.277340 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 13:12:35.277408 mtc HTTP_Adapter.ttcn:219 Abstract socket: Nr of bytes sent = 98 13:12:35.277435 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving Abstract_Socket::send_outgoing() 13:12:35.277459 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 13:12:35.277487 mtc HTTP_Adapter.ttcn:233 Start timer T: 2 s 13:12:35.277541 mtc HTTP_Adapter.ttcn:234 Connection of port RSPRO[1] to RSPRO1(6):IPA_RSPRO_PORT was closed unexpectedly by the peer. 13:12:35.277570 mtc HTTP_Adapter.ttcn:234 Port RSPRO[1] was disconnected from RSPRO1(6):IPA_RSPRO_PORT. 13:12:35.277688 mtc HTTP_Adapter.ttcn:234 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 13:12:35.277742 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 13:12:35.277769 mtc HTTP_Adapter.ttcn:234 Abstract socket: receiving data 13:12:35.277794 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 13:12:35.277818 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 13:12:35.277857 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received from address (addr) 172.18.136.10/49684 13:12:35.277884 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 57 65 64 2c 20 30 37 20 41 75 67 20 32 30 32 34 20 31 33 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 13:12:35.278004 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::message_incoming() 13:12:35.278030 mtc HTTP_Adapter.ttcn:234 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 287 13:12:35.278055 mtc HTTP_Adapter.ttcn:234 starting f_HTTP_decodeCommon 13:12:35.278080 mtc HTTP_Adapter.ttcn:234 DECODER: 13:12:35.278106 mtc HTTP_Adapter.ttcn:234 method_name: 13:12:35.278132 mtc HTTP_Adapter.ttcn:234 Decoding the headers 13:12:35.278157 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:35.278184 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:35.278218 mtc HTTP_Adapter.ttcn:234 +Header line: 13:12:35.278249 mtc HTTP_Adapter.ttcn:234 Headers decoded. Valid headers. 13:12:35.278274 mtc HTTP_Adapter.ttcn:234 Decoding body, buffer length: 178 13:12:35.278297 mtc HTTP_Adapter.ttcn:234 lengthof body: 178, content_length given: 178 13:12:35.278322 mtc HTTP_Adapter.ttcn:234 Message successfully decoded 13:12:35.278350 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, before calling incoming_message 13:12:35.278399 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 := "Wed, 07 Aug 2024 13: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 13:12:35.278692 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, after calling incoming_message 13:12:35.278721 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::message_incoming() 13:12:35.278746 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::handle_message() 13:12:35.278771 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 13:12:35.278795 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 13:12:35.278826 mtc HTTP_Adapter.ttcn:235 Matching on port HTTP succeeded: matched 13:12:35.278873 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 := "Wed, 07 Aug 2024 13: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 13:12:35.278905 mtc HTTP_Adapter.ttcn:235 Message with id 8 was extracted from the queue of HTTP. 13:12:35.278931 mtc HTTP_Adapter.ttcn:236 setverdict(pass): pass -> pass, component reason not changed 13:12:35.278972 mtc HTTP_Adapter.ttcn:251 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 13:12:35.278999 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 13:12:35.279024 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_all_clients 13:12:35.279049 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 13:12:35.279074 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 13:12:35.279103 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_client(8) 13:12:35.279133 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 13:12:35.279158 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 13:12:35.279186 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 13:12:35.279212 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 13:12:35.279237 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 13:12:35.279261 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 13:12:35.279284 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 13:12:35.279344 mtc HTTP_Adapter.ttcn:251 Abstract socket: Removed client 8. 13:12:35.279371 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_client(8) 13:12:35.279395 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 13:12:35.279419 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_all_clients 13:12:35.279442 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 13:12:35.279474 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:35.279586 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:35.279648 mtc RemsimServer_Tests.ttcn:177 setverdict(pass): pass -> pass, component reason not changed 13:12:35.279686 mtc RemsimServer_Tests.ttcn:177 Terminating component type RemsimServer_Tests.test_CT. 13:12:35.279715 mtc RemsimServer_Tests.ttcn:177 Default with id 1 (altstep as_Tguard) was deactivated. 13:12:35.279741 mtc RemsimServer_Tests.ttcn:177 Default with id 2 (altstep as_ignore_id_ack) was deactivated. 13:12:35.279764 mtc RemsimServer_Tests.ttcn:177 Default with id 3 (altstep as_ignore_id_ack) was deactivated. 13:12:35.279790 mtc RemsimServer_Tests.ttcn:177 Stop timer g_T_guard: 60 s 13:12:35.279819 mtc RemsimServer_Tests.ttcn:177 Removing unterminated mapping between port HTTP and system:HTTP. 13:12:35.279846 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering HTTPmsg__PT::user_unmap(HTTP) 13:12:35.279873 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering Abstract_Socket::unmap_user() 13:12:35.279898 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering Abstract_Socket::remove_all_clients 13:12:35.279920 mtc RemsimServer_Tests.ttcn:177 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 13:12:35.279943 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving Abstract_Socket::remove_all_clients 13:12:35.279967 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving Abstract_Socket::unmap_user() 13:12:35.279990 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving HTTPmsg__PT::user_unmap() 13:12:35.280013 mtc RemsimServer_Tests.ttcn:177 Port HTTP was unmapped from system:HTTP. 13:12:35.280046 mtc RemsimServer_Tests.ttcn:177 Port HTTP was stopped. 13:12:35.280070 mtc RemsimServer_Tests.ttcn:177 Removing unterminated connection between port RSPRO[0] and RSPRO0(5):IPA_RSPRO_PORT. 13:12:35.280133 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[0] was stopped. 13:12:35.280146 5 IPA_Emulation.ttcnpp:735 Connection of port IPA_RSPRO_PORT to mtc:RSPRO[0] was closed unexpectedly by the peer. 13:12:35.280158 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[1] was stopped. 13:12:35.280182 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[2] was stopped. 13:12:35.280204 mtc RemsimServer_Tests.ttcn:177 Component type RemsimServer_Tests.test_CT was shut down inside testcase TC_connect_client_duplicate. 13:12:35.280206 5 IPA_Emulation.ttcnpp:735 Port IPA_RSPRO_PORT was disconnected from mtc:RSPRO[0]. 13:12:35.280231 mtc RemsimServer_Tests.ttcn:177 Waiting for PTCs to finish. 13:12:35.280294 5 IPA_Emulation.ttcnpp:735 Kill was requested from MC. 13:12:35.280321 5 IPA_Emulation.ttcnpp:735 Terminating test component execution. 13:12:35.280712 5 - Function main_client was stopped. PTC terminates. 13:12:35.280756 5 - Terminating component type IPA_Emulation.IPA_Emulation_CT. 13:12:35.280780 5 - Removing unterminated mapping between port IPA_PORT and system:IPA_CODEC_PT. 13:12:35.280995 5 - Port IPA_PORT was unmapped from system:IPA_CODEC_PT. 13:12:35.281032 5 - Port IPA_PORT was stopped. 13:12:35.281073 5 - Port CFG_PORT was stopped. 13:12:35.281094 5 - Port IPA_CTRL_PORT was stopped. 13:12:35.281115 5 - Port IPA_RSPRO_PORT was stopped. 13:12:35.281148 5 - Port IPA_SP_PORT was stopped. 13:12:35.281169 5 - Component type IPA_Emulation.IPA_Emulation_CT was shut down inside testcase TC_connect_client_duplicate. 13:12:35.281199 5 - Final verdict of PTC: none 13:12:35.281296 5 - Disconnected from MC. 13:12:35.281314 mtc RemsimServer_Tests.ttcn:177 Setting final verdict of the test case. 13:12:35.281322 5 - TTCN-3 Parallel Test Component finished. 13:12:35.281355 mtc RemsimServer_Tests.ttcn:177 Local verdict of MTC: pass 13:12:35.281389 mtc RemsimServer_Tests.ttcn:177 Local verdict of PTC RSPRO0(5): none (pass -> pass) 13:12:35.281422 mtc RemsimServer_Tests.ttcn:177 Local verdict of PTC RSPRO1(6): none (pass -> pass) 13:12:35.281460 mtc RemsimServer_Tests.ttcn:177 Test case TC_connect_client_duplicate finished. Verdict: pass 13:12:35.281498 mtc RemsimServer_Tests.ttcn:177 Starting external command `../ttcn3-tcpdump-stop.sh RemsimServer_Tests.TC_connect_client_duplicate pass'. 13:12:37.302824 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:37.302920 mtc RemsimServer_Tests.ttcn:180 Switching to log file `REMSIM_Tests-TC_connect_bank-0cbf0b300bde-mtc.log'