Skip to content

Failed

ttcn3_bts_tests:trx.ttcn3_bts_tests.py (from ttcn3_bts_tests_trx)

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

Stacktrace

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

Standard Output

----------------------------------------------
trial-2742 ttcn3_bts_tests:trx ttcn3_bts_tests.py
----------------------------------------------
00:21:12.142175 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:21:12.156256 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:21:12.170473 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:21:12.184648 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:21:12.198969 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:21:12.213265 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:21:12.227477 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:21:12.241779 tst              ttcn3_bts_tests:trx: Using 1 x bts (candidates: 1)
00:21:12.805960 tst               ttcn3_bts_tests.py: using LAC 9758
00:21:12.946562 tst               ttcn3_bts_tests.py: using RAC 68
00:21:13.084183 tst               ttcn3_bts_tests.py: using CellId 9758
00:21:13.219180 tst               ttcn3_bts_tests.py: using BVCI 2041
00:21:13.244418 tst              ttcn3_bts_tests:trx: Using 1 x osmocon_phone (candidates: 1)
00:21:13.429793 tst            ttcn3_bts_tests.py:35: Starting CNI
00:21:13.567520 run              osmo-hlr_10.42.42.2: Starting osmo-hlr
00:21:15.394383 run         create_hlr_db(pid=10656): Launched
00:21:16.597181 run         create_hlr_db(pid=10656): Terminated: ok {rc=0}
00:21:16.947370 run pcap-recorder_any(filters='host 10.42.42.2')(pid=10658): Launched
00:21:17.271053 run   osmo-hlr_10.42.42.2(pid=10659): Launched
00:21:17.412322 run              osmo-stp_10.42.42.4: Starting osmo-stp
00:21:20.191215 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=10661): Launched
00:21:20.501755 run   osmo-stp_10.42.42.4(pid=10662): Launched
00:21:20.614603 run              osmo-msc_10.42.42.5: Starting osmo-msc
00:21:25.585878 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=10663): Launched
00:21:25.911533 run   osmo-msc_10.42.42.5(pid=10664): Launched
00:21:26.031448 run              osmo-mgw_10.42.42.3: Starting osmo-mgw
00:21:27.876813 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=10666): Launched
00:21:28.207057 run   osmo-mgw_10.42.42.3(pid=10667): Launched
00:21:28.234277 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:21:28.345466 run              osmo-bsc_10.42.42.8: Starting osmo-bsc
00:21:32.281913 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=10669): Launched
00:21:32.606566 run   osmo-bsc_10.42.42.8(pid=10670): Launched
00:21:32.776131 run   osmo-mgw_10.42.42.3(pid=10667): ERR: Terminated: ERROR {rc=255}  [trial-2742↪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=10667)]
00:21:32.897344 run   osmo-mgw_10.42.42.3(pid=10667): stdout:
 | (launched: 2020-11-08_00:21:28.046236) 
00:21:33.023345 run   osmo-mgw_10.42.42.3(pid=10667): stderr:
 | (launched: 2020-11-08_00:21:28.095883)
| 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:33.139642 run   osmo-mgw_10.42.42.3(pid=10667): stdout:
 | (launched: 2020-11-08_00:21:28.046236) 
00:21:33.255016 run   osmo-mgw_10.42.42.3(pid=10667): stderr:
 | (launched: 2020-11-08_00:21:28.095883)
| 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:33.304865 tst            ttcn3_bts_tests.py:47: ERR: Error: osmo-mgw_10.42.42.3(pid=10667): Process ended prematurely: osmo-mgw_10.42.42.3(pid=10667) [trial-2742↪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=10667)]  [trial-2742↪ttcn3_bts_tests:trx↪ttcn3_bts_tests.py:47]
00:21:33.313635 tst            ttcn3_bts_tests.py:47: Test FAILED (21.2 sec)
00:21:33.385943 run   osmo-hlr_10.42.42.2(pid=10659): ERR: Terminated: ERROR {rc=255}  [trial-2742↪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=10659)]
00:21:33.445744 run   osmo-hlr_10.42.42.2(pid=10659): stdout:
 | (launched: 2020-11-08_00:21:17.110314) 
00:21:33.506221 run   osmo-hlr_10.42.42.2(pid=10659): stderr:
 | �[0;m�[1;31m20201108002117270 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SECURE_DELETE'
| �[0;m�[1;31m20201108002117270 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SOUNDEX'
| �[0;m�[1;31m20201108002117270 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SYSTEM_MALLOC'
| �[0;m�[1;31m20201108002117270 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'TEMP_STORE=1'
| �[0;m�[1;31m20201108002117271 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'THREADSAFE=1'
| �[0;m�[1;31m20201108002117271 �[1;34mDDB�[0;m�[1;31m <0001> db.c:561 Not setting SQL log callback: SQLite3 compiled without support for it
| �[0;m�[1;31m20201108002117335 �[1;33mDDB�[0;m�[1;31m <0001> db.c:601 Database '/home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2742/run.2020-11-08_00-21-08/ttcn3_bts_tests:trx/ttcn3_bts_tests.py/osmo-hlr_10.42.42.2/hlr.db' has HLR DB schema version 5
| �[0;m20201108002117344 �[1;31mDLGLOBAL�[0;m <0008> socket.c:912 unable to bind socket:10.42.42.2:4258: Address already in use
| 20201108002117344 �[1;31mDLGLOBAL�[0;m <0008> socket.c:923 no suitable addr found for: 10.42.42.2:4258
| 20201108002117344 �[1;31mDLGLOBAL�[0;m <0008> telnet_interface.c:100 Cannot bind telnet at 10.42.42.2 4258 
00:21:33.588513 run   osmo-msc_10.42.42.5(pid=10664): ERR: Terminated: ERROR {rc=9}  [trial-2742↪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=10664)]
00:21:33.648530 run   osmo-msc_10.42.42.5(pid=10664): stdout:
 | (launched: 2020-11-08_00:21:25.754866) 
00:21:33.709864 run   osmo-msc_10.42.42.5(pid=10664): stderr:
 | 20201108002126329 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Terminating (cause = OSMO_FSM_TERM_REQUEST)
| 20201108002126329 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Freeing instance
| 20201108002126330 �[1;34mDLSS7�[0;m <001f> fsm.c:573 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Deallocated
| 20201108002126330 �[1;34mDLSS7�[0;m <001f> fsm.c:461 XUA_ASP(asp0)[0x612000012fa0]{ASP_DOWN}: Allocated
| 20201108002126330 �[1;33mDLSCCP�[0;m <0020> sccp_user.c:631 OsmoMSC-A-Iu: Using ASP instance asp0
| 20201108002126330 �[1;33mDLSS7�[0;m <001f> osmo_ss7.c:440 0: Creating SCCP instance
| 20201108002126330 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:464 registering user=SCCP for SI 3 with priv 0x612000012e20
| 20201108002126330 �[1;33mDLGLOBAL�[0;m <0013> socket.c:801 unable to bind socket: 0.0.0.0:29118: Address already in use
| 20201108002126330 �[1;31mDSGS�[0;m <0011> sgs_server.c:182 SGs socket cannot be opened: Address already in use
| Starting SGs server failed 
00:21:33.761603 run pcap-recorder_any(filters='host 10.42.42.2')(pid=10658): Terminating (SIGTERM)
00:21:33.811105 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=10661): Terminating (SIGTERM)
00:21:33.859883 run   osmo-stp_10.42.42.4(pid=10662): Terminating (SIGTERM)
00:21:33.910311 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=10663): Terminating (SIGTERM)
00:21:33.962041 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=10666): Terminating (SIGTERM)
00:21:34.010930 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=10669): Terminating (SIGTERM)
00:21:34.059500 run   osmo-bsc_10.42.42.8(pid=10670): Terminating (SIGTERM)
00:21:34.070271 ---      ParallelTerminationStrategy: PID 10658 died...
00:21:34.134888 run pcap-recorder_any(filters='host 10.42.42.2')(pid=10658): Terminated: ok {rc=0}
00:21:34.146399 ---      ParallelTerminationStrategy: PID 10661 died...
00:21:34.210744 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=10661): Terminated: ok {rc=0}
00:21:34.222259 ---      ParallelTerminationStrategy: PID 10662 died...
00:21:34.286693 run   osmo-stp_10.42.42.4(pid=10662): Terminated: ok {rc=0}
00:21:34.298200 ---      ParallelTerminationStrategy: PID 10663 died...
00:21:34.362741 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=10663): Terminated: ok {rc=0}
00:21:34.374357 ---      ParallelTerminationStrategy: PID 10666 died...
00:21:34.438779 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=10666): Terminated: ok {rc=0}
00:21:34.450362 ---      ParallelTerminationStrategy: PID 10669 died...
00:21:34.514975 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=10669): Terminated: ok {rc=0}
00:21:37.931945 ---      ParallelTerminationStrategy: PID 10670 died...
00:21:37.998581 run   osmo-bsc_10.42.42.8(pid=10670): 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=10667): Process ended prematurely: osmo-mgw_10.42.42.3(pid=10667) [trial-2742↪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=10667)]