07:12:32.668336 mtc RemsimServer_Tests.ttcn:143 Starting external command `../ttcn3-tcpdump-start.sh RemsimServer_Tests.TC_connect_client_duplicate'. 07:12:33.685333 mtc RemsimServer_Tests.ttcn:143 External command `../ttcn3-tcpdump-start.sh RemsimServer_Tests.TC_connect_client_duplicate' was executed successfully (exit status: 0). 07:12:33.685413 mtc RemsimServer_Tests.ttcn:143 Test case TC_connect_client_duplicate started. 07:12:33.685445 mtc RemsimServer_Tests.ttcn:143 Initializing variables, timers and ports of component type RemsimServer_Tests.test_CT inside testcase TC_connect_client_duplicate. 07:12:33.685491 mtc RemsimServer_Tests.ttcn:143 Port HTTP was started. 07:12:33.685514 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[0] was started. 07:12:33.685534 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[1] was started. 07:12:33.685553 mtc RemsimServer_Tests.ttcn:143 Port RSPRO[2] was started. 07:12:33.685572 mtc RemsimServer_Tests.ttcn:143 Component type RemsimServer_Tests.test_CT was initialized. 07:12:33.685609 mtc RemsimServer_Tests.ttcn:94 Start timer g_T_guard: 60 s 07:12:33.685637 mtc RemsimServer_Tests.ttcn:95 Altstep as_Tguard was activated as default, id 1 07:12:33.685665 mtc HTTP_Adapter.ttcn:33 Mapping port mtc:HTTP to system:HTTP. 07:12:33.685758 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering HTTPmsg__PT::set_parameter(http_debugging, yes) 07:12:33.685797 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering SSL_Socket::parameter_set(http_debugging, yes) 07:12:33.685822 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving SSL_Socket::parameter_set(http_debugging, yes) 07:12:33.685842 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering Abstract_Socket::parameter_set(http_debugging, yes) 07:12:33.685862 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving Abstract_Socket::parameter_set(http_debugging, yes) 07:12:33.685882 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving HTTPmsg__PT::set_parameter(http_debugging, yes) 07:12:33.685902 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering HTTPmsg__PT::set_parameter(use_notification_ASPs, yes) 07:12:33.685922 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving HTTPmsg__PT::set_parameter(use_notification_ASPs, yes) 07:12:33.685941 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering HTTPmsg__PT::user_map(HTTP) 07:12:33.685962 mtc HTTP_Adapter.ttcn:33 Abstract socket: entering Abstract_Socket::map_user() 07:12:33.685983 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving Abstract_Socket::map_user() 07:12:33.686003 mtc HTTP_Adapter.ttcn:33 Abstract socket: leaving HTTPmsg__PT::user_map() 07:12:33.686023 mtc HTTP_Adapter.ttcn:33 Port HTTP was mapped to system:HTTP. 07:12:33.686086 mtc HTTP_Adapter.ttcn:33 Map operation of mtc:HTTP to system:HTTP finished. 07:12:33.686138 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.56.20", portnumber := 9997, use_ssl := false } 07:12:33.686163 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 07:12:33.686186 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.56.20/9997, localAddr: UNSPEC/UNSPEC) called 07:12:33.686276 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 07:12:33.686309 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 07:12:33.686333 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 07:12:33.686450 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.56.10/49408 -> 172.18.56.20/9997 07:12:33.686477 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.56.20 service 9997 via address family IPv4 07:12:33.686500 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 07:12:33.686521 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:33.686542 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:33.686562 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 07:12:33.686583 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 07:12:33.686620 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 07:12:33.686642 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 07:12:33.686663 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 07:12:33.686684 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 07:12:33.686707 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 1 07:12:33.686731 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 07:12:33.686752 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 07:12:33.686775 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 07:12:33.686800 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 07:12:33.686825 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 1 07:12:33.686849 mtc HTTP_Adapter.ttcn:194 Message with id 1 was extracted from the queue of HTTP. 07:12:33.686908 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.56.20:9997" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } 07:12:33.686934 mtc HTTP_Adapter.ttcn:211 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:33.686962 mtc HTTP_Adapter.ttcn:211 Abstract socket: entering Abstract_Socket::send_outgoing() 07:12:33.686984 mtc HTTP_Adapter.ttcn:211 Abstract socket: Sending data: Size: 122, 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 35 36 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 30 0d 0a 0d 0a 07:12:33.687069 mtc HTTP_Adapter.ttcn:211 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 07:12:33.687091 mtc HTTP_Adapter.ttcn:211 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 07:12:33.687153 mtc HTTP_Adapter.ttcn:211 Abstract socket: Nr of bytes sent = 122 07:12:33.687177 mtc HTTP_Adapter.ttcn:211 Abstract socket: leaving Abstract_Socket::send_outgoing() 07:12:33.687198 mtc HTTP_Adapter.ttcn:211 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:33.687224 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 07:12:33.687409 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 07:12:33.687432 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 07:12:33.687453 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 07:12:33.687474 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 07:12:33.687495 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 07:12:33.687532 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.56.10/49408 07:12:33.687554 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 54 75 65 2c 20 31 39 20 4e 6f 76 20 32 30 32 34 20 30 37 3a 31 32 3a 33 33 20 47 4d 54 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 30 0d 0a 0d 0a 07:12:33.687596 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 07:12:33.687626 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 75 07:12:33.687648 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 07:12:33.687669 mtc HTTP_Adapter.ttcn:235 DECODER: 07:12:33.687691 mtc HTTP_Adapter.ttcn:235 method_name: 07:12:33.687716 mtc HTTP_Adapter.ttcn:235 Decoding the headers 07:12:33.687738 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:33.687760 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:33.687782 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 07:12:33.687802 mtc HTTP_Adapter.ttcn:235 lengthof body: 0, content_length given: 0 07:12:33.687824 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 07:12:33.687846 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 07:12:33.687876 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 := "Tue, 19 Nov 2024 07:12:33 GMT" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } id 2 07:12:33.687903 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 07:12:33.687924 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 07:12:33.687945 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 07:12:33.687965 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 07:12:33.687985 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 07:12:33.688011 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 07:12:33.688040 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 := "Tue, 19 Nov 2024 07:12:33 GMT" }, { header_name := "Content-Length", header_value := "0" } }, body := "" } } id 2 07:12:33.688066 mtc HTTP_Adapter.ttcn:236 Message with id 2 was extracted from the queue of HTTP. 07:12:33.688087 mtc HTTP_Adapter.ttcn:237 setverdict(pass): none -> pass 07:12:33.688123 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 07:12:33.688146 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 07:12:33.688167 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 07:12:33.688188 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 07:12:33.688209 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 07:12:33.688229 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 07:12:33.688254 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 07:12:33.688275 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 07:12:33.688297 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 07:12:33.688317 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:33.688338 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:33.688359 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 07:12:33.688385 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 07:12:33.688436 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 07:12:33.688460 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 07:12:33.688490 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 07:12:33.688511 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 07:12:33.688531 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 07:12:33.688561 mtc REMSIM_Tests.ttcn:59 Creating new PTC with component type IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. 07:12:33.692426 5 - Warning: A plug-in from the same path `libjunitlogger2' is already active, skipping plug-in 07:12:33.692560 5 - TTCN-3 Parallel Test Component started on 29560f784baa. Component reference: RSPRO0(5), component type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. Version: 9.0.0. 07:12:33.692601 5 - TTCN Logger v2.2 options: TimeStampFormat:=Time; LogEntityName:=No; LogEventTypes:=No; SourceInfoFormat:=Single; LogSensitiveData:=No; *.FileMask:=LOG_ALL | MATCHING | DEBUG; *.ConsoleMask:=ERROR | TESTCASE | USER | VERDICTOP | WARNING; LogFileSize:=0; LogFileNumber:=1; DiskFullAction:=Error 07:12:33.692687 5 - Connected to MC. 07:12:33.692717 5 - Initializing variables, timers and ports of component type IPA_Emulation.IPA_Emulation_CT inside testcase TC_connect_client_duplicate. 07:12:33.692753 mtc REMSIM_Tests.ttcn:59 PTC was created. Component reference: 5, alive: no, type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO0. 07:12:33.692811 mtc REMSIM_Tests.ttcn:69 Mapping port RSPRO0(5):IPA_PORT to system:IPA_CODEC_PT. 07:12:33.694035 5 - Port IPA_PORT was started. 07:12:33.694086 5 - Port CFG_PORT was started. 07:12:33.694109 5 - Port IPA_CTRL_PORT was started. 07:12:33.694131 5 - Port IPA_RSPRO_PORT was started. 07:12:33.694152 5 - Port IPA_SP_PORT was started. 07:12:33.694174 5 - Component type IPA_Emulation.IPA_Emulation_CT was initialized. 07:12:33.694239 5 - Port IPA_PORT was mapped to system:IPA_CODEC_PT. 07:12:33.694309 mtc REMSIM_Tests.ttcn:69 Map operation of RSPRO0(5):IPA_PORT to system:IPA_CODEC_PT finished. 07:12:33.694346 mtc REMSIM_Tests.ttcn:70 Connecting ports RSPRO0(5):IPA_RSPRO_PORT and mtc:RSPRO[0]. 07:12:33.694459 mtc REMSIM_Tests.ttcn:70 Port RSPRO[0] is waiting for connection from RSPRO0(5):IPA_RSPRO_PORT on UNIX pathname /tmp/ttcn3-portconn-b33de30b. 07:12:33.694526 5 - Port IPA_RSPRO_PORT has established the connection with mtc:RSPRO[0] using transport type UNIX. 07:12:33.694565 mtc REMSIM_Tests.ttcn:70 Port RSPRO[0] has accepted the connection from RSPRO0(5):IPA_RSPRO_PORT. 07:12:33.694591 mtc REMSIM_Tests.ttcn:70 Connect operation on RSPRO0(5):IPA_RSPRO_PORT and mtc:RSPRO[0] finished. 07:12:33.694611 mtc REMSIM_Tests.ttcn:72 Starting function main_client("172.18.56.20", 9998, "", 10000, { ser_nr := "", name := "Osmocom TTCN-3 RSPRO client simulator", location1 := "", location2 := "", equip_version := "", sw_version := "", ip_addr := "", mac_addr := "", unit_id := "0/1/2", osmo_rand := "" }, true) on component RSPRO0(5). 07:12:33.694666 mtc REMSIM_Tests.ttcn:72 Function was started. 07:12:33.694684 mtc REMSIM_Tests.ttcn:74 Start timer T: 4 s 07:12:33.694810 5 - Starting function main_client("172.18.56.20", 9998, "", 10000, { ser_nr := "", name := "Osmocom TTCN-3 RSPRO client simulator", location1 := "", location2 := "", equip_version := "", sw_version := "", ip_addr := "", mac_addr := "", unit_id := "0/1/2", osmo_rand := "" }, true). 07:12:33.695123 5 IPA_Emulation.ttcnpp:309 entering f__IPL4__PROVIDER__connect: :10000 -> 172.18.56.20:9998 / TCP 07:12:33.696239 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:33.696384 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '06'O 07:12:33.696552 5 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:33.696643 5 IPA_Emulation.ttcnpp:473 Sent on IPA_PORT to system @IPA_CodecPort.IPA_Send : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '06'O } 07:12:33.696748 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Encoding @IPA_Types.PDU_IPA: { lengthInd := 0, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '06'O } 07:12:33.696843 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE06'O 07:12:33.696910 5 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE06'O } 07:12:33.697195 5 IPA_Emulation.ttcnpp:398 Sent on IPA_RSPRO_PORT to mtc @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_UP (1), conn_id := 1, id_resp := omit } 07:12:33.697274 mtc REMSIM_Tests.ttcn:75 Message enqueued on RSPRO[0] from RSPRO0(5) @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_UP (1), conn_id := 1, id_resp := omit } id 1 07:12:33.697299 mtc REMSIM_Tests.ttcn:76 Matching on port RSPRO[0] succeeded: matched 07:12:33.697318 mtc REMSIM_Tests.ttcn:76 Receive operation on port RSPRO[0] succeeded, message from RSPRO0(5): @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_UP (1), conn_id := 1, id_resp := omit } id 1 07:12:33.697337 mtc REMSIM_Tests.ttcn:76 Message with id 1 was extracted from the queue of RSPRO[0]. 07:12:33.697353 mtc REMSIM_Tests.ttcn:82 Warning: Re-starting timer T, which is already active (running or expired). 07:12:33.697376 mtc REMSIM_Tests.ttcn:82 Start timer T: 4 s 07:12:33.697790 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.56.20", remPort := 9998, locName := "172.18.56.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0001FE00'O } id 1 07:12:33.697832 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE00'O 07:12:33.697921 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Decoded @IPA_Types.PDU_IPA: { lengthInd := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '00'O } 07:12:33.697952 5 IPA_Emulation.ttcnpp:735 Incoming message was mapped to @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '00'O } id 1 07:12:33.697981 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.56.20", remPort := 9998, locName := "172.18.56.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0001FE06'O } id 2 07:12:33.698000 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE06'O 07:12:33.698019 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Decoded @IPA_Types.PDU_IPA: { lengthInd := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '06'O } 07:12:33.698049 5 IPA_Emulation.ttcnpp:735 Incoming message was mapped to @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '06'O } id 2 07:12:33.698104 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 07:12:33.698140 5 IPA_Emulation.ttcnpp:737 Receive operation on port IPA_PORT succeeded, message from system(): @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '00'O } id 1 07:12:33.698161 5 IPA_Emulation.ttcnpp:737 Message with id 1 was extracted from the queue of IPA_PORT. 07:12:33.698180 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '00'O 07:12:33.698231 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PING (0), u := omit } 07:12:33.698251 5 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_PING (0), u := omit } 07:12:33.698292 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PONG (1), u := omit } 07:12:33.698314 5 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '01'O 07:12:33.698334 5 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_PONG (1), u := omit } 07:12:33.698361 5 IPA_Emulation.ttcnpp:473 Sent on IPA_PORT to system @IPA_CodecPort.IPA_Send : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '01'O } 07:12:33.698381 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Encoding @IPA_Types.PDU_IPA: { lengthInd := 0, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '01'O } 07:12:33.698409 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE01'O 07:12:33.698432 5 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE01'O } 07:12:33.698481 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 07:12:33.698510 5 IPA_Emulation.ttcnpp:737 Receive operation on port IPA_PORT succeeded, message from system(): @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '06'O } id 2 07:12:33.698530 5 IPA_Emulation.ttcnpp:737 Message with id 2 was extracted from the queue of IPA_PORT. 07:12:33.698548 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '06'O 07:12:33.698566 5 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:33.698583 5 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:33.698615 5 IPA_Emulation.ttcnpp:398 Sent on IPA_RSPRO_PORT to mtc @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_ID_ACK (3), conn_id := 1, id_resp := omit } 07:12:33.698657 mtc REMSIM_Tests.ttcn:83 Message enqueued on RSPRO[0] from RSPRO0(5) @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_ID_ACK (3), conn_id := 1, id_resp := omit } id 2 07:12:33.698698 mtc REMSIM_Tests.ttcn:84 Matching on port RSPRO[0] succeeded: matched 07:12:33.698718 mtc REMSIM_Tests.ttcn:84 Receive operation on port RSPRO[0] succeeded, message from RSPRO0(5): @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_ID_ACK (3), conn_id := 1, id_resp := omit } id 2 07:12:33.698736 mtc REMSIM_Tests.ttcn:84 Message with id 2 was extracted from the queue of RSPRO[0]. 07:12:33.698754 mtc REMSIM_Tests.ttcn:92 Altstep as_ignore_id_ack was activated as default, id 2 07:12:33.698789 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.56.20", portnumber := 9997, use_ssl := false } 07:12:33.698808 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 07:12:33.698830 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.56.20/9997, localAddr: UNSPEC/UNSPEC) called 07:12:33.698897 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 07:12:33.698922 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 07:12:33.698940 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 07:12:33.699015 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.56.10/49412 -> 172.18.56.20/9997 07:12:33.699036 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.56.20 service 9997 via address family IPv4 07:12:33.699062 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 07:12:33.699078 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:33.699094 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:33.699110 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 07:12:33.699126 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 07:12:33.699146 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 07:12:33.699163 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 07:12:33.699179 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 07:12:33.699195 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 07:12:33.699212 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 3 07:12:33.699231 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 07:12:33.699247 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 07:12:33.699264 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 07:12:33.699284 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 07:12:33.699302 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 3 07:12:33.699320 mtc HTTP_Adapter.ttcn:194 Message with id 3 was extracted from the queue of HTTP. 07:12:33.699360 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.56.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 07:12:33.699380 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:33.699400 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering Abstract_Socket::send_outgoing() 07:12:33.699416 mtc HTTP_Adapter.ttcn:220 Abstract socket: Sending data: Size: 97, 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 35 36 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 0d 0a 07:12:33.699461 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 07:12:33.699477 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 07:12:33.699524 mtc HTTP_Adapter.ttcn:220 Abstract socket: Nr of bytes sent = 97 07:12:33.699546 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving Abstract_Socket::send_outgoing() 07:12:33.699563 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:33.699582 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 07:12:33.699701 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 07:12:33.699720 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 07:12:33.699737 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 07:12:33.699753 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 07:12:33.699769 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 07:12:33.699794 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.56.10/49412 07:12:33.699818 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 54 75 65 2c 20 31 39 20 4e 6f 76 20 32 30 32 34 20 30 37 3a 31 32 3a 33 33 20 47 4d 54 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 31 34 0d 0a 0d 0a 7b 22 63 6c 69 65 6e 74 73 22 3a 5b 5d 7d 07:12:33.699861 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 07:12:33.699877 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 122 07:12:33.699894 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 07:12:33.699910 mtc HTTP_Adapter.ttcn:235 DECODER: 07:12:33.699927 mtc HTTP_Adapter.ttcn:235 method_name: 07:12:33.699949 mtc HTTP_Adapter.ttcn:235 Decoding the headers 07:12:33.699967 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:33.699984 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:33.700001 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:33.700019 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 07:12:33.700034 mtc HTTP_Adapter.ttcn:235 Decoding body, buffer length: 14 07:12:33.700050 mtc HTTP_Adapter.ttcn:235 lengthof body: 14, content_length given: 14 07:12:33.700067 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 07:12:33.700084 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 07:12:33.700109 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 := "Tue, 19 Nov 2024 07:12:33 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "14" } }, body := "{\"clients\":[]}" } } id 4 07:12:33.700130 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 07:12:33.700146 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 07:12:33.700162 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 07:12:33.700178 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 07:12:33.700194 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 07:12:33.700213 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 07:12:33.700238 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 := "Tue, 19 Nov 2024 07:12:33 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "14" } }, body := "{\"clients\":[]}" } } id 4 07:12:33.700261 mtc HTTP_Adapter.ttcn:236 Message with id 4 was extracted from the queue of HTTP. 07:12:33.700278 mtc HTTP_Adapter.ttcn:237 setverdict(pass): pass -> pass, component reason not changed 07:12:33.700307 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 07:12:33.700325 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 07:12:33.700341 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 07:12:33.700357 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 07:12:33.700373 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 07:12:33.700389 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 07:12:33.700408 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 07:12:33.700432 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 07:12:33.700448 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 07:12:33.700464 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:33.700480 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:33.700496 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 07:12:33.700514 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 07:12:33.700553 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 07:12:33.700575 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 07:12:33.700592 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 07:12:33.700608 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 07:12:33.700623 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 07:12:33.700644 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Stream before decoding: '7B22636C69656E7473223A5B5D7D'O ("{\"clients\":[]}") 07:12:33.700677 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Decoded @RSRES.JsRoot: { clients := { }, banks := omit, slotmaps := omit } 07:12:33.700742 mtc REMSIM_Tests.ttcn:150 Sent on RSPRO[0] to RSPRO0(5) @RSPRO.RsproPDU : { version := 2, tag := 0, msg := { connectClientReq := { identity := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, clientSlot := { clientId := 13, slotNr := 1 } } } } 07:12:33.700779 mtc REMSIM_Tests.ttcn:109 Start timer T: 10 s 07:12:33.701108 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_RSPRO_PORT from mtc @RSPRO.RsproPDU : { version := 2, tag := 0, msg := { connectClientReq := { identity := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, clientSlot := { clientId := 13, slotNr := 1 } } } } id 1 07:12:33.701298 5 IPA_Emulation.ttcnpp:896 Matching on port IPA_RSPRO_PORT succeeded: matched 07:12:33.701328 5 IPA_Emulation.ttcnpp:896 Receive operation on port IPA_RSPRO_PORT succeeded, message from mtc: @RSPRO.RsproPDU : { version := 2, tag := 0, msg := { connectClientReq := { identity := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, clientSlot := { clientId := 13, slotNr := 1 } } } } id 1 07:12:33.701353 5 IPA_Emulation.ttcnpp:896 Message with id 1 was extracted from the queue of IPA_RSPRO_PORT. 07:12:33.701824 5 IPA_Emulation.ttcnpp:899 Sent on IPA_PORT to system @IPA_CodecPort.IPA_Send : { connId := 1, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), msg := '3035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 07:12:33.701861 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Encoding @IPA_Types.PDU_IPA: { lengthInd := 0, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), payloadData := '3035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 07:12:33.701902 5 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O 07:12:33.701934 5 IPA_Emulation.ttcnpp:899 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 07:12:33.741929 5 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.56.20", remPort := 9998, locName := "172.18.56.10", locPort := 10000, proto := { tcp := { } }, userData := 0, msg := '0054EE07305180010281020926A248A34630410A0101160C353838666434633062323362800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431313138323032397E6173616E0A0100'O } id 3 07:12:33.741964 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0054EE07305180010281020926A248A34630410A0101160C353838666434633062323362800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431313138323032397E6173616E0A0100'O 07:12:33.742004 5 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Decoded @IPA_Types.PDU_IPA: { lengthInd := 84, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), payloadData := '305180010281020926A248A34630410A0101160C353838666434633062323362800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431313138323032397E6173616E0A0100'O } 07:12:33.742038 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 := '305180010281020926A248A34630410A0101160C353838666434633062323362800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431313138323032397E6173616E0A0100'O } id 3 07:12:33.742099 5 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT IPAC_PROTO_OSMO (238) with IPAC_PROTO_CCM (254) unmatchedIPAC_PROTO_EXT_RSPRO (7) with omit unmatched: First message in the queue does not match the template: 07:12:33.742127 5 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT succeeded: matched 07:12:33.742151 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 := '305180010281020926A248A34630410A0101160C353838666434633062323362800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431313138323032397E6173616E0A0100'O } id 3 07:12:33.742169 5 IPA_Emulation.ttcnpp:753 Message with id 3 was extracted from the queue of IPA_PORT. 07:12:33.742427 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 := "588fd4c0b23b", software := "remsim-server", swVersion := "1.0.0.62-5b8a.202411182029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } 07:12:33.742543 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 := "588fd4c0b23b", software := "remsim-server", swVersion := "1.0.0.62-5b8a.202411182029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } id 3 07:12:33.742607 mtc REMSIM_Tests.ttcn:111 Matching on port RSPRO[0] succeeded: matched 07:12:33.742643 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 := "588fd4c0b23b", software := "remsim-server", swVersion := "1.0.0.62-5b8a.202411182029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := ok (0) } } } id 3 07:12:33.742673 mtc REMSIM_Tests.ttcn:111 Message with id 3 was extracted from the queue of RSPRO[0]. 07:12:33.742698 mtc REMSIM_Tests.ttcn:112 setverdict(pass): pass -> pass, component reason not changed 07:12:33.742749 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.56.20", portnumber := 9997, use_ssl := false } 07:12:33.742778 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 07:12:33.742804 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.56.20/9997, localAddr: UNSPEC/UNSPEC) called 07:12:33.742894 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 07:12:33.742931 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 07:12:33.742958 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 07:12:33.743076 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.56.10/49428 -> 172.18.56.20/9997 07:12:33.743108 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.56.20 service 9997 via address family IPv4 07:12:33.743146 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 07:12:33.743170 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:33.743194 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:33.743218 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 07:12:33.743242 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 07:12:33.743271 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 07:12:33.743296 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 07:12:33.743320 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 07:12:33.743344 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 07:12:33.743370 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 5 07:12:33.743397 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 07:12:33.743421 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 07:12:33.743447 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 07:12:33.743475 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 07:12:33.743502 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 5 07:12:33.743529 mtc HTTP_Adapter.ttcn:194 Message with id 5 was extracted from the queue of HTTP. 07:12:33.743585 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.56.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 07:12:33.743618 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:33.743643 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering Abstract_Socket::send_outgoing() 07:12:33.743663 mtc HTTP_Adapter.ttcn:220 Abstract socket: Sending data: Size: 97, 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 35 36 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 0d 0a 07:12:33.743718 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 07:12:33.743739 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 07:12:33.743798 mtc HTTP_Adapter.ttcn:220 Abstract socket: Nr of bytes sent = 97 07:12:33.743822 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving Abstract_Socket::send_outgoing() 07:12:33.743842 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:33.743866 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 07:12:33.744020 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 07:12:33.744044 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 07:12:33.744065 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 07:12:33.744085 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 07:12:33.744108 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 07:12:33.744142 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.56.10/49428 07:12:33.744184 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 54 75 65 2c 20 31 39 20 4e 6f 76 20 32 30 32 34 20 30 37 3a 31 32 3a 33 33 20 47 4d 54 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 31 37 38 0d 0a 0d 0a 7b 22 63 6c 69 65 6e 74 73 22 3a 5b 7b 22 70 65 65 72 22 3a 22 43 31 33 3a 31 22 2c 22 73 74 61 74 65 22 3a 22 43 4f 4e 4e 45 43 54 45 44 5f 43 4c 49 45 4e 54 22 2c 22 63 6f 6d 70 6f 6e 65 6e 74 5f 69 64 22 3a 7b 22 74 79 70 65 5f 22 3a 22 72 65 6d 73 69 6d 43 6c 69 65 6e 74 22 2c 22 6e 61 6d 65 22 3a 22 66 6f 6f 62 61 72 22 2c 22 73 6f 66 74 77 61 72 65 22 3a 22 54 54 43 4e 33 22 2c 22 73 77 56 65 72 73 69 6f 6e 22 3a 22 30 2e 31 22 2c 22 68 77 4d 61 6e 75 66 61 63 74 75 72 65 72 22 3a 22 73 79 73 6d 6f 63 6f 6d 22 7d 7d 5d 7d 07:12:33.744347 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 07:12:33.744378 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 287 07:12:33.744409 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 07:12:33.744440 mtc HTTP_Adapter.ttcn:235 DECODER: 07:12:33.744472 mtc HTTP_Adapter.ttcn:235 method_name: 07:12:33.744504 mtc HTTP_Adapter.ttcn:235 Decoding the headers 07:12:33.744536 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:33.744569 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:33.744602 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:33.744635 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 07:12:33.744665 mtc HTTP_Adapter.ttcn:235 Decoding body, buffer length: 178 07:12:33.744695 mtc HTTP_Adapter.ttcn:235 lengthof body: 178, content_length given: 178 07:12:33.744726 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 07:12:33.744758 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 07:12:33.744817 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 := "Tue, 19 Nov 2024 07:12:33 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "178" } }, body := "{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}" } } id 6 07:12:33.744862 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 07:12:33.744893 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 07:12:33.744924 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 07:12:33.744955 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 07:12:33.744983 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 07:12:33.745021 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 07:12:33.745080 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 := "Tue, 19 Nov 2024 07:12:33 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "178" } }, body := "{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}" } } id 6 07:12:33.745135 mtc HTTP_Adapter.ttcn:236 Message with id 6 was extracted from the queue of HTTP. 07:12:33.745169 mtc HTTP_Adapter.ttcn:237 setverdict(pass): pass -> pass, component reason not changed 07:12:33.745206 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 07:12:33.745229 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 07:12:33.745251 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 07:12:33.745271 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 07:12:33.745292 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 07:12:33.745312 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 07:12:33.745338 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 07:12:33.745358 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 07:12:33.745379 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 07:12:33.745400 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:33.745420 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:33.745446 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 07:12:33.745466 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 07:12:33.745518 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 07:12:33.745542 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 07:12:33.745563 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 07:12:33.745583 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 07:12:33.745603 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 07:12:33.745628 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Stream before decoding: '7B22636C69656E7473223A5B7B2270656572223A224331333A31222C227374617465223A22434F4E4E45435445445F434C49454E54222C22636F6D706F6E656E745F6964223A7B22747970655F223A2272656D73696D436C69656E74222C226E616D65223A22666F6F626172222C22736F667477617265223A225454434E33222C22737756657273696F6E223A22302E31222C2268774D616E756661637475726572223A227379736D6F636F6D227D7D5D7D'O ("{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}") 07:12:33.745720 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Decoded @RSRES.JsRoot: { clients := { { peer := "C13:1", state := CONNECTED_CLIENT (2), component_id := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit } } }, banks := omit, slotmaps := omit } 07:12:33.745773 mtc REMSIM_Tests.ttcn:59 Creating new PTC with component type IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. 07:12:33.750206 6 - Warning: A plug-in from the same path `libjunitlogger2' is already active, skipping plug-in 07:12:33.750332 6 - TTCN-3 Parallel Test Component started on 29560f784baa. Component reference: RSPRO1(6), component type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. Version: 9.0.0. 07:12:33.750373 6 - TTCN Logger v2.2 options: TimeStampFormat:=Time; LogEntityName:=No; LogEventTypes:=No; SourceInfoFormat:=Single; LogSensitiveData:=No; *.FileMask:=LOG_ALL | MATCHING | DEBUG; *.ConsoleMask:=ERROR | TESTCASE | USER | VERDICTOP | WARNING; LogFileSize:=0; LogFileNumber:=1; DiskFullAction:=Error 07:12:33.750458 6 - Connected to MC. 07:12:33.750488 6 - Initializing variables, timers and ports of component type IPA_Emulation.IPA_Emulation_CT inside testcase TC_connect_client_duplicate. 07:12:33.750537 mtc REMSIM_Tests.ttcn:59 PTC was created. Component reference: 6, alive: no, type: IPA_Emulation.IPA_Emulation_CT, component name: RSPRO1. 07:12:33.750575 mtc REMSIM_Tests.ttcn:69 Mapping port RSPRO1(6):IPA_PORT to system:IPA_CODEC_PT. 07:12:33.751638 6 - Port IPA_PORT was started. 07:12:33.751683 6 - Port CFG_PORT was started. 07:12:33.751705 6 - Port IPA_CTRL_PORT was started. 07:12:33.751726 6 - Port IPA_RSPRO_PORT was started. 07:12:33.751747 6 - Port IPA_SP_PORT was started. 07:12:33.751768 6 - Component type IPA_Emulation.IPA_Emulation_CT was initialized. 07:12:33.751828 6 - Port IPA_PORT was mapped to system:IPA_CODEC_PT. 07:12:33.751907 mtc REMSIM_Tests.ttcn:69 Map operation of RSPRO1(6):IPA_PORT to system:IPA_CODEC_PT finished. 07:12:33.751929 mtc REMSIM_Tests.ttcn:70 Connecting ports RSPRO1(6):IPA_RSPRO_PORT and mtc:RSPRO[1]. 07:12:33.752041 mtc REMSIM_Tests.ttcn:70 Port RSPRO[1] is waiting for connection from RSPRO1(6):IPA_RSPRO_PORT on UNIX pathname /tmp/ttcn3-portconn-b03ce30b. 07:12:33.752098 6 - Port IPA_RSPRO_PORT has established the connection with mtc:RSPRO[1] using transport type UNIX. 07:12:33.752136 mtc REMSIM_Tests.ttcn:70 Port RSPRO[1] has accepted the connection from RSPRO1(6):IPA_RSPRO_PORT. 07:12:33.752162 mtc REMSIM_Tests.ttcn:70 Connect operation on RSPRO1(6):IPA_RSPRO_PORT and mtc:RSPRO[1] finished. 07:12:33.752181 mtc REMSIM_Tests.ttcn:72 Starting function main_client("172.18.56.20", 9998, "", 10001, { ser_nr := "", name := "Osmocom TTCN-3 RSPRO client simulator", location1 := "", location2 := "", equip_version := "", sw_version := "", ip_addr := "", mac_addr := "", unit_id := "0/1/2", osmo_rand := "" }, true) on component RSPRO1(6). 07:12:33.752239 mtc REMSIM_Tests.ttcn:72 Function was started. 07:12:33.752258 mtc REMSIM_Tests.ttcn:74 Start timer T: 4 s 07:12:33.752359 6 - Starting function main_client("172.18.56.20", 9998, "", 10001, { ser_nr := "", name := "Osmocom TTCN-3 RSPRO client simulator", location1 := "", location2 := "", equip_version := "", sw_version := "", ip_addr := "", mac_addr := "", unit_id := "0/1/2", osmo_rand := "" }, true). 07:12:33.752636 6 IPA_Emulation.ttcnpp:309 entering f__IPL4__PROVIDER__connect: :10001 -> 172.18.56.20:9998 / TCP 07:12:33.753656 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:33.753837 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '06'O 07:12:33.754041 6 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:33.754158 6 IPA_Emulation.ttcnpp:473 Sent on IPA_PORT to system @IPA_CodecPort.IPA_Send : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '06'O } 07:12:33.754280 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Encoding @IPA_Types.PDU_IPA: { lengthInd := 0, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '06'O } 07:12:33.754394 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE06'O 07:12:33.754476 6 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE06'O } 07:12:33.754827 6 IPA_Emulation.ttcnpp:398 Sent on IPA_RSPRO_PORT to mtc @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_UP (1), conn_id := 1, id_resp := omit } 07:12:33.754927 mtc REMSIM_Tests.ttcn:75 Message enqueued on RSPRO[1] from RSPRO1(6) @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_UP (1), conn_id := 1, id_resp := omit } id 1 07:12:33.754965 mtc REMSIM_Tests.ttcn:76 Matching on port RSPRO[1] succeeded: matched 07:12:33.754985 mtc REMSIM_Tests.ttcn:76 Receive operation on port RSPRO[1] succeeded, message from RSPRO1(6): @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_UP (1), conn_id := 1, id_resp := omit } id 1 07:12:33.755004 mtc REMSIM_Tests.ttcn:76 Message with id 1 was extracted from the queue of RSPRO[1]. 07:12:33.755021 mtc REMSIM_Tests.ttcn:82 Warning: Re-starting timer T, which is already active (running or expired). 07:12:33.755045 mtc REMSIM_Tests.ttcn:82 Start timer T: 4 s 07:12:33.755536 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.56.20", remPort := 9998, locName := "172.18.56.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0001FE00'O } id 1 07:12:33.755601 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE00'O 07:12:33.755720 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Decoded @IPA_Types.PDU_IPA: { lengthInd := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '00'O } 07:12:33.755762 6 IPA_Emulation.ttcnpp:735 Incoming message was mapped to @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '00'O } id 1 07:12:33.755803 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.56.20", remPort := 9998, locName := "172.18.56.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0001FE06'O } id 2 07:12:33.755831 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0001FE06'O 07:12:33.755858 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Decoded @IPA_Types.PDU_IPA: { lengthInd := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '06'O } 07:12:33.755900 6 IPA_Emulation.ttcnpp:735 Incoming message was mapped to @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '06'O } id 2 07:12:33.755976 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 07:12:33.756025 6 IPA_Emulation.ttcnpp:737 Receive operation on port IPA_PORT succeeded, message from system(): @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '00'O } id 1 07:12:33.756055 6 IPA_Emulation.ttcnpp:737 Message with id 1 was extracted from the queue of IPA_PORT. 07:12:33.756083 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '00'O 07:12:33.756152 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PING (0), u := omit } 07:12:33.756183 6 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_PING (0), u := omit } 07:12:33.756253 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Encoding @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_PONG (1), u := omit } 07:12:33.756286 6 IPA_Emulation.ttcnpp:471 enc_PDU_IPA_CCM(): Stream after encoding: '01'O 07:12:33.756315 6 IPA_Emulation.ttcnpp:472 CCM Tx:{ msg_type := IPAC_MSGT_PONG (1), u := omit } 07:12:33.756356 6 IPA_Emulation.ttcnpp:473 Sent on IPA_PORT to system @IPA_CodecPort.IPA_Send : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '01'O } 07:12:33.756385 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Encoding @IPA_Types.PDU_IPA: { lengthInd := 0, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, payloadData := '01'O } 07:12:33.756425 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0001FE01'O 07:12:33.756453 6 IPA_Emulation.ttcnpp:473 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0001FE01'O } 07:12:33.756521 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT succeeded: matched 07:12:33.756553 6 IPA_Emulation.ttcnpp:737 Receive operation on port IPA_PORT succeeded, message from system(): @IPA_CodecPort.IPA_RecvFrom : { connId := 1, streamId := IPAC_PROTO_CCM (254), streamIdExt := omit, msg := '06'O } id 2 07:12:33.756580 6 IPA_Emulation.ttcnpp:737 Message with id 2 was extracted from the queue of IPA_PORT. 07:12:33.756605 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Stream before decoding: '06'O 07:12:33.756633 6 IPA_Emulation.ttcnpp:738 dec_PDU_IPA_CCM(): Decoded @IPA_Types.PDU_IPA_CCM: { msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:33.756657 6 IPA_Emulation.ttcnpp:739 CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit } 07:12:33.756700 6 IPA_Emulation.ttcnpp:398 Sent on IPA_RSPRO_PORT to mtc @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_ID_ACK (3), conn_id := 1, id_resp := omit } 07:12:33.756745 mtc REMSIM_Tests.ttcn:83 Message enqueued on RSPRO[1] from RSPRO1(6) @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_ID_ACK (3), conn_id := 1, id_resp := omit } id 2 07:12:33.756767 mtc REMSIM_Tests.ttcn:84 Matching on port RSPRO[1] succeeded: matched 07:12:33.756785 mtc REMSIM_Tests.ttcn:84 Receive operation on port RSPRO[1] succeeded, message from RSPRO1(6): @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_ID_ACK (3), conn_id := 1, id_resp := omit } id 2 07:12:33.756802 mtc REMSIM_Tests.ttcn:84 Message with id 2 was extracted from the queue of RSPRO[1]. 07:12:33.756819 mtc REMSIM_Tests.ttcn:92 Altstep as_ignore_id_ack was activated as default, id 3 07:12:33.756891 mtc REMSIM_Tests.ttcn:150 Sent on RSPRO[1] to RSPRO1(6) @RSPRO.RsproPDU : { version := 2, tag := 0, msg := { connectClientReq := { identity := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, clientSlot := { clientId := 13, slotNr := 1 } } } } 07:12:33.756927 mtc REMSIM_Tests.ttcn:109 Start timer T: 10 s 07:12:33.757367 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_RSPRO_PORT from mtc @RSPRO.RsproPDU : { version := 2, tag := 0, msg := { connectClientReq := { identity := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, clientSlot := { clientId := 13, slotNr := 1 } } } } id 1 07:12:33.757629 6 IPA_Emulation.ttcnpp:896 Matching on port IPA_RSPRO_PORT succeeded: matched 07:12:33.757674 6 IPA_Emulation.ttcnpp:896 Receive operation on port IPA_RSPRO_PORT succeeded, message from mtc: @RSPRO.RsproPDU : { version := 2, tag := 0, msg := { connectClientReq := { identity := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, clientSlot := { clientId := 13, slotNr := 1 } } } } id 1 07:12:33.757713 6 IPA_Emulation.ttcnpp:896 Message with id 1 was extracted from the queue of IPA_RSPRO_PORT. 07:12:33.757986 6 IPA_Emulation.ttcnpp:899 Sent on IPA_PORT to system @IPA_CodecPort.IPA_Send : { connId := 1, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), msg := '3035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 07:12:33.758009 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Encoding @IPA_Types.PDU_IPA: { lengthInd := 0, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), payloadData := '3035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 07:12:33.758036 6 IPA_CodecPort.ttcn:54 enc_PDU_IPA(): Stream after encoding: '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O 07:12:33.758059 6 IPA_Emulation.ttcnpp:899 Outgoing message was mapped to @IPL4asp_Types.ASP_Send : { connId := 1, proto := { tcp := { } }, msg := '0038EE073035800102810100A22DA22B30210A01001606666F6F62617280055454434E338103302E3182087379736D6F636F6D300602010D020101'O } 07:12:33.802006 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @IPL4asp_Types.ASP_RecvFrom : { connId := 1, remName := "172.18.56.20", remPort := 9998, locName := "172.18.56.10", locPort := 10001, proto := { tcp := { } }, userData := 0, msg := '0054EE07305180010281020926A248A34630410A0101160C353838666434633062323362800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431313138323032397E6173616E0A0106'O } id 3 07:12:33.802063 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Stream before decoding: '0054EE07305180010281020926A248A34630410A0101160C353838666434633062323362800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431313138323032397E6173616E0A0106'O 07:12:33.802131 6 IPA_CodecPort.ttcn:43 dec_PDU_IPA(): Decoded @IPA_Types.PDU_IPA: { lengthInd := 84, streamId := IPAC_PROTO_OSMO (238), streamIdExt := IPAC_PROTO_EXT_RSPRO (7), payloadData := '305180010281020926A248A34630410A0101160C353838666434633062323362800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431313138323032397E6173616E0A0106'O } 07:12:33.802184 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 := '305180010281020926A248A34630410A0101160C353838666434633062323362800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431313138323032397E6173616E0A0106'O } id 3 07:12:33.802276 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT IPAC_PROTO_OSMO (238) with IPAC_PROTO_CCM (254) unmatchedIPAC_PROTO_EXT_RSPRO (7) with omit unmatched: First message in the queue does not match the template: 07:12:33.802317 6 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT succeeded: matched 07:12:33.802351 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 := '305180010281020926A248A34630410A0101160C353838666434633062323362800D72656D73696D2D736572766572811F312E302E302E36322D356238612E3230323431313138323032397E6173616E0A0106'O } id 3 07:12:33.802380 6 IPA_Emulation.ttcnpp:753 Message with id 3 was extracted from the queue of IPA_PORT. 07:12:33.802739 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 := "588fd4c0b23b", software := "remsim-server", swVersion := "1.0.0.62-5b8a.202411182029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } 07:12:33.802842 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 := "588fd4c0b23b", software := "remsim-server", swVersion := "1.0.0.62-5b8a.202411182029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } id 3 07:12:33.802885 mtc REMSIM_Tests.ttcn:111 Matching on port RSPRO[1] succeeded: matched 07:12:33.802909 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 := "588fd4c0b23b", software := "remsim-server", swVersion := "1.0.0.62-5b8a.202411182029~asan", hwManufacturer := omit, hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit }, result := identityInUse (6) } } } id 3 07:12:33.802930 mtc REMSIM_Tests.ttcn:111 Message with id 3 was extracted from the queue of RSPRO[1]. 07:12:33.802947 mtc REMSIM_Tests.ttcn:112 setverdict(pass): pass -> pass, component reason not changed 07:12:33.802983 mtc REMSIM_Tests.ttcn:133 Start timer T: 10 s 07:12:34.803379 6 IPA_Emulation.ttcnpp:735 Message enqueued on IPA_PORT from system @Socket_API_Definitions.PortEvent : { connClosed := { connId := 1, remName := "172.18.56.20", remPort := 9998, locName := "172.18.56.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } id 4 07:12:34.803665 6 IPA_Emulation.ttcnpp:737 Matching on port IPA_PORT failed: Type of the first message in the queue is not @IPA_CodecPort.IPA_RecvFrom. 07:12:34.803696 6 IPA_Emulation.ttcnpp:753 Matching on port IPA_PORT failed: Type of the first message in the queue is not @IPA_CodecPort.IPA_RecvFrom. 07:12:34.803791 6 IPA_Emulation.ttcnpp:822 Matching on port IPA_PORT { connClosed := { connId := 1, remName := "172.18.56.20", remPort := 9998, locName := "172.18.56.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } with { connOpened := ? } unmatched: First message in the queue does not match the template: 07:12:34.803835 6 IPA_Emulation.ttcnpp:839 Matching on port IPA_PORT succeeded: matched 07:12:34.803862 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.56.20", remPort := 9998, locName := "172.18.56.10", locPort := 10001, proto := { tcp := { } }, userData := 0 } } id 4 07:12:34.803891 6 IPA_Emulation.ttcnpp:839 Message with id 4 was extracted from the queue of IPA_PORT. 07:12:34.803919 6 IPA_Emulation.ttcnpp:840 IPA: Closed 07:12:34.803975 6 IPA_Emulation.ttcnpp:398 Sent on IPA_RSPRO_PORT to mtc @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_DOWN (0), conn_id := 1, id_resp := omit } 07:12:34.804026 6 IPA_Emulation.ttcnpp:844 Stopping test component execution. 07:12:34.804073 mtc REMSIM_Tests.ttcn:134 Message enqueued on RSPRO[1] from RSPRO1(6) @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_DOWN (0), conn_id := 1, id_resp := omit } id 4 07:12:34.804141 mtc REMSIM_Tests.ttcn:135 Matching on port RSPRO[1] succeeded: matched 07:12:34.804324 6 - Function main_client was stopped. PTC terminates. 07:12:34.804328 mtc REMSIM_Tests.ttcn:135 Receive operation on port RSPRO[1] succeeded, message from RSPRO1(6): @IPA_Emulation.ASP_IPA_Event : { ev_type := ASP_IPA_EVENT_DOWN (0), conn_id := 1, id_resp := omit } id 4 07:12:34.804356 mtc REMSIM_Tests.ttcn:135 Message with id 4 was extracted from the queue of RSPRO[1]. 07:12:34.804367 6 - Terminating component type IPA_Emulation.IPA_Emulation_CT. 07:12:34.804379 mtc REMSIM_Tests.ttcn:136 setverdict(pass): pass -> pass, component reason not changed 07:12:34.804389 6 - Removing unterminated mapping between port IPA_PORT and system:IPA_CODEC_PT. 07:12:34.804418 6 - Port IPA_PORT was unmapped from system:IPA_CODEC_PT. 07:12:34.804442 mtc HTTP_Adapter.ttcn:191 Sent on HTTP to system @HTTPmsg_Types.Connect : { hostname := "172.18.56.20", portnumber := 9997, use_ssl := false } 07:12:34.804446 6 - Port IPA_PORT was stopped. 07:12:34.804466 6 - Port CFG_PORT was stopped. 07:12:34.804470 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::outgoing_send(Connect) 07:12:34.804483 6 - Port IPA_CTRL_PORT was stopped. 07:12:34.804496 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(remoteAddr: 172.18.56.20/9997, localAddr: UNSPEC/UNSPEC) called 07:12:34.804500 6 - Removing unterminated connection between port IPA_RSPRO_PORT and mtc:RSPRO[1]. 07:12:34.804538 6 - Port IPA_RSPRO_PORT was stopped. 07:12:34.804562 6 - Port IPA_SP_PORT was stopped. 07:12:34.804581 6 - Component type IPA_Emulation.IPA_Emulation_CT was shut down inside testcase TC_connect_client_duplicate. 07:12:34.804587 mtc HTTP_Adapter.ttcn:191 Abstract socket: Number of remote addresses: 1 07:12:34.804606 6 - Final verdict of PTC: none 07:12:34.804625 mtc HTTP_Adapter.ttcn:191 Abstract socket: Using address family for socket 8: IPv4 07:12:34.804649 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connecting to server from address UNSPEC/UNSPEC 07:12:34.804694 6 - Disconnected from MC. 07:12:34.804718 6 - TTCN-3 Parallel Test Component finished. 07:12:34.804760 mtc HTTP_Adapter.ttcn:191 Abstract socket: Connection established (addr): 172.18.56.10/49444 -> 172.18.56.20/9997 07:12:34.804787 mtc HTTP_Adapter.ttcn:191 Abstract socket: connected to: host 172.18.56.20 service 9997 via address family IPv4 07:12:34.804811 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_add_peer: Adding client 8 to peer list 07:12:34.804831 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:34.804852 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:34.804877 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 9 07:12:34.804898 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 9 07:12:34.804925 mtc HTTP_Adapter.ttcn:191 Abstract socket: Abstract_Socket::open_client_connection(). Handler set to socket fd 8 07:12:34.804947 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::add_user_data(client_id: 8, use_ssl: no) 07:12:34.804967 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::add_user_data() with returning Abstract_Socket::add_user_data() 07:12:34.804988 mtc HTTP_Adapter.ttcn:191 Abstract socket: entering HTTPmsg__PT::client_connection_opened(8) 07:12:34.805011 mtc HTTP_Adapter.ttcn:191 Message enqueued on HTTP from system @HTTPmsg_Types.Connect_result : { client_id := 8 } id 7 07:12:34.805034 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::client_connection_opened() 07:12:34.805055 mtc HTTP_Adapter.ttcn:191 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Connect),client_id: 8 07:12:34.805077 mtc HTTP_Adapter.ttcn:192 Start timer T: 2 s 07:12:34.805105 mtc HTTP_Adapter.ttcn:194 Matching on port HTTP succeeded: matched 07:12:34.805128 mtc HTTP_Adapter.ttcn:194 Receive operation on port HTTP succeeded, message from system(): @HTTPmsg_Types.Connect_result : { client_id := 8 } id 7 07:12:34.805151 mtc HTTP_Adapter.ttcn:194 Message with id 7 was extracted from the queue of HTTP. 07:12:34.805207 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.56.20:9997" }, { header_name := "Content-Type", header_value := "application/json" } }, body := "" } } 07:12:34.805232 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:34.805259 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering Abstract_Socket::send_outgoing() 07:12:34.805280 mtc HTTP_Adapter.ttcn:220 Abstract socket: Sending data: Size: 97, 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 35 36 2e 32 30 3a 39 39 39 37 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 0d 0a 07:12:34.805338 mtc HTTP_Adapter.ttcn:220 Abstract socket: entering HTTPmsg__PT::send_message_on_fd(client_id: 8) 07:12:34.805360 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::send_message_on_fd() with returning Abstract_Socket::send_message_on_fd() 07:12:34.805420 mtc HTTP_Adapter.ttcn:220 Abstract socket: Nr of bytes sent = 97 07:12:34.805444 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving Abstract_Socket::send_outgoing() 07:12:34.805465 mtc HTTP_Adapter.ttcn:220 Abstract socket: leaving HTTPmsg__PT::outgoing_send(HTTPMessage) 07:12:34.805489 mtc HTTP_Adapter.ttcn:234 Start timer T: 2 s 07:12:34.805536 mtc HTTP_Adapter.ttcn:235 Connection of port RSPRO[1] to RSPRO1(6):IPA_RSPRO_PORT was closed unexpectedly by the peer. 07:12:34.805561 mtc HTTP_Adapter.ttcn:235 Port RSPRO[1] was disconnected from RSPRO1(6):IPA_RSPRO_PORT. 07:12:34.805661 mtc HTTP_Adapter.ttcn:235 Abstract socket: -------------- entering HTTPmsg__PT::Handle_Fd_Event() - event received on a connection 07:12:34.805688 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering Abstract_Socket::Handle_Socket_Event(): fd: 8 readable 07:12:34.805722 mtc HTTP_Adapter.ttcn:235 Abstract socket: receiving data 07:12:34.805743 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::receive_message_on_fd(client_id: 8) 07:12:34.805764 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::receive_message_on_fd() with returning Abstract_Socket::receive_message_on_fd() 07:12:34.805797 mtc HTTP_Adapter.ttcn:235 Abstract socket: Message received from address (addr) 172.18.56.10/49444 07:12:34.805819 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 54 75 65 2c 20 31 39 20 4e 6f 76 20 32 30 32 34 20 30 37 3a 31 32 3a 33 34 20 47 4d 54 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 31 37 38 0d 0a 0d 0a 7b 22 63 6c 69 65 6e 74 73 22 3a 5b 7b 22 70 65 65 72 22 3a 22 43 31 33 3a 31 22 2c 22 73 74 61 74 65 22 3a 22 43 4f 4e 4e 45 43 54 45 44 5f 43 4c 49 45 4e 54 22 2c 22 63 6f 6d 70 6f 6e 65 6e 74 5f 69 64 22 3a 7b 22 74 79 70 65 5f 22 3a 22 72 65 6d 73 69 6d 43 6c 69 65 6e 74 22 2c 22 6e 61 6d 65 22 3a 22 66 6f 6f 62 61 72 22 2c 22 73 6f 66 74 77 61 72 65 22 3a 22 54 54 43 4e 33 22 2c 22 73 77 56 65 72 73 69 6f 6e 22 3a 22 30 2e 31 22 2c 22 68 77 4d 61 6e 75 66 61 63 74 75 72 65 72 22 3a 22 73 79 73 6d 6f 63 6f 6d 22 7d 7d 5d 7d 07:12:34.805921 mtc HTTP_Adapter.ttcn:235 Abstract socket: entering HTTPmsg__PT::message_incoming() 07:12:34.805942 mtc HTTP_Adapter.ttcn:235 Abstract socket: HTTPmsg__PT::message_incoming(): decoding next message, len: 287 07:12:34.805964 mtc HTTP_Adapter.ttcn:235 starting f_HTTP_decodeCommon 07:12:34.805985 mtc HTTP_Adapter.ttcn:235 DECODER: 07:12:34.806007 mtc HTTP_Adapter.ttcn:235 method_name: 07:12:34.806031 mtc HTTP_Adapter.ttcn:235 Decoding the headers 07:12:34.806057 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:34.806079 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:34.806101 mtc HTTP_Adapter.ttcn:235 +Header line: 07:12:34.806124 mtc HTTP_Adapter.ttcn:235 Headers decoded. Valid headers. 07:12:34.806144 mtc HTTP_Adapter.ttcn:235 Decoding body, buffer length: 178 07:12:34.806164 mtc HTTP_Adapter.ttcn:235 lengthof body: 178, content_length given: 178 07:12:34.806185 mtc HTTP_Adapter.ttcn:235 Message successfully decoded 07:12:34.806208 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, before calling incoming_message 07:12:34.806248 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 := "Tue, 19 Nov 2024 07:12:34 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "178" } }, body := "{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}" } } id 8 07:12:34.806286 mtc HTTP_Adapter.ttcn:235 HTTPmsg__PT::HTTP_decode, after calling incoming_message 07:12:34.806307 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::message_incoming() 07:12:34.806328 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::handle_message() 07:12:34.806348 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving Abstract_Socket::Handle_Socket_Event() 07:12:34.806368 mtc HTTP_Adapter.ttcn:235 Abstract socket: leaving HTTPmsg__PT::Handle_Fd_Event() 07:12:34.806397 mtc HTTP_Adapter.ttcn:236 Matching on port HTTP succeeded: matched 07:12:34.806436 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 := "Tue, 19 Nov 2024 07:12:34 GMT" }, { header_name := "Content-Type", header_value := "application/json" }, { header_name := "Content-Length", header_value := "178" } }, body := "{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}" } } id 8 07:12:34.806465 mtc HTTP_Adapter.ttcn:236 Message with id 8 was extracted from the queue of HTTP. 07:12:34.806493 mtc HTTP_Adapter.ttcn:237 setverdict(pass): pass -> pass, component reason not changed 07:12:34.806536 mtc HTTP_Adapter.ttcn:252 Sent on HTTP to system @HTTPmsg_Types.Close : { client_id := omit } 07:12:34.806566 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::outgoing_send(Close) 07:12:34.806594 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_all_clients 07:12:34.806615 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_client(client_id: 8) 07:12:34.806636 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_client() with returning Abstract_Socket::remove_client() 07:12:34.806662 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering Abstract_Socket::remove_client(8) 07:12:34.806694 mtc HTTP_Adapter.ttcn:252 Abstract socket: entering HTTPmsg__PT::remove_user_data(client_id: 8 07:12:34.806720 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::remove_user_data() with returning Abstract_Socket::remove_user_data() 07:12:34.806744 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_remove_peer: Removing client 8 from peer list 07:12:34.806765 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: Finding last peer of the peer array 07:12:34.806785 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_last_peer: No active peer found 07:12:34.806811 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: Resizing to 0 07:12:34.806831 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_resize_list: New length is 0 07:12:34.806883 mtc HTTP_Adapter.ttcn:252 Abstract socket: Removed client 8. 07:12:34.806911 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_client(8) 07:12:34.806932 mtc HTTP_Adapter.ttcn:252 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 07:12:34.806954 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving Abstract_Socket::remove_all_clients 07:12:34.806974 mtc HTTP_Adapter.ttcn:252 Abstract socket: leaving HTTPmsg__PT::outgoing_send(Close) 07:12:34.807000 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Stream before decoding: '7B22636C69656E7473223A5B7B2270656572223A224331333A31222C227374617465223A22434F4E4E45435445445F434C49454E54222C22636F6D706F6E656E745F6964223A7B22747970655F223A2272656D73696D436C69656E74222C226E616D65223A22666F6F626172222C22736F667477617265223A225454434E33222C22737756657273696F6E223A22302E31222C2268774D616E756661637475726572223A227379736D6F636F6D227D7D5D7D'O ("{\"clients\":[{\"peer\":\"C13:1\",\"state\":\"CONNECTED_CLIENT\",\"component_id\":{\"type_\":\"remsimClient\",\"name\":\"foobar\",\"software\":\"TTCN3\",\"swVersion\":\"0.1\",\"hwManufacturer\":\"sysmocom\"}}]}") 07:12:34.807096 mtc RemsimServer_Tests.ttcn:36 f_dec_JsRoot(): Decoded @RSRES.JsRoot: { clients := { { peer := "C13:1", state := CONNECTED_CLIENT (2), component_id := { type_ := remsimClient (0), name := "foobar", software := "TTCN3", swVersion := "0.1", hwManufacturer := "sysmocom", hwModel := omit, hwSerialNr := omit, hwVersion := omit, fwVersion := omit } } }, banks := omit, slotmaps := omit } 07:12:34.807151 mtc RemsimServer_Tests.ttcn:177 setverdict(pass): pass -> pass, component reason not changed 07:12:34.807183 mtc RemsimServer_Tests.ttcn:177 Terminating component type RemsimServer_Tests.test_CT. 07:12:34.807206 mtc RemsimServer_Tests.ttcn:177 Default with id 1 (altstep as_Tguard) was deactivated. 07:12:34.807228 mtc RemsimServer_Tests.ttcn:177 Default with id 2 (altstep as_ignore_id_ack) was deactivated. 07:12:34.807248 mtc RemsimServer_Tests.ttcn:177 Default with id 3 (altstep as_ignore_id_ack) was deactivated. 07:12:34.807267 mtc RemsimServer_Tests.ttcn:177 Stop timer g_T_guard: 60 s 07:12:34.807291 mtc RemsimServer_Tests.ttcn:177 Removing unterminated mapping between port HTTP and system:HTTP. 07:12:34.807313 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering HTTPmsg__PT::user_unmap(HTTP) 07:12:34.807333 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering Abstract_Socket::unmap_user() 07:12:34.807352 mtc RemsimServer_Tests.ttcn:177 Abstract socket: entering Abstract_Socket::remove_all_clients 07:12:34.807371 mtc RemsimServer_Tests.ttcn:177 Abstract socket: Abstract_Socket::peer_list_get_nr_of_peers: Number of active peers = 0 07:12:34.807390 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving Abstract_Socket::remove_all_clients 07:12:34.807410 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving Abstract_Socket::unmap_user() 07:12:34.807434 mtc RemsimServer_Tests.ttcn:177 Abstract socket: leaving HTTPmsg__PT::user_unmap() 07:12:34.807453 mtc RemsimServer_Tests.ttcn:177 Port HTTP was unmapped from system:HTTP. 07:12:34.807480 mtc RemsimServer_Tests.ttcn:177 Port HTTP was stopped. 07:12:34.807501 mtc RemsimServer_Tests.ttcn:177 Removing unterminated connection between port RSPRO[0] and RSPRO0(5):IPA_RSPRO_PORT. 07:12:34.807552 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[0] was stopped. 07:12:34.807565 5 IPA_Emulation.ttcnpp:735 Connection of port IPA_RSPRO_PORT to mtc:RSPRO[0] was closed unexpectedly by the peer. 07:12:34.807576 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[1] was stopped. 07:12:34.807595 mtc RemsimServer_Tests.ttcn:177 Port RSPRO[2] was stopped. 07:12:34.807614 mtc RemsimServer_Tests.ttcn:177 Component type RemsimServer_Tests.test_CT was shut down inside testcase TC_connect_client_duplicate. 07:12:34.807622 5 IPA_Emulation.ttcnpp:735 Port IPA_RSPRO_PORT was disconnected from mtc:RSPRO[0]. 07:12:34.807637 mtc RemsimServer_Tests.ttcn:177 Waiting for PTCs to finish. 07:12:34.807694 5 IPA_Emulation.ttcnpp:735 Kill was requested from MC. 07:12:34.807720 5 IPA_Emulation.ttcnpp:735 Terminating test component execution. 07:12:34.808034 5 - Function main_client was stopped. PTC terminates. 07:12:34.808070 5 - Terminating component type IPA_Emulation.IPA_Emulation_CT. 07:12:34.808091 5 - Removing unterminated mapping between port IPA_PORT and system:IPA_CODEC_PT. 07:12:34.808332 5 - Port IPA_PORT was unmapped from system:IPA_CODEC_PT. 07:12:34.808375 5 - Port IPA_PORT was stopped. 07:12:34.808400 5 - Port CFG_PORT was stopped. 07:12:34.808418 5 - Port IPA_CTRL_PORT was stopped. 07:12:34.808436 5 - Port IPA_RSPRO_PORT was stopped. 07:12:34.808454 5 - Port IPA_SP_PORT was stopped. 07:12:34.808472 5 - Component type IPA_Emulation.IPA_Emulation_CT was shut down inside testcase TC_connect_client_duplicate. 07:12:34.808498 5 - Final verdict of PTC: none 07:12:34.808596 5 - Disconnected from MC. 07:12:34.808600 mtc RemsimServer_Tests.ttcn:177 Setting final verdict of the test case. 07:12:34.808623 5 - TTCN-3 Parallel Test Component finished. 07:12:34.808628 mtc RemsimServer_Tests.ttcn:177 Local verdict of MTC: pass 07:12:34.808659 mtc RemsimServer_Tests.ttcn:177 Local verdict of PTC RSPRO0(5): none (pass -> pass) 07:12:34.808691 mtc RemsimServer_Tests.ttcn:177 Local verdict of PTC RSPRO1(6): none (pass -> pass) 07:12:34.808729 mtc RemsimServer_Tests.ttcn:177 Test case TC_connect_client_duplicate finished. Verdict: pass 07:12:34.808767 mtc RemsimServer_Tests.ttcn:177 Starting external command `../ttcn3-tcpdump-stop.sh RemsimServer_Tests.TC_connect_client_duplicate pass'. 07:12:36.831591 mtc RemsimServer_Tests.ttcn:177 External command `../ttcn3-tcpdump-stop.sh RemsimServer_Tests.TC_connect_client_duplicate pass' was executed successfully (exit status: 0). 07:12:36.831685 mtc RemsimServer_Tests.ttcn:180 Switching to log file `REMSIM_Tests-TC_connect_bank-29560f784baa-mtc.log'