05:05:30.890725 mtc OPCAP_CLIENT_Tests.ttcn:123 Starting external command `../ttcn3-tcpdump-start.sh OPCAP_CLIENT_Tests.TC_reconnect'. 05:05:31.917799 mtc OPCAP_CLIENT_Tests.ttcn:123 External command `../ttcn3-tcpdump-start.sh OPCAP_CLIENT_Tests.TC_reconnect' was executed successfully (exit status: 0). 05:05:31.917999 mtc OPCAP_CLIENT_Tests.ttcn:123 Test case TC_reconnect started. 05:05:31.918044 mtc OPCAP_CLIENT_Tests.ttcn:123 Initializing variables, timers and ports of component type OPCAP_CLIENT_Tests.test_CT inside testcase TC_reconnect. 05:05:31.918174 mtc OPCAP_CLIENT_Tests.ttcn:123 Port OPCAP[0] was started. 05:05:31.918205 mtc OPCAP_CLIENT_Tests.ttcn:123 Port OPCAP[1] was started. 05:05:31.918225 mtc OPCAP_CLIENT_Tests.ttcn:123 Port OPCAP[2] was started. 05:05:31.918245 mtc OPCAP_CLIENT_Tests.ttcn:123 Port VTY was started. 05:05:31.918264 mtc OPCAP_CLIENT_Tests.ttcn:123 Port IP was started. 05:05:31.918283 mtc OPCAP_CLIENT_Tests.ttcn:123 Component type OPCAP_CLIENT_Tests.test_CT was initialized. 05:05:31.918343 mtc OPCAP_CLIENT_Tests.ttcn:63 Mapping port mtc:VTY to system:VTY. 05:05:31.919246 mtc OPCAP_CLIENT_Tests.ttcn:63 Message enqueued on VTY from system integer : 2 id 1 05:05:31.919387 mtc OPCAP_CLIENT_Tests.ttcn:63 Port VTY was mapped to system:VTY. 05:05:31.919669 mtc OPCAP_CLIENT_Tests.ttcn:63 Map operation of mtc:VTY to system:VTY finished. 05:05:31.919812 mtc Osmocom_VTY_Functions.ttcn:59 Sent on VTY to system @TELNETasp_PortType.ASP_TelnetDynamicConfig : { prompt := { id := 1, prompt := "OsmoPCAPClient> ", has_wildcards := false } } 05:05:31.919859 mtc Osmocom_VTY_Functions.ttcn:59 Sent on VTY to system @TELNETasp_PortType.ASP_TelnetDynamicConfig : { prompt := { id := 2, prompt := "OsmoPCAPClient# ", has_wildcards := false } } 05:05:31.919887 mtc Osmocom_VTY_Functions.ttcn:59 Sent on VTY to system @TELNETasp_PortType.ASP_TelnetDynamicConfig : { prompt := { id := 3, prompt := "OsmoPCAPClient(*)", has_wildcards := true } } 05:05:31.920000 mtc Osmocom_VTY_Functions.ttcn:105 Sent on VTY to system charstring : "enable" 05:05:31.920137 mtc Osmocom_VTY_Functions.ttcn:70 Start timer T: 2 s 05:05:31.920182 mtc Osmocom_VTY_Functions.ttcn:72 Matching on port VTY failed: Type of the first message in the queue is not charstring. 05:05:31.920208 mtc Osmocom_VTY_Functions.ttcn:73 Matching on port VTY failed: Type of the first message in the queue is not charstring. 05:05:31.920230 mtc Osmocom_VTY_Functions.ttcn:74 Matching on port VTY failed: Type of the first message in the queue is not charstring. 05:05:31.920250 mtc Osmocom_VTY_Functions.ttcn:75 Matching on port VTY failed: Type of the first message in the queue is not charstring. 05:05:31.920270 mtc Osmocom_VTY_Functions.ttcn:85 Matching on port VTY failed: Type of the first message in the queue is not charstring. 05:05:31.920297 mtc Osmocom_VTY_Functions.ttcn:86 Matching on port VTY succeeded: 2 with ? matched 05:05:31.920328 mtc Osmocom_VTY_Functions.ttcn:86 Receive operation on port VTY succeeded, message from system(): integer : 2 id 1 05:05:31.920358 mtc Osmocom_VTY_Functions.ttcn:86 Message with id 1 was extracted from the queue of VTY. 05:05:31.920412 mtc Osmocom_VTY_Functions.ttcn:71 Message enqueued on VTY from system charstring : "OsmoPCAPClient# " id 2 05:05:31.920511 mtc Osmocom_VTY_Functions.ttcn:72 Matching on port VTY "OsmoPCAPClient# " with pattern "[\w-]+> " unmatched: First message in the queue does not match the template: 05:05:31.920593 mtc Osmocom_VTY_Functions.ttcn:73 Matching on port VTY succeeded: "OsmoPCAPClient# " with pattern "[\w-]+\# " matched 05:05:31.920625 mtc Osmocom_VTY_Functions.ttcn:73 Receive operation on port VTY succeeded, message from system(): charstring : "OsmoPCAPClient# " id 2 05:05:31.920653 mtc Osmocom_VTY_Functions.ttcn:73 Message with id 2 was extracted from the queue of VTY. 05:05:31.920682 mtc Osmocom_VTY_Functions.ttcn:99 Stop timer T: 2 s 05:05:31.920709 mtc OPCAP_CLIENT_Tests.ttcn:67 Mapping port mtc:IP to system:IP. 05:05:31.920962 mtc OPCAP_CLIENT_Tests.ttcn:67 Port IP was mapped to system:IP. 05:05:31.921314 mtc OPCAP_CLIENT_Tests.ttcn:67 Map operation of mtc:IP to system:IP finished. 05:05:31.921439 mtc OPCAP_CLIENT_Tests.ttcn:71 entering f__IPL4__PROVIDER__connect: 172.18.57.10:44423 -> 172.18.57.20:44442 / UDP 05:05:31.921512 mtc OPCAP_CLIENT_Tests.ttcn:71 entering f__IPL4__PROVIDER__listen: 172.18.57.10:44423 / UDP 05:05:31.921641 mtc OPCAP_CLIENT_Tests.ttcn:71 IP: f_IPL4_connect result: { errorCode := omit, connId := 1, os_error_code := omit, os_error_text := omit } 05:05:31.921680 mtc OPCAP_CLIENT_Tests.ttcn:50 Altstep as_Tguard was activated as default, id 1 05:05:31.921709 mtc OPCAP_CLIENT_Tests.ttcn:51 Start timer g_Tguard: 30 s 05:05:31.921742 mtc OPCAP_CLIENT_Tests.ttcn:52 Waiting for client-0 connection... 05:05:31.921795 mtc OPCAP_Adapter.ttcn:64 Mapping port mtc:OPCAP[0] to system:OPCAP. 05:05:31.921960 mtc OPCAP_Adapter.ttcn:64 Port OPCAP[0] was mapped to system:OPCAP. 05:05:31.922127 mtc OPCAP_Adapter.ttcn:64 Map operation of mtc:OPCAP[0] to system:OPCAP finished. 05:05:31.922158 mtc OPCAP_Adapter.ttcn:69 entering f__IPL4__PROVIDER__listen: 172.18.57.10:5000 / TCP 05:05:32.853222 mtc OPCAP_Adapter.ttcn:82 Message enqueued on OPCAP[0] from system @Socket_API_Definitions.PortEvent : { connOpened := { connId := 2, remName := "172.18.57.20", remPort := 42001, locName := "172.18.57.10", locPort := 5000, proto := { tcp := { } }, userData := 0 } } id 1 05:05:32.853397 mtc OPCAP_Adapter.ttcn:82 Matching on port OPCAP[0] succeeded: matched 05:05:32.853445 mtc OPCAP_Adapter.ttcn:82 Receive operation on port OPCAP[0] succeeded, message from system(): @Socket_API_Definitions.PortEvent : { connOpened := { connId := 2, remName := "172.18.57.20", remPort := 42001, locName := "172.18.57.10", locPort := 5000, proto := { tcp := { } }, userData := 0 } } id 1 05:05:32.853481 mtc OPCAP_Adapter.ttcn:82 Message with id 1 was extracted from the queue of OPCAP[0]. 05:05:32.853509 mtc OPCAP_Adapter.ttcn:83 Connection from "172.18.57.20":42001 05:05:32.853661 mtc OPCAP_Adapter.ttcn:100 Message enqueued on OPCAP[0] from system @IPL4asp_Types.ASP_RecvFrom : { connId := 2, remName := "172.18.57.20", remPort := 42001, locName := "172.18.57.10", locPort := 5000, proto := { tcp := { } }, userData := 0, msg := '00000018D4C3B2A10200040000000000000000002823000001000000'O } id 2 05:05:32.853695 mtc OPCAP_CodecPort.ttcn:41 dec_OPCAP_PDU(): Stream before decoding: '00000018D4C3B2A10200040000000000000000002823000001000000'O 05:05:32.853756 mtc OPCAP_CodecPort.ttcn:41 dec_OPCAP_PDU(): Decoded @OPCAP_Types.OPCAP_PDU: { msg_type := PKT_LINK_HDR (0), spare := 0, len := 24, u := { file := { magic := 2712847316, version_major := 2, version_minor := 4, thiszone := 0, sigfigs := 0, snaplen := 9000, linktype := 1 } } } 05:05:32.853847 mtc OPCAP_Adapter.ttcn:100 Incoming message was mapped to @OPCAP_CodecPort.OPCAP_RecvFrom : { connId := 2, msg := { msg_type := PKT_LINK_HDR (0), spare := 0, len := 24, u := { file := { magic := 2712847316, version_major := 2, version_minor := 4, thiszone := 0, sigfigs := 0, snaplen := 9000, linktype := 1 } } } } id 2 05:05:32.853896 mtc OPCAP_Adapter.ttcn:100 Matching on port OPCAP[0] succeeded: matched 05:05:32.853930 mtc OPCAP_Adapter.ttcn:100 Receive operation on port OPCAP[0] succeeded, message from system(): @OPCAP_CodecPort.OPCAP_RecvFrom : { connId := 2, msg := { msg_type := PKT_LINK_HDR (0), spare := 0, len := 24, u := { file := { magic := 2712847316, version_major := 2, version_minor := 4, thiszone := 0, sigfigs := 0, snaplen := 9000, linktype := 1 } } } } id 2 05:05:32.853960 mtc OPCAP_Adapter.ttcn:100 Message with id 2 was extracted from the queue of OPCAP[0]. 05:05:32.854068 mtc Osmocom_Types.ttcn:118 Start timer T: 2 s 05:05:34.855342 mtc Osmocom_Types.ttcn:119 Timeout T: 2 s 05:05:34.855549 mtc OPCAP_CLIENT_Tests.ttcn:129 Disconnecting client-0 05:05:34.855844 mtc OPCAP_Adapter.ttcn:91 Port OPCAP[0] was cleared. 05:05:36.857294 mtc OPCAP_Adapter.ttcn:82 Message enqueued on OPCAP[0] from system @Socket_API_Definitions.PortEvent : { connOpened := { connId := 3, remName := "172.18.57.20", remPort := 40439, locName := "172.18.57.10", locPort := 5000, proto := { tcp := { } }, userData := 0 } } id 3 05:05:36.857471 mtc OPCAP_Adapter.ttcn:82 Matching on port OPCAP[0] succeeded: matched 05:05:36.857517 mtc OPCAP_Adapter.ttcn:82 Receive operation on port OPCAP[0] succeeded, message from system(): @Socket_API_Definitions.PortEvent : { connOpened := { connId := 3, remName := "172.18.57.20", remPort := 40439, locName := "172.18.57.10", locPort := 5000, proto := { tcp := { } }, userData := 0 } } id 3 05:05:36.857578 mtc OPCAP_Adapter.ttcn:82 Message with id 3 was extracted from the queue of OPCAP[0]. 05:05:36.857605 mtc OPCAP_Adapter.ttcn:83 Connection from "172.18.57.20":40439 05:05:36.857756 mtc OPCAP_Adapter.ttcn:100 Message enqueued on OPCAP[0] from system @IPL4asp_Types.ASP_RecvFrom : { connId := 3, remName := "172.18.57.20", remPort := 40439, locName := "172.18.57.10", locPort := 5000, proto := { tcp := { } }, userData := 0, msg := '00000018D4C3B2A10200040000000000000000002823000001000000'O } id 4 05:05:36.857790 mtc OPCAP_CodecPort.ttcn:41 dec_OPCAP_PDU(): Stream before decoding: '00000018D4C3B2A10200040000000000000000002823000001000000'O 05:05:36.857850 mtc OPCAP_CodecPort.ttcn:41 dec_OPCAP_PDU(): Decoded @OPCAP_Types.OPCAP_PDU: { msg_type := PKT_LINK_HDR (0), spare := 0, len := 24, u := { file := { magic := 2712847316, version_major := 2, version_minor := 4, thiszone := 0, sigfigs := 0, snaplen := 9000, linktype := 1 } } } 05:05:36.857935 mtc OPCAP_Adapter.ttcn:100 Incoming message was mapped to @OPCAP_CodecPort.OPCAP_RecvFrom : { connId := 3, msg := { msg_type := PKT_LINK_HDR (0), spare := 0, len := 24, u := { file := { magic := 2712847316, version_major := 2, version_minor := 4, thiszone := 0, sigfigs := 0, snaplen := 9000, linktype := 1 } } } } id 4 05:05:36.857984 mtc OPCAP_Adapter.ttcn:100 Matching on port OPCAP[0] succeeded: matched 05:05:36.858019 mtc OPCAP_Adapter.ttcn:100 Receive operation on port OPCAP[0] succeeded, message from system(): @OPCAP_CodecPort.OPCAP_RecvFrom : { connId := 3, msg := { msg_type := PKT_LINK_HDR (0), spare := 0, len := 24, u := { file := { magic := 2712847316, version_major := 2, version_minor := 4, thiszone := 0, sigfigs := 0, snaplen := 9000, linktype := 1 } } } } id 4 05:05:36.858048 mtc OPCAP_Adapter.ttcn:100 Message with id 4 was extracted from the queue of OPCAP[0]. 05:05:36.858078 mtc OPCAP_CLIENT_Tests.ttcn:134 setverdict(pass): none -> pass 05:05:36.858116 mtc OPCAP_CLIENT_Tests.ttcn:134 Terminating component type OPCAP_CLIENT_Tests.test_CT. 05:05:36.858146 mtc OPCAP_CLIENT_Tests.ttcn:134 Default with id 1 (altstep as_Tguard) was deactivated. 05:05:36.858173 mtc OPCAP_CLIENT_Tests.ttcn:134 Stop timer g_Tguard: 30 s 05:05:36.858210 mtc OPCAP_CLIENT_Tests.ttcn:134 Removing unterminated mapping between port OPCAP[0] and system:OPCAP. 05:05:36.858392 mtc OPCAP_CLIENT_Tests.ttcn:134 Port OPCAP[0] was unmapped from system:OPCAP. 05:05:36.858428 mtc OPCAP_CLIENT_Tests.ttcn:134 Port OPCAP[0] was stopped. 05:05:36.858453 mtc OPCAP_CLIENT_Tests.ttcn:134 Port OPCAP[1] was stopped. 05:05:36.858473 mtc OPCAP_CLIENT_Tests.ttcn:134 Port OPCAP[2] was stopped. 05:05:36.858492 mtc OPCAP_CLIENT_Tests.ttcn:134 Removing unterminated mapping between port VTY and system:VTY. 05:05:36.858547 mtc OPCAP_CLIENT_Tests.ttcn:134 Port VTY was unmapped from system:VTY. 05:05:36.858575 mtc OPCAP_CLIENT_Tests.ttcn:134 Port VTY was stopped. 05:05:36.858595 mtc OPCAP_CLIENT_Tests.ttcn:134 Removing unterminated mapping between port IP and system:IP. 05:05:36.858630 mtc OPCAP_CLIENT_Tests.ttcn:134 Port IP was unmapped from system:IP. 05:05:36.858659 mtc OPCAP_CLIENT_Tests.ttcn:134 Port IP was stopped. 05:05:36.858680 mtc OPCAP_CLIENT_Tests.ttcn:134 Component type OPCAP_CLIENT_Tests.test_CT was shut down inside testcase TC_reconnect. 05:05:36.858708 mtc OPCAP_CLIENT_Tests.ttcn:134 Waiting for PTCs to finish. 05:05:36.858918 mtc OPCAP_CLIENT_Tests.ttcn:134 Setting final verdict of the test case. 05:05:36.859051 mtc OPCAP_CLIENT_Tests.ttcn:134 Local verdict of MTC: pass 05:05:36.859092 mtc OPCAP_CLIENT_Tests.ttcn:134 No PTCs were created. 05:05:36.859121 mtc OPCAP_CLIENT_Tests.ttcn:134 Test case TC_reconnect finished. Verdict: pass 05:05:36.859161 mtc OPCAP_CLIENT_Tests.ttcn:134 Starting external command `../ttcn3-tcpdump-stop.sh OPCAP_CLIENT_Tests.TC_reconnect pass'. 05:05:38.897068 mtc OPCAP_CLIENT_Tests.ttcn:134 External command `../ttcn3-tcpdump-stop.sh OPCAP_CLIENT_Tests.TC_reconnect pass' was executed successfully (exit status: 0). 05:05:38.897282 mtc OPCAP_CLIENT_Tests.ttcn:138 Switching to log file `OPCAP_CLIENT_Tests-TC_capture-1a2a0c6d5eca-mtc.log'