03:15:11.044587 mtc RemsimServer_Tests.ttcn:143 Starting external command `../ttcn3-tcpdump-start.sh RemsimServer_Tests.TC_connect_client_duplicate'. 03:15:12.063081 mtc RemsimServer_Tests.ttcn:143 External command `../ttcn3-tcpdump-start.sh RemsimServer_Tests.TC_connect_client_duplicate' was executed successfully (exit status: 0). 03:15:12.063164 mtc RemsimServer_Tests.ttcn:143 Test case TC_connect_client_duplicate started. 03:15:12.063183 mtc RemsimServer_Tests.ttcn:143 Initializing variables, timers and ports of component type RemsimServer_Tests.test_CT inside testcase TC_connect_client_duplicate. 03:15:12.063217 mtc RemsimServer_Tests.ttcn:143 Port HTTP was started. 03:15:12.063229 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[0] was started. 03:15:12.063238 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[1] was started. 03:15:12.063246 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[2] was started. 03:15:12.063255 mtc RemsimServer_Tests.ttcn:143 Component type RemsimServer_Tests.test_CT was initialized. 03:15:12.063278 mtc RemsimServer_Tests.ttcn:94 Start timer g_T_guard: 60 s 03:15:12.063295 mtc RemsimServer_Tests.ttcn:95 Altstep as_Tguard was activated as default, id 1 03:15:12.063310 mtc HTTP_Adapter.ttcn:33 Mapping port mtc:HTTP to system:HTTP. 03:15:12.063469 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering HTTPmsg__PT::set_parameter(http_debugging, yes) 03:15:12.063497 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering SSL_Socket::parameter_set(http_debugging, yes) 03:15:12.063510 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving SSL_Socket::parameter_set(http_debugging, yes) 03:15:12.063520 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering Abstract_Socket::parameter_set(http_debugging, yes) 03:15:12.063529 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving Abstract_Socket::parameter_set(http_debugging, yes) 03:15:12.063538 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving HTTPmsg__PT::set_parameter(http_debugging, yes) 03:15:12.063547 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering HTTPmsg__PT::set_parameter(use_notification_ASPs, yes) 03:15:12.063555 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving HTTPmsg__PT::set_parameter(use_notification_ASPs, yes) 03:15:12.063564 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering HTTPmsg__PT::user_map(HTTP) 03:15:12.063574 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering Abstract_Socket::map_user() 03:15:12.063584 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving Abstract_Socket::map_user() 03:15:12.063592 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving HTTPmsg__PT::user_map() 03:15:12.063601 mtc HTTP_Adapter.ttcn:33 Port HTTP was mapped to system:HTTP. 03:15:12.063721 mtc HTTP_Adapter.ttcn:33 Map operation of mtc:HTTP to system:HTTP finished. 03:15:12.063772 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.228.20", portnumber := 9997, use_ssl := false } 03:15:12.063787 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 03:15:12.063800 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.228.20/9997, localAddr: UNSPEC/UNSPEC) called 03:15:12.063870 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 03:15:12.063893 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 03:15:12.063905 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 03:15:12.063998 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.228.10/33844 -> 172.18.228.20/9997 03:15:12.064013 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.228.20 service 9997 via address family IPv4 03:15:12.064025 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 03:15:12.064034 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 03:15:12.064043 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 03:15:12.064053 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 03:15:12.064062 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 03:15:12.064083 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 03:15:12.064095 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 03:15:12.064105 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 03:15:12.064114 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 03:15:12.064125 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 1 03:15:12.064137 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 03:15:12.064146 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 03:15:12.064157 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 03:15:12.064173 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 03:15:12.064185 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 1 03:15:12.064198 mtc HTTP_Adapter.ttcn:194 Message with id 1 was extracted from the queue of HTTP. 03:15:12.064235 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.228.20:9997" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } 03:15:12.064250 mtc HTTP_Adapter.ttcn:211 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 03:15:12.064264 mtc HTTP_Adapter.ttcn:211 Abstract socket: entering Abstract_Socket::send_outgoing() 03:15:12.064273 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 32 38 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 30 0d 0a 0d 0a 03:15:12.064297 mtc HTTP_Adapter.ttcn:211 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 03:15:12.064307 mtc HTTP_Adapter.ttcn:211 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 03:15:12.064338 mtc HTTP_Adapter.ttcn:211 Abstract socket: Nr of bytes sent = 123 03:15:12.064350 mtc HTTP_Adapter.ttcn:211 Abstract socket: leaving Abstract_Socket::send_outgoing() 03:15:12.064359 mtc HTTP_Adapter.ttcn:211 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 03:15:12.064372 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 03:15:12.064412 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 03:15:12.064425 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 03:15:12.064457 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 03:15:12.064475 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 03:15:12.064480 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 03:15:12.064584 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.228.10/33844 03:15:12.064589 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 75 6e 2c 20 31 37 20 4e 6f 76 20 32 30 32 34 20 30 33 3a 31 35 3a 31 32 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 03:15:12.064602 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 03:15:12.064611 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 75 03:15:12.064617 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 03:15:12.064622 mtc HTTP_Adapter.ttcn:235 DECODER: 03:15:12.064627 mtc HTTP_Adapter.ttcn:235 method_name: 03:15:12.064634 mtc HTTP_Adapter.ttcn:235 Decoding the headers 03:15:12.064641 mtc HTTP_Adapter.ttcn:235 +Header line: 03:15:12.064646 mtc HTTP_Adapter.ttcn:235 +Header line: 03:15:12.064651 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 03:15:12.064655 mtc HTTP_Adapter.ttcn:235 lengthof body: 0, content_length given: 0 03:15:12.064660 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 03:15:12.064666 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 03:15:12.064676 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 := "Sun, 17 Nov 2024 03:15:12 GMT" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } id 2 03:15:12.064685 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 03:15:12.064690 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 03:15:12.064694 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 03:15:12.064698 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 03:15:12.064701 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 03:15:12.064710 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 03:15:12.064718 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 := "Sun, 17 Nov 2024 03:15:12 GMT" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } id 2 03:15:12.064725 mtc HTTP_Adapter.ttcn:236 Message with id 2 was extracted from the queue of HTTP. 03:15:12.064730 mtc HTTP_Adapter.ttcn:237 setverdict(pass): none -> pass 03:15:12.064743 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 03:15:12.064748 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 03:15:12.064752 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 03:15:12.064756 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 03:15:12.064760 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 03:15:12.064765 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 03:15:12.064773 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 03:15:12.064777 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 03:15:12.064781 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 03:15:12.064785 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 03:15:12.064789 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 03:15:12.064793 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 03:15:12.064796 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 03:15:12.064817 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 03:15:12.064821 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 03:15:12.064828 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 03:15:12.064832 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 03:15:12.064836 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 03:15:12.064847 mtc REMSIM_Tests.ttcn:59 Creating new PTC with component type IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. 03:15:12.066511 5 - Warning: A plug-in from the same path `libjunitlogger2' is already active, skipping plug-in 03:15:12.066661 5 - TTCN-3 Parallel Test Component started on f1298f321f5e. Component reference: RSPRO0(5), component type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. Version: 9.0.0. 03:15:12.066674 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 03:15:12.066700 5 - Connected to MC. 03:15:12.066708 5 - Initializing variables, timers and ports of component type IPA_Emulation.IPA_Emulation_CT inside testcase TC_connect_client_duplicate. 03:15:12.066739 mtc REMSIM_Tests.ttcn:59 PTC was created. Component reference: 5, alive: no, type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. 03:15:12.066788 mtc REMSIM_Tests.ttcn:69 Mapping port RSPRO0(5):IPA_PORT to system:IPA_CODEC_PT. 03:15:12.067314 5 - Port IPA_PORT was started. 03:15:12.067326 5 - Port CFG_PORT was started. 03:15:12.067329 5 - Port IPA_CTRL_PORT was started. 03:15:12.067333 5 - Port IPA_RSPRO_PORT was started. 03:15:12.067336 5 - Port IPA_SP_PORT was started. 03:15:12.067340 5 - Component type IPA_Emulation.IPA_Emulation_CT was initialized. 03:15:12.067357 5 - Port IPA_PORT was mapped to system:IPA_CODEC_PT. 03:15:12.067381 mtc REMSIM_Tests.ttcn:69 Map operation of RSPRO0(5):IPA_PORT to system:IPA_CODEC_PT finished. 03:15:12.067398 mtc REMSIM_Tests.ttcn:70 Connecting ports RSPRO0(5):IPA_RSPRO_PORT and mtc:RSPRO[0]. 03:15:12.067496 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. 03:15:12.067510 5 - Port IPA_RSPRO_PORT has established the connection with mtc:RSPRO[0] using transport type UNIX. 03:15:12.067541 mtc REMSIM_Tests.ttcn:70 Port RSPRO[0] has accepted the connection from RSPRO0(5):IPA_RSPRO_PORT. 03:15:12.067559 mtc REMSIM_Tests.ttcn:70 Connect operation on RSPRO0(5):IPA_RSPRO_PORT and mtc:RSPRO[0] finished. 03:15:12.067571 mtc REMSIM_Tests.ttcn:72 Starting function main_client("172.18.228.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). 03:15:12.067605 mtc REMSIM_Tests.ttcn:72 Function was started. 03:15:12.067616 mtc REMSIM_Tests.ttcn:74 Start timer T: 4 s 03:15:12.067652 5 - Starting function main_client("172.18.228.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). 03:15:12.067754 5 IPA_Emulation.ttcnpp:309 entering f__IPL4__PROVIDER__connect: :10000 -> 172.18.228.20:9998 / TCP 03:15:12.068167 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 03:15:12.068223 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '06'O 03:15:12.068297 5 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 03:15:12.068338 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 } 03:15:12.068383 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 } 03:15:12.068423 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE06'O 03:15:12.068452 5 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE06'O } 03:15:12.068604 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 } 03:15:12.068641 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 03:15:12.068661 mtc REMSIM_Tests.ttcn:76 Matching on port RSPRO[0] succeeded: matched 03:15:12.068673 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 03:15:12.068685 mtc REMSIM_Tests.ttcn:76 Message with id 1 was extracted from the queue of RSPRO[0]. 03:15:12.068695 mtc REMSIM_Tests.ttcn:82 Warning: Re-starting timer T, which is already active (running or expired). 03:15:12.068716 mtc REMSIM_Tests.ttcn:82 Start timer T: 4 s 03:15:12.068896 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.228.20", remPort := 9998, locName := "172.18.228.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0001FE00'O } id 1 03:15:12.068917 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE00'O 03:15:12.068959 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 } 03:15:12.068970 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 03:15:12.068980 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.228.20", remPort := 9998, locName := "172.18.228.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0001FE06'O } id 2 03:15:12.068985 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE06'O 03:15:12.068989 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 } 03:15:12.069000 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 03:15:12.069025 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 03:15:12.069036 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 03:15:12.069042 5 IPA_Emulation.ttcnpp:737 Message with id 1 was extracted from the queue of IPA_PORT. 03:15:12.069048 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '00'O 03:15:12.069069 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PING (0), u := omit } 03:15:12.069074 5 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_PING (0), u := omit } 03:15:12.069087 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PONG (1), u := omit } 03:15:12.069095 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '01'O 03:15:12.069100 5 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_PONG (1), u := omit } 03:15:12.069107 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 } 03:15:12.069113 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 } 03:15:12.069119 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE01'O 03:15:12.069124 5 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE01'O } 03:15:12.069140 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 03:15:12.069146 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 03:15:12.069150 5 IPA_Emulation.ttcnpp:737 Message with id 2 was extracted from the queue of IPA_PORT. 03:15:12.069154 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '06'O 03:15:12.069158 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 03:15:12.069163 5 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 03:15:12.069175 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 } 03:15:12.069191 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 03:15:12.069206 mtc REMSIM_Tests.ttcn:84 Matching on port RSPRO[0] succeeded: matched 03:15:12.069218 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 03:15:12.069228 mtc REMSIM_Tests.ttcn:84 Message with id 2 was extracted from the queue of RSPRO[0]. 03:15:12.069238 mtc REMSIM_Tests.ttcn:92 Altstep as_ignore_id_ack was activated as default, id 2 03:15:12.069267 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.228.20", portnumber := 9997, use_ssl := false } 03:15:12.069280 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 03:15:12.069295 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.228.20/9997, localAddr: UNSPEC/UNSPEC) called 03:15:12.069338 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 03:15:12.069356 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 03:15:12.069368 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 03:15:12.069426 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.228.10/33858 -> 172.18.228.20/9997 03:15:12.069440 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.228.20 service 9997 via address family IPv4 03:15:12.069458 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 03:15:12.069468 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 03:15:12.069477 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 03:15:12.069485 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 03:15:12.069494 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 03:15:12.069506 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 03:15:12.069536 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 03:15:12.069546 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 03:15:12.069555 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 03:15:12.069565 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 3 03:15:12.069577 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 03:15:12.069586 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 03:15:12.069596 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 03:15:12.069609 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 03:15:12.069620 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 3 03:15:12.069631 mtc HTTP_Adapter.ttcn:194 Message with id 3 was extracted from the queue of HTTP. 03:15:12.069662 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.228.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 03:15:12.069676 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 03:15:12.069689 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering Abstract_Socket::send_outgoing() 03:15:12.069699 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 32 38 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 0d 0a 03:15:12.069720 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 03:15:12.069729 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 03:15:12.069756 mtc HTTP_Adapter.ttcn:220 Abstract socket: Nr of bytes sent = 98 03:15:12.069768 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving Abstract_Socket::send_outgoing() 03:15:12.069777 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 03:15:12.069788 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 03:15:12.069847 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 03:15:12.069874 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 03:15:12.069883 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 03:15:12.069892 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 03:15:12.069901 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 03:15:12.069919 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.228.10/33858 03:15:12.069933 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 75 6e 2c 20 31 37 20 4e 6f 76 20 32 30 32 34 20 30 33 3a 31 35 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 34 0d 0a 0d 0a 7b 22 63 6c 69 65 6e 74 73 22 3a 5b 5d 7d 03:15:12.069969 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 03:15:12.069979 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 122 03:15:12.069989 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 03:15:12.070003 mtc HTTP_Adapter.ttcn:235 DECODER: 03:15:12.070012 mtc HTTP_Adapter.ttcn:235 method_name: 03:15:12.070024 mtc HTTP_Adapter.ttcn:235 Decoding the headers 03:15:12.070035 mtc HTTP_Adapter.ttcn:235 +Header line: 03:15:12.070045 mtc HTTP_Adapter.ttcn:235 +Header line: 03:15:12.070056 mtc HTTP_Adapter.ttcn:235 +Header line: 03:15:12.070066 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 03:15:12.070074 mtc HTTP_Adapter.ttcn:235 Decoding body, buffer length: 14 03:15:12.070083 mtc HTTP_Adapter.ttcn:235 lengthof body: 14, content_length given: 14 03:15:12.070092 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 03:15:12.070103 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 03:15:12.070118 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 := "Sun, 17 Nov 2024 03:15:12 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "14" } }, body := "{\"clients\":[]}" } } id 4 03:15:12.070133 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 03:15:12.070142 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 03:15:12.070151 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 03:15:12.070159 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 03:15:12.070168 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 03:15:12.070181 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 03:15:12.070196 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 := "Sun, 17 Nov 2024 03:15:12 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "14" } }, body := "{\"clients\":[]}" } } id 4 03:15:12.070208 mtc HTTP_Adapter.ttcn:236 Message with id 4 was extracted from the queue of HTTP. 03:15:12.070218 mtc HTTP_Adapter.ttcn:237 setverdict(pass): pass -> pass, component reason not changed 03:15:12.070236 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 03:15:12.070247 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 03:15:12.070256 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 03:15:12.070265 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 03:15:12.070286 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 03:15:12.070295 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 03:15:12.070420 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 03:15:12.070438 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 03:15:12.070444 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 03:15:12.070448 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 03:15:12.070452 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 03:15:12.070455 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 03:15:12.070459 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 03:15:12.070478 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 03:15:12.070482 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 03:15:12.070486 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 03:15:12.070490 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 03:15:12.070494 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 03:15:12.070504 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Stream before decoding: '7B22636C69656E7473223A5B5D7D'O ("{\"clients\":[]}") 03:15:12.070518 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Decoded @RSRES.JsRoot: { clients := { }, banks := omit, slotmaps := omit } 03:15:12.070554 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 } } } } 03:15:12.070570 mtc REMSIM_Tests.ttcn:109 Start timer T: 10 s 03:15:12.070801 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 03:15:12.070912 5 IPA_Emulation.ttcnpp:896 Matching on port IPA_RSPRO_PORT succeeded: matched 03:15:12.070925 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 03:15:12.070933 5 IPA_Emulation.ttcnpp:896 Message with id 1 was extracted from the queue of IPA_RSPRO_PORT. 03:15:12.071134 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 } 03:15:12.071145 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 } 03:15:12.071162 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O 03:15:12.071172 5 IPA_Emulation.ttcnpp:899 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 03:15:12.110486 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.228.20", remPort := 9998, locName := "172.18.228.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0042EE07303F80010281020926A236A334302F0A0101160C353263333062643331306462800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0100'O } id 3 03:15:12.110524 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0042EE07303F80010281020926A236A334302F0A0101160C353263333062643331306462800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0100'O 03:15:12.110550 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 := '303F80010281020926A236A334302F0A0101160C353263333062643331306462800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0100'O } 03:15:12.110564 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 := '303F80010281020926A236A334302F0A0101160C353263333062643331306462800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0100'O } id 3 03:15:12.110620 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: 03:15:12.110635 5 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT succeeded: matched 03:15:12.110641 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 := '303F80010281020926A236A334302F0A0101160C353263333062643331306462800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0100'O } id 3 03:15:12.110648 5 IPA_Emulation.ttcnpp:753 Message with id 3 was extracted from the queue of IPA_PORT. 03:15:12.110821 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 := "52c30bd310db", software := "remsim-server", swVersion := "1.0.0.62-5b8a", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } 03:15:12.110948 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 := "52c30bd310db", software := "remsim-server", swVersion := "1.0.0.62-5b8a", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } id 3 03:15:12.110992 mtc REMSIM_Tests.ttcn:111 Matching on port RSPRO[0] succeeded: matched 03:15:12.111001 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 := "52c30bd310db", software := "remsim-server", swVersion := "1.0.0.62-5b8a", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } id 3 03:15:12.111007 mtc REMSIM_Tests.ttcn:111 Message with id 3 was extracted from the queue of RSPRO[0]. 03:15:12.111012 mtc REMSIM_Tests.ttcn:112 setverdict(pass): pass -> pass, component reason not changed 03:15:12.111045 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.228.20", portnumber := 9997, use_ssl := false } 03:15:12.111051 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 03:15:12.111057 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.228.20/9997, localAddr: UNSPEC/UNSPEC) called 03:15:12.111114 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 03:15:12.111122 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 03:15:12.111127 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 03:15:12.111172 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.228.10/33868 -> 172.18.228.20/9997 03:15:12.111176 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.228.20 service 9997 via address family IPv4 03:15:12.111186 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 03:15:12.111190 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 03:15:12.111194 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 03:15:12.111197 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 03:15:12.111201 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 03:15:12.111209 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 03:15:12.111213 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 03:15:12.111217 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 03:15:12.111221 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 03:15:12.111227 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 5 03:15:12.111232 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 03:15:12.111236 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 03:15:12.111241 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 03:15:12.111251 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 03:15:12.111255 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 5 03:15:12.111260 mtc HTTP_Adapter.ttcn:194 Message with id 5 was extracted from the queue of HTTP. 03:15:12.111282 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.228.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 03:15:12.111288 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 03:15:12.111294 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering Abstract_Socket::send_outgoing() 03:15:12.111298 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 32 38 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 0d 0a 03:15:12.111313 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 03:15:12.111318 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 03:15:12.111330 mtc HTTP_Adapter.ttcn:220 Abstract socket: Nr of bytes sent = 98 03:15:12.111334 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving Abstract_Socket::send_outgoing() 03:15:12.111338 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 03:15:12.111343 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 03:15:12.111437 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 03:15:12.111459 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 03:15:12.111465 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 03:15:12.111469 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 03:15:12.111473 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 03:15:12.111485 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.228.10/33868 03:15:12.111493 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 75 6e 2c 20 31 37 20 4e 6f 76 20 32 30 32 34 20 30 33 3a 31 35 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 03:15:12.111518 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 03:15:12.111522 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 287 03:15:12.111527 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 03:15:12.111531 mtc HTTP_Adapter.ttcn:235 DECODER: 03:15:12.111536 mtc HTTP_Adapter.ttcn:235 method_name: 03:15:12.111543 mtc HTTP_Adapter.ttcn:235 Decoding the headers 03:15:12.111548 mtc HTTP_Adapter.ttcn:235 +Header line: 03:15:12.111553 mtc HTTP_Adapter.ttcn:235 +Header line: 03:15:12.111557 mtc HTTP_Adapter.ttcn:235 +Header line: 03:15:12.111562 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 03:15:12.111566 mtc HTTP_Adapter.ttcn:235 Decoding body, buffer length: 178 03:15:12.111569 mtc HTTP_Adapter.ttcn:235 lengthof body: 178, content_length given: 178 03:15:12.111573 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 03:15:12.111579 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 03:15:12.111592 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 := "Sun, 17 Nov 2024 03:15: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 6 03:15:12.111600 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 03:15:12.111604 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 03:15:12.111608 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 03:15:12.111612 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 03:15:12.111615 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 03:15:12.111622 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 03:15:12.111633 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 := "Sun, 17 Nov 2024 03:15: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 6 03:15:12.111641 mtc HTTP_Adapter.ttcn:236 Message with id 6 was extracted from the queue of HTTP. 03:15:12.111646 mtc HTTP_Adapter.ttcn:237 setverdict(pass): pass -> pass, component reason not changed 03:15:12.111657 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 03:15:12.111662 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 03:15:12.111666 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 03:15:12.111669 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 03:15:12.111673 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 03:15:12.111678 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 03:15:12.111684 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 03:15:12.111688 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 03:15:12.111692 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 03:15:12.111720 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 03:15:12.111723 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 03:15:12.111727 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 03:15:12.111731 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 03:15:12.111749 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 03:15:12.111753 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 03:15:12.111757 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 03:15:12.111760 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 03:15:12.111764 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 03:15:12.111770 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\"}}]}") 03:15:12.111799 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 } 03:15:12.111818 mtc REMSIM_Tests.ttcn:59 Creating new PTC with component type IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. 03:15:12.113268 6 - Warning: A plug-in from the same path `libjunitlogger2' is already active, skipping plug-in 03:15:12.113307 6 - TTCN-3 Parallel Test Component started on f1298f321f5e. Component reference: RSPRO1(6), component type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. Version: 9.0.0. 03:15:12.113319 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 03:15:12.113343 6 - Connected to MC. 03:15:12.113349 6 - Initializing variables, timers and ports of component type IPA_Emulation.IPA_Emulation_CT inside testcase TC_connect_client_duplicate. 03:15:12.113369 mtc REMSIM_Tests.ttcn:59 PTC was created. Component reference: 6, alive: no, type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. 03:15:12.113384 mtc REMSIM_Tests.ttcn:69 Mapping port RSPRO1(6):IPA_PORT to system:IPA_CODEC_PT. 03:15:12.113888 6 - Port IPA_PORT was started. 03:15:12.113899 6 - Port CFG_PORT was started. 03:15:12.113902 6 - Port IPA_CTRL_PORT was started. 03:15:12.113905 6 - Port IPA_RSPRO_PORT was started. 03:15:12.113908 6 - Port IPA_SP_PORT was started. 03:15:12.113912 6 - Component type IPA_Emulation.IPA_Emulation_CT was initialized. 03:15:12.113927 6 - Port IPA_PORT was mapped to system:IPA_CODEC_PT. 03:15:12.113942 mtc REMSIM_Tests.ttcn:69 Map operation of RSPRO1(6):IPA_PORT to system:IPA_CODEC_PT finished. 03:15:12.113949 mtc REMSIM_Tests.ttcn:70 Connecting ports RSPRO1(6):IPA_RSPRO_PORT and mtc:RSPRO[1]. 03:15:12.114009 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. 03:15:12.114025 6 - Port IPA_RSPRO_PORT has established the connection with mtc:RSPRO[1] using transport type UNIX. 03:15:12.114039 mtc REMSIM_Tests.ttcn:70 Port RSPRO[1] has accepted the connection from RSPRO1(6):IPA_RSPRO_PORT. 03:15:12.114046 mtc REMSIM_Tests.ttcn:70 Connect operation on RSPRO1(6):IPA_RSPRO_PORT and mtc:RSPRO[1] finished. 03:15:12.114051 mtc REMSIM_Tests.ttcn:72 Starting function main_client("172.18.228.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). 03:15:12.114069 mtc REMSIM_Tests.ttcn:72 Function was started. 03:15:12.114074 mtc REMSIM_Tests.ttcn:74 Start timer T: 4 s 03:15:12.114117 6 - Starting function main_client("172.18.228.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). 03:15:12.114215 6 IPA_Emulation.ttcnpp:309 entering f__IPL4__PROVIDER__connect: :10001 -> 172.18.228.20:9998 / TCP 03:15:12.114609 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 03:15:12.114666 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '06'O 03:15:12.114739 6 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 03:15:12.114780 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 } 03:15:12.114820 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 } 03:15:12.114860 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE06'O 03:15:12.114888 6 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE06'O } 03:15:12.115049 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 } 03:15:12.115080 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 03:15:12.115092 mtc REMSIM_Tests.ttcn:76 Matching on port RSPRO[1] succeeded: matched 03:15:12.115098 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 03:15:12.115103 mtc REMSIM_Tests.ttcn:76 Message with id 1 was extracted from the queue of RSPRO[1]. 03:15:12.115107 mtc REMSIM_Tests.ttcn:82 Warning: Re-starting timer T, which is already active (running or expired). 03:15:12.115114 mtc REMSIM_Tests.ttcn:82 Start timer T: 4 s 03:15:12.115323 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.228.20", remPort := 9998, locName := "172.18.228.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0001FE06'O } id 1 03:15:12.115337 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE06'O 03:15:12.115376 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 } 03:15:12.115387 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 1 03:15:12.115396 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.228.20", remPort := 9998, locName := "172.18.228.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0001FE00'O } id 2 03:15:12.115401 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE00'O 03:15:12.115405 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 } 03:15:12.115414 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 2 03:15:12.115437 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 03:15:12.115448 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 1 03:15:12.115454 6 IPA_Emulation.ttcnpp:737 Message with id 1 was extracted from the queue of IPA_PORT. 03:15:12.115459 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '06'O 03:15:12.115480 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 03:15:12.115485 6 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 03:15:12.115500 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 } 03:15:12.115509 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 03:15:12.115511 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 03:15:12.115513 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 2 03:15:12.115517 mtc REMSIM_Tests.ttcn:84 Matching on port RSPRO[1] succeeded: matched 03:15:12.115518 6 IPA_Emulation.ttcnpp:737 Message with id 2 was extracted from the queue of IPA_PORT. 03:15:12.115522 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '00'O 03:15:12.115522 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 03:15:12.115527 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PING (0), u := omit } 03:15:12.115527 mtc REMSIM_Tests.ttcn:84 Message with id 2 was extracted from the queue of RSPRO[1]. 03:15:12.115532 6 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_PING (0), u := omit } 03:15:12.115533 mtc REMSIM_Tests.ttcn:92 Altstep as_ignore_id_ack was activated as default, id 3 03:15:12.115538 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PONG (1), u := omit } 03:15:12.115544 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '01'O 03:15:12.115549 6 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_PONG (1), u := omit } 03:15:12.115556 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 } 03:15:12.115561 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 } 03:15:12.115567 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE01'O 03:15:12.115572 6 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE01'O } 03:15:12.115582 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 } } } } 03:15:12.115598 mtc REMSIM_Tests.ttcn:109 Start timer T: 10 s 03:15:12.115749 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 03:15:12.115834 6 IPA_Emulation.ttcnpp:896 Matching on port IPA_RSPRO_PORT succeeded: matched 03:15:12.115843 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 03:15:12.115850 6 IPA_Emulation.ttcnpp:896 Message with id 1 was extracted from the queue of IPA_RSPRO_PORT. 03:15:12.116048 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 } 03:15:12.116057 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 } 03:15:12.116069 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O 03:15:12.116078 6 IPA_Emulation.ttcnpp:899 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 03:15:12.158544 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.228.20", remPort := 9998, locName := "172.18.228.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0042EE07303F80010281020926A236A334302F0A0101160C353263333062643331306462800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0106'O } id 3 03:15:12.158625 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0042EE07303F80010281020926A236A334302F0A0101160C353263333062643331306462800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0106'O 03:15:12.158650 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 := '303F80010281020926A236A334302F0A0101160C353263333062643331306462800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0106'O } 03:15:12.158662 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 := '303F80010281020926A236A334302F0A0101160C353263333062643331306462800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0106'O } id 3 03:15:12.158726 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: 03:15:12.158741 6 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT succeeded: matched 03:15:12.158748 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 := '303F80010281020926A236A334302F0A0101160C353263333062643331306462800D72656D73696D2D736572766572810D312E302E302E36322D356238610A0106'O } id 3 03:15:12.158754 6 IPA_Emulation.ttcnpp:753 Message with id 3 was extracted from the queue of IPA_PORT. 03:15:12.158941 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 := "52c30bd310db", software := "remsim-server", swVersion := "1.0.0.62-5b8a", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } 03:15:12.159019 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 := "52c30bd310db", software := "remsim-server", swVersion := "1.0.0.62-5b8a", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } id 3 03:15:12.159054 mtc REMSIM_Tests.ttcn:111 Matching on port RSPRO[1] succeeded: matched 03:15:12.159063 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 := "52c30bd310db", software := "remsim-server", swVersion := "1.0.0.62-5b8a", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } id 3 03:15:12.159072 mtc REMSIM_Tests.ttcn:111 Message with id 3 was extracted from the queue of RSPRO[1]. 03:15:12.159077 mtc REMSIM_Tests.ttcn:112 setverdict(pass): pass -> pass, component reason not changed 03:15:12.159107 mtc REMSIM_Tests.ttcn:133 Start timer T: 10 s 03:15:13.159735 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @Socket_API_Definitions.PortEvent : { connClosed := { connId := 1, remName := "172.18.228.20", remPort := 9998, locName := "172.18.228.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } id 4 03:15:13.159880 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. 03:15:13.159888 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. 03:15:13.159919 6 IPA_Emulation.ttcnpp:822 Matching on port IPA_PORT { connClosed := { connId := 1, remName := "172.18.228.20", remPort := 9998, locName := "172.18.228.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } with { connOpened := ? } unmatched: First message in the queue does not match the template: 03:15:13.159938 6 IPA_Emulation.ttcnpp:839 Matching on port IPA_PORT succeeded: matched 03:15:13.159944 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.228.20", remPort := 9998, locName := "172.18.228.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } id 4 03:15:13.159953 6 IPA_Emulation.ttcnpp:839 Message with id 4 was extracted from the queue of IPA_PORT. 03:15:13.159959 6 IPA_Emulation.ttcnpp:840 IPA: Closed 03:15:13.159982 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 } 03:15:13.160012 6 IPA_Emulation.ttcnpp:844 Stopping test component execution. 03:15:13.160027 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 03:15:13.160058 mtc REMSIM_Tests.ttcn:135 Matching on port RSPRO[1] succeeded: matched 03:15:13.160070 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 03:15:13.160076 mtc REMSIM_Tests.ttcn:135 Message with id 4 was extracted from the queue of RSPRO[1]. 03:15:13.160082 mtc REMSIM_Tests.ttcn:136 setverdict(pass): pass -> pass, component reason not changed 03:15:13.160135 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.228.20", portnumber := 9997, use_ssl := false } 03:15:13.160141 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 03:15:13.160148 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.228.20/9997, localAddr: UNSPEC/UNSPEC) called 03:15:13.160161 6 - Function main_client was stopped. PTC terminates. 03:15:13.160174 6 - Terminating component type IPA_Emulation.IPA_Emulation_CT. 03:15:13.160179 6 - Removing unterminated mapping between port IPA_PORT and system:IPA_CODEC_PT. 03:15:13.160179 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 03:15:13.160188 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 03:15:13.160189 6 - Port IPA_PORT was unmapped from system:IPA_CODEC_PT. 03:15:13.160194 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 03:15:13.160195 6 - Port IPA_PORT was stopped. 03:15:13.160200 6 - Port CFG_PORT was stopped. 03:15:13.160203 6 - Port IPA_CTRL_PORT was stopped. 03:15:13.160206 6 - Removing unterminated connection between port IPA_RSPRO_PORT and mtc:RSPRO[1]. 03:15:13.160215 6 - Port IPA_RSPRO_PORT was stopped. 03:15:13.160219 6 - Port IPA_SP_PORT was stopped. 03:15:13.160221 6 - Component type IPA_Emulation.IPA_Emulation_CT was shut down inside testcase TC_connect_client_duplicate. 03:15:13.160227 6 - Final verdict of PTC: none 03:15:13.160240 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.228.10/33880 -> 172.18.228.20/9997 03:15:13.160246 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.228.20 service 9997 via address family IPv4 03:15:13.160251 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 03:15:13.160255 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 03:15:13.160259 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 03:15:13.160262 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 03:15:13.160267 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 03:15:13.160275 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 03:15:13.160281 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 03:15:13.160287 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 03:15:13.160293 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 03:15:13.160301 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 7 03:15:13.160308 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 03:15:13.160313 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 03:15:13.160320 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 03:15:13.160331 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 03:15:13.160338 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 7 03:15:13.160345 mtc HTTP_Adapter.ttcn:194 Message with id 7 was extracted from the queue of HTTP. 03:15:13.160366 6 - Disconnected from MC. 03:15:13.160369 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.228.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 03:15:13.160376 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 03:15:13.160383 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering Abstract_Socket::send_outgoing() 03:15:13.160386 6 - TTCN-3 Parallel Test Component finished. 03:15:13.160387 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 32 38 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 0d 0a 03:15:13.160409 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 03:15:13.160414 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 03:15:13.160432 mtc HTTP_Adapter.ttcn:220 Abstract socket: Nr of bytes sent = 98 03:15:13.160438 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving Abstract_Socket::send_outgoing() 03:15:13.160444 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 03:15:13.160451 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 03:15:13.160467 mtc HTTP_Adapter.ttcn:235 Connection of port RSPRO[1] to RSPRO1(6):IPA_RSPRO_PORT was closed unexpectedly by the peer. 03:15:13.160473 mtc HTTP_Adapter.ttcn:235 Port RSPRO[1] was disconnected from RSPRO1(6):IPA_RSPRO_PORT. 03:15:13.160569 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 03:15:13.160574 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 03:15:13.160578 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 03:15:13.160581 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 03:15:13.160585 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 03:15:13.160596 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.228.10/33880 03:15:13.160600 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 75 6e 2c 20 31 37 20 4e 6f 76 20 32 30 32 34 20 30 33 3a 31 35 3a 31 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 03:15:13.160623 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 03:15:13.160627 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 287 03:15:13.160631 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 03:15:13.160636 mtc HTTP_Adapter.ttcn:235 DECODER: 03:15:13.160640 mtc HTTP_Adapter.ttcn:235 method_name: 03:15:13.160647 mtc HTTP_Adapter.ttcn:235 Decoding the headers 03:15:13.160651 mtc HTTP_Adapter.ttcn:235 +Header line: 03:15:13.160656 mtc HTTP_Adapter.ttcn:235 +Header line: 03:15:13.160660 mtc HTTP_Adapter.ttcn:235 +Header line: 03:15:13.160665 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 03:15:13.160668 mtc HTTP_Adapter.ttcn:235 Decoding body, buffer length: 178 03:15:13.160672 mtc HTTP_Adapter.ttcn:235 lengthof body: 178, content_length given: 178 03:15:13.160676 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 03:15:13.160680 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 03:15:13.160692 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 := "Sun, 17 Nov 2024 03:15:13 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 03:15:13.160701 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 03:15:13.160705 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 03:15:13.160708 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 03:15:13.160712 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 03:15:13.160715 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 03:15:13.160722 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 03:15:13.160732 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 := "Sun, 17 Nov 2024 03:15:13 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 03:15:13.160738 mtc HTTP_Adapter.ttcn:236 Message with id 8 was extracted from the queue of HTTP. 03:15:13.160742 mtc HTTP_Adapter.ttcn:237 setverdict(pass): pass -> pass, component reason not changed 03:15:13.160754 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 03:15:13.160758 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 03:15:13.160762 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 03:15:13.160766 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 03:15:13.160769 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 03:15:13.160773 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 03:15:13.160791 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 03:15:13.160795 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 03:15:13.160799 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 03:15:13.160803 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 03:15:13.160807 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 03:15:13.160811 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 03:15:13.160815 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 03:15:13.160828 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 03:15:13.160832 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 03:15:13.160835 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 03:15:13.160839 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 03:15:13.160843 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 03:15:13.160849 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\"}}]}") 03:15:13.160902 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 } 03:15:13.160922 mtc RemsimServer_Tests.ttcn:177 setverdict(pass): pass -> pass, component reason not changed 03:15:13.160927 mtc RemsimServer_Tests.ttcn:177 Terminating component type RemsimServer_Tests.test_CT. 03:15:13.160933 mtc RemsimServer_Tests.ttcn:177 Default with id 1 (altstep as_Tguard) was deactivated. 03:15:13.160939 mtc RemsimServer_Tests.ttcn:177 Default with id 2 (altstep as_ignore_id_ack) was deactivated. 03:15:13.160944 mtc RemsimServer_Tests.ttcn:177 Default with id 3 (altstep as_ignore_id_ack) was deactivated. 03:15:13.160949 mtc RemsimServer_Tests.ttcn:177 Stop timer g_T_guard: 60 s 03:15:13.160958 mtc RemsimServer_Tests.ttcn:177 Removing unterminated mapping between port HTTP and system:HTTP. 03:15:13.160964 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering HTTPmsg__PT::user_unmap(HTTP) 03:15:13.160970 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering Abstract_Socket::unmap_user() 03:15:13.160975 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering Abstract_Socket::remove_all_clients 03:15:13.160978 mtc RemsimServer_Tests.ttcn:177 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 03:15:13.160982 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving Abstract_Socket::remove_all_clients 03:15:13.160985 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving Abstract_Socket::unmap_user() 03:15:13.160989 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving HTTPmsg__PT::user_unmap() 03:15:13.160992 mtc RemsimServer_Tests.ttcn:177 Port HTTP was unmapped from system:HTTP. 03:15:13.160997 mtc RemsimServer_Tests.ttcn:177 Port HTTP was stopped. 03:15:13.161001 mtc RemsimServer_Tests.ttcn:177 Removing unterminated connection between port RSPRO[0] and RSPRO0(5):IPA_RSPRO_PORT. 03:15:13.161017 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[0] was stopped. 03:15:13.161023 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[1] was stopped. 03:15:13.161027 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[2] was stopped. 03:15:13.161030 mtc RemsimServer_Tests.ttcn:177 Component type RemsimServer_Tests.test_CT was shut down inside testcase TC_connect_client_duplicate. 03:15:13.161034 5 IPA_Emulation.ttcnpp:735 Connection of port IPA_RSPRO_PORT to mtc:RSPRO[0] was closed unexpectedly by the peer. 03:15:13.161036 mtc RemsimServer_Tests.ttcn:177 Waiting for PTCs to finish. 03:15:13.161178 5 IPA_Emulation.ttcnpp:735 Port IPA_RSPRO_PORT was disconnected from mtc:RSPRO[0]. 03:15:13.161225 5 IPA_Emulation.ttcnpp:735 Kill was requested from MC. 03:15:13.161237 5 IPA_Emulation.ttcnpp:735 Terminating test component execution. 03:15:13.161410 5 - Function main_client was stopped. PTC terminates. 03:15:13.161434 5 - Terminating component type IPA_Emulation.IPA_Emulation_CT. 03:15:13.161444 5 - Removing unterminated mapping between port IPA_PORT and system:IPA_CODEC_PT. 03:15:13.161568 5 - Port IPA_PORT was unmapped from system:IPA_CODEC_PT. 03:15:13.161588 5 - Port IPA_PORT was stopped. 03:15:13.161598 5 - Port CFG_PORT was stopped. 03:15:13.161613 5 - Port IPA_CTRL_PORT was stopped. 03:15:13.161621 5 - Port IPA_RSPRO_PORT was stopped. 03:15:13.161644 5 - Port IPA_SP_PORT was stopped. 03:15:13.161653 5 - Component type IPA_Emulation.IPA_Emulation_CT was shut down inside testcase TC_connect_client_duplicate. 03:15:13.161660 5 - Final verdict of PTC: none 03:15:13.161740 5 - Disconnected from MC. 03:15:13.161745 5 - TTCN-3 Parallel Test Component finished. 03:15:13.161749 mtc RemsimServer_Tests.ttcn:177 Setting final verdict of the test case. 03:15:13.161771 mtc RemsimServer_Tests.ttcn:177 Local verdict of MTC: pass 03:15:13.161779 mtc RemsimServer_Tests.ttcn:177 Local verdict of PTC RSPRO0(5): none (pass -> pass) 03:15:13.161786 mtc RemsimServer_Tests.ttcn:177 Local verdict of PTC RSPRO1(6): none (pass -> pass) 03:15:13.161792 mtc RemsimServer_Tests.ttcn:177 Test case TC_connect_client_duplicate finished. Verdict: pass 03:15:13.161800 mtc RemsimServer_Tests.ttcn:177 Starting external command `../ttcn3-tcpdump-stop.sh RemsimServer_Tests.TC_connect_client_duplicate pass'. 03:15:15.169758 mtc RemsimServer_Tests.ttcn:177 External command `../ttcn3-tcpdump-stop.sh RemsimServer_Tests.TC_connect_client_duplicate pass' was executed successfully (exit status: 0). 03:15:15.169809 mtc RemsimServer_Tests.ttcn:180 Switching to log file `REMSIM_Tests-TC_connect_bank-f1298f321f5e-mtc.log'