07:12:32.470533 mtc RemsimServer_Tests.ttcn:143 Starting external command `../ttcn3-tcpdump-start.sh RemsimServer_Tests.TC_connect_client_duplicate'. 07:12:33.486413 mtc RemsimServer_Tests.ttcn:143 External command `../ttcn3-tcpdump-start.sh RemsimServer_Tests.TC_connect_client_duplicate' was executed successfully (exit status: 0). 07:12:33.486479 mtc RemsimServer_Tests.ttcn:143 Test case TC_connect_client_duplicate started. 07:12:33.486509 mtc RemsimServer_Tests.ttcn:143 Initializing variables, timers and ports of component type RemsimServer_Tests.test_CT inside testcase TC_connect_client_duplicate. 07:12:33.486557 mtc RemsimServer_Tests.ttcn:143 Port HTTP was started. 07:12:33.486580 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[0] was started. 07:12:33.486599 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[1] was started. 07:12:33.486618 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[2] was started. 07:12:33.486637 mtc RemsimServer_Tests.ttcn:143 Component type RemsimServer_Tests.test_CT was initialized. 07:12:33.486673 mtc RemsimServer_Tests.ttcn:94 Start timer g_T_guard: 60 s 07:12:33.486702 mtc RemsimServer_Tests.ttcn:95 Altstep as_Tguard was activated as default, id 1 07:12:33.486728 mtc HTTP_Adapter.ttcn:33 Mapping port mtc:HTTP to system:HTTP. 07:12:33.486793 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering HTTPmsg__PT::set_parameter(http_debugging, yes) 07:12:33.486820 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering SSL_Socket::parameter_set(http_debugging, yes) 07:12:33.486841 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving SSL_Socket::parameter_set(http_debugging, yes) 07:12:33.486861 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering Abstract_Socket::parameter_set(http_debugging, yes) 07:12:33.486881 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving Abstract_Socket::parameter_set(http_debugging, yes) 07:12:33.486901 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving HTTPmsg__PT::set_parameter(http_debugging, yes) 07:12:33.486921 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering HTTPmsg__PT::set_parameter(use_notification_ASPs, yes) 07:12:33.486941 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving HTTPmsg__PT::set_parameter(use_notification_ASPs, yes) 07:12:33.486961 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering HTTPmsg__PT::user_map(HTTP) 07:12:33.486981 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering Abstract_Socket::map_user() 07:12:33.487002 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving Abstract_Socket::map_user() 07:12:33.487021 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving HTTPmsg__PT::user_map() 07:12:33.487041 mtc HTTP_Adapter.ttcn:33 Port HTTP was mapped to system:HTTP. 07:12:33.487095 mtc HTTP_Adapter.ttcn:33 Map operation of mtc:HTTP to system:HTTP finished. 07:12:33.487144 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.201.20", portnumber := 9997, use_ssl := false } 07:12:33.487168 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 07:12:33.487191 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.201.20/9997, localAddr: UNSPEC/UNSPEC) called 07:12:33.487282 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 07:12:33.487315 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 07:12:33.487339 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 07:12:33.487456 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.201.10/55734 -> 172.18.201.20/9997 07:12:33.487484 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.201.20 service 9997 via address family IPv4 07:12:33.487507 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 07:12:33.487528 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:33.487548 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:33.487569 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 07:12:33.487589 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 07:12:33.487626 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 07:12:33.487648 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 07:12:33.487669 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 07:12:33.487690 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 07:12:33.487713 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 1 07:12:33.487738 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 07:12:33.487759 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 07:12:33.487781 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 07:12:33.487807 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 07:12:33.487831 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 1 07:12:33.487855 mtc HTTP_Adapter.ttcn:194 Message with id 1 was extracted from the queue of HTTP. 07:12:33.487917 mtc HTTP_Adapter.ttcn:211 Sent on HTTP to system @HTTPmsg_Types.HTTPMessage : { request := { client_id := 8, method := "POST", uri := "/api/backend/v1/global-reset", version_major := 1, version_minor := 1, header := { { header_name := "Host", header_value := "172.18.201.20:9997" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } 07:12:33.487943 mtc HTTP_Adapter.ttcn:211 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:33.487970 mtc HTTP_Adapter.ttcn:211 Abstract socket: entering Abstract_Socket::send_outgoing() 07:12:33.487990 mtc HTTP_Adapter.ttcn:211 Abstract socket: Sending data: Size: 123, Msg: 50 4f 53 54 20 2f 61 70 69 2f 62 61 63 6b 65 6e 64 2f 76 31 2f 67 6c 6f 62 61 6c 2d 72 65 73 65 74 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 74 3a 20 31 37 32 2e 31 38 2e 32 30 31 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 30 0d 0a 0d 0a 07:12:33.488047 mtc HTTP_Adapter.ttcn:211 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 07:12:33.488068 mtc HTTP_Adapter.ttcn:211 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 07:12:33.488128 mtc HTTP_Adapter.ttcn:211 Abstract socket: Nr of bytes sent = 123 07:12:33.488153 mtc HTTP_Adapter.ttcn:211 Abstract socket: leaving Abstract_Socket::send_outgoing() 07:12:33.488173 mtc HTTP_Adapter.ttcn:211 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:33.488199 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 07:12:33.488339 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 07:12:33.488363 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 07:12:33.488384 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 07:12:33.488405 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 07:12:33.488425 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 07:12:33.488453 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.201.10/55734 07:12:33.488474 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received, buffer content: Size: 75, Msg: 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 44 61 74 65 3a 20 57 65 64 2c 20 32 35 20 44 65 63 20 32 30 32 34 20 30 37 3a 31 32 3a 33 33 20 47 4d 54 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 30 0d 0a 0d 0a 07:12:33.488517 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 07:12:33.488547 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 75 07:12:33.488569 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 07:12:33.488590 mtc HTTP_Adapter.ttcn:235 DECODER: 07:12:33.488611 mtc HTTP_Adapter.ttcn:235 method_name: 07:12:33.488635 mtc HTTP_Adapter.ttcn:235 Decoding the headers 07:12:33.488657 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:33.488680 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:33.488702 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 07:12:33.488722 mtc HTTP_Adapter.ttcn:235 lengthof body: 0, content_length given: 0 07:12:33.488743 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 07:12:33.488765 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 07:12:33.488794 mtc HTTP_Adapter.ttcn:235 Message enqueued on HTTP from system @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Wed, 25 Dec 2024 07:12:33 GMT" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } id 2 07:12:33.488821 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 07:12:33.488842 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 07:12:33.488862 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 07:12:33.488882 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 07:12:33.488903 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 07:12:33.488928 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 07:12:33.488957 mtc HTTP_Adapter.ttcn:236 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Wed, 25 Dec 2024 07:12:33 GMT" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } id 2 07:12:33.488981 mtc HTTP_Adapter.ttcn:236 Message with id 2 was extracted from the queue of HTTP. 07:12:33.489004 mtc HTTP_Adapter.ttcn:237 setverdict(pass): none -> pass 07:12:33.489040 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 07:12:33.489063 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 07:12:33.489084 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 07:12:33.489104 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 07:12:33.489124 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 07:12:33.489145 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 07:12:33.489170 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 07:12:33.489191 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 07:12:33.489212 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 07:12:33.489233 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:33.489253 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:33.489274 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 07:12:33.489294 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 07:12:33.489343 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 07:12:33.489366 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 07:12:33.489402 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 07:12:33.489423 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 07:12:33.489443 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 07:12:33.489473 mtc REMSIM_Tests.ttcn:59 Creating new PTC with component type IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. 07:12:33.493510 5 - Warning: A plug-in from the same path `libjunitlogger2' is already active, skipping plug-in 07:12:33.493655 5 - TTCN-3 Parallel Test Component started on 056b491cadb3. Component reference: RSPRO0(5), component type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. Version: 9.0.0. 07:12:33.493702 5 - TTCN Logger v2.2 options: TimeStampFormat:=Time; LogEntityName:=No; LogEventTypes:=No; SourceInfoFormat:=Single; LogSensitiveData:=No; *.FileMask:=LOG_ALL | MATCHING | DEBUG; *.ConsoleMask:=ERROR | TESTCASE | USER | VERDICTOP | WARNING; LogFileSize:=0; LogFileNumber:=1; DiskFullAction:=Error 07:12:33.493809 5 - Connected to MC. 07:12:33.493841 5 - Initializing variables, timers and ports of component type IPA_Emulation.IPA_Emulation_CT inside testcase TC_connect_client_duplicate. 07:12:33.493893 mtc REMSIM_Tests.ttcn:59 PTC was created. Component reference: 5, alive: no, type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. 07:12:33.493941 mtc REMSIM_Tests.ttcn:69 Mapping port RSPRO0(5):IPA_PORT to system:IPA_CODEC_PT. 07:12:33.495068 5 - Port IPA_PORT was started. 07:12:33.495109 5 - Port CFG_PORT was started. 07:12:33.495132 5 - Port IPA_CTRL_PORT was started. 07:12:33.495153 5 - Port IPA_RSPRO_PORT was started. 07:12:33.495174 5 - Port IPA_SP_PORT was started. 07:12:33.495195 5 - Component type IPA_Emulation.IPA_Emulation_CT was initialized. 07:12:33.495254 5 - Port IPA_PORT was mapped to system:IPA_CODEC_PT. 07:12:33.495334 mtc REMSIM_Tests.ttcn:69 Map operation of RSPRO0(5):IPA_PORT to system:IPA_CODEC_PT finished. 07:12:33.495366 mtc REMSIM_Tests.ttcn:70 Connecting ports RSPRO0(5):IPA_RSPRO_PORT and mtc:RSPRO[0]. 07:12:33.495525 mtc REMSIM_Tests.ttcn:70 Port RSPRO[0] is waiting for connection from RSPRO0(5):IPA_RSPRO_PORT on UNIX pathname /tmp/ttcn3-portconn-b33de30b. 07:12:33.495583 5 - Port IPA_RSPRO_PORT has established the connection with mtc:RSPRO[0] using transport type UNIX. 07:12:33.495645 mtc REMSIM_Tests.ttcn:70 Port RSPRO[0] has accepted the connection from RSPRO0(5):IPA_RSPRO_PORT. 07:12:33.495682 mtc REMSIM_Tests.ttcn:70 Connect operation on RSPRO0(5):IPA_RSPRO_PORT and mtc:RSPRO[0] finished. 07:12:33.495710 mtc REMSIM_Tests.ttcn:72 Starting function main_client("172.18.201.20", 9998, "", 10000, { ser_nr := "", name := "Osmocom TTCN-3 RSPRO client simulator", location1 := "", location2 := "", equip_version := "", sw_version := "", ip_addr := "", mac_addr := "", unit_id := "0/1/2", osmo_rand := "" }, true) on component RSPRO0(5). 07:12:33.495787 mtc REMSIM_Tests.ttcn:72 Function was started. 07:12:33.495813 mtc REMSIM_Tests.ttcn:74 Start timer T: 4 s 07:12:33.495926 5 - Starting function main_client("172.18.201.20", 9998, "", 10000, { ser_nr := "", name := "Osmocom TTCN-3 RSPRO client simulator", location1 := "", location2 := "", equip_version := "", sw_version := "", ip_addr := "", mac_addr := "", unit_id := "0/1/2", osmo_rand := "" }, true). 07:12:33.496221 5 IPA_Emulation.ttcnpp:309 entering f__IPL4__PROVIDER__connect: :10000 -> 172.18.201.20:9998 / TCP 07:12:33.497347 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:33.497510 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '06'O 07:12:33.497729 5 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:33.497877 5 IPA_Emulation.ttcnpp:473 Sent on IPA_PORT to system @IPA_CodecPort.IPA_Send : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '06'O } 07:12:33.498038 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Encoding @IPA_Types.PDU_IPA: { lengthInd := 0, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '06'O } 07:12:33.498188 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE06'O 07:12:33.498285 5 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE06'O } 07:12:33.498684 5 IPA_Emulation.ttcnpp:398 Sent on IPA_RSPRO_PORT to mtc @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_UP (1), conn_id := 1, id_resp := omit } 07:12:33.498796 mtc REMSIM_Tests.ttcn:75 Message enqueued on RSPRO[0] from RSPRO0(5) @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_UP (1), conn_id := 1, id_resp := omit } id 1 07:12:33.498822 mtc REMSIM_Tests.ttcn:76 Matching on port RSPRO[0] succeeded: matched 07:12:33.498840 mtc REMSIM_Tests.ttcn:76 Receive operation on port RSPRO[0] succeeded, message from RSPRO0(5): @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_UP (1), conn_id := 1, id_resp := omit } id 1 07:12:33.498858 mtc REMSIM_Tests.ttcn:76 Message with id 1 was extracted from the queue of RSPRO[0]. 07:12:33.498875 mtc REMSIM_Tests.ttcn:82 Warning: Re-starting timer T, which is already active (running or expired). 07:12:33.498897 mtc REMSIM_Tests.ttcn:82 Start timer T: 4 s 07:12:33.499535 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.201.20", remPort := 9998, locName := "172.18.201.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0001FE00'O } id 1 07:12:33.499599 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE00'O 07:12:33.499738 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Decoded @IPA_Types.PDU_IPA: { lengthInd := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '00'O } 07:12:33.499787 5 IPA_Emulation.ttcnpp:735 Incoming message was mapped to @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '00'O } id 1 07:12:33.499830 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.201.20", remPort := 9998, locName := "172.18.201.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0001FE06'O } id 2 07:12:33.499858 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE06'O 07:12:33.499886 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Decoded @IPA_Types.PDU_IPA: { lengthInd := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '06'O } 07:12:33.499929 5 IPA_Emulation.ttcnpp:735 Incoming message was mapped to @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '06'O } id 2 07:12:33.500009 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 07:12:33.500061 5 IPA_Emulation.ttcnpp:737 Receive operation on port IPA_PORT succeeded, message from system(): @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '00'O } id 1 07:12:33.500093 5 IPA_Emulation.ttcnpp:737 Message with id 1 was extracted from the queue of IPA_PORT. 07:12:33.500122 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '00'O 07:12:33.500192 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PING (0), u := omit } 07:12:33.500223 5 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_PING (0), u := omit } 07:12:33.500281 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PONG (1), u := omit } 07:12:33.500313 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '01'O 07:12:33.500349 5 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_PONG (1), u := omit } 07:12:33.500400 5 IPA_Emulation.ttcnpp:473 Sent on IPA_PORT to system @IPA_CodecPort.IPA_Send : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '01'O } 07:12:33.500438 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Encoding @IPA_Types.PDU_IPA: { lengthInd := 0, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '01'O } 07:12:33.500481 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE01'O 07:12:33.500519 5 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE01'O } 07:12:33.500598 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 07:12:33.500638 5 IPA_Emulation.ttcnpp:737 Receive operation on port IPA_PORT succeeded, message from system(): @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '06'O } id 2 07:12:33.500667 5 IPA_Emulation.ttcnpp:737 Message with id 2 was extracted from the queue of IPA_PORT. 07:12:33.500692 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '06'O 07:12:33.500720 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:33.500744 5 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:33.500791 5 IPA_Emulation.ttcnpp:398 Sent on IPA_RSPRO_PORT to mtc @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_ID_ACK (3), conn_id := 1, id_resp := omit } 07:12:33.500838 mtc REMSIM_Tests.ttcn:83 Message enqueued on RSPRO[0] from RSPRO0(5) @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_ID_ACK (3), conn_id := 1, id_resp := omit } id 2 07:12:33.500859 mtc REMSIM_Tests.ttcn:84 Matching on port RSPRO[0] succeeded: matched 07:12:33.500877 mtc REMSIM_Tests.ttcn:84 Receive operation on port RSPRO[0] succeeded, message from RSPRO0(5): @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_ID_ACK (3), conn_id := 1, id_resp := omit } id 2 07:12:33.500894 mtc REMSIM_Tests.ttcn:84 Message with id 2 was extracted from the queue of RSPRO[0]. 07:12:33.500910 mtc REMSIM_Tests.ttcn:92 Altstep as_ignore_id_ack was activated as default, id 2 07:12:33.500942 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.201.20", portnumber := 9997, use_ssl := false } 07:12:33.500960 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 07:12:33.500977 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.201.20/9997, localAddr: UNSPEC/UNSPEC) called 07:12:33.501037 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 07:12:33.501061 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 07:12:33.501079 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 07:12:33.501156 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.201.10/55740 -> 172.18.201.20/9997 07:12:33.501177 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.201.20 service 9997 via address family IPv4 07:12:33.501202 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 07:12:33.501218 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:33.501234 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:33.501250 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 07:12:33.501266 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 07:12:33.501285 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 07:12:33.501302 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 07:12:33.501318 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 07:12:33.501334 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 07:12:33.501351 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 3 07:12:33.501370 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 07:12:33.501386 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 07:12:33.501403 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 07:12:33.501423 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 07:12:33.501440 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 3 07:12:33.501458 mtc HTTP_Adapter.ttcn:194 Message with id 3 was extracted from the queue of HTTP. 07:12:33.501496 mtc HTTP_Adapter.ttcn:220 Sent on HTTP to system @HTTPmsg_Types.HTTPMessage : { request := { client_id := 8, method := "GET", uri := "/api/backend/v1/clients", version_major := 1, version_minor := 1, header := { { header_name := "Host", header_value := "172.18.201.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 07:12:33.501515 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:33.501535 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering Abstract_Socket::send_outgoing() 07:12:33.501551 mtc HTTP_Adapter.ttcn:220 Abstract socket: Sending data: Size: 98, Msg: 47 45 54 20 2f 61 70 69 2f 62 61 63 6b 65 6e 64 2f 76 31 2f 63 6c 69 65 6e 74 73 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 74 3a 20 31 37 32 2e 31 38 2e 32 30 31 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 0d 0a 07:12:33.501589 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 07:12:33.501605 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 07:12:33.501653 mtc HTTP_Adapter.ttcn:220 Abstract socket: Nr of bytes sent = 98 07:12:33.501672 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving Abstract_Socket::send_outgoing() 07:12:33.501688 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:33.501731 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 07:12:33.501885 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 07:12:33.501904 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 07:12:33.501920 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 07:12:33.501936 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 07:12:33.501952 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 07:12:33.501978 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.201.10/55740 07:12:33.502001 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received, buffer content: Size: 122, Msg: 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 44 61 74 65 3a 20 57 65 64 2c 20 32 35 20 44 65 63 20 32 30 32 34 20 30 37 3a 31 32 3a 33 33 20 47 4d 54 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 31 34 0d 0a 0d 0a 7b 22 63 6c 69 65 6e 74 73 22 3a 5b 5d 7d 07:12:33.502048 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 07:12:33.502064 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 122 07:12:33.502081 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 07:12:33.502097 mtc HTTP_Adapter.ttcn:235 DECODER: 07:12:33.502114 mtc HTTP_Adapter.ttcn:235 method_name: 07:12:33.502131 mtc HTTP_Adapter.ttcn:235 Decoding the headers 07:12:33.502148 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:33.502165 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:33.502182 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:33.502199 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 07:12:33.502215 mtc HTTP_Adapter.ttcn:235 Decoding body, buffer length: 14 07:12:33.502231 mtc HTTP_Adapter.ttcn:235 lengthof body: 14, content_length given: 14 07:12:33.502247 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 07:12:33.502264 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 07:12:33.502289 mtc HTTP_Adapter.ttcn:235 Message enqueued on HTTP from system @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Wed, 25 Dec 2024 07:12:33 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "14" } }, body := "{\"clients\":[]}" } } id 4 07:12:33.502309 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 07:12:33.502326 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 07:12:33.502342 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 07:12:33.502358 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 07:12:33.502373 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 07:12:33.502393 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 07:12:33.502417 mtc HTTP_Adapter.ttcn:236 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Wed, 25 Dec 2024 07:12:33 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "14" } }, body := "{\"clients\":[]}" } } id 4 07:12:33.502436 mtc HTTP_Adapter.ttcn:236 Message with id 4 was extracted from the queue of HTTP. 07:12:33.502453 mtc HTTP_Adapter.ttcn:237 setverdict(pass): pass -> pass, component reason not changed 07:12:33.502479 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 07:12:33.502497 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 07:12:33.502513 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 07:12:33.502529 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 07:12:33.502545 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 07:12:33.502561 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 07:12:33.502580 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 07:12:33.502603 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 07:12:33.502620 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 07:12:33.502636 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:33.502652 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:33.502668 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 07:12:33.502683 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 07:12:33.502722 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 07:12:33.502740 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 07:12:33.502756 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 07:12:33.502772 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 07:12:33.502788 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 07:12:33.502808 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Stream before decoding: '7B22636C69656E7473223A5B5D7D'O ("{\"clients\":[]}") 07:12:33.502839 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Decoded @RSRES.JsRoot: { clients := { }, banks := omit, slotmaps := omit } 07:12:33.502903 mtc REMSIM_Tests.ttcn:150 Sent on RSPRO[0] to RSPRO0(5) @RSPRO.RsproPDU : { version := 2, tag := 0, msg := { connectClientReq := { identity := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, clientSlot := { clientId := 13, slotNr := 1 } } } } 07:12:33.502939 mtc REMSIM_Tests.ttcn:109 Start timer T: 10 s 07:12:33.503180 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_RSPRO_PORT from mtc @RSPRO.RsproPDU : { version := 2, tag := 0, msg := { connectClientReq := { identity := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, clientSlot := { clientId := 13, slotNr := 1 } } } } id 1 07:12:33.503318 5 IPA_Emulation.ttcnpp:896 Matching on port IPA_RSPRO_PORT succeeded: matched 07:12:33.503338 5 IPA_Emulation.ttcnpp:896 Receive operation on port IPA_RSPRO_PORT succeeded, message from mtc: @RSPRO.RsproPDU : { version := 2, tag := 0, msg := { connectClientReq := { identity := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, clientSlot := { clientId := 13, slotNr := 1 } } } } id 1 07:12:33.503354 5 IPA_Emulation.ttcnpp:896 Message with id 1 was extracted from the queue of IPA_RSPRO_PORT. 07:12:33.503647 5 IPA_Emulation.ttcnpp:899 Sent on IPA_PORT to system @IPA_CodecPort.IPA_Send : { connId := 1, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), msg := '3035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 07:12:33.503666 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Encoding @IPA_Types.PDU_IPA: { lengthInd := 0, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), payloadData := '3035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 07:12:33.503691 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O 07:12:33.503711 5 IPA_Emulation.ttcnpp:899 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 07:12:33.542003 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.201.20", remPort := 9998, locName := "172.18.201.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0054EE07305180010281020926A248A34630410A0101160C656337653464616536656438800D72656D73696D2D736572766572811F312E302E302E37362D666637392E3230323431323234323032397E6173616E0A0100'O } id 3 07:12:33.542052 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0054EE07305180010281020926A248A34630410A0101160C656337653464616536656438800D72656D73696D2D736572766572811F312E302E302E37362D666637392E3230323431323234323032397E6173616E0A0100'O 07:12:33.542112 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 := '305180010281020926A248A34630410A0101160C656337653464616536656438800D72656D73696D2D736572766572811F312E302E302E37362D666637392E3230323431323234323032397E6173616E0A0100'O } 07:12:33.542164 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 := '305180010281020926A248A34630410A0101160C656337653464616536656438800D72656D73696D2D736572766572811F312E302E302E37362D666637392E3230323431323234323032397E6173616E0A0100'O } id 3 07:12:33.542260 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT IPAC_PROTO_OSMO (238) with IPAC_PROTO_CCM (254) unmatchedIPAC_PROTO_EXT_RSPRO (7) with omit unmatched: First message in the queue does not match the template: 07:12:33.542301 5 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT succeeded: matched 07:12:33.542335 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 := '305180010281020926A248A34630410A0101160C656337653464616536656438800D72656D73696D2D736572766572811F312E302E302E37362D666637392E3230323431323234323032397E6173616E0A0100'O } id 3 07:12:33.542364 5 IPA_Emulation.ttcnpp:753 Message with id 3 was extracted from the queue of IPA_PORT. 07:12:33.542732 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 := "ec7e4dae6ed8", software := "remsim-server", swVersion := "1.0.0.76-ff79.202412242029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } 07:12:33.542879 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 := "ec7e4dae6ed8", software := "remsim-server", swVersion := "1.0.0.76-ff79.202412242029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } id 3 07:12:33.542935 mtc REMSIM_Tests.ttcn:111 Matching on port RSPRO[0] succeeded: matched 07:12:33.542965 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 := "ec7e4dae6ed8", software := "remsim-server", swVersion := "1.0.0.76-ff79.202412242029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } id 3 07:12:33.542990 mtc REMSIM_Tests.ttcn:111 Message with id 3 was extracted from the queue of RSPRO[0]. 07:12:33.543011 mtc REMSIM_Tests.ttcn:112 setverdict(pass): pass -> pass, component reason not changed 07:12:33.543055 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.201.20", portnumber := 9997, use_ssl := false } 07:12:33.543080 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 07:12:33.543103 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.201.20/9997, localAddr: UNSPEC/UNSPEC) called 07:12:33.543179 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 07:12:33.543211 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 07:12:33.543234 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 07:12:33.543331 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.201.10/55746 -> 172.18.201.20/9997 07:12:33.543357 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.201.20 service 9997 via address family IPv4 07:12:33.543390 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 07:12:33.543411 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:33.543431 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:33.543452 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 07:12:33.543472 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 07:12:33.543497 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 07:12:33.543517 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 07:12:33.543538 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 07:12:33.543558 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 07:12:33.543580 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 5 07:12:33.543604 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 07:12:33.543624 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 07:12:33.543646 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 07:12:33.543671 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 07:12:33.543693 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 5 07:12:33.543716 mtc HTTP_Adapter.ttcn:194 Message with id 5 was extracted from the queue of HTTP. 07:12:33.543764 mtc HTTP_Adapter.ttcn:220 Sent on HTTP to system @HTTPmsg_Types.HTTPMessage : { request := { client_id := 8, method := "GET", uri := "/api/backend/v1/clients", version_major := 1, version_minor := 1, header := { { header_name := "Host", header_value := "172.18.201.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 07:12:33.543788 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:33.543813 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering Abstract_Socket::send_outgoing() 07:12:33.543833 mtc HTTP_Adapter.ttcn:220 Abstract socket: Sending data: Size: 98, Msg: 47 45 54 20 2f 61 70 69 2f 62 61 63 6b 65 6e 64 2f 76 31 2f 63 6c 69 65 6e 74 73 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 74 3a 20 31 37 32 2e 31 38 2e 32 30 31 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 0d 0a 07:12:33.543893 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 07:12:33.543913 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 07:12:33.543973 mtc HTTP_Adapter.ttcn:220 Abstract socket: Nr of bytes sent = 98 07:12:33.543997 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving Abstract_Socket::send_outgoing() 07:12:33.544017 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:33.544042 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 07:12:33.544210 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 07:12:33.544239 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 07:12:33.544260 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 07:12:33.544282 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 07:12:33.544307 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 07:12:33.544339 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.201.10/55746 07:12:33.544373 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received, buffer content: Size: 287, Msg: 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 44 61 74 65 3a 20 57 65 64 2c 20 32 35 20 44 65 63 20 32 30 32 34 20 30 37 3a 31 32 3a 33 33 20 47 4d 54 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 31 37 38 0d 0a 0d 0a 7b 22 63 6c 69 65 6e 74 73 22 3a 5b 7b 22 70 65 65 72 22 3a 22 43 31 33 3a 31 22 2c 22 73 74 61 74 65 22 3a 22 43 4f 4e 4e 45 43 54 45 44 5f 43 4c 49 45 4e 54 22 2c 22 63 6f 6d 70 6f 6e 65 6e 74 5f 69 64 22 3a 7b 22 74 79 70 65 5f 22 3a 22 72 65 6d 73 69 6d 43 6c 69 65 6e 74 22 2c 22 6e 61 6d 65 22 3a 22 66 6f 6f 62 61 72 22 2c 22 73 6f 66 74 77 61 72 65 22 3a 22 54 54 43 4e 33 22 2c 22 73 77 56 65 72 73 69 6f 6e 22 3a 22 30 2e 31 22 2c 22 68 77 4d 61 6e 75 66 61 63 74 75 72 65 72 22 3a 22 73 79 73 6d 6f 63 6f 6d 22 7d 7d 5d 7d 07:12:33.544487 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 07:12:33.544511 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 287 07:12:33.544538 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 07:12:33.544560 mtc HTTP_Adapter.ttcn:235 DECODER: 07:12:33.544582 mtc HTTP_Adapter.ttcn:235 method_name: 07:12:33.544604 mtc HTTP_Adapter.ttcn:235 Decoding the headers 07:12:33.544626 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:33.544648 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:33.544669 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:33.544692 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 07:12:33.544712 mtc HTTP_Adapter.ttcn:235 Decoding body, buffer length: 178 07:12:33.544733 mtc HTTP_Adapter.ttcn:235 lengthof body: 178, content_length given: 178 07:12:33.544754 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 07:12:33.544778 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 07:12:33.544818 mtc HTTP_Adapter.ttcn:235 Message enqueued on HTTP from system @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Wed, 25 Dec 2024 07:12:33 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "178" } }, body := "{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}" } } id 6 07:12:33.544846 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 07:12:33.544868 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 07:12:33.544888 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 07:12:33.544909 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 07:12:33.544929 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 07:12:33.544955 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 07:12:33.544994 mtc HTTP_Adapter.ttcn:236 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Wed, 25 Dec 2024 07:12:33 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "178" } }, body := "{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}" } } id 6 07:12:33.545030 mtc HTTP_Adapter.ttcn:236 Message with id 6 was extracted from the queue of HTTP. 07:12:33.545053 mtc HTTP_Adapter.ttcn:237 setverdict(pass): pass -> pass, component reason not changed 07:12:33.545087 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 07:12:33.545111 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 07:12:33.545133 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 07:12:33.545153 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 07:12:33.545174 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 07:12:33.545194 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 07:12:33.545220 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 07:12:33.545242 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 07:12:33.545263 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 07:12:33.545284 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:33.545304 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:33.545325 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 07:12:33.545345 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 07:12:33.545396 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 07:12:33.545421 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 07:12:33.545442 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 07:12:33.545462 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 07:12:33.545483 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 07:12:33.545509 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Stream before decoding: '7B22636C69656E7473223A5B7B2270656572223A224331333A31222C227374617465223A22434F4E4E45435445445F434C49454E54222C22636F6D706F6E656E745F6964223A7B22747970655F223A2272656D73696D436C69656E74222C226E616D65223A22666F6F626172222C22736F667477617265223A225454434E33222C22737756657273696F6E223A22302E31222C2268774D616E756661637475726572223A227379736D6F636F6D227D7D5D7D'O ("{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}") 07:12:33.545585 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Decoded @RSRES.JsRoot: { clients := { { peer := "C13:1", state := CONNECTED_CLIENT (2), component_id := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit } } }, banks := omit, slotmaps := omit } 07:12:33.545634 mtc REMSIM_Tests.ttcn:59 Creating new PTC with component type IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. 07:12:33.551144 6 - Warning: A plug-in from the same path `libjunitlogger2' is already active, skipping plug-in 07:12:33.551266 6 - TTCN-3 Parallel Test Component started on 056b491cadb3. Component reference: RSPRO1(6), component type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. Version: 9.0.0. 07:12:33.551312 6 - TTCN Logger v2.2 options: TimeStampFormat:=Time; LogEntityName:=No; LogEventTypes:=No; SourceInfoFormat:=Single; LogSensitiveData:=No; *.FileMask:=LOG_ALL | MATCHING | DEBUG; *.ConsoleMask:=ERROR | TESTCASE | USER | VERDICTOP | WARNING; LogFileSize:=0; LogFileNumber:=1; DiskFullAction:=Error 07:12:33.551397 6 - Connected to MC. 07:12:33.551436 6 - Initializing variables, timers and ports of component type IPA_Emulation.IPA_Emulation_CT inside testcase TC_connect_client_duplicate. 07:12:33.551486 mtc REMSIM_Tests.ttcn:59 PTC was created. Component reference: 6, alive: no, type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. 07:12:33.551518 mtc REMSIM_Tests.ttcn:69 Mapping port RSPRO1(6):IPA_PORT to system:IPA_CODEC_PT. 07:12:33.552778 6 - Port IPA_PORT was started. 07:12:33.552822 6 - Port CFG_PORT was started. 07:12:33.552844 6 - Port IPA_CTRL_PORT was started. 07:12:33.552866 6 - Port IPA_RSPRO_PORT was started. 07:12:33.552887 6 - Port IPA_SP_PORT was started. 07:12:33.552908 6 - Component type IPA_Emulation.IPA_Emulation_CT was initialized. 07:12:33.552972 6 - Port IPA_PORT was mapped to system:IPA_CODEC_PT. 07:12:33.553058 mtc REMSIM_Tests.ttcn:69 Map operation of RSPRO1(6):IPA_PORT to system:IPA_CODEC_PT finished. 07:12:33.553098 mtc REMSIM_Tests.ttcn:70 Connecting ports RSPRO1(6):IPA_RSPRO_PORT and mtc:RSPRO[1]. 07:12:33.553265 mtc REMSIM_Tests.ttcn:70 Port RSPRO[1] is waiting for connection from RSPRO1(6):IPA_RSPRO_PORT on UNIX pathname /tmp/ttcn3-portconn-b03ce30b. 07:12:33.553327 6 - Port IPA_RSPRO_PORT has established the connection with mtc:RSPRO[1] using transport type UNIX. 07:12:33.553388 mtc REMSIM_Tests.ttcn:70 Port RSPRO[1] has accepted the connection from RSPRO1(6):IPA_RSPRO_PORT. 07:12:33.553433 mtc REMSIM_Tests.ttcn:70 Connect operation on RSPRO1(6):IPA_RSPRO_PORT and mtc:RSPRO[1] finished. 07:12:33.553463 mtc REMSIM_Tests.ttcn:72 Starting function main_client("172.18.201.20", 9998, "", 10001, { ser_nr := "", name := "Osmocom TTCN-3 RSPRO client simulator", location1 := "", location2 := "", equip_version := "", sw_version := "", ip_addr := "", mac_addr := "", unit_id := "0/1/2", osmo_rand := "" }, true) on component RSPRO1(6). 07:12:33.553551 mtc REMSIM_Tests.ttcn:72 Function was started. 07:12:33.553582 mtc REMSIM_Tests.ttcn:74 Start timer T: 4 s 07:12:33.553679 6 - Starting function main_client("172.18.201.20", 9998, "", 10001, { ser_nr := "", name := "Osmocom TTCN-3 RSPRO client simulator", location1 := "", location2 := "", equip_version := "", sw_version := "", ip_addr := "", mac_addr := "", unit_id := "0/1/2", osmo_rand := "" }, true). 07:12:33.553957 6 IPA_Emulation.ttcnpp:309 entering f__IPL4__PROVIDER__connect: :10001 -> 172.18.201.20:9998 / TCP 07:12:33.554825 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:33.554952 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '06'O 07:12:33.555114 6 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:33.555211 6 IPA_Emulation.ttcnpp:473 Sent on IPA_PORT to system @IPA_CodecPort.IPA_Send : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '06'O } 07:12:33.555312 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Encoding @IPA_Types.PDU_IPA: { lengthInd := 0, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '06'O } 07:12:33.555403 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE06'O 07:12:33.555473 6 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE06'O } 07:12:33.555752 6 IPA_Emulation.ttcnpp:398 Sent on IPA_RSPRO_PORT to mtc @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_UP (1), conn_id := 1, id_resp := omit } 07:12:33.555835 mtc REMSIM_Tests.ttcn:75 Message enqueued on RSPRO[1] from RSPRO1(6) @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_UP (1), conn_id := 1, id_resp := omit } id 1 07:12:33.555869 mtc REMSIM_Tests.ttcn:76 Matching on port RSPRO[1] succeeded: matched 07:12:33.555889 mtc REMSIM_Tests.ttcn:76 Receive operation on port RSPRO[1] succeeded, message from RSPRO1(6): @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_UP (1), conn_id := 1, id_resp := omit } id 1 07:12:33.555908 mtc REMSIM_Tests.ttcn:76 Message with id 1 was extracted from the queue of RSPRO[1]. 07:12:33.555925 mtc REMSIM_Tests.ttcn:82 Warning: Re-starting timer T, which is already active (running or expired). 07:12:33.555949 mtc REMSIM_Tests.ttcn:82 Start timer T: 4 s 07:12:33.556348 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.201.20", remPort := 9998, locName := "172.18.201.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0001FE00'O } id 1 07:12:33.556386 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE00'O 07:12:33.556474 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Decoded @IPA_Types.PDU_IPA: { lengthInd := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '00'O } 07:12:33.556504 6 IPA_Emulation.ttcnpp:735 Incoming message was mapped to @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '00'O } id 1 07:12:33.556532 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.201.20", remPort := 9998, locName := "172.18.201.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0001FE06'O } id 2 07:12:33.556551 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE06'O 07:12:33.556569 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Decoded @IPA_Types.PDU_IPA: { lengthInd := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '06'O } 07:12:33.556597 6 IPA_Emulation.ttcnpp:735 Incoming message was mapped to @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '06'O } id 2 07:12:33.556652 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 07:12:33.556689 6 IPA_Emulation.ttcnpp:737 Receive operation on port IPA_PORT succeeded, message from system(): @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '00'O } id 1 07:12:33.556710 6 IPA_Emulation.ttcnpp:737 Message with id 1 was extracted from the queue of IPA_PORT. 07:12:33.556729 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '00'O 07:12:33.556781 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PING (0), u := omit } 07:12:33.556801 6 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_PING (0), u := omit } 07:12:33.556839 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PONG (1), u := omit } 07:12:33.556860 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '01'O 07:12:33.556880 6 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_PONG (1), u := omit } 07:12:33.556907 6 IPA_Emulation.ttcnpp:473 Sent on IPA_PORT to system @IPA_CodecPort.IPA_Send : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '01'O } 07:12:33.556926 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Encoding @IPA_Types.PDU_IPA: { lengthInd := 0, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '01'O } 07:12:33.556947 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE01'O 07:12:33.556965 6 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE01'O } 07:12:33.557011 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 07:12:33.557032 6 IPA_Emulation.ttcnpp:737 Receive operation on port IPA_PORT succeeded, message from system(): @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '06'O } id 2 07:12:33.557050 6 IPA_Emulation.ttcnpp:737 Message with id 2 was extracted from the queue of IPA_PORT. 07:12:33.557067 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '06'O 07:12:33.557085 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:33.557101 6 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:33.557130 6 IPA_Emulation.ttcnpp:398 Sent on IPA_RSPRO_PORT to mtc @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_ID_ACK (3), conn_id := 1, id_resp := omit } 07:12:33.557166 mtc REMSIM_Tests.ttcn:83 Message enqueued on RSPRO[1] from RSPRO1(6) @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_ID_ACK (3), conn_id := 1, id_resp := omit } id 2 07:12:33.557193 mtc REMSIM_Tests.ttcn:84 Matching on port RSPRO[1] succeeded: matched 07:12:33.557211 mtc REMSIM_Tests.ttcn:84 Receive operation on port RSPRO[1] succeeded, message from RSPRO1(6): @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_ID_ACK (3), conn_id := 1, id_resp := omit } id 2 07:12:33.557229 mtc REMSIM_Tests.ttcn:84 Message with id 2 was extracted from the queue of RSPRO[1]. 07:12:33.557245 mtc REMSIM_Tests.ttcn:92 Altstep as_ignore_id_ack was activated as default, id 3 07:12:33.557315 mtc REMSIM_Tests.ttcn:150 Sent on RSPRO[1] to RSPRO1(6) @RSPRO.RsproPDU : { version := 2, tag := 0, msg := { connectClientReq := { identity := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, clientSlot := { clientId := 13, slotNr := 1 } } } } 07:12:33.557351 mtc REMSIM_Tests.ttcn:109 Start timer T: 10 s 07:12:33.557745 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_RSPRO_PORT from mtc @RSPRO.RsproPDU : { version := 2, tag := 0, msg := { connectClientReq := { identity := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, clientSlot := { clientId := 13, slotNr := 1 } } } } id 1 07:12:33.557976 6 IPA_Emulation.ttcnpp:896 Matching on port IPA_RSPRO_PORT succeeded: matched 07:12:33.558017 6 IPA_Emulation.ttcnpp:896 Receive operation on port IPA_RSPRO_PORT succeeded, message from mtc: @RSPRO.RsproPDU : { version := 2, tag := 0, msg := { connectClientReq := { identity := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, clientSlot := { clientId := 13, slotNr := 1 } } } } id 1 07:12:33.558056 6 IPA_Emulation.ttcnpp:896 Message with id 1 was extracted from the queue of IPA_RSPRO_PORT. 07:12:33.558679 6 IPA_Emulation.ttcnpp:899 Sent on IPA_PORT to system @IPA_CodecPort.IPA_Send : { connId := 1, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), msg := '3035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 07:12:33.558728 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Encoding @IPA_Types.PDU_IPA: { lengthInd := 0, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), payloadData := '3035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 07:12:33.558779 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O 07:12:33.558824 6 IPA_Emulation.ttcnpp:899 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 07:12:33.597993 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.201.20", remPort := 9998, locName := "172.18.201.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0054EE07305180010281020926A248A34630410A0101160C656337653464616536656438800D72656D73696D2D736572766572811F312E302E302E37362D666637392E3230323431323234323032397E6173616E0A0106'O } id 3 07:12:33.598037 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0054EE07305180010281020926A248A34630410A0101160C656337653464616536656438800D72656D73696D2D736572766572811F312E302E302E37362D666637392E3230323431323234323032397E6173616E0A0106'O 07:12:33.598087 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 := '305180010281020926A248A34630410A0101160C656337653464616536656438800D72656D73696D2D736572766572811F312E302E302E37362D666637392E3230323431323234323032397E6173616E0A0106'O } 07:12:33.598131 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 := '305180010281020926A248A34630410A0101160C656337653464616536656438800D72656D73696D2D736572766572811F312E302E302E37362D666637392E3230323431323234323032397E6173616E0A0106'O } id 3 07:12:33.598213 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT IPAC_PROTO_OSMO (238) with IPAC_PROTO_CCM (254) unmatchedIPAC_PROTO_EXT_RSPRO (7) with omit unmatched: First message in the queue does not match the template: 07:12:33.598249 6 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT succeeded: matched 07:12:33.598278 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 := '305180010281020926A248A34630410A0101160C656337653464616536656438800D72656D73696D2D736572766572811F312E302E302E37362D666637392E3230323431323234323032397E6173616E0A0106'O } id 3 07:12:33.598302 6 IPA_Emulation.ttcnpp:753 Message with id 3 was extracted from the queue of IPA_PORT. 07:12:33.598653 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 := "ec7e4dae6ed8", software := "remsim-server", swVersion := "1.0.0.76-ff79.202412242029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } 07:12:33.598800 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 := "ec7e4dae6ed8", software := "remsim-server", swVersion := "1.0.0.76-ff79.202412242029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } id 3 07:12:33.598856 mtc REMSIM_Tests.ttcn:111 Matching on port RSPRO[1] succeeded: matched 07:12:33.598887 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 := "ec7e4dae6ed8", software := "remsim-server", swVersion := "1.0.0.76-ff79.202412242029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } id 3 07:12:33.598913 mtc REMSIM_Tests.ttcn:111 Message with id 3 was extracted from the queue of RSPRO[1]. 07:12:33.598934 mtc REMSIM_Tests.ttcn:112 setverdict(pass): pass -> pass, component reason not changed 07:12:33.598982 mtc REMSIM_Tests.ttcn:133 Start timer T: 10 s 07:12:34.599314 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @Socket_API_Definitions.PortEvent : { connClosed := { connId := 1, remName := "172.18.201.20", remPort := 9998, locName := "172.18.201.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } id 4 07:12:34.599598 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT failed: Type of the first message in the queue is not @IPA_CodecPort.IPA_RecvFrom. 07:12:34.599627 6 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT failed: Type of the first message in the queue is not @IPA_CodecPort.IPA_RecvFrom. 07:12:34.599724 6 IPA_Emulation.ttcnpp:822 Matching on port IPA_PORT { connClosed := { connId := 1, remName := "172.18.201.20", remPort := 9998, locName := "172.18.201.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } with { connOpened := ? } unmatched: First message in the queue does not match the template: 07:12:34.599767 6 IPA_Emulation.ttcnpp:839 Matching on port IPA_PORT succeeded: matched 07:12:34.599795 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.201.20", remPort := 9998, locName := "172.18.201.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } id 4 07:12:34.599825 6 IPA_Emulation.ttcnpp:839 Message with id 4 was extracted from the queue of IPA_PORT. 07:12:34.599854 6 IPA_Emulation.ttcnpp:840 IPA: Closed 07:12:34.599911 6 IPA_Emulation.ttcnpp:398 Sent on IPA_RSPRO_PORT to mtc @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_DOWN (0), conn_id := 1, id_resp := omit } 07:12:34.599962 6 IPA_Emulation.ttcnpp:844 Stopping test component execution. 07:12:34.599989 mtc REMSIM_Tests.ttcn:134 Message enqueued on RSPRO[1] from RSPRO1(6) @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_DOWN (0), conn_id := 1, id_resp := omit } id 4 07:12:34.600081 mtc REMSIM_Tests.ttcn:135 Matching on port RSPRO[1] succeeded: matched 07:12:34.600112 mtc REMSIM_Tests.ttcn:135 Receive operation on port RSPRO[1] succeeded, message from RSPRO1(6): @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_DOWN (0), conn_id := 1, id_resp := omit } id 4 07:12:34.600136 mtc REMSIM_Tests.ttcn:135 Message with id 4 was extracted from the queue of RSPRO[1]. 07:12:34.600158 mtc REMSIM_Tests.ttcn:136 setverdict(pass): pass -> pass, component reason not changed 07:12:34.600220 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.201.20", portnumber := 9997, use_ssl := false } 07:12:34.600237 6 - Function main_client was stopped. PTC terminates. 07:12:34.600248 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 07:12:34.600273 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.201.20/9997, localAddr: UNSPEC/UNSPEC) called 07:12:34.600277 6 - Terminating component type IPA_Emulation.IPA_Emulation_CT. 07:12:34.600298 6 - Removing unterminated mapping between port IPA_PORT and system:IPA_CODEC_PT. 07:12:34.600329 6 - Port IPA_PORT was unmapped from system:IPA_CODEC_PT. 07:12:34.600360 6 - Port IPA_PORT was stopped. 07:12:34.600384 6 - Port CFG_PORT was stopped. 07:12:34.600384 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 07:12:34.600404 6 - Port IPA_CTRL_PORT was stopped. 07:12:34.600421 6 - Removing unterminated connection between port IPA_RSPRO_PORT and mtc:RSPRO[1]. 07:12:34.600422 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 07:12:34.600446 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 07:12:34.600457 6 - Port IPA_RSPRO_PORT was stopped. 07:12:34.600479 6 - Port IPA_SP_PORT was stopped. 07:12:34.600496 6 - Component type IPA_Emulation.IPA_Emulation_CT was shut down inside testcase TC_connect_client_duplicate. 07:12:34.600522 6 - Final verdict of PTC: none 07:12:34.600556 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.201.10/55760 -> 172.18.201.20/9997 07:12:34.600582 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.201.20 service 9997 via address family IPv4 07:12:34.600605 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 07:12:34.600621 6 - Disconnected from MC. 07:12:34.600626 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:34.600646 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:34.600647 6 - TTCN-3 Parallel Test Component finished. 07:12:34.600666 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 07:12:34.600689 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 07:12:34.600723 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 07:12:34.600746 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 07:12:34.600770 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 07:12:34.600791 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 07:12:34.600814 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 7 07:12:34.600838 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 07:12:34.600858 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 07:12:34.600881 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 07:12:34.600907 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 07:12:34.600930 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 7 07:12:34.600953 mtc HTTP_Adapter.ttcn:194 Message with id 7 was extracted from the queue of HTTP. 07:12:34.601009 mtc HTTP_Adapter.ttcn:220 Sent on HTTP to system @HTTPmsg_Types.HTTPMessage : { request := { client_id := 8, method := "GET", uri := "/api/backend/v1/clients", version_major := 1, version_minor := 1, header := { { header_name := "Host", header_value := "172.18.201.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 07:12:34.601036 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:34.601065 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering Abstract_Socket::send_outgoing() 07:12:34.601086 mtc HTTP_Adapter.ttcn:220 Abstract socket: Sending data: Size: 98, Msg: 47 45 54 20 2f 61 70 69 2f 62 61 63 6b 65 6e 64 2f 76 31 2f 63 6c 69 65 6e 74 73 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 74 3a 20 31 37 32 2e 31 38 2e 32 30 31 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 0d 0a 07:12:34.601145 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 07:12:34.601167 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 07:12:34.601227 mtc HTTP_Adapter.ttcn:220 Abstract socket: Nr of bytes sent = 98 07:12:34.601250 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving Abstract_Socket::send_outgoing() 07:12:34.601271 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:34.601296 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 07:12:34.601343 mtc HTTP_Adapter.ttcn:235 Connection of port RSPRO[1] to RSPRO1(6):IPA_RSPRO_PORT was closed unexpectedly by the peer. 07:12:34.601368 mtc HTTP_Adapter.ttcn:235 Port RSPRO[1] was disconnected from RSPRO1(6):IPA_RSPRO_PORT. 07:12:34.601458 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 07:12:34.601483 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 07:12:34.601504 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 07:12:34.601524 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 07:12:34.601544 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 07:12:34.601571 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.201.10/55760 07:12:34.601592 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received, buffer content: Size: 287, Msg: 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 44 61 74 65 3a 20 57 65 64 2c 20 32 35 20 44 65 63 20 32 30 32 34 20 30 37 3a 31 32 3a 33 34 20 47 4d 54 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 31 37 38 0d 0a 0d 0a 7b 22 63 6c 69 65 6e 74 73 22 3a 5b 7b 22 70 65 65 72 22 3a 22 43 31 33 3a 31 22 2c 22 73 74 61 74 65 22 3a 22 43 4f 4e 4e 45 43 54 45 44 5f 43 4c 49 45 4e 54 22 2c 22 63 6f 6d 70 6f 6e 65 6e 74 5f 69 64 22 3a 7b 22 74 79 70 65 5f 22 3a 22 72 65 6d 73 69 6d 43 6c 69 65 6e 74 22 2c 22 6e 61 6d 65 22 3a 22 66 6f 6f 62 61 72 22 2c 22 73 6f 66 74 77 61 72 65 22 3a 22 54 54 43 4e 33 22 2c 22 73 77 56 65 72 73 69 6f 6e 22 3a 22 30 2e 31 22 2c 22 68 77 4d 61 6e 75 66 61 63 74 75 72 65 72 22 3a 22 73 79 73 6d 6f 63 6f 6d 22 7d 7d 5d 7d 07:12:34.601699 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 07:12:34.601742 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 287 07:12:34.601764 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 07:12:34.601785 mtc HTTP_Adapter.ttcn:235 DECODER: 07:12:34.601807 mtc HTTP_Adapter.ttcn:235 method_name: 07:12:34.601830 mtc HTTP_Adapter.ttcn:235 Decoding the headers 07:12:34.601852 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:34.601874 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:34.601895 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:34.601917 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 07:12:34.601937 mtc HTTP_Adapter.ttcn:235 Decoding body, buffer length: 178 07:12:34.601957 mtc HTTP_Adapter.ttcn:235 lengthof body: 178, content_length given: 178 07:12:34.601978 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 07:12:34.602001 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 07:12:34.602048 mtc HTTP_Adapter.ttcn:235 Message enqueued on HTTP from system @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Wed, 25 Dec 2024 07:12:34 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "178" } }, body := "{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}" } } id 8 07:12:34.602098 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 07:12:34.602127 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 07:12:34.602152 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 07:12:34.602178 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 07:12:34.602199 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 07:12:34.602226 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 07:12:34.602274 mtc HTTP_Adapter.ttcn:236 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Wed, 25 Dec 2024 07:12:34 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "178" } }, body := "{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}" } } id 8 07:12:34.602303 mtc HTTP_Adapter.ttcn:236 Message with id 8 was extracted from the queue of HTTP. 07:12:34.602330 mtc HTTP_Adapter.ttcn:237 setverdict(pass): pass -> pass, component reason not changed 07:12:34.602372 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 07:12:34.602403 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 07:12:34.602425 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 07:12:34.602445 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 07:12:34.602470 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 07:12:34.602498 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 07:12:34.602530 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 07:12:34.602557 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 07:12:34.602579 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 07:12:34.602599 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:34.602620 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:34.602640 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 07:12:34.602661 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 07:12:34.602710 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 07:12:34.602733 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 07:12:34.602754 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 07:12:34.602774 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 07:12:34.602794 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 07:12:34.602821 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Stream before decoding: '7B22636C69656E7473223A5B7B2270656572223A224331333A31222C227374617465223A22434F4E4E45435445445F434C49454E54222C22636F6D706F6E656E745F6964223A7B22747970655F223A2272656D73696D436C69656E74222C226E616D65223A22666F6F626172222C22736F667477617265223A225454434E33222C22737756657273696F6E223A22302E31222C2268774D616E756661637475726572223A227379736D6F636F6D227D7D5D7D'O ("{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}") 07:12:34.602920 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Decoded @RSRES.JsRoot: { clients := { { peer := "C13:1", state := CONNECTED_CLIENT (2), component_id := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit } } }, banks := omit, slotmaps := omit } 07:12:34.602975 mtc RemsimServer_Tests.ttcn:177 setverdict(pass): pass -> pass, component reason not changed 07:12:34.603008 mtc RemsimServer_Tests.ttcn:177 Terminating component type RemsimServer_Tests.test_CT. 07:12:34.603037 mtc RemsimServer_Tests.ttcn:177 Default with id 1 (altstep as_Tguard) was deactivated. 07:12:34.603061 mtc RemsimServer_Tests.ttcn:177 Default with id 2 (altstep as_ignore_id_ack) was deactivated. 07:12:34.603084 mtc RemsimServer_Tests.ttcn:177 Default with id 3 (altstep as_ignore_id_ack) was deactivated. 07:12:34.603109 mtc RemsimServer_Tests.ttcn:177 Stop timer g_T_guard: 60 s 07:12:34.603139 mtc RemsimServer_Tests.ttcn:177 Removing unterminated mapping between port HTTP and system:HTTP. 07:12:34.603162 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering HTTPmsg__PT::user_unmap(HTTP) 07:12:34.603182 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering Abstract_Socket::unmap_user() 07:12:34.603202 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering Abstract_Socket::remove_all_clients 07:12:34.603221 mtc RemsimServer_Tests.ttcn:177 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 07:12:34.603240 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving Abstract_Socket::remove_all_clients 07:12:34.603260 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving Abstract_Socket::unmap_user() 07:12:34.603279 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving HTTPmsg__PT::user_unmap() 07:12:34.603298 mtc RemsimServer_Tests.ttcn:177 Port HTTP was unmapped from system:HTTP. 07:12:34.603327 mtc RemsimServer_Tests.ttcn:177 Port HTTP was stopped. 07:12:34.603352 mtc RemsimServer_Tests.ttcn:177 Removing unterminated connection between port RSPRO[0] and RSPRO0(5):IPA_RSPRO_PORT. 07:12:34.603410 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[0] was stopped. 07:12:34.603425 5 IPA_Emulation.ttcnpp:735 Connection of port IPA_RSPRO_PORT to mtc:RSPRO[0] was closed unexpectedly by the peer. 07:12:34.603436 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[1] was stopped. 07:12:34.603457 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[2] was stopped. 07:12:34.603477 mtc RemsimServer_Tests.ttcn:177 Component type RemsimServer_Tests.test_CT was shut down inside testcase TC_connect_client_duplicate. 07:12:34.603488 5 IPA_Emulation.ttcnpp:735 Port IPA_RSPRO_PORT was disconnected from mtc:RSPRO[0]. 07:12:34.603499 mtc RemsimServer_Tests.ttcn:177 Waiting for PTCs to finish. 07:12:34.603569 5 IPA_Emulation.ttcnpp:735 Kill was requested from MC. 07:12:34.603593 5 IPA_Emulation.ttcnpp:735 Terminating test component execution. 07:12:34.603958 5 - Function main_client was stopped. PTC terminates. 07:12:34.603999 5 - Terminating component type IPA_Emulation.IPA_Emulation_CT. 07:12:34.604020 5 - Removing unterminated mapping between port IPA_PORT and system:IPA_CODEC_PT. 07:12:34.604235 5 - Port IPA_PORT was unmapped from system:IPA_CODEC_PT. 07:12:34.604268 5 - Port IPA_PORT was stopped. 07:12:34.604289 5 - Port CFG_PORT was stopped. 07:12:34.604307 5 - Port IPA_CTRL_PORT was stopped. 07:12:34.604325 5 - Port IPA_RSPRO_PORT was stopped. 07:12:34.604343 5 - Port IPA_SP_PORT was stopped. 07:12:34.604360 5 - Component type IPA_Emulation.IPA_Emulation_CT was shut down inside testcase TC_connect_client_duplicate. 07:12:34.604388 5 - Final verdict of PTC: none 07:12:34.604477 5 - Disconnected from MC. 07:12:34.604488 mtc RemsimServer_Tests.ttcn:177 Setting final verdict of the test case. 07:12:34.604502 5 - TTCN-3 Parallel Test Component finished. 07:12:34.604527 mtc RemsimServer_Tests.ttcn:177 Local verdict of MTC: pass 07:12:34.604563 mtc RemsimServer_Tests.ttcn:177 Local verdict of PTC RSPRO0(5): none (pass -> pass) 07:12:34.604601 mtc RemsimServer_Tests.ttcn:177 Local verdict of PTC RSPRO1(6): none (pass -> pass) 07:12:34.604634 mtc RemsimServer_Tests.ttcn:177 Test case TC_connect_client_duplicate finished. Verdict: pass 07:12:34.604674 mtc RemsimServer_Tests.ttcn:177 Starting external command `../ttcn3-tcpdump-stop.sh RemsimServer_Tests.TC_connect_client_duplicate pass'. 07:12:36.626656 mtc RemsimServer_Tests.ttcn:177 External command `../ttcn3-tcpdump-stop.sh RemsimServer_Tests.TC_connect_client_duplicate pass' was executed successfully (exit status: 0). 07:12:36.626731 mtc RemsimServer_Tests.ttcn:180 Switching to log file `REMSIM_Tests-TC_connect_bank-056b491cadb3-mtc.log'