05:14:02.166448 mtc RemsimServer_Tests.ttcn:143 Starting external command `../ttcn3-tcpdump-start.sh RemsimServer_Tests.TC_connect_client_duplicate'. 05:14:03.182725 mtc RemsimServer_Tests.ttcn:143 External command `../ttcn3-tcpdump-start.sh RemsimServer_Tests.TC_connect_client_duplicate' was executed successfully (exit status: 0). 05:14:03.182826 mtc RemsimServer_Tests.ttcn:143 Test case TC_connect_client_duplicate started. 05:14:03.182850 mtc RemsimServer_Tests.ttcn:143 Initializing variables, timers and ports of component type RemsimServer_Tests.test_CT inside testcase TC_connect_client_duplicate. 05:14:03.182893 mtc RemsimServer_Tests.ttcn:143 Port HTTP was started. 05:14:03.182909 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[0] was started. 05:14:03.182919 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[1] was started. 05:14:03.182929 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[2] was started. 05:14:03.182939 mtc RemsimServer_Tests.ttcn:143 Component type RemsimServer_Tests.test_CT was initialized. 05:14:03.182968 mtc RemsimServer_Tests.ttcn:94 Start timer g_T_guard: 60 s 05:14:03.182987 mtc RemsimServer_Tests.ttcn:95 Altstep as_Tguard was activated as default, id 1 05:14:03.183006 mtc HTTP_Adapter.ttcn:32 Mapping port mtc:HTTP to system:HTTP. 05:14:03.183213 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering HTTPmsg__PT::set_parameter(http_debugging, yes) 05:14:03.183281 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering SSL_Socket::parameter_set(http_debugging, yes) 05:14:03.183300 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving SSL_Socket::parameter_set(http_debugging, yes) 05:14:03.183313 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering Abstract_Socket::parameter_set(http_debugging, yes) 05:14:03.183325 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving Abstract_Socket::parameter_set(http_debugging, yes) 05:14:03.183336 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving HTTPmsg__PT::set_parameter(http_debugging, yes) 05:14:03.183349 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering HTTPmsg__PT::set_parameter(use_notification_ASPs, yes) 05:14:03.183361 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving HTTPmsg__PT::set_parameter(use_notification_ASPs, yes) 05:14:03.183373 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering HTTPmsg__PT::user_map(HTTP) 05:14:03.183386 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering Abstract_Socket::map_user() 05:14:03.183399 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving Abstract_Socket::map_user() 05:14:03.183411 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving HTTPmsg__PT::user_map() 05:14:03.183423 mtc HTTP_Adapter.ttcn:32 Port HTTP was mapped to system:HTTP. 05:14:03.183605 mtc HTTP_Adapter.ttcn:32 Map operation of mtc:HTTP to system:HTTP finished. 05:14:03.183708 mtc HTTP_Adapter.ttcn:190 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.198.20", portnumber := 9997, use_ssl := false } 05:14:03.183733 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 05:14:03.183751 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.198.20/9997, localAddr: UNSPEC/UNSPEC) called 05:14:03.183834 mtc HTTP_Adapter.ttcn:190 Abstract socket: Number of remote addresses: 1 05:14:03.183858 mtc HTTP_Adapter.ttcn:190 Abstract socket: Using address family for socket 8: IPv4 05:14:03.183874 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 05:14:03.183999 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connection established (addr): 172.18.198.10/60544 -> 172.18.198.20/9997 05:14:03.184015 mtc HTTP_Adapter.ttcn:190 Abstract socket: connected to: host 172.18.198.20 service 9997 via address family IPv4 05:14:03.184031 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 05:14:03.184043 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:03.184055 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:03.184068 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 05:14:03.184081 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 05:14:03.184129 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 05:14:03.184145 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 05:14:03.184159 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 05:14:03.184173 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 05:14:03.184190 mtc HTTP_Adapter.ttcn:190 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 1 05:14:03.184210 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 05:14:03.184224 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 05:14:03.184241 mtc HTTP_Adapter.ttcn:191 Start timer T: 2 s 05:14:03.184265 mtc HTTP_Adapter.ttcn:193 Matching on port HTTP succeeded: matched 05:14:03.184284 mtc HTTP_Adapter.ttcn:193 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 1 05:14:03.184303 mtc HTTP_Adapter.ttcn:193 Message with id 1 was extracted from the queue of HTTP. 05:14:03.184386 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.198.20:9997" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } 05:14:03.184406 mtc HTTP_Adapter.ttcn:210 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:03.184430 mtc HTTP_Adapter.ttcn:210 Abstract socket: entering Abstract_Socket::send_outgoing() 05:14:03.184443 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 39 38 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 05:14:03.184491 mtc HTTP_Adapter.ttcn:210 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 05:14:03.184506 mtc HTTP_Adapter.ttcn:210 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 05:14:03.184551 mtc HTTP_Adapter.ttcn:210 Abstract socket: Nr of bytes sent = 123 05:14:03.184565 mtc HTTP_Adapter.ttcn:210 Abstract socket: leaving Abstract_Socket::send_outgoing() 05:14:03.184578 mtc HTTP_Adapter.ttcn:210 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:03.184597 mtc HTTP_Adapter.ttcn:233 Start timer T: 2 s 05:14:03.184880 mtc HTTP_Adapter.ttcn:234 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 05:14:03.185004 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 05:14:03.185051 mtc HTTP_Adapter.ttcn:234 Abstract socket: receiving data 05:14:03.185089 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 05:14:03.185126 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 05:14:03.185205 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received from address (addr) 172.18.198.10/60544 05:14:03.185248 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 32 31 20 4a 75 6e 20 32 30 32 34 20 30 35 3a 31 34 3a 30 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 05:14:03.185346 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::message_incoming() 05:14:03.185405 mtc HTTP_Adapter.ttcn:234 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 75 05:14:03.185446 mtc HTTP_Adapter.ttcn:234 starting f_HTTP_decodeCommon 05:14:03.185482 mtc HTTP_Adapter.ttcn:234 DECODER: 05:14:03.185521 mtc HTTP_Adapter.ttcn:234 method_name: 05:14:03.185565 mtc HTTP_Adapter.ttcn:234 Decoding the headers 05:14:03.185609 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:03.185651 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:03.185694 mtc HTTP_Adapter.ttcn:234 Headers decoded. Valid headers. 05:14:03.185728 mtc HTTP_Adapter.ttcn:234 lengthof body: 0, content_length given: 0 05:14:03.185765 mtc HTTP_Adapter.ttcn:234 Message successfully decoded 05:14:03.185806 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, before calling incoming_message 05:14:03.185866 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, 21 Jun 2024 05:14:03 GMT" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } id 2 05:14:03.185923 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, after calling incoming_message 05:14:03.185959 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::message_incoming() 05:14:03.185995 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::handle_message() 05:14:03.186029 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 05:14:03.186063 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 05:14:03.186120 mtc HTTP_Adapter.ttcn:235 Matching on port HTTP succeeded: matched 05:14:03.186186 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, 21 Jun 2024 05:14:03 GMT" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } id 2 05:14:03.186245 mtc HTTP_Adapter.ttcn:235 Message with id 2 was extracted from the queue of HTTP. 05:14:03.186291 mtc HTTP_Adapter.ttcn:236 setverdict(pass): none -> pass 05:14:03.186539 mtc HTTP_Adapter.ttcn:251 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 05:14:03.186639 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 05:14:03.186667 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_all_clients 05:14:03.186684 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 05:14:03.186703 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 05:14:03.186720 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_client(8) 05:14:03.186752 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 05:14:03.186768 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 05:14:03.186786 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 05:14:03.186802 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:03.186818 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:03.186834 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 05:14:03.186850 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 05:14:03.186941 mtc HTTP_Adapter.ttcn:251 Abstract socket: Removed client 8. 05:14:03.186963 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_client(8) 05:14:03.186997 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 05:14:03.187020 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_all_clients 05:14:03.187044 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 05:14:03.187089 mtc REMSIM_Tests.ttcn:59 Creating new PTC with component type IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. 05:14:03.193216 5 - Warning: A plug-in from the same path `libjunitlogger2' is already active, skipping plug-in 05:14:03.193259 5 - TTCN-3 Parallel Test Component started on 354abd47ee11. Component reference: RSPRO0(5), component type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. Version: 9.0.0. 05:14:03.193271 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 05:14:03.193294 5 - Connected to MC. 05:14:03.193302 5 - Initializing variables, timers and ports of component type IPA_Emulation.IPA_Emulation_CT inside testcase TC_connect_client_duplicate. 05:14:03.193466 mtc REMSIM_Tests.ttcn:59 PTC was created. Component reference: 5, alive: no, type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. 05:14:03.193504 mtc REMSIM_Tests.ttcn:69 Mapping port RSPRO0(5):IPA_PORT to system:IPA_CODEC_PT. 05:14:03.193866 5 - Port IPA_PORT was started. 05:14:03.193878 5 - Port CFG_PORT was started. 05:14:03.193881 5 - Port IPA_CTRL_PORT was started. 05:14:03.193884 5 - Port IPA_RSPRO_PORT was started. 05:14:03.193887 5 - Port IPA_SP_PORT was started. 05:14:03.193890 5 - Component type IPA_Emulation.IPA_Emulation_CT was initialized. 05:14:03.193906 5 - Port IPA_PORT was mapped to system:IPA_CODEC_PT. 05:14:03.194037 mtc REMSIM_Tests.ttcn:69 Map operation of RSPRO0(5):IPA_PORT to system:IPA_CODEC_PT finished. 05:14:03.194064 mtc REMSIM_Tests.ttcn:70 Connecting ports RSPRO0(5):IPA_RSPRO_PORT and mtc:RSPRO[0]. 05:14:03.194306 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. 05:14:03.194593 5 - Port IPA_RSPRO_PORT has established the connection with mtc:RSPRO[0] using transport type UNIX. 05:14:03.194748 mtc REMSIM_Tests.ttcn:70 Port RSPRO[0] has accepted the connection from RSPRO0(5):IPA_RSPRO_PORT. 05:14:03.194841 mtc REMSIM_Tests.ttcn:70 Connect operation on RSPRO0(5):IPA_RSPRO_PORT and mtc:RSPRO[0] finished. 05:14:03.194866 mtc REMSIM_Tests.ttcn:72 Starting function main_client("172.18.198.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). 05:14:03.195095 mtc REMSIM_Tests.ttcn:72 Function was started. 05:14:03.195175 mtc REMSIM_Tests.ttcn:74 Start timer T: 4 s 05:14:03.195266 5 - Starting function main_client("172.18.198.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). 05:14:03.195618 5 IPA_Emulation.ttcnpp:309 entering f__IPL4__PROVIDER__connect: :10000 -> 172.18.198.20:9998 / TCP 05:14:03.196884 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 05:14:03.197069 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '06'O 05:14:03.197291 5 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 05:14:03.197419 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 } 05:14:03.197550 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 } 05:14:03.197673 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE06'O 05:14:03.197756 5 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE06'O } 05:14:03.198165 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 } 05:14:03.198296 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 05:14:03.198404 mtc REMSIM_Tests.ttcn:76 Matching on port RSPRO[0] succeeded: matched 05:14:03.198431 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 05:14:03.198453 mtc REMSIM_Tests.ttcn:76 Message with id 1 was extracted from the queue of RSPRO[0]. 05:14:03.198470 mtc REMSIM_Tests.ttcn:82 Warning: Re-starting timer T, which is already active (running or expired). 05:14:03.198498 mtc REMSIM_Tests.ttcn:82 Start timer T: 4 s 05:14:03.199127 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.198.20", remPort := 9998, locName := "172.18.198.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0001FE00'O } id 1 05:14:03.199185 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE00'O 05:14:03.199319 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 } 05:14:03.199357 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 05:14:03.199391 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.198.20", remPort := 9998, locName := "172.18.198.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0001FE06'O } id 2 05:14:03.199413 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE06'O 05:14:03.199432 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 } 05:14:03.199465 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 05:14:03.199551 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 05:14:03.199593 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 05:14:03.199616 5 IPA_Emulation.ttcnpp:737 Message with id 1 was extracted from the queue of IPA_PORT. 05:14:03.199638 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '00'O 05:14:03.199714 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PING (0), u := omit } 05:14:03.199736 5 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_PING (0), u := omit } 05:14:03.199788 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PONG (1), u := omit } 05:14:03.199811 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '01'O 05:14:03.199831 5 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_PONG (1), u := omit } 05:14:03.199862 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 } 05:14:03.199884 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 } 05:14:03.199909 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE01'O 05:14:03.199930 5 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE01'O } 05:14:03.199991 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 05:14:03.200010 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 05:14:03.200029 5 IPA_Emulation.ttcnpp:737 Message with id 2 was extracted from the queue of IPA_PORT. 05:14:03.200045 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '06'O 05:14:03.200062 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 05:14:03.200077 5 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 05:14:03.200116 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 } 05:14:03.200190 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 05:14:03.200294 mtc REMSIM_Tests.ttcn:84 Matching on port RSPRO[0] succeeded: matched 05:14:03.200322 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 05:14:03.200345 mtc REMSIM_Tests.ttcn:84 Message with id 2 was extracted from the queue of RSPRO[0]. 05:14:03.200364 mtc REMSIM_Tests.ttcn:92 Altstep as_ignore_id_ack was activated as default, id 2 05:14:03.200421 mtc HTTP_Adapter.ttcn:190 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.198.20", portnumber := 9997, use_ssl := false } 05:14:03.200443 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 05:14:03.200465 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.198.20/9997, localAddr: UNSPEC/UNSPEC) called 05:14:03.200560 mtc HTTP_Adapter.ttcn:190 Abstract socket: Number of remote addresses: 1 05:14:03.200589 mtc HTTP_Adapter.ttcn:190 Abstract socket: Using address family for socket 8: IPv4 05:14:03.200610 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 05:14:03.200741 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connection established (addr): 172.18.198.10/60556 -> 172.18.198.20/9997 05:14:03.200760 mtc HTTP_Adapter.ttcn:190 Abstract socket: connected to: host 172.18.198.20 service 9997 via address family IPv4 05:14:03.200793 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 05:14:03.200807 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:03.200821 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:03.200835 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 05:14:03.200849 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 05:14:03.200870 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 05:14:03.200885 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 05:14:03.200900 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 05:14:03.200914 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 05:14:03.200932 mtc HTTP_Adapter.ttcn:190 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 3 05:14:03.200953 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 05:14:03.200968 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 05:14:03.200986 mtc HTTP_Adapter.ttcn:191 Start timer T: 2 s 05:14:03.201011 mtc HTTP_Adapter.ttcn:193 Matching on port HTTP succeeded: matched 05:14:03.201028 mtc HTTP_Adapter.ttcn:193 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 3 05:14:03.201047 mtc HTTP_Adapter.ttcn:193 Message with id 3 was extracted from the queue of HTTP. 05:14:03.201112 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.198.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 05:14:03.201132 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:03.201154 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering Abstract_Socket::send_outgoing() 05:14:03.201169 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 39 38 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 05:14:03.201215 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 05:14:03.201230 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 05:14:03.201277 mtc HTTP_Adapter.ttcn:219 Abstract socket: Nr of bytes sent = 98 05:14:03.201292 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving Abstract_Socket::send_outgoing() 05:14:03.201307 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:03.201325 mtc HTTP_Adapter.ttcn:233 Start timer T: 2 s 05:14:03.201413 mtc HTTP_Adapter.ttcn:234 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 05:14:03.201431 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 05:14:03.201445 mtc HTTP_Adapter.ttcn:234 Abstract socket: receiving data 05:14:03.201459 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 05:14:03.201473 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 05:14:03.201508 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received from address (addr) 172.18.198.10/60556 05:14:03.201532 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 32 31 20 4a 75 6e 20 32 30 32 34 20 30 35 3a 31 34 3a 30 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 05:14:03.201583 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::message_incoming() 05:14:03.201598 mtc HTTP_Adapter.ttcn:234 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 122 05:14:03.201614 mtc HTTP_Adapter.ttcn:234 starting f_HTTP_decodeCommon 05:14:03.201629 mtc HTTP_Adapter.ttcn:234 DECODER: 05:14:03.201647 mtc HTTP_Adapter.ttcn:234 method_name: 05:14:03.201668 mtc HTTP_Adapter.ttcn:234 Decoding the headers 05:14:03.201685 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:03.201702 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:03.201719 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:03.201737 mtc HTTP_Adapter.ttcn:234 Headers decoded. Valid headers. 05:14:03.201752 mtc HTTP_Adapter.ttcn:234 Decoding body, buffer length: 14 05:14:03.201766 mtc HTTP_Adapter.ttcn:234 lengthof body: 14, content_length given: 14 05:14:03.201781 mtc HTTP_Adapter.ttcn:234 Message successfully decoded 05:14:03.201799 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, before calling incoming_message 05:14:03.201829 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, 21 Jun 2024 05:14:03 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "14" } }, body := "{\"clients\":[]}" } } id 4 05:14:03.201852 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, after calling incoming_message 05:14:03.201866 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::message_incoming() 05:14:03.201880 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::handle_message() 05:14:03.201894 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 05:14:03.201908 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 05:14:03.201928 mtc HTTP_Adapter.ttcn:235 Matching on port HTTP succeeded: matched 05:14:03.201955 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, 21 Jun 2024 05:14:03 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "14" } }, body := "{\"clients\":[]}" } } id 4 05:14:03.201974 mtc HTTP_Adapter.ttcn:235 Message with id 4 was extracted from the queue of HTTP. 05:14:03.201990 mtc HTTP_Adapter.ttcn:236 setverdict(pass): pass -> pass, component reason not changed 05:14:03.202026 mtc HTTP_Adapter.ttcn:251 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 05:14:03.202042 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 05:14:03.202056 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_all_clients 05:14:03.202070 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 05:14:03.202084 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 05:14:03.202097 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_client(8) 05:14:03.202116 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 05:14:03.202135 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 05:14:03.202148 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 05:14:03.202162 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:03.202175 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:03.202188 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 05:14:03.202200 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 05:14:03.202241 mtc HTTP_Adapter.ttcn:251 Abstract socket: Removed client 8. 05:14:03.202255 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_client(8) 05:14:03.202267 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 05:14:03.202280 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_all_clients 05:14:03.202293 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 05:14:03.202348 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Stream before decoding: '7B22636C69656E7473223A5B5D7D'O ("{\"clients\":[]}") 05:14:03.202386 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Decoded @RSRES.JsRoot: { clients := { }, banks := omit, slotmaps := omit } 05:14:03.202482 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 } } } } 05:14:03.202526 mtc REMSIM_Tests.ttcn:109 Start timer T: 10 s 05:14:03.203112 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 05:14:03.203425 5 IPA_Emulation.ttcnpp:896 Matching on port IPA_RSPRO_PORT succeeded: matched 05:14:03.203463 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 05:14:03.203486 5 IPA_Emulation.ttcnpp:896 Message with id 1 was extracted from the queue of IPA_RSPRO_PORT. 05:14:03.204054 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 } 05:14:03.204088 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 } 05:14:03.204133 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O 05:14:03.204163 5 IPA_Emulation.ttcnpp:899 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 05:14:03.242767 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.198.20", remPort := 9998, locName := "172.18.198.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0042EE07303F80010281020926A236A334302F0A0101160C346432616530343838373239800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0100'O } id 3 05:14:03.242840 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0042EE07303F80010281020926A236A334302F0A0101160C346432616530343838373239800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0100'O 05:14:03.242897 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Decoded @IPA_Types.PDU_IPA: { lengthInd := 66, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), payloadData := '303F80010281020926A236A334302F0A0101160C346432616530343838373239800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0100'O } 05:14:03.242933 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 := '303F80010281020926A236A334302F0A0101160C346432616530343838373239800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0100'O } id 3 05:14:03.243034 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: 05:14:03.243058 5 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT succeeded: matched 05:14:03.243078 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 := '303F80010281020926A236A334302F0A0101160C346432616530343838373239800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0100'O } id 3 05:14:03.243097 5 IPA_Emulation.ttcnpp:753 Message with id 3 was extracted from the queue of IPA_PORT. 05:14:03.243473 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 := "4d2ae0488729", software := "remsim-server", swVersion := "1.0.0.61-06a1", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } 05:14:03.243667 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 := "4d2ae0488729", software := "remsim-server", swVersion := "1.0.0.61-06a1", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } id 3 05:14:03.243751 mtc REMSIM_Tests.ttcn:111 Matching on port RSPRO[0] succeeded: matched 05:14:03.243777 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 := "4d2ae0488729", software := "remsim-server", swVersion := "1.0.0.61-06a1", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } id 3 05:14:03.243796 mtc REMSIM_Tests.ttcn:111 Message with id 3 was extracted from the queue of RSPRO[0]. 05:14:03.243809 mtc REMSIM_Tests.ttcn:112 setverdict(pass): pass -> pass, component reason not changed 05:14:03.243858 mtc HTTP_Adapter.ttcn:190 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.198.20", portnumber := 9997, use_ssl := false } 05:14:03.243874 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 05:14:03.243889 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.198.20/9997, localAddr: UNSPEC/UNSPEC) called 05:14:03.243960 mtc HTTP_Adapter.ttcn:190 Abstract socket: Number of remote addresses: 1 05:14:03.243981 mtc HTTP_Adapter.ttcn:190 Abstract socket: Using address family for socket 8: IPv4 05:14:03.243998 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 05:14:03.244090 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connection established (addr): 172.18.198.10/60566 -> 172.18.198.20/9997 05:14:03.244104 mtc HTTP_Adapter.ttcn:190 Abstract socket: connected to: host 172.18.198.20 service 9997 via address family IPv4 05:14:03.244128 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 05:14:03.244139 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:03.244149 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:03.244160 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 05:14:03.244170 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 05:14:03.244186 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 05:14:03.244198 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 05:14:03.244209 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 05:14:03.244219 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 05:14:03.244232 mtc HTTP_Adapter.ttcn:190 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 5 05:14:03.244246 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 05:14:03.244260 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 05:14:03.244279 mtc HTTP_Adapter.ttcn:191 Start timer T: 2 s 05:14:03.244301 mtc HTTP_Adapter.ttcn:193 Matching on port HTTP succeeded: matched 05:14:03.244314 mtc HTTP_Adapter.ttcn:193 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 5 05:14:03.244327 mtc HTTP_Adapter.ttcn:193 Message with id 5 was extracted from the queue of HTTP. 05:14:03.244380 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.198.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 05:14:03.244395 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:03.244412 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering Abstract_Socket::send_outgoing() 05:14:03.244424 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 39 38 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 05:14:03.244464 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 05:14:03.244475 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 05:14:03.244510 mtc HTTP_Adapter.ttcn:219 Abstract socket: Nr of bytes sent = 98 05:14:03.244521 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving Abstract_Socket::send_outgoing() 05:14:03.244530 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:03.244544 mtc HTTP_Adapter.ttcn:233 Start timer T: 2 s 05:14:03.244688 mtc HTTP_Adapter.ttcn:234 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 05:14:03.244747 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 05:14:03.244763 mtc HTTP_Adapter.ttcn:234 Abstract socket: receiving data 05:14:03.244774 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 05:14:03.244785 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 05:14:03.244813 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received from address (addr) 172.18.198.10/60566 05:14:03.244834 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 32 31 20 4a 75 6e 20 32 30 32 34 20 30 35 3a 31 34 3a 30 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 05:14:03.244901 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::message_incoming() 05:14:03.244912 mtc HTTP_Adapter.ttcn:234 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 287 05:14:03.244924 mtc HTTP_Adapter.ttcn:234 starting f_HTTP_decodeCommon 05:14:03.244936 mtc HTTP_Adapter.ttcn:234 DECODER: 05:14:03.244949 mtc HTTP_Adapter.ttcn:234 method_name: 05:14:03.244963 mtc HTTP_Adapter.ttcn:234 Decoding the headers 05:14:03.244975 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:03.244989 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:03.245000 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:03.245012 mtc HTTP_Adapter.ttcn:234 Headers decoded. Valid headers. 05:14:03.245022 mtc HTTP_Adapter.ttcn:234 Decoding body, buffer length: 178 05:14:03.245033 mtc HTTP_Adapter.ttcn:234 lengthof body: 178, content_length given: 178 05:14:03.245043 mtc HTTP_Adapter.ttcn:234 Message successfully decoded 05:14:03.245067 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, before calling incoming_message 05:14:03.245099 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, 21 Jun 2024 05:14:03 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 05:14:03.245119 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, after calling incoming_message 05:14:03.245130 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::message_incoming() 05:14:03.245139 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::handle_message() 05:14:03.245148 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 05:14:03.245157 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 05:14:03.245173 mtc HTTP_Adapter.ttcn:235 Matching on port HTTP succeeded: matched 05:14:03.245201 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, 21 Jun 2024 05:14:03 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 05:14:03.245220 mtc HTTP_Adapter.ttcn:235 Message with id 6 was extracted from the queue of HTTP. 05:14:03.245232 mtc HTTP_Adapter.ttcn:236 setverdict(pass): pass -> pass, component reason not changed 05:14:03.245257 mtc HTTP_Adapter.ttcn:251 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 05:14:03.245269 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 05:14:03.245279 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_all_clients 05:14:03.245288 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 05:14:03.245298 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 05:14:03.245308 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_client(8) 05:14:03.245322 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 05:14:03.245332 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 05:14:03.245342 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 05:14:03.245352 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:03.245361 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:03.245370 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 05:14:03.245380 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 05:14:03.245426 mtc HTTP_Adapter.ttcn:251 Abstract socket: Removed client 8. 05:14:03.245436 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_client(8) 05:14:03.245446 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 05:14:03.245455 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_all_clients 05:14:03.245464 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 05:14:03.245478 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\"}}]}") 05:14:03.245536 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 } 05:14:03.245575 mtc REMSIM_Tests.ttcn:59 Creating new PTC with component type IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. 05:14:03.249489 6 - Warning: A plug-in from the same path `libjunitlogger2' is already active, skipping plug-in 05:14:03.249633 6 - TTCN-3 Parallel Test Component started on 354abd47ee11. Component reference: RSPRO1(6), component type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. Version: 9.0.0. 05:14:03.249669 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 05:14:03.249741 6 - Connected to MC. 05:14:03.249767 6 - Initializing variables, timers and ports of component type IPA_Emulation.IPA_Emulation_CT inside testcase TC_connect_client_duplicate. 05:14:03.250038 mtc REMSIM_Tests.ttcn:59 PTC was created. Component reference: 6, alive: no, type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. 05:14:03.250133 mtc REMSIM_Tests.ttcn:69 Mapping port RSPRO1(6):IPA_PORT to system:IPA_CODEC_PT. 05:14:03.251087 6 - Port IPA_PORT was started. 05:14:03.251121 6 - Port CFG_PORT was started. 05:14:03.251131 6 - Port IPA_CTRL_PORT was started. 05:14:03.251141 6 - Port IPA_RSPRO_PORT was started. 05:14:03.251150 6 - Port IPA_SP_PORT was started. 05:14:03.251159 6 - Component type IPA_Emulation.IPA_Emulation_CT was initialized. 05:14:03.251205 6 - Port IPA_PORT was mapped to system:IPA_CODEC_PT. 05:14:03.251398 mtc REMSIM_Tests.ttcn:69 Map operation of RSPRO1(6):IPA_PORT to system:IPA_CODEC_PT finished. 05:14:03.251468 mtc REMSIM_Tests.ttcn:70 Connecting ports RSPRO1(6):IPA_RSPRO_PORT and mtc:RSPRO[1]. 05:14:03.251769 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. 05:14:03.251970 6 - Port IPA_RSPRO_PORT has established the connection with mtc:RSPRO[1] using transport type UNIX. 05:14:03.252111 mtc REMSIM_Tests.ttcn:70 Port RSPRO[1] has accepted the connection from RSPRO1(6):IPA_RSPRO_PORT. 05:14:03.252177 mtc REMSIM_Tests.ttcn:70 Connect operation on RSPRO1(6):IPA_RSPRO_PORT and mtc:RSPRO[1] finished. 05:14:03.252199 mtc REMSIM_Tests.ttcn:72 Starting function main_client("172.18.198.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). 05:14:03.252430 mtc REMSIM_Tests.ttcn:72 Function was started. 05:14:03.252494 mtc REMSIM_Tests.ttcn:74 Start timer T: 4 s 05:14:03.252556 6 - Starting function main_client("172.18.198.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). 05:14:03.252837 6 IPA_Emulation.ttcnpp:309 entering f__IPL4__PROVIDER__connect: :10001 -> 172.18.198.20:9998 / TCP 05:14:03.253791 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 05:14:03.253931 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '06'O 05:14:03.254102 6 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 05:14:03.254194 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 } 05:14:03.254292 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 } 05:14:03.254410 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE06'O 05:14:03.254491 6 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE06'O } 05:14:03.254845 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 } 05:14:03.254936 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 05:14:03.254996 mtc REMSIM_Tests.ttcn:76 Matching on port RSPRO[1] succeeded: matched 05:14:03.255013 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 05:14:03.255026 mtc REMSIM_Tests.ttcn:76 Message with id 1 was extracted from the queue of RSPRO[1]. 05:14:03.255037 mtc REMSIM_Tests.ttcn:82 Warning: Re-starting timer T, which is already active (running or expired). 05:14:03.255057 mtc REMSIM_Tests.ttcn:82 Start timer T: 4 s 05:14:03.255438 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.198.20", remPort := 9998, locName := "172.18.198.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0001FE00'O } id 1 05:14:03.255471 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE00'O 05:14:03.255552 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 } 05:14:03.255574 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 05:14:03.255595 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.198.20", remPort := 9998, locName := "172.18.198.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0001FE06'O } id 2 05:14:03.255607 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE06'O 05:14:03.255622 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 } 05:14:03.255641 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 05:14:03.255687 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 05:14:03.255710 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 05:14:03.255723 6 IPA_Emulation.ttcnpp:737 Message with id 1 was extracted from the queue of IPA_PORT. 05:14:03.255735 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '00'O 05:14:03.255777 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PING (0), u := omit } 05:14:03.255789 6 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_PING (0), u := omit } 05:14:03.255821 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PONG (1), u := omit } 05:14:03.255840 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '01'O 05:14:03.255857 6 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_PONG (1), u := omit } 05:14:03.255878 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 } 05:14:03.255890 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 } 05:14:03.255904 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE01'O 05:14:03.255915 6 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE01'O } 05:14:03.255951 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 05:14:03.255962 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 05:14:03.255972 6 IPA_Emulation.ttcnpp:737 Message with id 2 was extracted from the queue of IPA_PORT. 05:14:03.255981 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '06'O 05:14:03.255990 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 05:14:03.255999 6 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 05:14:03.256019 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 } 05:14:03.256043 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 05:14:03.256056 mtc REMSIM_Tests.ttcn:84 Matching on port RSPRO[1] succeeded: matched 05:14:03.256066 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 05:14:03.256075 mtc REMSIM_Tests.ttcn:84 Message with id 2 was extracted from the queue of RSPRO[1]. 05:14:03.256084 mtc REMSIM_Tests.ttcn:92 Altstep as_ignore_id_ack was activated as default, id 3 05:14:03.256158 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 } } } } 05:14:03.256187 mtc REMSIM_Tests.ttcn:109 Start timer T: 10 s 05:14:03.256568 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 05:14:03.256762 6 IPA_Emulation.ttcnpp:896 Matching on port IPA_RSPRO_PORT succeeded: matched 05:14:03.256788 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 05:14:03.256804 6 IPA_Emulation.ttcnpp:896 Message with id 1 was extracted from the queue of IPA_RSPRO_PORT. 05:14:03.257172 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 } 05:14:03.257194 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 } 05:14:03.257218 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O 05:14:03.257236 6 IPA_Emulation.ttcnpp:899 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 05:14:03.298612 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.198.20", remPort := 9998, locName := "172.18.198.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0042EE07303F80010281020926A236A334302F0A0101160C346432616530343838373239800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0106'O } id 3 05:14:03.298675 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0042EE07303F80010281020926A236A334302F0A0101160C346432616530343838373239800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0106'O 05:14:03.298725 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Decoded @IPA_Types.PDU_IPA: { lengthInd := 66, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), payloadData := '303F80010281020926A236A334302F0A0101160C346432616530343838373239800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0106'O } 05:14:03.298757 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 := '303F80010281020926A236A334302F0A0101160C346432616530343838373239800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0106'O } id 3 05:14:03.298838 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: 05:14:03.298859 6 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT succeeded: matched 05:14:03.298877 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 := '303F80010281020926A236A334302F0A0101160C346432616530343838373239800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0106'O } id 3 05:14:03.298893 6 IPA_Emulation.ttcnpp:753 Message with id 3 was extracted from the queue of IPA_PORT. 05:14:03.299214 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 := "4d2ae0488729", software := "remsim-server", swVersion := "1.0.0.61-06a1", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } 05:14:03.299398 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 := "4d2ae0488729", software := "remsim-server", swVersion := "1.0.0.61-06a1", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } id 3 05:14:03.299466 mtc REMSIM_Tests.ttcn:111 Matching on port RSPRO[1] succeeded: matched 05:14:03.299488 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 := "4d2ae0488729", software := "remsim-server", swVersion := "1.0.0.61-06a1", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } id 3 05:14:03.299506 mtc REMSIM_Tests.ttcn:111 Message with id 3 was extracted from the queue of RSPRO[1]. 05:14:03.299519 mtc REMSIM_Tests.ttcn:112 setverdict(pass): pass -> pass, component reason not changed 05:14:03.299561 mtc REMSIM_Tests.ttcn:133 Start timer T: 10 s 05:14:04.300074 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @Socket_API_Definitions.PortEvent : { connClosed := { connId := 1, remName := "172.18.198.20", remPort := 9998, locName := "172.18.198.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } id 4 05:14:04.300421 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. 05:14:04.300446 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. 05:14:04.300532 6 IPA_Emulation.ttcnpp:822 Matching on port IPA_PORT { connClosed := { connId := 1, remName := "172.18.198.20", remPort := 9998, locName := "172.18.198.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } with { connOpened := ? } unmatched: First message in the queue does not match the template: 05:14:04.300583 6 IPA_Emulation.ttcnpp:839 Matching on port IPA_PORT succeeded: matched 05:14:04.300601 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.198.20", remPort := 9998, locName := "172.18.198.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } id 4 05:14:04.300625 6 IPA_Emulation.ttcnpp:839 Message with id 4 was extracted from the queue of IPA_PORT. 05:14:04.300645 6 IPA_Emulation.ttcnpp:840 IPA: Closed 05:14:04.300698 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 } 05:14:04.300754 6 IPA_Emulation.ttcnpp:844 Stopping test component execution. 05:14:04.300828 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 05:14:04.300931 mtc REMSIM_Tests.ttcn:135 Matching on port RSPRO[1] succeeded: matched 05:14:04.300965 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 05:14:04.300983 mtc REMSIM_Tests.ttcn:135 Message with id 4 was extracted from the queue of RSPRO[1]. 05:14:04.300998 mtc REMSIM_Tests.ttcn:136 setverdict(pass): pass -> pass, component reason not changed 05:14:04.301041 6 - Function main_client was stopped. PTC terminates. 05:14:04.301058 mtc HTTP_Adapter.ttcn:190 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.198.20", portnumber := 9997, use_ssl := false } 05:14:04.301076 6 - Terminating component type IPA_Emulation.IPA_Emulation_CT. 05:14:04.301076 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 05:14:04.301089 6 - Removing unterminated mapping between port IPA_PORT and system:IPA_CODEC_PT. 05:14:04.301094 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.198.20/9997, localAddr: UNSPEC/UNSPEC) called 05:14:04.301111 6 - Port IPA_PORT was unmapped from system:IPA_CODEC_PT. 05:14:04.301128 6 - Port IPA_PORT was stopped. 05:14:04.301139 6 - Port CFG_PORT was stopped. 05:14:04.301148 6 - Port IPA_CTRL_PORT was stopped. 05:14:04.301157 6 - Removing unterminated connection between port IPA_RSPRO_PORT and mtc:RSPRO[1]. 05:14:04.301171 mtc HTTP_Adapter.ttcn:190 Abstract socket: Number of remote addresses: 1 05:14:04.301182 6 - Port IPA_RSPRO_PORT was stopped. 05:14:04.301192 6 - Port IPA_SP_PORT was stopped. 05:14:04.301193 mtc HTTP_Adapter.ttcn:190 Abstract socket: Using address family for socket 8: IPv4 05:14:04.301201 6 - Component type IPA_Emulation.IPA_Emulation_CT was shut down inside testcase TC_connect_client_duplicate. 05:14:04.301209 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 05:14:04.301218 6 - Final verdict of PTC: none 05:14:04.301328 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connection established (addr): 172.18.198.10/60568 -> 172.18.198.20/9997 05:14:04.301345 mtc HTTP_Adapter.ttcn:190 Abstract socket: connected to: host 172.18.198.20 service 9997 via address family IPv4 05:14:04.301372 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 05:14:04.301388 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:04.301400 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:04.301411 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 05:14:04.301425 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 05:14:04.301436 6 - Disconnected from MC. 05:14:04.301444 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 05:14:04.301456 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 05:14:04.301470 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 05:14:04.301482 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 05:14:04.301505 mtc HTTP_Adapter.ttcn:190 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 7 05:14:04.301506 6 - TTCN-3 Parallel Test Component finished. 05:14:04.301522 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 05:14:04.301534 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 05:14:04.301551 mtc HTTP_Adapter.ttcn:191 Start timer T: 2 s 05:14:04.301575 mtc HTTP_Adapter.ttcn:193 Matching on port HTTP succeeded: matched 05:14:04.301591 mtc HTTP_Adapter.ttcn:193 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 7 05:14:04.301606 mtc HTTP_Adapter.ttcn:193 Message with id 7 was extracted from the queue of HTTP. 05:14:04.301670 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.198.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 05:14:04.301686 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:04.301703 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering Abstract_Socket::send_outgoing() 05:14:04.301714 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 39 38 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 05:14:04.301757 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 05:14:04.301769 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 05:14:04.301806 mtc HTTP_Adapter.ttcn:219 Abstract socket: Nr of bytes sent = 98 05:14:04.301818 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving Abstract_Socket::send_outgoing() 05:14:04.301829 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:04.301843 mtc HTTP_Adapter.ttcn:233 Start timer T: 2 s 05:14:04.301879 mtc HTTP_Adapter.ttcn:234 Connection of port RSPRO[1] to RSPRO1(6):IPA_RSPRO_PORT was closed unexpectedly by the peer. 05:14:04.301894 mtc HTTP_Adapter.ttcn:234 Port RSPRO[1] was disconnected from RSPRO1(6):IPA_RSPRO_PORT. 05:14:04.302017 mtc HTTP_Adapter.ttcn:234 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 05:14:04.302030 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 05:14:04.302041 mtc HTTP_Adapter.ttcn:234 Abstract socket: receiving data 05:14:04.302052 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 05:14:04.302063 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 05:14:04.302088 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received from address (addr) 172.18.198.10/60568 05:14:04.302099 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 32 31 20 4a 75 6e 20 32 30 32 34 20 30 35 3a 31 34 3a 30 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 05:14:04.302168 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::message_incoming() 05:14:04.302179 mtc HTTP_Adapter.ttcn:234 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 287 05:14:04.302192 mtc HTTP_Adapter.ttcn:234 starting f_HTTP_decodeCommon 05:14:04.302204 mtc HTTP_Adapter.ttcn:234 DECODER: 05:14:04.302218 mtc HTTP_Adapter.ttcn:234 method_name: 05:14:04.302234 mtc HTTP_Adapter.ttcn:234 Decoding the headers 05:14:04.302246 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:04.302260 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:04.302272 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:04.302286 mtc HTTP_Adapter.ttcn:234 Headers decoded. Valid headers. 05:14:04.302296 mtc HTTP_Adapter.ttcn:234 Decoding body, buffer length: 178 05:14:04.302329 mtc HTTP_Adapter.ttcn:234 lengthof body: 178, content_length given: 178 05:14:04.302344 mtc HTTP_Adapter.ttcn:234 Message successfully decoded 05:14:04.302362 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, before calling incoming_message 05:14:04.302406 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, 21 Jun 2024 05:14:04 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 05:14:04.302440 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, after calling incoming_message 05:14:04.302455 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::message_incoming() 05:14:04.302470 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::handle_message() 05:14:04.302484 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 05:14:04.302497 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 05:14:04.302518 mtc HTTP_Adapter.ttcn:235 Matching on port HTTP succeeded: matched 05:14:04.302558 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, 21 Jun 2024 05:14:04 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 05:14:04.302580 mtc HTTP_Adapter.ttcn:235 Message with id 8 was extracted from the queue of HTTP. 05:14:04.302596 mtc HTTP_Adapter.ttcn:236 setverdict(pass): pass -> pass, component reason not changed 05:14:04.302626 mtc HTTP_Adapter.ttcn:251 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 05:14:04.302642 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 05:14:04.302657 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_all_clients 05:14:04.302670 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 05:14:04.302684 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 05:14:04.302699 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_client(8) 05:14:04.302718 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 05:14:04.302732 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 05:14:04.302746 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 05:14:04.302760 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:04.302775 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:04.302788 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 05:14:04.302803 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 05:14:04.302849 mtc HTTP_Adapter.ttcn:251 Abstract socket: Removed client 8. 05:14:04.302864 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_client(8) 05:14:04.302878 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 05:14:04.302892 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_all_clients 05:14:04.302906 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 05:14:04.302926 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\"}}]}") 05:14:04.303028 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 } 05:14:04.303071 mtc RemsimServer_Tests.ttcn:177 setverdict(pass): pass -> pass, component reason not changed 05:14:04.303089 mtc RemsimServer_Tests.ttcn:177 Terminating component type RemsimServer_Tests.test_CT. 05:14:04.303103 mtc RemsimServer_Tests.ttcn:177 Default with id 1 (altstep as_Tguard) was deactivated. 05:14:04.303116 mtc RemsimServer_Tests.ttcn:177 Default with id 2 (altstep as_ignore_id_ack) was deactivated. 05:14:04.303127 mtc RemsimServer_Tests.ttcn:177 Default with id 3 (altstep as_ignore_id_ack) was deactivated. 05:14:04.303136 mtc RemsimServer_Tests.ttcn:177 Stop timer g_T_guard: 60 s 05:14:04.303151 mtc RemsimServer_Tests.ttcn:177 Removing unterminated mapping between port HTTP and system:HTTP. 05:14:04.303162 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering HTTPmsg__PT::user_unmap(HTTP) 05:14:04.303172 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering Abstract_Socket::unmap_user() 05:14:04.303183 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering Abstract_Socket::remove_all_clients 05:14:04.303196 mtc RemsimServer_Tests.ttcn:177 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 05:14:04.303209 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving Abstract_Socket::remove_all_clients 05:14:04.303219 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving Abstract_Socket::unmap_user() 05:14:04.303228 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving HTTPmsg__PT::user_unmap() 05:14:04.303236 mtc RemsimServer_Tests.ttcn:177 Port HTTP was unmapped from system:HTTP. 05:14:04.303251 mtc RemsimServer_Tests.ttcn:177 Port HTTP was stopped. 05:14:04.303261 mtc RemsimServer_Tests.ttcn:177 Removing unterminated connection between port RSPRO[0] and RSPRO0(5):IPA_RSPRO_PORT. 05:14:04.303299 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[0] was stopped. 05:14:04.303311 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[1] was stopped. 05:14:04.303320 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[2] was stopped. 05:14:04.303330 mtc RemsimServer_Tests.ttcn:177 Component type RemsimServer_Tests.test_CT was shut down inside testcase TC_connect_client_duplicate. 05:14:04.303343 mtc RemsimServer_Tests.ttcn:177 Waiting for PTCs to finish. 05:14:04.303389 5 IPA_Emulation.ttcnpp:735 Connection of port IPA_RSPRO_PORT to mtc:RSPRO[0] was closed unexpectedly by the peer. 05:14:04.303451 5 IPA_Emulation.ttcnpp:735 Port IPA_RSPRO_PORT was disconnected from mtc:RSPRO[0]. 05:14:04.303574 5 IPA_Emulation.ttcnpp:735 Kill was requested from MC. 05:14:04.303599 5 IPA_Emulation.ttcnpp:735 Terminating test component execution. 05:14:04.304136 5 - Function main_client was stopped. PTC terminates. 05:14:04.304184 5 - Terminating component type IPA_Emulation.IPA_Emulation_CT. 05:14:04.304206 5 - Removing unterminated mapping between port IPA_PORT and system:IPA_CODEC_PT. 05:14:04.304505 5 - Port IPA_PORT was unmapped from system:IPA_CODEC_PT. 05:14:04.304522 5 - Port IPA_PORT was stopped. 05:14:04.304532 5 - Port CFG_PORT was stopped. 05:14:04.304549 5 - Port IPA_CTRL_PORT was stopped. 05:14:04.304557 5 - Port IPA_RSPRO_PORT was stopped. 05:14:04.304565 5 - Port IPA_SP_PORT was stopped. 05:14:04.304573 5 - Component type IPA_Emulation.IPA_Emulation_CT was shut down inside testcase TC_connect_client_duplicate. 05:14:04.304587 5 - Final verdict of PTC: none 05:14:04.304683 mtc RemsimServer_Tests.ttcn:177 Setting final verdict of the test case. 05:14:04.304738 mtc RemsimServer_Tests.ttcn:177 Local verdict of MTC: pass 05:14:04.304750 5 - Disconnected from MC. 05:14:04.304757 mtc RemsimServer_Tests.ttcn:177 Local verdict of PTC RSPRO0(5): none (pass -> pass) 05:14:04.304772 mtc RemsimServer_Tests.ttcn:177 Local verdict of PTC RSPRO1(6): none (pass -> pass) 05:14:04.304788 mtc RemsimServer_Tests.ttcn:177 Test case TC_connect_client_duplicate finished. Verdict: pass 05:14:04.304799 5 - TTCN-3 Parallel Test Component finished. 05:14:04.304808 mtc RemsimServer_Tests.ttcn:177 Starting external command `../ttcn3-tcpdump-stop.sh RemsimServer_Tests.TC_connect_client_duplicate pass'. 05:14:06.320162 mtc RemsimServer_Tests.ttcn:177 External command `../ttcn3-tcpdump-stop.sh RemsimServer_Tests.TC_connect_client_duplicate pass' was executed successfully (exit status: 0). 05:14:06.320247 mtc RemsimServer_Tests.ttcn:180 Switching to log file `REMSIM_Tests-TC_connect_bank-354abd47ee11-mtc.log'