Skip to content

Failed

ttcn3_bts_tests:trx.ttcn3_bts_tests.py (from ttcn3_bts_tests_trx)

Failing for the past 4 builds (Since #2740 )
Took 21 sec.

Stacktrace

osmo-mgw_10.42.42.3(pid=30060): Process ended prematurely: osmo-mgw_10.42.42.3(pid=30060) [trial-2743↪ttcn3_bts_tests:trx↪ttcn3_bts_tests.py:47↪ttcn3_bts_tests.py↪osmo-mgw_10.42.42.3↪osmo-mgw_10.42.42.3(pid=30060)]

Standard Output

----------------------------------------------
trial-2743 ttcn3_bts_tests:trx ttcn3_bts_tests.py
----------------------------------------------
00:20:46.463202 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:20:46.476491 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:20:46.490272 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:20:46.503932 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:20:46.517585 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:20:46.531152 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:20:46.544693 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:20:46.558455 tst              ttcn3_bts_tests:trx: Using 1 x bts (candidates: 1)
00:20:47.125262 tst               ttcn3_bts_tests.py: using LAC 9761
00:20:47.260645 tst               ttcn3_bts_tests.py: using RAC 71
00:20:47.391947 tst               ttcn3_bts_tests.py: using CellId 9761
00:20:47.526438 tst               ttcn3_bts_tests.py: using BVCI 2044
00:20:47.550225 tst              ttcn3_bts_tests:trx: Using 1 x osmocon_phone (candidates: 1)
00:20:47.725236 tst            ttcn3_bts_tests.py:35: Starting CNI
00:20:47.854320 run              osmo-hlr_10.42.42.2: Starting osmo-hlr
00:20:49.596796 run         create_hlr_db(pid=30049): Launched
00:20:50.785335 run         create_hlr_db(pid=30049): Terminated: ok {rc=0}
00:20:51.120992 run pcap-recorder_any(filters='host 10.42.42.2')(pid=30051): Launched
00:20:51.443241 run   osmo-hlr_10.42.42.2(pid=30052): Launched
00:20:51.557994 run              osmo-stp_10.42.42.4: Starting osmo-stp
00:20:54.289929 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=30054): Launched
00:20:54.615218 run   osmo-stp_10.42.42.4(pid=30055): Launched
00:20:54.726394 run              osmo-msc_10.42.42.5: Starting osmo-msc
00:20:59.686382 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=30056): Launched
00:21:00.003494 run   osmo-msc_10.42.42.5(pid=30057): Launched
00:21:00.161050 run              osmo-mgw_10.42.42.3: Starting osmo-mgw
00:21:02.022784 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=30059): Launched
00:21:02.340734 run   osmo-mgw_10.42.42.3(pid=30060): Launched
00:21:02.370933 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:21:02.473344 run              osmo-bsc_10.42.42.8: Starting osmo-bsc
00:21:06.350738 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=30062): Launched
00:21:06.668874 run   osmo-bsc_10.42.42.8(pid=30063): Launched
00:21:06.846438 run   osmo-mgw_10.42.42.3(pid=30060): ERR: Terminated: ERROR {rc=255}  [trial-2743↪ttcn3_bts_tests:trx↪ttcn3_bts_tests.py:47↪ttcn3_bts_tests.py↪osmo-mgw_10.42.42.3↪osmo-mgw_10.42.42.3(pid=30060)]
00:21:06.978084 run   osmo-mgw_10.42.42.3(pid=30060): stdout:
 | (launched: 2020-11-09_00:21:02.181012) 
00:21:07.106285 run   osmo-mgw_10.42.42.3(pid=30060): stderr:
 | (launched: 2020-11-09_00:21:02.227390)
| range must end at an odd port number, autocorrecting port (16000) to: 16001
| <0002> socket.c:912 unable to bind socket:10.42.42.3:4243: Address already in use
| <0002> socket.c:923 no suitable addr found for: 10.42.42.3:4243
| <0002> telnet_interface.c:100 Cannot bind telnet at 10.42.42.3 4243 
00:21:07.229400 run   osmo-mgw_10.42.42.3(pid=30060): stdout:
 | (launched: 2020-11-09_00:21:02.181012) 
00:21:07.350133 run   osmo-mgw_10.42.42.3(pid=30060): stderr:
 | (launched: 2020-11-09_00:21:02.227390)
| range must end at an odd port number, autocorrecting port (16000) to: 16001
| <0002> socket.c:912 unable to bind socket:10.42.42.3:4243: Address already in use
| <0002> socket.c:923 no suitable addr found for: 10.42.42.3:4243
| <0002> telnet_interface.c:100 Cannot bind telnet at 10.42.42.3 4243 
00:21:07.402513 tst            ttcn3_bts_tests.py:47: ERR: Error: osmo-mgw_10.42.42.3(pid=30060): Process ended prematurely: osmo-mgw_10.42.42.3(pid=30060) [trial-2743↪ttcn3_bts_tests:trx↪ttcn3_bts_tests.py:47↪ttcn3_bts_tests.py↪osmo-mgw_10.42.42.3↪osmo-mgw_10.42.42.3(pid=30060)]  [trial-2743↪ttcn3_bts_tests:trx↪ttcn3_bts_tests.py:47]
00:21:07.412073 tst            ttcn3_bts_tests.py:47: Test FAILED (21.0 sec)
00:21:07.489008 run   osmo-hlr_10.42.42.2(pid=30052): ERR: Terminated: ERROR {rc=255}  [trial-2743↪ttcn3_bts_tests:trx↪ttcn3_bts_tests.py↪ttcn3_bts_tests.py↪osmo-hlr_10.42.42.2↪osmo-hlr_10.42.42.2(pid=30052)]
00:21:07.552153 run   osmo-hlr_10.42.42.2(pid=30052): stdout:
 | (launched: 2020-11-09_00:20:51.288258) 
00:21:07.616170 run   osmo-hlr_10.42.42.2(pid=30052): stderr:
 | �[0;m�[1;31m20201109002051440 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SECURE_DELETE'
| �[0;m�[1;31m20201109002051440 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SOUNDEX'
| �[0;m�[1;31m20201109002051440 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SYSTEM_MALLOC'
| �[0;m�[1;31m20201109002051440 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'TEMP_STORE=1'
| �[0;m�[1;31m20201109002051440 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'THREADSAFE=1'
| �[0;m�[1;31m20201109002051440 �[1;34mDDB�[0;m�[1;31m <0001> db.c:561 Not setting SQL log callback: SQLite3 compiled without support for it
| �[0;m�[1;31m20201109002051460 �[1;33mDDB�[0;m�[1;31m <0001> db.c:601 Database '/home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2743/run.2020-11-09_00-20-42/ttcn3_bts_tests:trx/ttcn3_bts_tests.py/osmo-hlr_10.42.42.2/hlr.db' has HLR DB schema version 5
| �[0;m20201109002051466 �[1;31mDLGLOBAL�[0;m <0008> socket.c:912 unable to bind socket:10.42.42.2:4258: Address already in use
| 20201109002051466 �[1;31mDLGLOBAL�[0;m <0008> socket.c:923 no suitable addr found for: 10.42.42.2:4258
| 20201109002051467 �[1;31mDLGLOBAL�[0;m <0008> telnet_interface.c:100 Cannot bind telnet at 10.42.42.2 4258 
00:21:07.703021 run   osmo-msc_10.42.42.5(pid=30057): ERR: Terminated: ERROR {rc=9}  [trial-2743↪ttcn3_bts_tests:trx↪ttcn3_bts_tests.py↪ttcn3_bts_tests.py↪osmo-msc_10.42.42.5↪osmo-msc_10.42.42.5(pid=30057)]
00:21:07.766339 run   osmo-msc_10.42.42.5(pid=30057): stdout:
 | (launched: 2020-11-09_00:20:59.844589) 
00:21:07.830563 run   osmo-msc_10.42.42.5(pid=30057): stderr:
 | 20201109002100383 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Terminating (cause = OSMO_FSM_TERM_REQUEST)
| 20201109002100384 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Freeing instance
| 20201109002100384 �[1;34mDLSS7�[0;m <001f> fsm.c:573 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Deallocated
| 20201109002100384 �[1;34mDLSS7�[0;m <001f> fsm.c:461 XUA_ASP(asp0)[0x612000012fa0]{ASP_DOWN}: Allocated
| 20201109002100384 �[1;33mDLSCCP�[0;m <0020> sccp_user.c:631 OsmoMSC-A-Iu: Using ASP instance asp0
| 20201109002100384 �[1;33mDLSS7�[0;m <001f> osmo_ss7.c:440 0: Creating SCCP instance
| 20201109002100384 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:464 registering user=SCCP for SI 3 with priv 0x612000012e20
| 20201109002100384 �[1;33mDLGLOBAL�[0;m <0013> socket.c:801 unable to bind socket: 0.0.0.0:29118: Address already in use
| 20201109002100384 �[1;31mDSGS�[0;m <0011> sgs_server.c:182 SGs socket cannot be opened: Address already in use
| Starting SGs server failed 
00:21:07.885233 run pcap-recorder_any(filters='host 10.42.42.2')(pid=30051): Terminating (SIGTERM)
00:21:07.936838 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=30054): Terminating (SIGTERM)
00:21:07.988184 run   osmo-stp_10.42.42.4(pid=30055): Terminating (SIGTERM)
00:21:08.042024 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=30056): Terminating (SIGTERM)
00:21:08.095789 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=30059): Terminating (SIGTERM)
00:21:08.147965 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=30062): Terminating (SIGTERM)
00:21:08.200100 run   osmo-bsc_10.42.42.8(pid=30063): Terminating (SIGTERM)
00:21:08.211901 ---      ParallelTerminationStrategy: PID 30051 died...
00:21:08.281420 run pcap-recorder_any(filters='host 10.42.42.2')(pid=30051): Terminated: ok {rc=0}
00:21:08.293682 ---      ParallelTerminationStrategy: PID 30054 died...
00:21:08.363125 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=30054): Terminated: ok {rc=0}
00:21:08.375336 ---      ParallelTerminationStrategy: PID 30055 died...
00:21:08.444507 run   osmo-stp_10.42.42.4(pid=30055): Terminated: ok {rc=0}
00:21:08.456683 ---      ParallelTerminationStrategy: PID 30056 died...
00:21:08.526207 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=30056): Terminated: ok {rc=0}
00:21:08.538456 ---      ParallelTerminationStrategy: PID 30059 died...
00:21:08.608013 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=30059): Terminated: ok {rc=0}
00:21:08.620285 ---      ParallelTerminationStrategy: PID 30062 died...
00:21:08.689795 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=30062): Terminated: ok {rc=0}
00:21:11.385573 ---      ParallelTerminationStrategy: PID 30063 died...
00:21:11.456594 run   osmo-bsc_10.42.42.8(pid=30063): Terminated: ok {rc=0}

Standard Error

Traceback (most recent call last):
  File "/home/jenkins/workspace/osmo-gsm-tester_ttcn3/osmo-gsm-tester/src/osmo_gsm_tester/core/test.py", line 76, in run
    self.path)
  File "/home/jenkins/workspace/osmo-gsm-tester_ttcn3/osmo-gsm-tester/src/osmo_gsm_tester/core/util.py", line 367, in run_python_file
    spec.loader.exec_module( importlib.util.module_from_spec(spec) )
  File "<frozen importlib._bootstrap_external>", line 673, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/home/jenkins/workspace/osmo-gsm-tester_ttcn3/osmo-gsm-tester/sysmocom/ttcn3/suites/ttcn3_bts_tests/ttcn3_bts_tests.py", line 47, in <module>
    bts.start(keepalive=True)
  File "/home/jenkins/workspace/osmo-gsm-tester_ttcn3/osmo-gsm-tester/src/osmo_gsm_tester/obj/bts_osmotrx.py", line 158, in start
    self.testenv.poll()
  File "/home/jenkins/workspace/osmo-gsm-tester_ttcn3/osmo-gsm-tester/src/osmo_gsm_tester/testenv.py", line 140, in poll
    raise log_module.Error('Process ended prematurely: %s' % proc.name())
osmo_gsm_tester.core.log.Error: osmo-mgw_10.42.42.3(pid=30060): Process ended prematurely: osmo-mgw_10.42.42.3(pid=30060) [trial-2743↪ttcn3_bts_tests:trx↪ttcn3_bts_tests.py:47↪ttcn3_bts_tests.py↪osmo-mgw_10.42.42.3↪osmo-mgw_10.42.42.3(pid=30060)]