Skip to content

Failed

ttcn3_bts_tests:trx.ttcn3_bts_tests.py (from ttcn3_bts_tests_trx)

Failing for the past 2 builds (Since #2740 )
Took 22 sec.

Stacktrace

osmo-mgw_10.42.42.3(pid=25987): Process ended prematurely: osmo-mgw_10.42.42.3(pid=25987) [trial-2741↪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=25987)]

Standard Output

----------------------------------------------
trial-2741 ttcn3_bts_tests:trx ttcn3_bts_tests.py
----------------------------------------------
00:20:47.391761 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:20:47.405353 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:20:47.418810 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:20:47.432261 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:20:47.445779 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:20:47.459184 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:20:47.472295 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:20:47.485491 tst              ttcn3_bts_tests:trx: Using 1 x bts (candidates: 1)
00:20:48.027181 tst               ttcn3_bts_tests.py: using LAC 9755
00:20:48.147801 tst               ttcn3_bts_tests.py: using RAC 65
00:20:48.274389 tst               ttcn3_bts_tests.py: using CellId 9755
00:20:48.392063 tst               ttcn3_bts_tests.py: using BVCI 2038
00:20:48.415508 tst              ttcn3_bts_tests:trx: Using 1 x osmocon_phone (candidates: 1)
00:20:48.586894 tst            ttcn3_bts_tests.py:35: Starting CNI
00:20:48.713698 run              osmo-hlr_10.42.42.2: Starting osmo-hlr
00:20:50.430464 run         create_hlr_db(pid=25976): Launched
00:20:51.615529 run         create_hlr_db(pid=25976): Terminated: ok {rc=0}
00:20:51.936507 run pcap-recorder_any(filters='host 10.42.42.2')(pid=25978): Launched
00:20:52.269781 run   osmo-hlr_10.42.42.2(pid=25979): Launched
00:20:52.398882 run              osmo-stp_10.42.42.4: Starting osmo-stp
00:20:55.142082 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=25981): Launched
00:20:55.462120 run   osmo-stp_10.42.42.4(pid=25982): Launched
00:20:55.582596 run              osmo-msc_10.42.42.5: Starting osmo-msc
00:21:00.676072 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=25983): Launched
00:21:01.006499 run   osmo-msc_10.42.42.5(pid=25984): Launched
00:21:01.128061 run              osmo-mgw_10.42.42.3: Starting osmo-mgw
00:21:02.921290 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=25986): Launched
00:21:03.245045 run   osmo-mgw_10.42.42.3(pid=25987): Launched
00:21:03.274390 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:21:03.384400 run              osmo-bsc_10.42.42.8: Starting osmo-bsc
00:21:07.326754 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=25990): Launched
00:21:07.654282 run   osmo-bsc_10.42.42.8(pid=25991): Launched
00:21:07.836282 run   osmo-mgw_10.42.42.3(pid=25987): ERR: Terminated: ERROR {rc=255}  [trial-2741↪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=25987)]
00:21:07.964636 run   osmo-mgw_10.42.42.3(pid=25987): stdout:
 | (launched: 2020-11-07_00:21:03.091582) 
00:21:08.093061 run   osmo-mgw_10.42.42.3(pid=25987): stderr:
 | (launched: 2020-11-07_00:21:03.140311)
| 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:08.216356 run   osmo-mgw_10.42.42.3(pid=25987): stdout:
 | (launched: 2020-11-07_00:21:03.091582) 
00:21:08.337788 run   osmo-mgw_10.42.42.3(pid=25987): stderr:
 | (launched: 2020-11-07_00:21:03.140311)
| 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:08.390258 tst            ttcn3_bts_tests.py:47: ERR: Error: osmo-mgw_10.42.42.3(pid=25987): Process ended prematurely: osmo-mgw_10.42.42.3(pid=25987) [trial-2741↪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=25987)]  [trial-2741↪ttcn3_bts_tests:trx↪ttcn3_bts_tests.py:47]
00:21:08.400252 tst            ttcn3_bts_tests.py:47: Test FAILED (21.1 sec)
00:21:08.476083 run   osmo-hlr_10.42.42.2(pid=25979): ERR: Terminated: ERROR {rc=255}  [trial-2741↪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=25979)]
00:21:08.538407 run   osmo-hlr_10.42.42.2(pid=25979): stdout:
 | (launched: 2020-11-07_00:20:52.115344) 
00:21:08.601664 run   osmo-hlr_10.42.42.2(pid=25979): stderr:
 | �[0;m�[1;31m20201107002052267 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SECURE_DELETE'
| �[0;m�[1;31m20201107002052267 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SOUNDEX'
| �[0;m�[1;31m20201107002052267 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SYSTEM_MALLOC'
| �[0;m�[1;31m20201107002052267 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'TEMP_STORE=1'
| �[0;m�[1;31m20201107002052267 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'THREADSAFE=1'
| �[0;m�[1;31m20201107002052267 �[1;34mDDB�[0;m�[1;31m <0001> db.c:561 Not setting SQL log callback: SQLite3 compiled without support for it
| �[0;m�[1;31m20201107002052327 �[1;33mDDB�[0;m�[1;31m <0001> db.c:601 Database '/home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2741/run.2020-11-07_00-20-43/ttcn3_bts_tests:trx/ttcn3_bts_tests.py/osmo-hlr_10.42.42.2/hlr.db' has HLR DB schema version 5
| �[0;m20201107002052334 �[1;31mDLGLOBAL�[0;m <0008> socket.c:912 unable to bind socket:10.42.42.2:4258: Address already in use
| 20201107002052335 �[1;31mDLGLOBAL�[0;m <0008> socket.c:923 no suitable addr found for: 10.42.42.2:4258
| 20201107002052335 �[1;31mDLGLOBAL�[0;m <0008> telnet_interface.c:100 Cannot bind telnet at 10.42.42.2 4258 
00:21:08.687408 run   osmo-msc_10.42.42.5(pid=25984): ERR: Terminated: ERROR {rc=9}  [trial-2741↪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=25984)]
00:21:08.749553 run   osmo-msc_10.42.42.5(pid=25984): stdout:
 | (launched: 2020-11-07_00:21:00.842602) 
00:21:08.812734 run   osmo-msc_10.42.42.5(pid=25984): stderr:
 | 20201107002101354 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Terminating (cause = OSMO_FSM_TERM_REQUEST)
| 20201107002101354 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Freeing instance
| 20201107002101354 �[1;34mDLSS7�[0;m <001f> fsm.c:573 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Deallocated
| 20201107002101354 �[1;34mDLSS7�[0;m <001f> fsm.c:461 XUA_ASP(asp0)[0x612000012fa0]{ASP_DOWN}: Allocated
| 20201107002101354 �[1;33mDLSCCP�[0;m <0020> sccp_user.c:631 OsmoMSC-A-Iu: Using ASP instance asp0
| 20201107002101354 �[1;33mDLSS7�[0;m <001f> osmo_ss7.c:440 0: Creating SCCP instance
| 20201107002101354 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:464 registering user=SCCP for SI 3 with priv 0x612000012e20
| 20201107002101354 �[1;33mDLGLOBAL�[0;m <0013> socket.c:801 unable to bind socket: 0.0.0.0:29118: Address already in use
| 20201107002101354 �[1;31mDSGS�[0;m <0011> sgs_server.c:182 SGs socket cannot be opened: Address already in use
| Starting SGs server failed 
00:21:08.867124 run pcap-recorder_any(filters='host 10.42.42.2')(pid=25978): Terminating (SIGTERM)
00:21:08.921008 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=25981): Terminating (SIGTERM)
00:21:08.972361 run   osmo-stp_10.42.42.4(pid=25982): Terminating (SIGTERM)
00:21:09.025219 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=25983): Terminating (SIGTERM)
00:21:09.078064 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=25986): Terminating (SIGTERM)
00:21:09.129669 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=25990): Terminating (SIGTERM)
00:21:09.180537 run   osmo-bsc_10.42.42.8(pid=25991): Terminating (SIGTERM)
00:21:09.192267 ---      ParallelTerminationStrategy: PID 25978 died...
00:21:09.259787 run pcap-recorder_any(filters='host 10.42.42.2')(pid=25978): Terminated: ok {rc=0}
00:21:09.271909 ---      ParallelTerminationStrategy: PID 25981 died...
00:21:09.339374 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=25981): Terminated: ok {rc=0}
00:21:09.351588 ---      ParallelTerminationStrategy: PID 25982 died...
00:21:09.418752 run   osmo-stp_10.42.42.4(pid=25982): Terminated: ok {rc=0}
00:21:09.430819 ---      ParallelTerminationStrategy: PID 25983 died...
00:21:09.498319 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=25983): Terminated: ok {rc=0}
00:21:09.510337 ---      ParallelTerminationStrategy: PID 25986 died...
00:21:09.577707 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=25986): Terminated: ok {rc=0}
00:21:09.590296 ---      ParallelTerminationStrategy: PID 25990 died...
00:21:09.658375 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=25990): Terminated: ok {rc=0}
00:21:12.353964 ---      ParallelTerminationStrategy: PID 25991 died...
00:21:12.423708 run   osmo-bsc_10.42.42.8(pid=25991): 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=25987): Process ended prematurely: osmo-mgw_10.42.42.3(pid=25987) [trial-2741↪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=25987)]