05:14:09.942601 mtc RemsimServer_Tests.ttcn:143 Starting external command `../ttcn3-tcpdump-start.sh RemsimServer_Tests.TC_connect_client_duplicate'. 05:14:10.975397 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:10.975608 mtc RemsimServer_Tests.ttcn:143 Test case TC_connect_client_duplicate started. 05:14:10.975677 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:10.975763 mtc RemsimServer_Tests.ttcn:143 Port HTTP was started. 05:14:10.975806 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[0] was started. 05:14:10.975836 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[1] was started. 05:14:10.975862 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[2] was started. 05:14:10.975889 mtc RemsimServer_Tests.ttcn:143 Component type RemsimServer_Tests.test_CT was initialized. 05:14:10.975953 mtc RemsimServer_Tests.ttcn:94 Start timer g_T_guard: 60 s 05:14:10.976007 mtc RemsimServer_Tests.ttcn:95 Altstep as_Tguard was activated as default, id 1 05:14:10.976053 mtc HTTP_Adapter.ttcn:33 Mapping port mtc:HTTP to system:HTTP. 05:14:10.976229 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering HTTPmsg__PT::set_parameter(http_debugging, yes) 05:14:10.976287 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering SSL_Socket::parameter_set(http_debugging, yes) 05:14:10.976323 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving SSL_Socket::parameter_set(http_debugging, yes) 05:14:10.976353 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering Abstract_Socket::parameter_set(http_debugging, yes) 05:14:10.976382 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving Abstract_Socket::parameter_set(http_debugging, yes) 05:14:10.976410 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving HTTPmsg__PT::set_parameter(http_debugging, yes) 05:14:10.976438 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering HTTPmsg__PT::set_parameter(use_notification_ASPs, yes) 05:14:10.976466 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving HTTPmsg__PT::set_parameter(use_notification_ASPs, yes) 05:14:10.976494 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering HTTPmsg__PT::user_map(HTTP) 05:14:10.976525 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering Abstract_Socket::map_user() 05:14:10.976557 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving Abstract_Socket::map_user() 05:14:10.976584 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving HTTPmsg__PT::user_map() 05:14:10.976614 mtc HTTP_Adapter.ttcn:33 Port HTTP was mapped to system:HTTP. 05:14:10.976733 mtc HTTP_Adapter.ttcn:33 Map operation of mtc:HTTP to system:HTTP finished. 05:14:10.976837 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.216.20", portnumber := 9997, use_ssl := false } 05:14:10.976884 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 05:14:10.976923 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.216.20/9997, localAddr: UNSPEC/UNSPEC) called 05:14:10.977096 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 05:14:10.977156 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 05:14:10.977200 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 05:14:10.977509 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.216.10/46456 -> 172.18.216.20/9997 05:14:10.977584 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.216.20 service 9997 via address family IPv4 05:14:10.977624 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 05:14:10.977654 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:10.977681 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:10.977712 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 05:14:10.977749 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 05:14:10.977830 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 05:14:10.977868 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 05:14:10.977898 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 05:14:10.977929 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 05:14:10.977978 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 1 05:14:10.978031 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 05:14:10.978070 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 05:14:10.978107 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 05:14:10.978158 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 05:14:10.978200 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 1 05:14:10.978244 mtc HTTP_Adapter.ttcn:194 Message with id 1 was extracted from the queue of HTTP. 05:14:10.978424 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.216.20:9997" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } 05:14:10.978480 mtc HTTP_Adapter.ttcn:211 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:10.978530 mtc HTTP_Adapter.ttcn:211 Abstract socket: entering Abstract_Socket::send_outgoing() 05:14:10.978564 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 31 36 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 30 0d 0a 0d 0a 05:14:10.978693 mtc HTTP_Adapter.ttcn:211 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 05:14:10.978728 mtc HTTP_Adapter.ttcn:211 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 05:14:10.978855 mtc HTTP_Adapter.ttcn:211 Abstract socket: Nr of bytes sent = 123 05:14:10.978897 mtc HTTP_Adapter.ttcn:211 Abstract socket: leaving Abstract_Socket::send_outgoing() 05:14:10.978930 mtc HTTP_Adapter.ttcn:211 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:10.978974 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 05:14:10.979566 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 05:14:10.979614 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 05:14:10.979645 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 05:14:10.979673 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 05:14:10.979700 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 05:14:10.979760 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.216.10/46456 05:14:10.979793 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 53 61 74 2c 20 32 36 20 4f 63 74 20 32 30 32 34 20 30 35 3a 31 34 3a 31 30 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:10.979885 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 05:14:10.979936 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 75 05:14:10.979970 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 05:14:10.979999 mtc HTTP_Adapter.ttcn:235 DECODER: 05:14:10.980032 mtc HTTP_Adapter.ttcn:235 method_name: 05:14:10.980070 mtc HTTP_Adapter.ttcn:235 Decoding the headers 05:14:10.980104 mtc HTTP_Adapter.ttcn:235 +Header line: 05:14:10.980136 mtc HTTP_Adapter.ttcn:235 +Header line: 05:14:10.980171 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 05:14:10.980196 mtc HTTP_Adapter.ttcn:235 lengthof body: 0, content_length given: 0 05:14:10.980225 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 05:14:10.980258 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 05:14:10.980309 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 := "Sat, 26 Oct 2024 05:14:10 GMT" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } id 2 05:14:10.980352 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 05:14:10.980381 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 05:14:10.980407 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 05:14:10.980433 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 05:14:10.980459 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 05:14:10.980502 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 05:14:10.980548 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 := "Sat, 26 Oct 2024 05:14:10 GMT" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } id 2 05:14:10.980588 mtc HTTP_Adapter.ttcn:236 Message with id 2 was extracted from the queue of HTTP. 05:14:10.980619 mtc HTTP_Adapter.ttcn:237 setverdict(pass): none -> pass 05:14:10.980687 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 05:14:10.980719 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 05:14:10.980748 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 05:14:10.980775 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 05:14:10.980801 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 05:14:10.980828 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 05:14:10.980870 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 05:14:10.980899 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 05:14:10.980926 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 05:14:10.980955 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:10.980982 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:10.981008 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 05:14:10.981034 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 05:14:10.981132 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 05:14:10.981167 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 05:14:10.981216 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 05:14:10.981245 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 05:14:10.981273 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 05:14:10.981323 mtc REMSIM_Tests.ttcn:59 Creating new PTC with component type IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. 05:14:10.987870 5 - Warning: A plug-in from the same path `libjunitlogger2' is already active, skipping plug-in 05:14:10.988099 5 - TTCN-3 Parallel Test Component started on 82b0e047fd3e. Component reference: RSPRO0(5), component type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. Version: 9.0.0. 05:14:10.988167 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:10.988288 5 - Connected to MC. 05:14:10.988330 5 - Initializing variables, timers and ports of component type IPA_Emulation.IPA_Emulation_CT inside testcase TC_connect_client_duplicate. 05:14:10.988432 mtc REMSIM_Tests.ttcn:59 PTC was created. Component reference: 5, alive: no, type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. 05:14:10.988516 mtc REMSIM_Tests.ttcn:69 Mapping port RSPRO0(5):IPA_PORT to system:IPA_CODEC_PT. 05:14:10.990335 5 - Port IPA_PORT was started. 05:14:10.990408 5 - Port CFG_PORT was started. 05:14:10.990431 5 - Port IPA_CTRL_PORT was started. 05:14:10.990449 5 - Port IPA_RSPRO_PORT was started. 05:14:10.990465 5 - Port IPA_SP_PORT was started. 05:14:10.990481 5 - Component type IPA_Emulation.IPA_Emulation_CT was initialized. 05:14:10.990590 5 - Port IPA_PORT was mapped to system:IPA_CODEC_PT. 05:14:10.990708 mtc REMSIM_Tests.ttcn:69 Map operation of RSPRO0(5):IPA_PORT to system:IPA_CODEC_PT finished. 05:14:10.990763 mtc REMSIM_Tests.ttcn:70 Connecting ports RSPRO0(5):IPA_RSPRO_PORT and mtc:RSPRO[0]. 05:14:10.991051 mtc REMSIM_Tests.ttcn:70 Port RSPRO[0] is waiting for connection from RSPRO0(5):IPA_RSPRO_PORT on UNIX pathname /tmp/ttcn3-portconn-b23de30b. 05:14:10.991136 5 - Port IPA_RSPRO_PORT has established the connection with mtc:RSPRO[0] using transport type UNIX. 05:14:10.991225 mtc REMSIM_Tests.ttcn:70 Port RSPRO[0] has accepted the connection from RSPRO0(5):IPA_RSPRO_PORT. 05:14:10.991267 mtc REMSIM_Tests.ttcn:70 Connect operation on RSPRO0(5):IPA_RSPRO_PORT and mtc:RSPRO[0] finished. 05:14:10.991294 mtc REMSIM_Tests.ttcn:72 Starting function main_client("172.18.216.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:10.991388 mtc REMSIM_Tests.ttcn:72 Function was started. 05:14:10.991417 mtc REMSIM_Tests.ttcn:74 Start timer T: 4 s 05:14:10.991686 5 - Starting function main_client("172.18.216.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:10.992125 5 IPA_Emulation.ttcnpp:309 entering f__IPL4__PROVIDER__connect: :10000 -> 172.18.216.20:9998 / TCP 05:14:10.993827 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:10.994059 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '06'O 05:14:10.994378 5 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 05:14:10.994621 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:10.994842 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:10.995058 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE06'O 05:14:10.995183 5 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE06'O } 05:14:10.995724 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:10.995872 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:10.995930 mtc REMSIM_Tests.ttcn:76 Matching on port RSPRO[0] succeeded: matched 05:14:10.995958 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:10.995980 mtc REMSIM_Tests.ttcn:76 Message with id 1 was extracted from the queue of RSPRO[0]. 05:14:10.995998 mtc REMSIM_Tests.ttcn:82 Warning: Re-starting timer T, which is already active (running or expired). 05:14:10.996023 mtc REMSIM_Tests.ttcn:82 Start timer T: 4 s 05:14:10.996795 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.216.20", remPort := 9998, locName := "172.18.216.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0001FE00'O } id 1 05:14:10.996861 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE00'O 05:14:10.997012 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:10.997056 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:10.997100 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.216.20", remPort := 9998, locName := "172.18.216.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0001FE06'O } id 2 05:14:10.997123 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE06'O 05:14:10.997143 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:10.997181 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:10.997273 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 05:14:10.997323 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:10.997348 5 IPA_Emulation.ttcnpp:737 Message with id 1 was extracted from the queue of IPA_PORT. 05:14:10.997371 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '00'O 05:14:10.997468 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:10.997501 5 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_PING (0), u := omit } 05:14:10.997565 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:10.997590 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '01'O 05:14:10.997611 5 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_PONG (1), u := omit } 05:14:10.997641 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:10.997664 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:10.997685 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE01'O 05:14:10.997703 5 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE01'O } 05:14:10.997763 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 05:14:10.997787 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:10.997807 5 IPA_Emulation.ttcnpp:737 Message with id 2 was extracted from the queue of IPA_PORT. 05:14:10.997822 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '06'O 05:14:10.997839 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:10.997855 5 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 05:14:10.997894 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:10.998055 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:10.998127 mtc REMSIM_Tests.ttcn:84 Matching on port RSPRO[0] succeeded: matched 05:14:10.998144 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:10.998157 mtc REMSIM_Tests.ttcn:84 Message with id 2 was extracted from the queue of RSPRO[0]. 05:14:10.998168 mtc REMSIM_Tests.ttcn:92 Altstep as_ignore_id_ack was activated as default, id 2 05:14:10.998212 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.216.20", portnumber := 9997, use_ssl := false } 05:14:10.998226 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 05:14:10.998239 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.216.20/9997, localAddr: UNSPEC/UNSPEC) called 05:14:10.998330 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 05:14:10.998352 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 05:14:10.998363 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 05:14:10.998457 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.216.10/46458 -> 172.18.216.20/9997 05:14:10.998469 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.216.20 service 9997 via address family IPv4 05:14:10.998493 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 05:14:10.998502 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:10.998510 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:10.998518 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 05:14:10.998527 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 05:14:10.998541 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 05:14:10.998551 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 05:14:10.998559 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 05:14:10.998568 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 05:14:10.998579 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 3 05:14:10.998592 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 05:14:10.998601 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 05:14:10.998613 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 05:14:10.998630 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 05:14:10.998641 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 3 05:14:10.998653 mtc HTTP_Adapter.ttcn:194 Message with id 3 was extracted from the queue of HTTP. 05:14:10.998698 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.216.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 05:14:10.998710 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:10.998724 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering Abstract_Socket::send_outgoing() 05:14:10.998732 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 31 36 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 0d 0a 05:14:10.998760 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 05:14:10.998770 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 05:14:10.998801 mtc HTTP_Adapter.ttcn:220 Abstract socket: Nr of bytes sent = 98 05:14:10.998811 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving Abstract_Socket::send_outgoing() 05:14:10.998820 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:10.998832 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 05:14:10.998906 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 05:14:10.998917 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 05:14:10.998926 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 05:14:10.998935 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 05:14:10.998943 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 05:14:10.998964 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.216.10/46458 05:14:10.998979 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 53 61 74 2c 20 32 36 20 4f 63 74 20 32 30 32 34 20 30 35 3a 31 34 3a 31 30 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:10.999011 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 05:14:10.999021 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 122 05:14:10.999032 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 05:14:10.999042 mtc HTTP_Adapter.ttcn:235 DECODER: 05:14:10.999052 mtc HTTP_Adapter.ttcn:235 method_name: 05:14:10.999065 mtc HTTP_Adapter.ttcn:235 Decoding the headers 05:14:10.999075 mtc HTTP_Adapter.ttcn:235 +Header line: 05:14:10.999085 mtc HTTP_Adapter.ttcn:235 +Header line: 05:14:10.999095 mtc HTTP_Adapter.ttcn:235 +Header line: 05:14:10.999105 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 05:14:10.999114 mtc HTTP_Adapter.ttcn:235 Decoding body, buffer length: 14 05:14:10.999124 mtc HTTP_Adapter.ttcn:235 lengthof body: 14, content_length given: 14 05:14:10.999133 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 05:14:10.999144 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 05:14:10.999163 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 := "Sat, 26 Oct 2024 05:14:10 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "14" } }, body := "{\"clients\":[]}" } } id 4 05:14:10.999177 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 05:14:10.999186 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 05:14:10.999195 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 05:14:10.999203 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 05:14:10.999211 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 05:14:10.999224 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 05:14:10.999240 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 := "Sat, 26 Oct 2024 05:14:10 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "14" } }, body := "{\"clients\":[]}" } } id 4 05:14:10.999253 mtc HTTP_Adapter.ttcn:236 Message with id 4 was extracted from the queue of HTTP. 05:14:10.999263 mtc HTTP_Adapter.ttcn:237 setverdict(pass): pass -> pass, component reason not changed 05:14:10.999286 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 05:14:10.999296 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 05:14:10.999305 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 05:14:10.999313 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 05:14:10.999322 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 05:14:10.999330 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 05:14:10.999342 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 05:14:10.999355 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 05:14:10.999364 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 05:14:10.999373 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:10.999382 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:10.999390 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 05:14:10.999399 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 05:14:10.999430 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 05:14:10.999444 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 05:14:10.999456 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 05:14:10.999473 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 05:14:10.999486 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 05:14:10.999505 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Stream before decoding: '7B22636C69656E7473223A5B5D7D'O ("{\"clients\":[]}") 05:14:10.999541 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Decoded @RSRES.JsRoot: { clients := { }, banks := omit, slotmaps := omit } 05:14:10.999614 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:10.999645 mtc REMSIM_Tests.ttcn:109 Start timer T: 10 s 05:14:11.000184 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:11.000478 5 IPA_Emulation.ttcnpp:896 Matching on port IPA_RSPRO_PORT succeeded: matched 05:14:11.000514 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:11.000539 5 IPA_Emulation.ttcnpp:896 Message with id 1 was extracted from the queue of IPA_RSPRO_PORT. 05:14:11.001133 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:11.001171 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:11.001217 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O 05:14:11.001250 5 IPA_Emulation.ttcnpp:899 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 05:14:11.042868 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.216.20", remPort := 9998, locName := "172.18.216.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0042EE07303F80010281020926A236A334302F0A0101160C663739633963373665623464800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0100'O } id 3 05:14:11.042954 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0042EE07303F80010281020926A236A334302F0A0101160C663739633963373665623464800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0100'O 05:14:11.043019 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 := '303F80010281020926A236A334302F0A0101160C663739633963373665623464800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0100'O } 05:14:11.043051 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 := '303F80010281020926A236A334302F0A0101160C663739633963373665623464800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0100'O } id 3 05:14:11.043164 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:11.043197 5 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT succeeded: matched 05:14:11.043217 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 := '303F80010281020926A236A334302F0A0101160C663739633963373665623464800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0100'O } id 3 05:14:11.043235 5 IPA_Emulation.ttcnpp:753 Message with id 3 was extracted from the queue of IPA_PORT. 05:14:11.043635 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 := "f79c9c76eb4d", software := "remsim-server", swVersion := "1.0.0.62-5b8a", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } 05:14:11.043861 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 := "f79c9c76eb4d", software := "remsim-server", swVersion := "1.0.0.62-5b8a", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } id 3 05:14:11.043956 mtc REMSIM_Tests.ttcn:111 Matching on port RSPRO[0] succeeded: matched 05:14:11.043982 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 := "f79c9c76eb4d", software := "remsim-server", swVersion := "1.0.0.62-5b8a", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } id 3 05:14:11.044001 mtc REMSIM_Tests.ttcn:111 Message with id 3 was extracted from the queue of RSPRO[0]. 05:14:11.044014 mtc REMSIM_Tests.ttcn:112 setverdict(pass): pass -> pass, component reason not changed 05:14:11.044078 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.216.20", portnumber := 9997, use_ssl := false } 05:14:11.044104 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 05:14:11.044120 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.216.20/9997, localAddr: UNSPEC/UNSPEC) called 05:14:11.044220 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 05:14:11.044240 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 05:14:11.044255 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 05:14:11.044361 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.216.10/46468 -> 172.18.216.20/9997 05:14:11.044381 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.216.20 service 9997 via address family IPv4 05:14:11.044417 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 05:14:11.044434 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:11.044450 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:11.044468 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 05:14:11.044485 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 05:14:11.044508 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 05:14:11.044525 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 05:14:11.044541 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 05:14:11.044557 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 05:14:11.044579 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 5 05:14:11.044603 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 05:14:11.044616 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 05:14:11.044634 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 05:14:11.044664 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 05:14:11.044680 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 5 05:14:11.044696 mtc HTTP_Adapter.ttcn:194 Message with id 5 was extracted from the queue of HTTP. 05:14:11.044766 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.216.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 05:14:11.044784 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:11.044804 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering Abstract_Socket::send_outgoing() 05:14:11.044816 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 31 36 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 0d 0a 05:14:11.044871 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 05:14:11.044884 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 05:14:11.044937 mtc HTTP_Adapter.ttcn:220 Abstract socket: Nr of bytes sent = 98 05:14:11.044951 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving Abstract_Socket::send_outgoing() 05:14:11.044962 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:11.044979 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 05:14:11.045196 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 05:14:11.045270 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 05:14:11.045289 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 05:14:11.045301 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 05:14:11.045314 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 05:14:11.045353 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.216.10/46468 05:14:11.045380 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 53 61 74 2c 20 32 36 20 4f 63 74 20 32 30 32 34 20 30 35 3a 31 34 3a 31 31 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:11.045460 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 05:14:11.045474 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 287 05:14:11.045489 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 05:14:11.045503 mtc HTTP_Adapter.ttcn:235 DECODER: 05:14:11.045518 mtc HTTP_Adapter.ttcn:235 method_name: 05:14:11.045536 mtc HTTP_Adapter.ttcn:235 Decoding the headers 05:14:11.045552 mtc HTTP_Adapter.ttcn:235 +Header line: 05:14:11.045568 mtc HTTP_Adapter.ttcn:235 +Header line: 05:14:11.045582 mtc HTTP_Adapter.ttcn:235 +Header line: 05:14:11.045597 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 05:14:11.045609 mtc HTTP_Adapter.ttcn:235 Decoding body, buffer length: 178 05:14:11.045621 mtc HTTP_Adapter.ttcn:235 lengthof body: 178, content_length given: 178 05:14:11.045634 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 05:14:11.045651 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 05:14:11.045691 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 := "Sat, 26 Oct 2024 05:14:11 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:11.045718 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 05:14:11.045731 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 05:14:11.045744 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 05:14:11.045755 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 05:14:11.045767 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 05:14:11.045788 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 05:14:11.045824 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 := "Sat, 26 Oct 2024 05:14:11 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:11.045849 mtc HTTP_Adapter.ttcn:236 Message with id 6 was extracted from the queue of HTTP. 05:14:11.045864 mtc HTTP_Adapter.ttcn:237 setverdict(pass): pass -> pass, component reason not changed 05:14:11.045899 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 05:14:11.045914 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 05:14:11.045926 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 05:14:11.045938 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 05:14:11.045951 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 05:14:11.045963 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 05:14:11.045982 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 05:14:11.045994 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 05:14:11.046007 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 05:14:11.046019 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:11.046031 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:11.046043 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 05:14:11.046055 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 05:14:11.046113 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 05:14:11.046126 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 05:14:11.046139 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 05:14:11.046151 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 05:14:11.046162 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 05:14:11.046181 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:11.046263 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:11.046366 mtc REMSIM_Tests.ttcn:59 Creating new PTC with component type IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. 05:14:11.050742 6 - Warning: A plug-in from the same path `libjunitlogger2' is already active, skipping plug-in 05:14:11.050922 6 - TTCN-3 Parallel Test Component started on 82b0e047fd3e. Component reference: RSPRO1(6), component type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. Version: 9.0.0. 05:14:11.050970 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:11.051053 6 - Connected to MC. 05:14:11.051078 6 - Initializing variables, timers and ports of component type IPA_Emulation.IPA_Emulation_CT inside testcase TC_connect_client_duplicate. 05:14:11.051305 mtc REMSIM_Tests.ttcn:59 PTC was created. Component reference: 6, alive: no, type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. 05:14:11.051418 mtc REMSIM_Tests.ttcn:69 Mapping port RSPRO1(6):IPA_PORT to system:IPA_CODEC_PT. 05:14:11.052701 6 - Port IPA_PORT was started. 05:14:11.052744 6 - Port CFG_PORT was started. 05:14:11.052759 6 - Port IPA_CTRL_PORT was started. 05:14:11.052773 6 - Port IPA_RSPRO_PORT was started. 05:14:11.052787 6 - Port IPA_SP_PORT was started. 05:14:11.052801 6 - Component type IPA_Emulation.IPA_Emulation_CT was initialized. 05:14:11.052868 6 - Port IPA_PORT was mapped to system:IPA_CODEC_PT. 05:14:11.053158 mtc REMSIM_Tests.ttcn:69 Map operation of RSPRO1(6):IPA_PORT to system:IPA_CODEC_PT finished. 05:14:11.053260 mtc REMSIM_Tests.ttcn:70 Connecting ports RSPRO1(6):IPA_RSPRO_PORT and mtc:RSPRO[1]. 05:14:11.053761 mtc REMSIM_Tests.ttcn:70 Port RSPRO[1] is waiting for connection from RSPRO1(6):IPA_RSPRO_PORT on UNIX pathname /tmp/ttcn3-portconn-b13ce30b. 05:14:11.053963 6 - Port IPA_RSPRO_PORT has established the connection with mtc:RSPRO[1] using transport type UNIX. 05:14:11.054029 mtc REMSIM_Tests.ttcn:70 Port RSPRO[1] has accepted the connection from RSPRO1(6):IPA_RSPRO_PORT. 05:14:11.054164 mtc REMSIM_Tests.ttcn:70 Connect operation on RSPRO1(6):IPA_RSPRO_PORT and mtc:RSPRO[1] finished. 05:14:11.054192 mtc REMSIM_Tests.ttcn:72 Starting function main_client("172.18.216.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:11.054400 mtc REMSIM_Tests.ttcn:72 Function was started. 05:14:11.054427 mtc REMSIM_Tests.ttcn:74 Start timer T: 4 s 05:14:11.054575 6 - Starting function main_client("172.18.216.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:11.054935 6 IPA_Emulation.ttcnpp:309 entering f__IPL4__PROVIDER__connect: :10001 -> 172.18.216.20:9998 / TCP 05:14:11.056453 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:11.056681 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '06'O 05:14:11.056975 6 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 05:14:11.057149 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:11.057340 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:11.057533 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE06'O 05:14:11.057656 6 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE06'O } 05:14:11.058228 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:11.058390 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:11.058431 mtc REMSIM_Tests.ttcn:76 Matching on port RSPRO[1] succeeded: matched 05:14:11.058458 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:11.058484 mtc REMSIM_Tests.ttcn:76 Message with id 1 was extracted from the queue of RSPRO[1]. 05:14:11.058504 mtc REMSIM_Tests.ttcn:82 Warning: Re-starting timer T, which is already active (running or expired). 05:14:11.058533 mtc REMSIM_Tests.ttcn:82 Start timer T: 4 s 05:14:11.059426 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.216.20", remPort := 9998, locName := "172.18.216.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0001FE00'O } id 1 05:14:11.059493 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE00'O 05:14:11.059646 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:11.059691 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:11.059729 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.216.20", remPort := 9998, locName := "172.18.216.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0001FE06'O } id 2 05:14:11.059748 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE06'O 05:14:11.059768 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:11.059805 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:11.059891 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 05:14:11.059932 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:11.059956 6 IPA_Emulation.ttcnpp:737 Message with id 1 was extracted from the queue of IPA_PORT. 05:14:11.059978 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '00'O 05:14:11.060053 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:11.060074 6 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_PING (0), u := omit } 05:14:11.060127 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:11.060149 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '01'O 05:14:11.060171 6 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_PONG (1), u := omit } 05:14:11.060202 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:11.060223 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:11.060248 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE01'O 05:14:11.060269 6 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE01'O } 05:14:11.060345 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 05:14:11.060366 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:11.060385 6 IPA_Emulation.ttcnpp:737 Message with id 2 was extracted from the queue of IPA_PORT. 05:14:11.060410 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '06'O 05:14:11.060430 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:11.060446 6 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 05:14:11.060483 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:11.060523 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:11.060546 mtc REMSIM_Tests.ttcn:84 Matching on port RSPRO[1] succeeded: matched 05:14:11.060565 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:11.060584 mtc REMSIM_Tests.ttcn:84 Message with id 2 was extracted from the queue of RSPRO[1]. 05:14:11.060607 mtc REMSIM_Tests.ttcn:92 Altstep as_ignore_id_ack was activated as default, id 3 05:14:11.060748 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:11.060791 mtc REMSIM_Tests.ttcn:109 Start timer T: 10 s 05:14:11.061313 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:11.061612 6 IPA_Emulation.ttcnpp:896 Matching on port IPA_RSPRO_PORT succeeded: matched 05:14:11.061646 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:11.061673 6 IPA_Emulation.ttcnpp:896 Message with id 1 was extracted from the queue of IPA_RSPRO_PORT. 05:14:11.062347 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:11.062382 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:11.062422 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O 05:14:11.062454 6 IPA_Emulation.ttcnpp:899 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 05:14:11.103118 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.216.20", remPort := 9998, locName := "172.18.216.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0042EE07303F80010281020926A236A334302F0A0101160C663739633963373665623464800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0106'O } id 3 05:14:11.103263 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0042EE07303F80010281020926A236A334302F0A0101160C663739633963373665623464800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0106'O 05:14:11.103371 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 := '303F80010281020926A236A334302F0A0101160C663739633963373665623464800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0106'O } 05:14:11.103434 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 := '303F80010281020926A236A334302F0A0101160C663739633963373665623464800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0106'O } id 3 05:14:11.103616 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:11.103672 6 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT succeeded: matched 05:14:11.103708 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 := '303F80010281020926A236A334302F0A0101160C663739633963373665623464800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0106'O } id 3 05:14:11.103739 6 IPA_Emulation.ttcnpp:753 Message with id 3 was extracted from the queue of IPA_PORT. 05:14:11.104409 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 := "f79c9c76eb4d", software := "remsim-server", swVersion := "1.0.0.62-5b8a", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } 05:14:11.104772 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 := "f79c9c76eb4d", software := "remsim-server", swVersion := "1.0.0.62-5b8a", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } id 3 05:14:11.104925 mtc REMSIM_Tests.ttcn:111 Matching on port RSPRO[1] succeeded: matched 05:14:11.104973 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 := "f79c9c76eb4d", software := "remsim-server", swVersion := "1.0.0.62-5b8a", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } id 3 05:14:11.105013 mtc REMSIM_Tests.ttcn:111 Message with id 3 was extracted from the queue of RSPRO[1]. 05:14:11.105040 mtc REMSIM_Tests.ttcn:112 setverdict(pass): pass -> pass, component reason not changed 05:14:11.105140 mtc REMSIM_Tests.ttcn:133 Start timer T: 10 s 05:14:12.104827 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @Socket_API_Definitions.PortEvent : { connClosed := { connId := 1, remName := "172.18.216.20", remPort := 9998, locName := "172.18.216.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } id 4 05:14:12.105412 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:12.105452 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:12.105595 6 IPA_Emulation.ttcnpp:822 Matching on port IPA_PORT { connClosed := { connId := 1, remName := "172.18.216.20", remPort := 9998, locName := "172.18.216.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } with { connOpened := ? } unmatched: First message in the queue does not match the template: 05:14:12.105688 6 IPA_Emulation.ttcnpp:839 Matching on port IPA_PORT succeeded: matched 05:14:12.105720 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.216.20", remPort := 9998, locName := "172.18.216.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } id 4 05:14:12.105758 6 IPA_Emulation.ttcnpp:839 Message with id 4 was extracted from the queue of IPA_PORT. 05:14:12.105791 6 IPA_Emulation.ttcnpp:840 IPA: Closed 05:14:12.105877 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:12.105948 6 IPA_Emulation.ttcnpp:844 Stopping test component execution. 05:14:12.106080 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:12.106258 mtc REMSIM_Tests.ttcn:135 Matching on port RSPRO[1] succeeded: matched 05:14:12.106354 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:12.106386 mtc REMSIM_Tests.ttcn:135 Message with id 4 was extracted from the queue of RSPRO[1]. 05:14:12.106413 mtc REMSIM_Tests.ttcn:136 setverdict(pass): pass -> pass, component reason not changed 05:14:12.106512 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.216.20", portnumber := 9997, use_ssl := false } 05:14:12.106519 6 - Function main_client was stopped. PTC terminates. 05:14:12.106543 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 05:14:12.106574 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.216.20/9997, localAddr: UNSPEC/UNSPEC) called 05:14:12.106586 6 - Terminating component type IPA_Emulation.IPA_Emulation_CT. 05:14:12.106610 6 - Removing unterminated mapping between port IPA_PORT and system:IPA_CODEC_PT. 05:14:12.106659 6 - Port IPA_PORT was unmapped from system:IPA_CODEC_PT. 05:14:12.106694 6 - Port IPA_PORT was stopped. 05:14:12.106707 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 05:14:12.106715 6 - Port CFG_PORT was stopped. 05:14:12.106735 6 - Port IPA_CTRL_PORT was stopped. 05:14:12.106750 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 05:14:12.106751 6 - Removing unterminated connection between port IPA_RSPRO_PORT and mtc:RSPRO[1]. 05:14:12.106789 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 05:14:12.106796 6 - Port IPA_RSPRO_PORT was stopped. 05:14:12.106823 6 - Port IPA_SP_PORT was stopped. 05:14:12.106850 6 - Component type IPA_Emulation.IPA_Emulation_CT was shut down inside testcase TC_connect_client_duplicate. 05:14:12.106880 6 - Final verdict of PTC: none 05:14:12.107000 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.216.10/48604 -> 172.18.216.20/9997 05:14:12.107038 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.216.20 service 9997 via address family IPv4 05:14:12.107075 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 05:14:12.107108 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:12.107139 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:12.107167 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 05:14:12.107188 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 05:14:12.107196 6 - Disconnected from MC. 05:14:12.107222 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 05:14:12.107247 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 05:14:12.107270 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 05:14:12.107291 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 05:14:12.107294 6 - TTCN-3 Parallel Test Component finished. 05:14:12.107318 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 7 05:14:12.107348 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 05:14:12.107369 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 05:14:12.107395 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 05:14:12.107433 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 05:14:12.107464 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 7 05:14:12.107503 mtc HTTP_Adapter.ttcn:194 Message with id 7 was extracted from the queue of HTTP. 05:14:12.107618 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.216.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 05:14:12.107649 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:12.107682 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering Abstract_Socket::send_outgoing() 05:14:12.107703 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 31 36 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 0d 0a 05:14:12.107786 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 05:14:12.107809 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 05:14:12.107886 mtc HTTP_Adapter.ttcn:220 Abstract socket: Nr of bytes sent = 98 05:14:12.107908 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving Abstract_Socket::send_outgoing() 05:14:12.107929 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:12.107957 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 05:14:12.108025 mtc HTTP_Adapter.ttcn:235 Connection of port RSPRO[1] to RSPRO1(6):IPA_RSPRO_PORT was closed unexpectedly by the peer. 05:14:12.108053 mtc HTTP_Adapter.ttcn:235 Port RSPRO[1] was disconnected from RSPRO1(6):IPA_RSPRO_PORT. 05:14:12.108292 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 05:14:12.108409 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 05:14:12.108440 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 05:14:12.108463 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 05:14:12.108485 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 05:14:12.108544 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.216.10/48604 05:14:12.108570 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 53 61 74 2c 20 32 36 20 4f 63 74 20 32 30 32 34 20 30 35 3a 31 34 3a 31 32 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:12.108707 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 05:14:12.108730 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 287 05:14:12.108755 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 05:14:12.108780 mtc HTTP_Adapter.ttcn:235 DECODER: 05:14:12.108806 mtc HTTP_Adapter.ttcn:235 method_name: 05:14:12.108836 mtc HTTP_Adapter.ttcn:235 Decoding the headers 05:14:12.108862 mtc HTTP_Adapter.ttcn:235 +Header line: 05:14:12.108891 mtc HTTP_Adapter.ttcn:235 +Header line: 05:14:12.108916 mtc HTTP_Adapter.ttcn:235 +Header line: 05:14:12.108941 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 05:14:12.108961 mtc HTTP_Adapter.ttcn:235 Decoding body, buffer length: 178 05:14:12.108982 mtc HTTP_Adapter.ttcn:235 lengthof body: 178, content_length given: 178 05:14:12.109004 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 05:14:12.109033 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 05:14:12.109101 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 := "Sat, 26 Oct 2024 05:14:12 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:12.109163 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 05:14:12.109187 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 05:14:12.109209 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 05:14:12.109230 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 05:14:12.109250 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 05:14:12.109284 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 05:14:12.109346 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 := "Sat, 26 Oct 2024 05:14:12 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:12.109381 mtc HTTP_Adapter.ttcn:236 Message with id 8 was extracted from the queue of HTTP. 05:14:12.109406 mtc HTTP_Adapter.ttcn:237 setverdict(pass): pass -> pass, component reason not changed 05:14:12.109465 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 05:14:12.109491 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 05:14:12.109512 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 05:14:12.109533 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 05:14:12.109554 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 05:14:12.109576 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 05:14:12.109607 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 05:14:12.109629 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 05:14:12.109650 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 05:14:12.109672 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:12.109693 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:12.109714 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 05:14:12.109735 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 05:14:12.109829 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 05:14:12.109851 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 05:14:12.109873 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 05:14:12.109893 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 05:14:12.109913 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 05:14:12.109944 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:12.110091 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:12.110198 mtc RemsimServer_Tests.ttcn:177 setverdict(pass): pass -> pass, component reason not changed 05:14:12.110204 mtc RemsimServer_Tests.ttcn:177 Terminating component type RemsimServer_Tests.test_CT. 05:14:12.110209 mtc RemsimServer_Tests.ttcn:177 Default with id 1 (altstep as_Tguard) was deactivated. 05:14:12.110214 mtc RemsimServer_Tests.ttcn:177 Default with id 2 (altstep as_ignore_id_ack) was deactivated. 05:14:12.110217 mtc RemsimServer_Tests.ttcn:177 Default with id 3 (altstep as_ignore_id_ack) was deactivated. 05:14:12.110221 mtc RemsimServer_Tests.ttcn:177 Stop timer g_T_guard: 60 s 05:14:12.110227 mtc RemsimServer_Tests.ttcn:177 Removing unterminated mapping between port HTTP and system:HTTP. 05:14:12.110232 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering HTTPmsg__PT::user_unmap(HTTP) 05:14:12.110235 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering Abstract_Socket::unmap_user() 05:14:12.110239 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering Abstract_Socket::remove_all_clients 05:14:12.110242 mtc RemsimServer_Tests.ttcn:177 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 05:14:12.110245 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving Abstract_Socket::remove_all_clients 05:14:12.110249 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving Abstract_Socket::unmap_user() 05:14:12.110252 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving HTTPmsg__PT::user_unmap() 05:14:12.110256 mtc RemsimServer_Tests.ttcn:177 Port HTTP was unmapped from system:HTTP. 05:14:12.110261 mtc RemsimServer_Tests.ttcn:177 Port HTTP was stopped. 05:14:12.110265 mtc RemsimServer_Tests.ttcn:177 Removing unterminated connection between port RSPRO[0] and RSPRO0(5):IPA_RSPRO_PORT. 05:14:12.110281 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[0] was stopped. 05:14:12.110285 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[1] was stopped. 05:14:12.110288 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[2] was stopped. 05:14:12.110291 mtc RemsimServer_Tests.ttcn:177 Component type RemsimServer_Tests.test_CT was shut down inside testcase TC_connect_client_duplicate. 05:14:12.110296 mtc RemsimServer_Tests.ttcn:177 Waiting for PTCs to finish. 05:14:12.110318 5 IPA_Emulation.ttcnpp:735 Connection of port IPA_RSPRO_PORT to mtc:RSPRO[0] was closed unexpectedly by the peer. 05:14:12.110345 5 IPA_Emulation.ttcnpp:735 Port IPA_RSPRO_PORT was disconnected from mtc:RSPRO[0]. 05:14:12.110378 5 IPA_Emulation.ttcnpp:735 Kill was requested from MC. 05:14:12.110382 5 IPA_Emulation.ttcnpp:735 Terminating test component execution. 05:14:12.110489 5 - Function main_client was stopped. PTC terminates. 05:14:12.110499 5 - Terminating component type IPA_Emulation.IPA_Emulation_CT. 05:14:12.110503 5 - Removing unterminated mapping between port IPA_PORT and system:IPA_CODEC_PT. 05:14:12.110566 5 - Port IPA_PORT was unmapped from system:IPA_CODEC_PT. 05:14:12.110572 5 - Port IPA_PORT was stopped. 05:14:12.110576 5 - Port CFG_PORT was stopped. 05:14:12.110583 5 - Port IPA_CTRL_PORT was stopped. 05:14:12.110586 5 - Port IPA_RSPRO_PORT was stopped. 05:14:12.110589 5 - Port IPA_SP_PORT was stopped. 05:14:12.110592 5 - Component type IPA_Emulation.IPA_Emulation_CT was shut down inside testcase TC_connect_client_duplicate. 05:14:12.110597 5 - Final verdict of PTC: none 05:14:12.110687 mtc RemsimServer_Tests.ttcn:177 Setting final verdict of the test case. 05:14:12.110714 5 - Disconnected from MC. 05:14:12.110714 mtc RemsimServer_Tests.ttcn:177 Local verdict of MTC: pass 05:14:12.110722 mtc RemsimServer_Tests.ttcn:177 Local verdict of PTC RSPRO0(5): none (pass -> pass) 05:14:12.110731 5 - TTCN-3 Parallel Test Component finished. 05:14:12.110731 mtc RemsimServer_Tests.ttcn:177 Local verdict of PTC RSPRO1(6): none (pass -> pass) 05:14:12.110739 mtc RemsimServer_Tests.ttcn:177 Test case TC_connect_client_duplicate finished. Verdict: pass 05:14:12.110747 mtc RemsimServer_Tests.ttcn:177 Starting external command `../ttcn3-tcpdump-stop.sh RemsimServer_Tests.TC_connect_client_duplicate pass'. 05:14:14.139960 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:14.140170 mtc RemsimServer_Tests.ttcn:180 Switching to log file `REMSIM_Tests-TC_connect_bank-82b0e047fd3e-mtc.log'