Osmocom test suites in TTCN-3 (Eclipse Titan) https://osmocom.org/projects/core-testing-infra
Go to file
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
COMMON initial chekin of code received by Ericsson on 20170410 2017-04-12 12:13:44 +02:00
ROHC_CNL113426_LATEST import Ericsson NS, ISUP, ROHC and SNDCP modules for TITAN 2017-07-25 08:23:52 +02:00
SCCP_Test Change addressing configuration to match libosmo-sigtran m3ua_test 2017-04-12 12:18:28 +02:00
bin Remove M3UA/MTP3/SCCP code from this repo, use upstream repos 2018-03-18 12:52:20 +01:00
bsc detect VTY TELNET port connection failures (attempt #2) 2018-07-27 17:20:38 +02:00
bsc-nat Print more self-explanatory error message on bind/connect failures 2018-05-23 20:27:02 +02:00
bts detect VTY TELNET port connection failures (attempt #2) 2018-07-27 17:20:38 +02:00
deps move M3UA_Emulation dependency repository to commit R.2.A-2-g742cf02 2018-06-14 11:24:15 +00:00
ggsn_tests detect VTY TELNET port connection failures (attempt #2) 2018-07-27 17:20:38 +02:00
hlr detect VTY TELNET port connection failures (attempt #2) 2018-07-27 17:20:38 +02:00
lapdm LAPDm: Re-structure: Merge Frame type A+B which are really the same 2018-04-18 23:23:22 +02:00
library detect VTY TELNET port connection failures (attempt #2) 2018-07-27 17:20:38 +02:00
mgw MGCP_Test: Test what happens when two ends use different PT 2018-07-25 18:51:06 +00:00
msc detect VTY TELNET port connection failures (attempt #2) 2018-07-27 17:20:38 +02:00
pcu Stop tests after failures 2018-07-24 14:19:42 +02:00
sccp detect VTY TELNET port connection failures (attempt #2) 2018-07-27 17:20:38 +02:00
selftest Stop tests after failures 2018-07-24 14:19:42 +02:00
sgsn detect VTY TELNET port connection failures (attempt #2) 2018-07-27 17:20:38 +02:00
sip detect VTY TELNET port connection failures (attempt #2) 2018-07-27 17:20:38 +02:00
sysinfo Stop tests after failures 2018-07-24 14:19:42 +02:00
.gitignore add compare-results.sh, call from start-testsuite.sh 2018-04-06 01:07:15 +02:00
.gitreview Add git-review config 2017-12-13 11:15:48 +01:00
Common.cfg Make Console Loggign a bit more verbose: add all USER "log()" 2018-03-18 14:16:37 +01:00
Makefile introduce a TTCN3 test suite for SCCP 2018-07-24 19:05:10 +00:00
compare-results.sh add compare-results.sh, call from start-testsuite.sh 2018-04-06 01:07:15 +02:00
gen_links.sh.inc ignore results of .ttcnpp files 2018-03-16 18:25:58 +01:00
log_merge.sh log_merge.sh: Fix removal of log files 2018-03-20 22:21:57 +01:00
mask_expected_results.sh add mask_expected_results.sh 2018-04-11 19:32:01 +02:00
regen-makefile.sh support ccache to speed up ttcn3 test compilation 2018-04-06 16:58:46 +00:00
rmlinks.sh Remove M3UA/MTP3/SCCP code from this repo, use upstream repos 2018-03-18 12:52:20 +01:00
start-testsuite.sh fix build: don't clean out expected-results.log: rename to *.xml 2018-04-11 19:29:18 +02:00
ttcn3-tcpdump-start.sh ttcn3-tcpdump-start.sh: reduce snaplen of tcpdump 2018-05-15 20:54:54 +00:00
ttcn3-tcpdump-stop.sh ttcn3-tcpdump-stop.sh: print colored verdict 2018-06-23 11:43:00 +00:00
update_expected_results_from_jenkins.sh add update_expected_results_from_jenkins.sh 2018-04-11 19:49:36 +02:00