05:14:01.473935 mtc RemsimServer_Tests.ttcn:143 Starting external command `../ttcn3-tcpdump-start.sh RemsimServer_Tests.TC_connect_client_duplicate'. 05:14:02.490066 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:02.490136 mtc RemsimServer_Tests.ttcn:143 Test case TC_connect_client_duplicate started. 05:14:02.490154 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:02.490192 mtc RemsimServer_Tests.ttcn:143 Port HTTP was started. 05:14:02.490206 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[0] was started. 05:14:02.490215 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[1] was started. 05:14:02.490223 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[2] was started. 05:14:02.490231 mtc RemsimServer_Tests.ttcn:143 Component type RemsimServer_Tests.test_CT was initialized. 05:14:02.490255 mtc RemsimServer_Tests.ttcn:94 Start timer g_T_guard: 60 s 05:14:02.490271 mtc RemsimServer_Tests.ttcn:95 Altstep as_Tguard was activated as default, id 1 05:14:02.490287 mtc HTTP_Adapter.ttcn:32 Mapping port mtc:HTTP to system:HTTP. 05:14:02.490512 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering HTTPmsg__PT::set_parameter(http_debugging, yes) 05:14:02.490592 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering SSL_Socket::parameter_set(http_debugging, yes) 05:14:02.490623 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving SSL_Socket::parameter_set(http_debugging, yes) 05:14:02.490647 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering Abstract_Socket::parameter_set(http_debugging, yes) 05:14:02.490672 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving Abstract_Socket::parameter_set(http_debugging, yes) 05:14:02.490699 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving HTTPmsg__PT::set_parameter(http_debugging, yes) 05:14:02.490729 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering HTTPmsg__PT::set_parameter(use_notification_ASPs, yes) 05:14:02.490757 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving HTTPmsg__PT::set_parameter(use_notification_ASPs, yes) 05:14:02.490787 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering HTTPmsg__PT::user_map(HTTP) 05:14:02.490819 mtc HTTP_Adapter.ttcn:32 Abstract socket: entering Abstract_Socket::map_user() 05:14:02.490851 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving Abstract_Socket::map_user() 05:14:02.490880 mtc HTTP_Adapter.ttcn:32 Abstract socket: leaving HTTPmsg__PT::user_map() 05:14:02.490909 mtc HTTP_Adapter.ttcn:32 Port HTTP was mapped to system:HTTP. 05:14:02.491106 mtc HTTP_Adapter.ttcn:32 Map operation of mtc:HTTP to system:HTTP finished. 05:14:02.491220 mtc HTTP_Adapter.ttcn:190 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.234.20", portnumber := 9997, use_ssl := false } 05:14:02.491264 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 05:14:02.491302 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.234.20/9997, localAddr: UNSPEC/UNSPEC) called 05:14:02.491409 mtc HTTP_Adapter.ttcn:190 Abstract socket: Number of remote addresses: 1 05:14:02.491453 mtc HTTP_Adapter.ttcn:190 Abstract socket: Using address family for socket 8: IPv4 05:14:02.491481 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 05:14:02.491623 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connection established (addr): 172.18.234.10/57474 -> 172.18.234.20/9997 05:14:02.491658 mtc HTTP_Adapter.ttcn:190 Abstract socket: connected to: host 172.18.234.20 service 9997 via address family IPv4 05:14:02.491682 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 05:14:02.491703 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:02.491722 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:02.491742 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 05:14:02.491762 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 05:14:02.491836 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 05:14:02.491864 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 05:14:02.491874 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 05:14:02.491883 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 05:14:02.491897 mtc HTTP_Adapter.ttcn:190 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 1 05:14:02.491910 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 05:14:02.491919 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 05:14:02.491932 mtc HTTP_Adapter.ttcn:191 Start timer T: 2 s 05:14:02.491947 mtc HTTP_Adapter.ttcn:193 Matching on port HTTP succeeded: matched 05:14:02.491959 mtc HTTP_Adapter.ttcn:193 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 1 05:14:02.491971 mtc HTTP_Adapter.ttcn:193 Message with id 1 was extracted from the queue of HTTP. 05:14:02.492022 mtc HTTP_Adapter.ttcn:210 Sent on HTTP to system @HTTPmsg_Types.HTTPMessage : { request := { client_id := 8, method := "POST", uri := "/api/backend/v1/global-reset", version_major := 1, version_minor := 1, header := { { header_name := "Host", header_value := "172.18.234.20:9997" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } 05:14:02.492035 mtc HTTP_Adapter.ttcn:210 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:02.492048 mtc HTTP_Adapter.ttcn:210 Abstract socket: entering Abstract_Socket::send_outgoing() 05:14:02.492056 mtc HTTP_Adapter.ttcn:210 Abstract socket: Sending data: Size: 123, Msg: 50 4f 53 54 20 2f 61 70 69 2f 62 61 63 6b 65 6e 64 2f 76 31 2f 67 6c 6f 62 61 6c 2d 72 65 73 65 74 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 74 3a 20 31 37 32 2e 31 38 2e 32 33 34 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:02.492085 mtc HTTP_Adapter.ttcn:210 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 05:14:02.492094 mtc HTTP_Adapter.ttcn:210 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 05:14:02.492136 mtc HTTP_Adapter.ttcn:210 Abstract socket: Nr of bytes sent = 123 05:14:02.492144 mtc HTTP_Adapter.ttcn:210 Abstract socket: leaving Abstract_Socket::send_outgoing() 05:14:02.492152 mtc HTTP_Adapter.ttcn:210 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:02.492164 mtc HTTP_Adapter.ttcn:233 Start timer T: 2 s 05:14:02.492234 mtc HTTP_Adapter.ttcn:234 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 05:14:02.492244 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 05:14:02.492252 mtc HTTP_Adapter.ttcn:234 Abstract socket: receiving data 05:14:02.492260 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 05:14:02.492268 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 05:14:02.492287 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received from address (addr) 172.18.234.10/57474 05:14:02.492296 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received, buffer content: Size: 75, Msg: 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 44 61 74 65 3a 20 53 75 6e 2c 20 32 33 20 4a 75 6e 20 32 30 32 34 20 30 35 3a 31 34 3a 30 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 05:14:02.492320 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::message_incoming() 05:14:02.492334 mtc HTTP_Adapter.ttcn:234 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 75 05:14:02.492344 mtc HTTP_Adapter.ttcn:234 starting f_HTTP_decodeCommon 05:14:02.492353 mtc HTTP_Adapter.ttcn:234 DECODER: 05:14:02.492362 mtc HTTP_Adapter.ttcn:234 method_name: 05:14:02.492374 mtc HTTP_Adapter.ttcn:234 Decoding the headers 05:14:02.492383 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:02.492395 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:02.492405 mtc HTTP_Adapter.ttcn:234 Headers decoded. Valid headers. 05:14:02.492413 mtc HTTP_Adapter.ttcn:234 lengthof body: 0, content_length given: 0 05:14:02.492421 mtc HTTP_Adapter.ttcn:234 Message successfully decoded 05:14:02.492430 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, before calling incoming_message 05:14:02.492445 mtc HTTP_Adapter.ttcn:234 Message enqueued on HTTP from system @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Sun, 23 Jun 2024 05:14:02 GMT" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } id 2 05:14:02.492457 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, after calling incoming_message 05:14:02.492465 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::message_incoming() 05:14:02.492473 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::handle_message() 05:14:02.492480 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 05:14:02.492488 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 05:14:02.492500 mtc HTTP_Adapter.ttcn:235 Matching on port HTTP succeeded: matched 05:14:02.492513 mtc HTTP_Adapter.ttcn:235 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Sun, 23 Jun 2024 05:14:02 GMT" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } id 2 05:14:02.492524 mtc HTTP_Adapter.ttcn:235 Message with id 2 was extracted from the queue of HTTP. 05:14:02.492533 mtc HTTP_Adapter.ttcn:236 setverdict(pass): none -> pass 05:14:02.492552 mtc HTTP_Adapter.ttcn:251 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 05:14:02.492561 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 05:14:02.492569 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_all_clients 05:14:02.492576 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 05:14:02.492584 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 05:14:02.492592 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_client(8) 05:14:02.492603 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 05:14:02.492611 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 05:14:02.492619 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 05:14:02.492627 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:02.492635 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:02.492642 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 05:14:02.492650 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 05:14:02.492674 mtc HTTP_Adapter.ttcn:251 Abstract socket: Removed client 8. 05:14:02.492682 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_client(8) 05:14:02.492694 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 05:14:02.492702 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_all_clients 05:14:02.492710 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 05:14:02.492724 mtc REMSIM_Tests.ttcn:59 Creating new PTC with component type IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. 05:14:02.494766 5 - Warning: A plug-in from the same path `libjunitlogger2' is already active, skipping plug-in 05:14:02.494830 5 - TTCN-3 Parallel Test Component started on c7750d5a4389. Component reference: RSPRO0(5), component type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. Version: 9.0.0. 05:14:02.494847 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:02.494882 5 - Connected to MC. 05:14:02.494891 5 - Initializing variables, timers and ports of component type IPA_Emulation.IPA_Emulation_CT inside testcase TC_connect_client_duplicate. 05:14:02.494946 mtc REMSIM_Tests.ttcn:59 PTC was created. Component reference: 5, alive: no, type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. 05:14:02.494979 mtc REMSIM_Tests.ttcn:69 Mapping port RSPRO0(5):IPA_PORT to system:IPA_CODEC_PT. 05:14:02.495711 5 - Port IPA_PORT was started. 05:14:02.495730 5 - Port CFG_PORT was started. 05:14:02.495737 5 - Port IPA_CTRL_PORT was started. 05:14:02.495743 5 - Port IPA_RSPRO_PORT was started. 05:14:02.495748 5 - Port IPA_SP_PORT was started. 05:14:02.495754 5 - Component type IPA_Emulation.IPA_Emulation_CT was initialized. 05:14:02.495783 5 - Port IPA_PORT was mapped to system:IPA_CODEC_PT. 05:14:02.495816 mtc REMSIM_Tests.ttcn:69 Map operation of RSPRO0(5):IPA_PORT to system:IPA_CODEC_PT finished. 05:14:02.495830 mtc REMSIM_Tests.ttcn:70 Connecting ports RSPRO0(5):IPA_RSPRO_PORT and mtc:RSPRO[0]. 05:14:02.495940 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:02.495971 5 - Port IPA_RSPRO_PORT has established the connection with mtc:RSPRO[0] using transport type UNIX. 05:14:02.495996 mtc REMSIM_Tests.ttcn:70 Port RSPRO[0] has accepted the connection from RSPRO0(5):IPA_RSPRO_PORT. 05:14:02.496015 mtc REMSIM_Tests.ttcn:70 Connect operation on RSPRO0(5):IPA_RSPRO_PORT and mtc:RSPRO[0] finished. 05:14:02.496025 mtc REMSIM_Tests.ttcn:72 Starting function main_client("172.18.234.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:02.496065 mtc REMSIM_Tests.ttcn:72 Function was started. 05:14:02.496073 mtc REMSIM_Tests.ttcn:74 Start timer T: 4 s 05:14:02.496152 5 - Starting function main_client("172.18.234.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:02.496328 5 IPA_Emulation.ttcnpp:309 entering f__IPL4__PROVIDER__connect: :10000 -> 172.18.234.20:9998 / TCP 05:14:02.497050 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:02.497150 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '06'O 05:14:02.497295 5 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 05:14:02.497375 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:02.497459 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:02.497543 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE06'O 05:14:02.497599 5 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE06'O } 05:14:02.497873 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:02.497936 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:02.497953 mtc REMSIM_Tests.ttcn:76 Matching on port RSPRO[0] succeeded: matched 05:14:02.497965 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:02.497977 mtc REMSIM_Tests.ttcn:76 Message with id 1 was extracted from the queue of RSPRO[0]. 05:14:02.497986 mtc REMSIM_Tests.ttcn:82 Warning: Re-starting timer T, which is already active (running or expired). 05:14:02.497999 mtc REMSIM_Tests.ttcn:82 Start timer T: 4 s 05:14:02.498504 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.234.20", remPort := 9998, locName := "172.18.234.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0001FE00'O } id 1 05:14:02.498538 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE00'O 05:14:02.498631 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:02.498656 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:02.498678 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.234.20", remPort := 9998, locName := "172.18.234.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0001FE06'O } id 2 05:14:02.498690 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE06'O 05:14:02.498702 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:02.498725 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:02.498780 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 05:14:02.498802 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:02.498816 5 IPA_Emulation.ttcnpp:737 Message with id 1 was extracted from the queue of IPA_PORT. 05:14:02.498829 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '00'O 05:14:02.498876 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:02.498889 5 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_PING (0), u := omit } 05:14:02.498922 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:02.498935 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '01'O 05:14:02.498948 5 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_PONG (1), u := omit } 05:14:02.498968 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:02.498981 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:02.498996 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE01'O 05:14:02.499008 5 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE01'O } 05:14:02.499044 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 05:14:02.499056 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:02.499067 5 IPA_Emulation.ttcnpp:737 Message with id 2 was extracted from the queue of IPA_PORT. 05:14:02.499077 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '06'O 05:14:02.499087 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:02.499096 5 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 05:14:02.499118 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:02.499143 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:02.499159 mtc REMSIM_Tests.ttcn:84 Matching on port RSPRO[0] succeeded: matched 05:14:02.499171 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:02.499181 mtc REMSIM_Tests.ttcn:84 Message with id 2 was extracted from the queue of RSPRO[0]. 05:14:02.499192 mtc REMSIM_Tests.ttcn:92 Altstep as_ignore_id_ack was activated as default, id 2 05:14:02.499245 mtc HTTP_Adapter.ttcn:190 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.234.20", portnumber := 9997, use_ssl := false } 05:14:02.499258 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 05:14:02.499272 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.234.20/9997, localAddr: UNSPEC/UNSPEC) called 05:14:02.499344 mtc HTTP_Adapter.ttcn:190 Abstract socket: Number of remote addresses: 1 05:14:02.499362 mtc HTTP_Adapter.ttcn:190 Abstract socket: Using address family for socket 8: IPv4 05:14:02.499374 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 05:14:02.499455 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connection established (addr): 172.18.234.10/57478 -> 172.18.234.20/9997 05:14:02.499467 mtc HTTP_Adapter.ttcn:190 Abstract socket: connected to: host 172.18.234.20 service 9997 via address family IPv4 05:14:02.499489 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 05:14:02.499499 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:02.499509 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:02.499519 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 05:14:02.499529 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 05:14:02.499543 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 05:14:02.499554 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 05:14:02.499563 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 05:14:02.499574 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 05:14:02.499586 mtc HTTP_Adapter.ttcn:190 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 3 05:14:02.499600 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 05:14:02.499610 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 05:14:02.499622 mtc HTTP_Adapter.ttcn:191 Start timer T: 2 s 05:14:02.499636 mtc HTTP_Adapter.ttcn:193 Matching on port HTTP succeeded: matched 05:14:02.499649 mtc HTTP_Adapter.ttcn:193 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 3 05:14:02.499665 mtc HTTP_Adapter.ttcn:193 Message with id 3 was extracted from the queue of HTTP. 05:14:02.499707 mtc HTTP_Adapter.ttcn:219 Sent on HTTP to system @HTTPmsg_Types.HTTPMessage : { request := { client_id := 8, method := "GET", uri := "/api/backend/v1/clients", version_major := 1, version_minor := 1, header := { { header_name := "Host", header_value := "172.18.234.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 05:14:02.499721 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:02.499735 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering Abstract_Socket::send_outgoing() 05:14:02.499745 mtc HTTP_Adapter.ttcn:219 Abstract socket: Sending data: Size: 98, Msg: 47 45 54 20 2f 61 70 69 2f 62 61 63 6b 65 6e 64 2f 76 31 2f 63 6c 69 65 6e 74 73 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 74 3a 20 31 37 32 2e 31 38 2e 32 33 34 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:02.499776 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 05:14:02.499786 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 05:14:02.499817 mtc HTTP_Adapter.ttcn:219 Abstract socket: Nr of bytes sent = 98 05:14:02.499827 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving Abstract_Socket::send_outgoing() 05:14:02.499837 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:02.499849 mtc HTTP_Adapter.ttcn:233 Start timer T: 2 s 05:14:02.499891 mtc HTTP_Adapter.ttcn:234 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 05:14:02.499902 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 05:14:02.499912 mtc HTTP_Adapter.ttcn:234 Abstract socket: receiving data 05:14:02.499921 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 05:14:02.499930 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 05:14:02.499953 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received from address (addr) 172.18.234.10/57478 05:14:02.499968 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received, buffer content: Size: 122, Msg: 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 44 61 74 65 3a 20 53 75 6e 2c 20 32 33 20 4a 75 6e 20 32 30 32 34 20 30 35 3a 31 34 3a 30 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 05:14:02.500001 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::message_incoming() 05:14:02.500011 mtc HTTP_Adapter.ttcn:234 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 122 05:14:02.500022 mtc HTTP_Adapter.ttcn:234 starting f_HTTP_decodeCommon 05:14:02.500032 mtc HTTP_Adapter.ttcn:234 DECODER: 05:14:02.500043 mtc HTTP_Adapter.ttcn:234 method_name: 05:14:02.500056 mtc HTTP_Adapter.ttcn:234 Decoding the headers 05:14:02.500067 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:02.500079 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:02.500090 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:02.500101 mtc HTTP_Adapter.ttcn:234 Headers decoded. Valid headers. 05:14:02.500111 mtc HTTP_Adapter.ttcn:234 Decoding body, buffer length: 14 05:14:02.500120 mtc HTTP_Adapter.ttcn:234 lengthof body: 14, content_length given: 14 05:14:02.500130 mtc HTTP_Adapter.ttcn:234 Message successfully decoded 05:14:02.500142 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, before calling incoming_message 05:14:02.500162 mtc HTTP_Adapter.ttcn:234 Message enqueued on HTTP from system @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Sun, 23 Jun 2024 05:14:02 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "14" } }, body := "{\"clients\":[]}" } } id 4 05:14:02.500177 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, after calling incoming_message 05:14:02.500187 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::message_incoming() 05:14:02.500197 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::handle_message() 05:14:02.500206 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 05:14:02.500215 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 05:14:02.500232 mtc HTTP_Adapter.ttcn:235 Matching on port HTTP succeeded: matched 05:14:02.500249 mtc HTTP_Adapter.ttcn:235 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Sun, 23 Jun 2024 05:14:02 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "14" } }, body := "{\"clients\":[]}" } } id 4 05:14:02.500261 mtc HTTP_Adapter.ttcn:235 Message with id 4 was extracted from the queue of HTTP. 05:14:02.500271 mtc HTTP_Adapter.ttcn:236 setverdict(pass): pass -> pass, component reason not changed 05:14:02.500291 mtc HTTP_Adapter.ttcn:251 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 05:14:02.500301 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 05:14:02.500309 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_all_clients 05:14:02.500318 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 05:14:02.500327 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 05:14:02.500336 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_client(8) 05:14:02.500348 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 05:14:02.500362 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 05:14:02.500370 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 05:14:02.500380 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:02.500389 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:02.500398 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 05:14:02.500406 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 05:14:02.500432 mtc HTTP_Adapter.ttcn:251 Abstract socket: Removed client 8. 05:14:02.500442 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_client(8) 05:14:02.500450 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 05:14:02.500459 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_all_clients 05:14:02.500467 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 05:14:02.500479 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Stream before decoding: '7B22636C69656E7473223A5B5D7D'O ("{\"clients\":[]}") 05:14:02.500506 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Decoded @RSRES.JsRoot: { clients := { }, banks := omit, slotmaps := omit } 05:14:02.500571 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:02.500599 mtc REMSIM_Tests.ttcn:109 Start timer T: 10 s 05:14:02.500929 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:02.501118 5 IPA_Emulation.ttcnpp:896 Matching on port IPA_RSPRO_PORT succeeded: matched 05:14:02.501139 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:02.501155 5 IPA_Emulation.ttcnpp:896 Message with id 1 was extracted from the queue of IPA_RSPRO_PORT. 05:14:02.501583 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:02.501605 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:02.501634 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O 05:14:02.501655 5 IPA_Emulation.ttcnpp:899 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 05:14:02.546482 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.234.20", remPort := 9998, locName := "172.18.234.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0042EE07303F80010281020926A236A334302F0A0101160C623532633238373061396163800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0100'O } id 3 05:14:02.546526 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0042EE07303F80010281020926A236A334302F0A0101160C623532633238373061396163800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0100'O 05:14:02.546567 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 := '303F80010281020926A236A334302F0A0101160C623532633238373061396163800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0100'O } 05:14:02.546593 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 := '303F80010281020926A236A334302F0A0101160C623532633238373061396163800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0100'O } id 3 05:14:02.546672 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:02.546690 5 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT succeeded: matched 05:14:02.546704 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 := '303F80010281020926A236A334302F0A0101160C623532633238373061396163800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0100'O } id 3 05:14:02.546717 5 IPA_Emulation.ttcnpp:753 Message with id 3 was extracted from the queue of IPA_PORT. 05:14:02.547006 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 := "b52c2870a9ac", software := "remsim-server", swVersion := "1.0.0.61-06a1", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } 05:14:02.547121 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 := "b52c2870a9ac", software := "remsim-server", swVersion := "1.0.0.61-06a1", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } id 3 05:14:02.547174 mtc REMSIM_Tests.ttcn:111 Matching on port RSPRO[0] succeeded: matched 05:14:02.547192 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 := "b52c2870a9ac", software := "remsim-server", swVersion := "1.0.0.61-06a1", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } id 3 05:14:02.547206 mtc REMSIM_Tests.ttcn:111 Message with id 3 was extracted from the queue of RSPRO[0]. 05:14:02.547216 mtc REMSIM_Tests.ttcn:112 setverdict(pass): pass -> pass, component reason not changed 05:14:02.547254 mtc HTTP_Adapter.ttcn:190 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.234.20", portnumber := 9997, use_ssl := false } 05:14:02.547266 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 05:14:02.547277 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.234.20/9997, localAddr: UNSPEC/UNSPEC) called 05:14:02.547333 mtc HTTP_Adapter.ttcn:190 Abstract socket: Number of remote addresses: 1 05:14:02.547349 mtc HTTP_Adapter.ttcn:190 Abstract socket: Using address family for socket 8: IPv4 05:14:02.547360 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 05:14:02.547422 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connection established (addr): 172.18.234.10/57480 -> 172.18.234.20/9997 05:14:02.547432 mtc HTTP_Adapter.ttcn:190 Abstract socket: connected to: host 172.18.234.20 service 9997 via address family IPv4 05:14:02.547454 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 05:14:02.547463 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:02.547471 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:02.547480 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 05:14:02.547488 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 05:14:02.547502 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 05:14:02.547511 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 05:14:02.547543 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 05:14:02.547551 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 05:14:02.547562 mtc HTTP_Adapter.ttcn:190 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 5 05:14:02.547573 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 05:14:02.547583 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 05:14:02.547592 mtc HTTP_Adapter.ttcn:191 Start timer T: 2 s 05:14:02.547609 mtc HTTP_Adapter.ttcn:193 Matching on port HTTP succeeded: matched 05:14:02.547619 mtc HTTP_Adapter.ttcn:193 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 5 05:14:02.547630 mtc HTTP_Adapter.ttcn:193 Message with id 5 was extracted from the queue of HTTP. 05:14:02.547667 mtc HTTP_Adapter.ttcn:219 Sent on HTTP to system @HTTPmsg_Types.HTTPMessage : { request := { client_id := 8, method := "GET", uri := "/api/backend/v1/clients", version_major := 1, version_minor := 1, header := { { header_name := "Host", header_value := "172.18.234.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 05:14:02.547679 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:02.547692 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering Abstract_Socket::send_outgoing() 05:14:02.547700 mtc HTTP_Adapter.ttcn:219 Abstract socket: Sending data: Size: 98, Msg: 47 45 54 20 2f 61 70 69 2f 62 61 63 6b 65 6e 64 2f 76 31 2f 63 6c 69 65 6e 74 73 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 74 3a 20 31 37 32 2e 31 38 2e 32 33 34 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:02.547731 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 05:14:02.547740 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 05:14:02.547764 mtc HTTP_Adapter.ttcn:219 Abstract socket: Nr of bytes sent = 98 05:14:02.547773 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving Abstract_Socket::send_outgoing() 05:14:02.547781 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:02.547793 mtc HTTP_Adapter.ttcn:233 Start timer T: 2 s 05:14:02.547911 mtc HTTP_Adapter.ttcn:234 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 05:14:02.547920 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 05:14:02.547929 mtc HTTP_Adapter.ttcn:234 Abstract socket: receiving data 05:14:02.547937 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 05:14:02.547945 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 05:14:02.547960 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received from address (addr) 172.18.234.10/57480 05:14:02.547975 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received, buffer content: Size: 287, Msg: 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 44 61 74 65 3a 20 53 75 6e 2c 20 32 33 20 4a 75 6e 20 32 30 32 34 20 30 35 3a 31 34 3a 30 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:02.548028 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::message_incoming() 05:14:02.548037 mtc HTTP_Adapter.ttcn:234 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 287 05:14:02.548046 mtc HTTP_Adapter.ttcn:234 starting f_HTTP_decodeCommon 05:14:02.548055 mtc HTTP_Adapter.ttcn:234 DECODER: 05:14:02.548065 mtc HTTP_Adapter.ttcn:234 method_name: 05:14:02.548077 mtc HTTP_Adapter.ttcn:234 Decoding the headers 05:14:02.548087 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:02.548097 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:02.548106 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:02.548117 mtc HTTP_Adapter.ttcn:234 Headers decoded. Valid headers. 05:14:02.548125 mtc HTTP_Adapter.ttcn:234 Decoding body, buffer length: 178 05:14:02.548134 mtc HTTP_Adapter.ttcn:234 lengthof body: 178, content_length given: 178 05:14:02.548142 mtc HTTP_Adapter.ttcn:234 Message successfully decoded 05:14:02.548153 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, before calling incoming_message 05:14:02.548177 mtc HTTP_Adapter.ttcn:234 Message enqueued on HTTP from system @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Sun, 23 Jun 2024 05:14:02 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:02.548193 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, after calling incoming_message 05:14:02.548201 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::message_incoming() 05:14:02.548210 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::handle_message() 05:14:02.548217 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 05:14:02.548225 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 05:14:02.548237 mtc HTTP_Adapter.ttcn:235 Matching on port HTTP succeeded: matched 05:14:02.548260 mtc HTTP_Adapter.ttcn:235 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Sun, 23 Jun 2024 05:14:02 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:02.548276 mtc HTTP_Adapter.ttcn:235 Message with id 6 was extracted from the queue of HTTP. 05:14:02.548285 mtc HTTP_Adapter.ttcn:236 setverdict(pass): pass -> pass, component reason not changed 05:14:02.548307 mtc HTTP_Adapter.ttcn:251 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 05:14:02.548320 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 05:14:02.548329 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_all_clients 05:14:02.548337 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 05:14:02.548346 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 05:14:02.548354 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_client(8) 05:14:02.548366 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 05:14:02.548374 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 05:14:02.548382 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 05:14:02.548390 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:02.548398 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:02.548406 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 05:14:02.548416 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 05:14:02.548438 mtc HTTP_Adapter.ttcn:251 Abstract socket: Removed client 8. 05:14:02.548446 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_client(8) 05:14:02.548453 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 05:14:02.548460 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_all_clients 05:14:02.548467 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 05:14:02.548477 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:02.548525 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:02.548556 mtc REMSIM_Tests.ttcn:59 Creating new PTC with component type IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. 05:14:02.550688 6 - Warning: A plug-in from the same path `libjunitlogger2' is already active, skipping plug-in 05:14:02.550756 6 - TTCN-3 Parallel Test Component started on c7750d5a4389. Component reference: RSPRO1(6), component type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. Version: 9.0.0. 05:14:02.550774 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:02.550813 6 - Connected to MC. 05:14:02.550824 6 - Initializing variables, timers and ports of component type IPA_Emulation.IPA_Emulation_CT inside testcase TC_connect_client_duplicate. 05:14:02.550883 mtc REMSIM_Tests.ttcn:59 PTC was created. Component reference: 6, alive: no, type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. 05:14:02.550899 mtc REMSIM_Tests.ttcn:69 Mapping port RSPRO1(6):IPA_PORT to system:IPA_CODEC_PT. 05:14:02.551563 6 - Port IPA_PORT was started. 05:14:02.551584 6 - Port CFG_PORT was started. 05:14:02.551591 6 - Port IPA_CTRL_PORT was started. 05:14:02.551597 6 - Port IPA_RSPRO_PORT was started. 05:14:02.551603 6 - Port IPA_SP_PORT was started. 05:14:02.551609 6 - Component type IPA_Emulation.IPA_Emulation_CT was initialized. 05:14:02.551635 6 - Port IPA_PORT was mapped to system:IPA_CODEC_PT. 05:14:02.551670 mtc REMSIM_Tests.ttcn:69 Map operation of RSPRO1(6):IPA_PORT to system:IPA_CODEC_PT finished. 05:14:02.551681 mtc REMSIM_Tests.ttcn:70 Connecting ports RSPRO1(6):IPA_RSPRO_PORT and mtc:RSPRO[1]. 05:14:02.551786 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:02.551882 6 - Port IPA_RSPRO_PORT has established the connection with mtc:RSPRO[1] using transport type UNIX. 05:14:02.551904 mtc REMSIM_Tests.ttcn:70 Port RSPRO[1] has accepted the connection from RSPRO1(6):IPA_RSPRO_PORT. 05:14:02.551922 mtc REMSIM_Tests.ttcn:70 Connect operation on RSPRO1(6):IPA_RSPRO_PORT and mtc:RSPRO[1] finished. 05:14:02.551932 mtc REMSIM_Tests.ttcn:72 Starting function main_client("172.18.234.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:02.551970 mtc REMSIM_Tests.ttcn:72 Function was started. 05:14:02.551978 mtc REMSIM_Tests.ttcn:74 Start timer T: 4 s 05:14:02.552118 6 - Starting function main_client("172.18.234.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:02.552307 6 IPA_Emulation.ttcnpp:309 entering f__IPL4__PROVIDER__connect: :10001 -> 172.18.234.20:9998 / TCP 05:14:02.552992 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:02.553097 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '06'O 05:14:02.553224 6 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 05:14:02.553301 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:02.553380 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:02.553458 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE06'O 05:14:02.553527 6 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE06'O } 05:14:02.553793 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:02.553850 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:02.553864 mtc REMSIM_Tests.ttcn:76 Matching on port RSPRO[1] succeeded: matched 05:14:02.553873 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:02.553885 mtc REMSIM_Tests.ttcn:76 Message with id 1 was extracted from the queue of RSPRO[1]. 05:14:02.553894 mtc REMSIM_Tests.ttcn:82 Warning: Re-starting timer T, which is already active (running or expired). 05:14:02.553907 mtc REMSIM_Tests.ttcn:82 Start timer T: 4 s 05:14:02.554356 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.234.20", remPort := 9998, locName := "172.18.234.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0001FE00'O } id 1 05:14:02.554386 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE00'O 05:14:02.554469 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:02.554492 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:02.554513 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.234.20", remPort := 9998, locName := "172.18.234.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0001FE06'O } id 2 05:14:02.554525 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE06'O 05:14:02.554537 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:02.554559 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:02.554609 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 05:14:02.554632 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:02.554646 6 IPA_Emulation.ttcnpp:737 Message with id 1 was extracted from the queue of IPA_PORT. 05:14:02.554659 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '00'O 05:14:02.554702 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:02.554714 6 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_PING (0), u := omit } 05:14:02.554750 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:02.554763 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '01'O 05:14:02.554776 6 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_PONG (1), u := omit } 05:14:02.554796 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:02.554810 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:02.554826 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE01'O 05:14:02.554839 6 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE01'O } 05:14:02.554875 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 05:14:02.554887 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:02.554899 6 IPA_Emulation.ttcnpp:737 Message with id 2 was extracted from the queue of IPA_PORT. 05:14:02.554909 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '06'O 05:14:02.554920 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:02.554930 6 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 05:14:02.554954 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:02.554981 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:02.554998 mtc REMSIM_Tests.ttcn:84 Matching on port RSPRO[1] succeeded: matched 05:14:02.555010 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:02.555022 mtc REMSIM_Tests.ttcn:84 Message with id 2 was extracted from the queue of RSPRO[1]. 05:14:02.555033 mtc REMSIM_Tests.ttcn:92 Altstep as_ignore_id_ack was activated as default, id 3 05:14:02.555119 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:02.555149 mtc REMSIM_Tests.ttcn:109 Start timer T: 10 s 05:14:02.555600 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:02.555838 6 IPA_Emulation.ttcnpp:896 Matching on port IPA_RSPRO_PORT succeeded: matched 05:14:02.555869 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:02.555889 6 IPA_Emulation.ttcnpp:896 Message with id 1 was extracted from the queue of IPA_RSPRO_PORT. 05:14:02.556332 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:02.556360 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:02.556392 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O 05:14:02.556417 6 IPA_Emulation.ttcnpp:899 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 05:14:02.598577 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.234.20", remPort := 9998, locName := "172.18.234.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0042EE07303F80010281020926A236A334302F0A0101160C623532633238373061396163800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0106'O } id 3 05:14:02.598633 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0042EE07303F80010281020926A236A334302F0A0101160C623532633238373061396163800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0106'O 05:14:02.598678 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 := '303F80010281020926A236A334302F0A0101160C623532633238373061396163800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0106'O } 05:14:02.598708 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 := '303F80010281020926A236A334302F0A0101160C623532633238373061396163800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0106'O } id 3 05:14:02.598785 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:02.598803 6 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT succeeded: matched 05:14:02.598820 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 := '303F80010281020926A236A334302F0A0101160C623532633238373061396163800D72656D73696D2D736572766572810D312E302E302E36312D303661310A0106'O } id 3 05:14:02.598835 6 IPA_Emulation.ttcnpp:753 Message with id 3 was extracted from the queue of IPA_PORT. 05:14:02.599140 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 := "b52c2870a9ac", software := "remsim-server", swVersion := "1.0.0.61-06a1", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } 05:14:02.599252 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 := "b52c2870a9ac", software := "remsim-server", swVersion := "1.0.0.61-06a1", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } id 3 05:14:02.599301 mtc REMSIM_Tests.ttcn:111 Matching on port RSPRO[1] succeeded: matched 05:14:02.599321 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 := "b52c2870a9ac", software := "remsim-server", swVersion := "1.0.0.61-06a1", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } id 3 05:14:02.599338 mtc REMSIM_Tests.ttcn:111 Message with id 3 was extracted from the queue of RSPRO[1]. 05:14:02.599349 mtc REMSIM_Tests.ttcn:112 setverdict(pass): pass -> pass, component reason not changed 05:14:02.599387 mtc REMSIM_Tests.ttcn:133 Start timer T: 10 s 05:14:03.599939 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @Socket_API_Definitions.PortEvent : { connClosed := { connId := 1, remName := "172.18.234.20", remPort := 9998, locName := "172.18.234.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } id 4 05:14:03.600226 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:03.600246 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:03.600317 6 IPA_Emulation.ttcnpp:822 Matching on port IPA_PORT { connClosed := { connId := 1, remName := "172.18.234.20", remPort := 9998, locName := "172.18.234.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } with { connOpened := ? } unmatched: First message in the queue does not match the template: 05:14:03.600361 6 IPA_Emulation.ttcnpp:839 Matching on port IPA_PORT succeeded: matched 05:14:03.600377 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.234.20", remPort := 9998, locName := "172.18.234.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } id 4 05:14:03.600396 6 IPA_Emulation.ttcnpp:839 Message with id 4 was extracted from the queue of IPA_PORT. 05:14:03.600413 6 IPA_Emulation.ttcnpp:840 IPA: Closed 05:14:03.600456 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:03.600491 6 IPA_Emulation.ttcnpp:844 Stopping test component execution. 05:14:03.600515 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:03.600587 mtc REMSIM_Tests.ttcn:135 Matching on port RSPRO[1] succeeded: matched 05:14:03.600617 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:03.600633 mtc REMSIM_Tests.ttcn:135 Message with id 4 was extracted from the queue of RSPRO[1]. 05:14:03.600647 mtc REMSIM_Tests.ttcn:136 setverdict(pass): pass -> pass, component reason not changed 05:14:03.600694 mtc HTTP_Adapter.ttcn:190 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.234.20", portnumber := 9997, use_ssl := false } 05:14:03.600709 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 05:14:03.600725 6 - Function main_client was stopped. PTC terminates. 05:14:03.600725 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.234.20/9997, localAddr: UNSPEC/UNSPEC) called 05:14:03.600755 6 - Terminating component type IPA_Emulation.IPA_Emulation_CT. 05:14:03.600766 6 - Removing unterminated mapping between port IPA_PORT and system:IPA_CODEC_PT. 05:14:03.600784 6 - Port IPA_PORT was unmapped from system:IPA_CODEC_PT. 05:14:03.600795 mtc HTTP_Adapter.ttcn:190 Abstract socket: Number of remote addresses: 1 05:14:03.600798 6 - Port IPA_PORT was stopped. 05:14:03.600809 6 - Port CFG_PORT was stopped. 05:14:03.600814 mtc HTTP_Adapter.ttcn:190 Abstract socket: Using address family for socket 8: IPv4 05:14:03.600817 6 - Port IPA_CTRL_PORT was stopped. 05:14:03.600826 6 - Removing unterminated connection between port IPA_RSPRO_PORT and mtc:RSPRO[1]. 05:14:03.600829 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 05:14:03.600848 6 - Port IPA_RSPRO_PORT was stopped. 05:14:03.600857 6 - Port IPA_SP_PORT was stopped. 05:14:03.600864 6 - Component type IPA_Emulation.IPA_Emulation_CT was shut down inside testcase TC_connect_client_duplicate. 05:14:03.600877 6 - Final verdict of PTC: none 05:14:03.600915 mtc HTTP_Adapter.ttcn:190 Abstract socket: Connection established (addr): 172.18.234.10/57486 -> 172.18.234.20/9997 05:14:03.600937 mtc HTTP_Adapter.ttcn:190 Abstract socket: connected to: host 172.18.234.20 service 9997 via address family IPv4 05:14:03.600950 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 05:14:03.600960 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:03.600970 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:03.600980 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 05:14:03.600993 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 05:14:03.601008 6 - Disconnected from MC. 05:14:03.601009 mtc HTTP_Adapter.ttcn:190 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 05:14:03.601021 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 05:14:03.601029 6 - TTCN-3 Parallel Test Component finished. 05:14:03.601032 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 05:14:03.601044 mtc HTTP_Adapter.ttcn:190 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 05:14:03.601057 mtc HTTP_Adapter.ttcn:190 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 7 05:14:03.601071 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 05:14:03.601081 mtc HTTP_Adapter.ttcn:190 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 05:14:03.601094 mtc HTTP_Adapter.ttcn:191 Start timer T: 2 s 05:14:03.601112 mtc HTTP_Adapter.ttcn:193 Matching on port HTTP succeeded: matched 05:14:03.601125 mtc HTTP_Adapter.ttcn:193 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 7 05:14:03.601139 mtc HTTP_Adapter.ttcn:193 Message with id 7 was extracted from the queue of HTTP. 05:14:03.601194 mtc HTTP_Adapter.ttcn:219 Sent on HTTP to system @HTTPmsg_Types.HTTPMessage : { request := { client_id := 8, method := "GET", uri := "/api/backend/v1/clients", version_major := 1, version_minor := 1, header := { { header_name := "Host", header_value := "172.18.234.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 05:14:03.601208 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:03.601224 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering Abstract_Socket::send_outgoing() 05:14:03.601235 mtc HTTP_Adapter.ttcn:219 Abstract socket: Sending data: Size: 98, Msg: 47 45 54 20 2f 61 70 69 2f 62 61 63 6b 65 6e 64 2f 76 31 2f 63 6c 69 65 6e 74 73 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 74 3a 20 31 37 32 2e 31 38 2e 32 33 34 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 0d 0a 05:14:03.601275 mtc HTTP_Adapter.ttcn:219 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 05:14:03.601286 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 05:14:03.601320 mtc HTTP_Adapter.ttcn:219 Abstract socket: Nr of bytes sent = 98 05:14:03.601331 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving Abstract_Socket::send_outgoing() 05:14:03.601343 mtc HTTP_Adapter.ttcn:219 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 05:14:03.601359 mtc HTTP_Adapter.ttcn:233 Start timer T: 2 s 05:14:03.601395 mtc HTTP_Adapter.ttcn:234 Connection of port RSPRO[1] to RSPRO1(6):IPA_RSPRO_PORT was closed unexpectedly by the peer. 05:14:03.601409 mtc HTTP_Adapter.ttcn:234 Port RSPRO[1] was disconnected from RSPRO1(6):IPA_RSPRO_PORT. 05:14:03.601550 mtc HTTP_Adapter.ttcn:234 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 05:14:03.601560 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 05:14:03.601570 mtc HTTP_Adapter.ttcn:234 Abstract socket: receiving data 05:14:03.601579 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 05:14:03.601588 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 05:14:03.601609 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received from address (addr) 172.18.234.10/57486 05:14:03.601619 mtc HTTP_Adapter.ttcn:234 Abstract socket: Message received, buffer content: Size: 287, Msg: 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 44 61 74 65 3a 20 53 75 6e 2c 20 32 33 20 4a 75 6e 20 32 30 32 34 20 30 35 3a 31 34 3a 30 33 20 47 4d 54 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 31 37 38 0d 0a 0d 0a 7b 22 63 6c 69 65 6e 74 73 22 3a 5b 7b 22 70 65 65 72 22 3a 22 43 31 33 3a 31 22 2c 22 73 74 61 74 65 22 3a 22 43 4f 4e 4e 45 43 54 45 44 5f 43 4c 49 45 4e 54 22 2c 22 63 6f 6d 70 6f 6e 65 6e 74 5f 69 64 22 3a 7b 22 74 79 70 65 5f 22 3a 22 72 65 6d 73 69 6d 43 6c 69 65 6e 74 22 2c 22 6e 61 6d 65 22 3a 22 66 6f 6f 62 61 72 22 2c 22 73 6f 66 74 77 61 72 65 22 3a 22 54 54 43 4e 33 22 2c 22 73 77 56 65 72 73 69 6f 6e 22 3a 22 30 2e 31 22 2c 22 68 77 4d 61 6e 75 66 61 63 74 75 72 65 72 22 3a 22 73 79 73 6d 6f 63 6f 6d 22 7d 7d 5d 7d 05:14:03.601677 mtc HTTP_Adapter.ttcn:234 Abstract socket: entering HTTPmsg__PT::message_incoming() 05:14:03.601687 mtc HTTP_Adapter.ttcn:234 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 287 05:14:03.601697 mtc HTTP_Adapter.ttcn:234 starting f_HTTP_decodeCommon 05:14:03.601707 mtc HTTP_Adapter.ttcn:234 DECODER: 05:14:03.601719 mtc HTTP_Adapter.ttcn:234 method_name: 05:14:03.601733 mtc HTTP_Adapter.ttcn:234 Decoding the headers 05:14:03.601743 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:03.601755 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:03.601767 mtc HTTP_Adapter.ttcn:234 +Header line: 05:14:03.601780 mtc HTTP_Adapter.ttcn:234 Headers decoded. Valid headers. 05:14:03.601790 mtc HTTP_Adapter.ttcn:234 Decoding body, buffer length: 178 05:14:03.601800 mtc HTTP_Adapter.ttcn:234 lengthof body: 178, content_length given: 178 05:14:03.601812 mtc HTTP_Adapter.ttcn:234 Message successfully decoded 05:14:03.601828 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, before calling incoming_message 05:14:03.601861 mtc HTTP_Adapter.ttcn:234 Message enqueued on HTTP from system @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Sun, 23 Jun 2024 05:14:03 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "178" } }, body := "{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}" } } id 8 05:14:03.601899 mtc HTTP_Adapter.ttcn:234 HTTPmsg__PT::HTTP_decode, after calling incoming_message 05:14:03.601911 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::message_incoming() 05:14:03.601922 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::handle_message() 05:14:03.601932 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 05:14:03.601945 mtc HTTP_Adapter.ttcn:234 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 05:14:03.601974 mtc HTTP_Adapter.ttcn:235 Matching on port HTTP succeeded: matched 05:14:03.602005 mtc HTTP_Adapter.ttcn:235 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.HTTPMessage : { response := { client_id := 8, version_major := 1, version_minor := 1, statuscode := 200, statustext := "OK", header := { { header_name := "Date", header_value := "Sun, 23 Jun 2024 05:14:03 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "178" } }, body := "{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}" } } id 8 05:14:03.602022 mtc HTTP_Adapter.ttcn:235 Message with id 8 was extracted from the queue of HTTP. 05:14:03.602035 mtc HTTP_Adapter.ttcn:236 setverdict(pass): pass -> pass, component reason not changed 05:14:03.602059 mtc HTTP_Adapter.ttcn:251 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 05:14:03.602072 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 05:14:03.602083 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_all_clients 05:14:03.602094 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 05:14:03.602105 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 05:14:03.602116 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering Abstract_Socket::remove_client(8) 05:14:03.602130 mtc HTTP_Adapter.ttcn:251 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 05:14:03.602141 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 05:14:03.602152 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 05:14:03.602163 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 05:14:03.602173 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 05:14:03.602183 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 05:14:03.602194 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 05:14:03.602227 mtc HTTP_Adapter.ttcn:251 Abstract socket: Removed client 8. 05:14:03.602238 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_client(8) 05:14:03.602249 mtc HTTP_Adapter.ttcn:251 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 05:14:03.602259 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving Abstract_Socket::remove_all_clients 05:14:03.602269 mtc HTTP_Adapter.ttcn:251 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 05:14:03.602284 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Stream before decoding: '7B22636C69656E7473223A5B7B2270656572223A224331333A31222C227374617465223A22434F4E4E45435445445F434C49454E54222C22636F6D706F6E656E745F6964223A7B22747970655F223A2272656D73696D436C69656E74222C226E616D65223A22666F6F626172222C22736F667477617265223A225454434E33222C22737756657273696F6E223A22302E31222C2268774D616E756661637475726572223A227379736D6F636F6D227D7D5D7D'O ("{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}") 05:14:03.602383 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Decoded @RSRES.JsRoot: { clients := { { peer := "C13:1", state := CONNECTED_CLIENT (2), component_id := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit } } }, banks := omit, slotmaps := omit } 05:14:03.602427 mtc RemsimServer_Tests.ttcn:177 setverdict(pass): pass -> pass, component reason not changed 05:14:03.602447 mtc RemsimServer_Tests.ttcn:177 Terminating component type RemsimServer_Tests.test_CT. 05:14:03.602461 mtc RemsimServer_Tests.ttcn:177 Default with id 1 (altstep as_Tguard) was deactivated. 05:14:03.602476 mtc RemsimServer_Tests.ttcn:177 Default with id 2 (altstep as_ignore_id_ack) was deactivated. 05:14:03.602485 mtc RemsimServer_Tests.ttcn:177 Default with id 3 (altstep as_ignore_id_ack) was deactivated. 05:14:03.602493 mtc RemsimServer_Tests.ttcn:177 Stop timer g_T_guard: 60 s 05:14:03.602506 mtc RemsimServer_Tests.ttcn:177 Removing unterminated mapping between port HTTP and system:HTTP. 05:14:03.602517 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering HTTPmsg__PT::user_unmap(HTTP) 05:14:03.602526 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering Abstract_Socket::unmap_user() 05:14:03.602534 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering Abstract_Socket::remove_all_clients 05:14:03.602542 mtc RemsimServer_Tests.ttcn:177 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 05:14:03.602551 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving Abstract_Socket::remove_all_clients 05:14:03.602559 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving Abstract_Socket::unmap_user() 05:14:03.602567 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving HTTPmsg__PT::user_unmap() 05:14:03.602575 mtc RemsimServer_Tests.ttcn:177 Port HTTP was unmapped from system:HTTP. 05:14:03.602589 mtc RemsimServer_Tests.ttcn:177 Port HTTP was stopped. 05:14:03.602599 mtc RemsimServer_Tests.ttcn:177 Removing unterminated connection between port RSPRO[0] and RSPRO0(5):IPA_RSPRO_PORT. 05:14:03.602629 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[0] was stopped. 05:14:03.602637 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[1] was stopped. 05:14:03.602646 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[2] was stopped. 05:14:03.602654 mtc RemsimServer_Tests.ttcn:177 Component type RemsimServer_Tests.test_CT was shut down inside testcase TC_connect_client_duplicate. 05:14:03.602665 mtc RemsimServer_Tests.ttcn:177 Waiting for PTCs to finish. 05:14:03.602718 5 IPA_Emulation.ttcnpp:735 Connection of port IPA_RSPRO_PORT to mtc:RSPRO[0] was closed unexpectedly by the peer. 05:14:03.602772 5 IPA_Emulation.ttcnpp:735 Port IPA_RSPRO_PORT was disconnected from mtc:RSPRO[0]. 05:14:03.602835 5 IPA_Emulation.ttcnpp:735 Kill was requested from MC. 05:14:03.602845 5 IPA_Emulation.ttcnpp:735 Terminating test component execution. 05:14:03.603266 5 - Function main_client was stopped. PTC terminates. 05:14:03.603314 5 - Terminating component type IPA_Emulation.IPA_Emulation_CT. 05:14:03.603336 5 - Removing unterminated mapping between port IPA_PORT and system:IPA_CODEC_PT. 05:14:03.603666 5 - Port IPA_PORT was unmapped from system:IPA_CODEC_PT. 05:14:03.603689 5 - Port IPA_PORT was stopped. 05:14:03.603700 5 - Port CFG_PORT was stopped. 05:14:03.603721 5 - Port IPA_CTRL_PORT was stopped. 05:14:03.603729 5 - Port IPA_RSPRO_PORT was stopped. 05:14:03.603737 5 - Port IPA_SP_PORT was stopped. 05:14:03.603745 5 - Component type IPA_Emulation.IPA_Emulation_CT was shut down inside testcase TC_connect_client_duplicate. 05:14:03.603758 5 - Final verdict of PTC: none 05:14:03.603877 mtc RemsimServer_Tests.ttcn:177 Setting final verdict of the test case. 05:14:03.603936 mtc RemsimServer_Tests.ttcn:177 Local verdict of MTC: pass 05:14:03.603945 5 - Disconnected from MC. 05:14:03.603954 mtc RemsimServer_Tests.ttcn:177 Local verdict of PTC RSPRO0(5): none (pass -> pass) 05:14:03.603970 mtc RemsimServer_Tests.ttcn:177 Local verdict of PTC RSPRO1(6): none (pass -> pass) 05:14:03.603987 mtc RemsimServer_Tests.ttcn:177 Test case TC_connect_client_duplicate finished. Verdict: pass 05:14:03.603993 5 - TTCN-3 Parallel Test Component finished. 05:14:03.604007 mtc RemsimServer_Tests.ttcn:177 Starting external command `../ttcn3-tcpdump-stop.sh RemsimServer_Tests.TC_connect_client_duplicate pass'. 05:14:05.624136 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:05.624210 mtc RemsimServer_Tests.ttcn:180 Switching to log file `REMSIM_Tests-TC_connect_bank-c7750d5a4389-mtc.log'