osmo-ttcn3-hacks/library
Stefan Sperling 23b45974ce detect VTY TELNET port connection failures (attempt #2)
Pass the CTRL_DETECT_CONNECTION_ESTABLISHMENT_RESULT parameter to
the TELNET port by default. This allows tests to make progress
into an error handling path if they are started while the osmo-*
program they want to connect on VTY is not running.

Observed with osmo-ggsn tests, where if the one test runs
into a VTY connection failure the subsequent test would get
stuck forever in a map() call on the VTY TELNET port.

Teach the function f_vty_wait_for_prompt() about connection
reports by the TELNET module. We may now receive an integer which
represents the socket file descriptor for the telnet connection.
This case was not handled by the previous change made in
commit cb111b21ab. As a result,
BSC tests started failing with "VTY Timeout for prompt" because
the alt-statement in f_vty_wait_for_prompt() would not progress
past the integer sitting on the VTY port's receive queue.

Change-Id: I56925f93af6c55e93f3f417099db135744da6a40
Related: OS#3149
2018-07-27 17:20:38 +02:00
..
BSSAP_Adapter.ttcn introduce a TTCN3 test suite for SCCP 2018-07-24 19:05:10 +00:00
BSSAP_CodecPort.ttcn Add comments with short module description on top of each file 2018-01-03 21:09:29 +01:00
BSSGP_Emulation.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
BSSGP_Helper.cc gprs: Move BSSGP related code to library 2018-02-16 18:33:59 +01:00
BSSGP_Helper_Functions.ttcn gprs: Move BSSGP related code to library 2018-02-16 18:33:59 +01:00
BSSGP_Types.ttcn gprs: Move BSSGP related code to library 2018-02-16 18:33:59 +01:00
BSSMAP_Emulation.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
BSSMAP_Templates.ttcn bsc: Add LCLS related test cases 2018-06-03 10:33:41 +00:00
GSMTAP_PortType.ttcn Add ASP_ConnId_ReadyToRelease in all translation ports using IPL4asp 2017-11-19 09:29:51 +01:00
GSMTAP_Types.ttcn Introduce 'library' directory for modules shared by multiple test cases 2017-07-19 19:57:26 +02:00
GSM_RR_Types.ttcn bts: More complete AGCH / IMM.ASS testing 2018-06-10 21:44:29 +02:00
GSM_SystemInformation.ttcn Merge duplicate SI3 in GSM_RR_Types and GSM_SystemInformation 2018-02-25 16:17:33 +01:00
GSM_Types.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
GSUP_Emulation.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
GSUP_Types.ttcn library/GSUP_Types.ttcn: SS Info IE is optional for GSUP_PROC_SS_* 2018-06-21 21:58:39 +07:00
GTP_CodecPort.ttcn move GTP_CodecPort from ggsn to library (for sgsn reuse) 2018-02-18 10:26:45 +01:00
GTP_CodecPort_CtrlFunct.ttcn move GTP_CodecPort from ggsn to library (for sgsn reuse) 2018-02-18 10:26:45 +01:00
GTP_CodecPort_CtrlFunctDef.cc move GTP_CodecPort from ggsn to library (for sgsn reuse) 2018-02-18 10:26:45 +01:00
GTP_Emulation.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
GTP_Templates.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
General_Types.ttcn bts: Type Definition + Template for SI3; Send SI3 at start of test 2018-02-25 12:57:21 +01:00
IPA_CodecPort.ttcn Add comments with short module description on top of each file 2018-01-03 21:09:29 +01:00
IPA_CodecPort_CtrlFunct.ttcn IPA_CodecPort: Wrap f_IPL4_setGetMsgLen function 2017-11-29 11:46:24 +01:00
IPA_CodecPort_CtrlFunctDef.cc IPA_CodecPort: Wrap f_IPL4_setGetMsgLen function 2017-11-29 11:46:24 +01:00
IPA_Emulation.ttcnpp library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
IPA_Types.ttcn Add comments with short module description on top of each file 2018-01-03 21:09:29 +01:00
IPCP_Types.ttcn ggsn: Verify presence of DNS addresses in IPCP of PCO 2017-12-04 19:04:24 +01:00
IPL4_GSMTAP_CtrlFunct.ttcn Introduce 'library' directory for modules shared by multiple test cases 2017-07-19 19:57:26 +02:00
IPL4_GSMTAP_CtrlFunctDef.cc Introduce 'library' directory for modules shared by multiple test cases 2017-07-19 19:57:26 +02:00
IuUP_Emulation.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
IuUP_EncDec.cc Add 3GPP TS 25.415 IuUP encoder/decoder 2017-12-25 00:00:58 +01:00
IuUP_Types.ttcn Add comments with short module description on top of each file 2018-01-03 21:09:29 +01:00
L1CTL_PortType.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
L1CTL_PortType_CtrlFunct.ttcn L1CTL: Add message segmentation helper via getMsgLen() 2018-02-27 22:32:49 +01:00
L1CTL_PortType_CtrlFunctDef.cc L1CTL: Add message segmentation helper via getMsgLen() 2018-02-27 22:32:49 +01:00
L1CTL_Types.ttcn bts: ciphering tests 2018-05-10 18:36:59 +02:00
L3_Common.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
L3_Templates.ttcn lib: L3_Templates: Fix DEACT PDP REQ msg type and make tearDownInd optional 2018-07-13 19:16:22 +02:00
LAPDm_RAW_PT.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
LAPDm_Types.ttcn bts: ciphering tests 2018-05-10 18:36:59 +02:00
LLC_Templates.ttcn sgsn: Add user plane GTP testing (GTP->Gb and Gb->GTP) 2018-02-18 20:23:31 +01:00
MGCP_CodecPort.ttcn MGCP_CodecPort: Receive MGCP command or response 2018-01-26 10:42:53 +01:00
MGCP_CodecPort_CtrlFunct.ttcn Move MGCP_CodecPort to library directory 2017-11-25 02:05:04 +01:00
MGCP_CodecPort_CtrlFunctDef.cc Move MGCP_CodecPort to library directory 2017-11-25 02:05:04 +01:00
MGCP_Emulation.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
MGCP_Templates.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
MGCP_Types.ttcn BSC_Tests: use correct payload types and encoding names on MGCP 2018-06-25 19:55:09 +00:00
MNCC_CodecPort.ttcn MNCC: Add some useful templates / helper functions 2018-01-17 13:34:58 +00:00
MNCC_Emulation.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
MNCC_EncDec.cc MNCC_EncDec.cc: Fix decoding of speech versions in bearer capabilities 2018-03-26 23:07:24 +02:00
MNCC_Types.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
NS_CodecPort.ttcn Migrate Gb (NS/BSSGP) code over to Ericsson NS/BSSGP modules 2018-02-16 18:35:44 +00:00
NS_CodecPort_CtrlFunct.ttcn gprs: Move NS Types/CodecPort/Emulation to library directory 2018-02-16 18:33:55 +01:00
NS_CodecPort_CtrlFunctDef.cc gprs: Move NS Types/CodecPort/Emulation to library directory 2018-02-16 18:33:55 +01:00
NS_Emulation.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
NS_Types.ttcn gprs: Move NS Types/CodecPort/Emulation to library directory 2018-02-16 18:33:55 +01:00
Native_FunctionDefs.cc library: Implement f_inet6_addr function 2018-01-29 15:18:19 +01:00
Native_Functions.ttcn library: Implement f_inet6_addr function 2018-01-29 15:18:19 +01:00
Osmocom_CTRL_Adapter.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
Osmocom_CTRL_Functions.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
Osmocom_CTRL_Types.ttcn Add comments with short module description on top of each file 2018-01-03 21:09:29 +01:00
Osmocom_Gb_Types.ttcn gprs_gb: working Uplink PACKET_CONTROL_ACK against OsmoPCU 2018-03-12 14:23:57 +00:00
Osmocom_Types.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
Osmocom_VTY_Functions.ttcn detect VTY TELNET port connection failures (attempt #2) 2018-07-27 17:20:38 +02:00
PCUIF_CodecPort.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
PCUIF_Types.ttcn PCUIF_Types: Fix bit-order of pdch_mask 2018-04-04 19:26:41 +02:00
RLCMAC_CSN1_Types.ttcn pcu: First DL TBF hack 2018-03-12 15:50:03 +01:00
RLCMAC_EncDec.cc RLCMAC_EncDec: Fix handling of optional LlcBlockHdr 2018-03-12 14:23:57 +00:00
RLCMAC_Types.ttcn WIP: Work towards a more real DL TBF receiver implementation 2018-03-12 16:04:15 +01:00
RSL_Emulation.ttcn Fail if f_streamId_by_trx() can't find a stream id 2018-07-24 14:19:42 +02:00
RSL_Types.ttcn bts: Extend Osmocom-specific RSL "supplementary meas info IE" 2018-06-29 17:53:10 +00:00
RTP_CodecPort.ttcn Add comments with short module description on top of each file 2018-01-03 21:09:29 +01:00
RTP_CodecPort_CtrlFunct.ttcn Add missing RTP_CodecPort_CtrlFunct TTCN and C++ files 2017-12-13 15:42:31 +01:00
RTP_CodecPort_CtrlFunctDef.cc Add missing RTP_CodecPort_CtrlFunct TTCN and C++ files 2017-12-13 15:42:31 +01:00
RTP_Emulation.ttcn MGCP_Test: add function to check for RTP err counters 2018-07-25 18:44:54 +00:00
SCCP_Templates.ttcn introduce a TTCN3 test suite for SCCP 2018-07-24 19:05:10 +00:00
SIP_Emulation.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
SIP_Templates.ttcn More progress on osmo-sip-connector tests 2018-03-26 23:11:51 +02:00
SMPP_CodecPort.ttcn msc: Add SMPP_CodecPort 2018-04-14 21:58:16 +02:00
SMPP_CodecPort_CtrlFunct.ttcn msc: Add SMPP_CodecPort 2018-04-14 21:58:16 +02:00
SMPP_CodecPort_CtrlFunctDef.cc msc: Add SMPP_CodecPort 2018-04-14 21:58:16 +02:00
SMPP_Emulation.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
SMPP_Templates.ttcn msc: Add SMPP tests for MO + MT SMS 2018-04-14 21:58:16 +02:00
SS_Templates.ttcn library/SS_Templates.ttcn: add empty Return Result template 2018-06-19 22:20:35 +07:00
TRXC_CodecPort.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
TRXC_CodecPort_CtrlFunct.ttcn Add TRXC (OsmoTRX Control) protocol types + codec port 2018-02-24 01:03:09 +01:00
TRXC_CodecPort_CtrlFunctDef.cc Add TRXC (OsmoTRX Control) protocol types + codec port 2018-02-24 01:03:09 +01:00
TRXC_Types.ttcn bts: Update towards most recent "laforge/trx" branch 2018-02-28 23:44:00 +01:00
mncc.h Add a MNCC Socket implementation for TTCN-3 2018-01-03 21:09:35 +01:00