Skip to content

Failed

ttcn3_bts_tests:sysmo.ttcn3_bts_tests.py (from ttcn3_bts_tests_sysmo)

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

Stacktrace

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

Standard Output

----------------------------------------------
trial-2743 ttcn3_bts_tests:sysmo ttcn3_bts_tests.py
----------------------------------------------
00:21:11.900370 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:11.913827 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:11.927133 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:11.940252 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:11.953575 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:11.966767 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:11.979894 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:11.993179 tst            ttcn3_bts_tests:sysmo: Using 1 x bts (candidates: 1)
00:21:12.120339 tst               ttcn3_bts_tests.py: using LAC 9762
00:21:12.244697 tst               ttcn3_bts_tests.py: using RAC 72
00:21:12.373033 tst               ttcn3_bts_tests.py: using CellId 9762
00:21:12.501536 tst               ttcn3_bts_tests.py: using BVCI 2045
00:21:12.527062 tst            ttcn3_bts_tests:sysmo: Using 1 x osmocon_phone (candidates: 1)
00:21:12.712724 tst            ttcn3_bts_tests.py:35: Starting CNI
00:21:12.848064 run              osmo-hlr_10.42.42.2: Starting osmo-hlr
00:21:13.348596 run         create_hlr_db(pid=30066): Launched
00:21:14.548611 run         create_hlr_db(pid=30066): Terminated: ok {rc=0}
00:21:14.888309 run pcap-recorder_any(filters='host 10.42.42.2')(pid=30068): Launched
00:21:15.229790 run   osmo-hlr_10.42.42.2(pid=30069): Launched
00:21:15.354125 run              osmo-stp_10.42.42.4: Starting osmo-stp
00:21:15.897335 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=30071): Launched
00:21:16.218346 run   osmo-stp_10.42.42.4(pid=30072): Launched
00:21:16.329500 run              osmo-msc_10.42.42.5: Starting osmo-msc
00:21:16.901423 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=30073): Launched
00:21:17.222655 run   osmo-msc_10.42.42.5(pid=30074): Launched
00:21:17.348450 run              osmo-mgw_10.42.42.3: Starting osmo-mgw
00:21:17.912928 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=30076): Launched
00:21:18.230020 run   osmo-mgw_10.42.42.3(pid=30077): Launched
00:21:18.260314 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:18.362269 run              osmo-bsc_10.42.42.8: Starting osmo-bsc
00:21:19.052384 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=30079): Launched
00:21:19.370362 run   osmo-bsc_10.42.42.8(pid=30080): Launched
00:21:19.489633 run                   osmo-bts-sysmo: Starting sysmoBTS to connect to osmo-bsc_10.42.42.8
00:21:20.430360 run         rm-remote-dir(pid=30081): Launched
00:21:20.624550 run   osmo-mgw_10.42.42.3(pid=30077): ERR: Terminated: ERROR {rc=255}  [trial-2743↪ttcn3_bts_tests:sysmo↪ttcn3_bts_tests.py:47↪ttcn3_bts_tests.py↪osmo-mgw_10.42.42.3↪osmo-mgw_10.42.42.3(pid=30077)]
00:21:20.767084 run   osmo-mgw_10.42.42.3(pid=30077): stdout:
 | (launched: 2020-11-09_00:21:18.071563) 
00:21:20.909727 run   osmo-mgw_10.42.42.3(pid=30077): stderr:
 | (launched: 2020-11-09_00:21:18.117967)
| 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:21.050772 run   osmo-mgw_10.42.42.3(pid=30077): stdout:
 | (launched: 2020-11-09_00:21:18.071563) 
00:21:21.186152 run   osmo-mgw_10.42.42.3(pid=30077): stderr:
 | (launched: 2020-11-09_00:21:18.117967)
| 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:21.343900 run         rm-remote-dir(pid=30081): Terminating (SIGINT)
00:21:21.697906 run         rm-remote-dir(pid=30081): Terminated {rc=-2}
00:21:21.732847 tst            ttcn3_bts_tests.py:47: ERR: Error: osmo-mgw_10.42.42.3(pid=30077): Process ended prematurely: osmo-mgw_10.42.42.3(pid=30077) [trial-2743↪ttcn3_bts_tests:sysmo↪ttcn3_bts_tests.py:47↪ttcn3_bts_tests.py↪osmo-mgw_10.42.42.3↪osmo-mgw_10.42.42.3(pid=30077)]  [trial-2743↪ttcn3_bts_tests:sysmo↪ttcn3_bts_tests.py:47]
00:21:21.746510 tst            ttcn3_bts_tests.py:47: Test FAILED (9.9 sec)
00:21:21.819853 run   osmo-hlr_10.42.42.2(pid=30069): ERR: Terminated: ERROR {rc=255}  [trial-2743↪ttcn3_bts_tests:sysmo↪ttcn3_bts_tests.py↪ttcn3_bts_tests.py↪osmo-hlr_10.42.42.2↪osmo-hlr_10.42.42.2(pid=30069)]
00:21:21.880022 run   osmo-hlr_10.42.42.2(pid=30069): stdout:
 | (launched: 2020-11-09_00:21:15.055059) 
00:21:21.940811 run   osmo-hlr_10.42.42.2(pid=30069): stderr:
 | �[0;m�[1;31m20201109002115266 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SECURE_DELETE'
| �[0;m�[1;31m20201109002115266 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SOUNDEX'
| �[0;m�[1;31m20201109002115266 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SYSTEM_MALLOC'
| �[0;m�[1;31m20201109002115266 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'TEMP_STORE=1'
| �[0;m�[1;31m20201109002115266 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'THREADSAFE=1'
| �[0;m�[1;31m20201109002115266 �[1;34mDDB�[0;m�[1;31m <0001> db.c:561 Not setting SQL log callback: SQLite3 compiled without support for it
| �[0;m�[1;31m20201109002115284 �[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:sysmo/ttcn3_bts_tests.py/osmo-hlr_10.42.42.2/hlr.db' has HLR DB schema version 5
| �[0;m20201109002115291 �[1;31mDLGLOBAL�[0;m <0008> socket.c:912 unable to bind socket:10.42.42.2:4258: Address already in use
| 20201109002115291 �[1;31mDLGLOBAL�[0;m <0008> socket.c:923 no suitable addr found for: 10.42.42.2:4258
| 20201109002115292 �[1;31mDLGLOBAL�[0;m <0008> telnet_interface.c:100 Cannot bind telnet at 10.42.42.2 4258 
00:21:22.023435 run   osmo-msc_10.42.42.5(pid=30074): ERR: Terminated: ERROR {rc=9}  [trial-2743↪ttcn3_bts_tests:sysmo↪ttcn3_bts_tests.py↪ttcn3_bts_tests.py↪osmo-msc_10.42.42.5↪osmo-msc_10.42.42.5(pid=30074)]
00:21:22.083488 run   osmo-msc_10.42.42.5(pid=30074): stdout:
 | (launched: 2020-11-09_00:21:17.063831) 
00:21:22.144292 run   osmo-msc_10.42.42.5(pid=30074): stderr:
 | 20201109002117575 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Terminating (cause = OSMO_FSM_TERM_REQUEST)
| 20201109002117575 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Freeing instance
| 20201109002117575 �[1;34mDLSS7�[0;m <001f> fsm.c:573 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Deallocated
| 20201109002117576 �[1;34mDLSS7�[0;m <001f> fsm.c:461 XUA_ASP(asp0)[0x612000012fa0]{ASP_DOWN}: Allocated
| 20201109002117576 �[1;33mDLSCCP�[0;m <0020> sccp_user.c:631 OsmoMSC-A-Iu: Using ASP instance asp0
| 20201109002117576 �[1;33mDLSS7�[0;m <001f> osmo_ss7.c:440 0: Creating SCCP instance
| 20201109002117576 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:464 registering user=SCCP for SI 3 with priv 0x612000012e20
| 20201109002117576 �[1;33mDLGLOBAL�[0;m <0013> socket.c:801 unable to bind socket: 0.0.0.0:29118: Address already in use
| 20201109002117576 �[1;31mDSGS�[0;m <0011> sgs_server.c:182 SGs socket cannot be opened: Address already in use
| Starting SGs server failed 
00:21:22.195872 run pcap-recorder_any(filters='host 10.42.42.2')(pid=30068): Terminating (SIGTERM)
00:21:22.244534 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=30071): Terminating (SIGTERM)
00:21:22.293731 run   osmo-stp_10.42.42.4(pid=30072): Terminating (SIGTERM)
00:21:22.344292 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=30073): Terminating (SIGTERM)
00:21:22.395631 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=30076): Terminating (SIGTERM)
00:21:22.444410 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=30079): Terminating (SIGTERM)
00:21:22.492956 run   osmo-bsc_10.42.42.8(pid=30080): Terminating (SIGTERM)
00:21:22.504005 ---      ParallelTerminationStrategy: PID 30068 died...
00:21:22.568824 run pcap-recorder_any(filters='host 10.42.42.2')(pid=30068): Terminated: ok {rc=0}
00:21:22.580417 ---      ParallelTerminationStrategy: PID 30071 died...
00:21:22.644954 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=30071): Terminated: ok {rc=0}
00:21:22.656695 ---      ParallelTerminationStrategy: PID 30072 died...
00:21:22.721064 run   osmo-stp_10.42.42.4(pid=30072): Terminated: ok {rc=0}
00:21:22.732570 ---      ParallelTerminationStrategy: PID 30073 died...
00:21:22.797624 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=30073): Terminated: ok {rc=0}
00:21:22.809207 ---      ParallelTerminationStrategy: PID 30076 died...
00:21:22.874044 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=30076): Terminated: ok {rc=0}
00:21:22.886078 ---      ParallelTerminationStrategy: PID 30079 died...
00:21:22.958821 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=30079): Terminated: ok {rc=0}
00:21:25.654549 ---      ParallelTerminationStrategy: PID 30080 died...
00:21:25.725252 run   osmo-bsc_10.42.42.8(pid=30080): 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_sysmo.py", line 113, in start
    rem_host.recreate_remote_dir(self.remote_inst)
  File "/home/jenkins/workspace/osmo-gsm-tester_ttcn3/osmo-gsm-tester/src/osmo_gsm_tester/core/remote.py", line 141, in recreate_remote_dir
    self.rm_remote_dir(remote_dir)
  File "/home/jenkins/workspace/osmo-gsm-tester_ttcn3/osmo-gsm-tester/src/osmo_gsm_tester/core/remote.py", line 134, in rm_remote_dir
    self.run_remote_sync('rm-remote-dir', ('test', '!', '-d', remote_dir_str, '||', 'rm', '-rf', remote_dir_str))
  File "/home/jenkins/workspace/osmo-gsm-tester_ttcn3/osmo-gsm-tester/src/osmo_gsm_tester/core/remote.py", line 129, in run_remote_sync
    proc.launch_sync()
  File "/home/jenkins/workspace/osmo-gsm-tester_ttcn3/osmo-gsm-tester/src/osmo_gsm_tester/core/process.py", line 204, in launch_sync
    raise e
  File "/home/jenkins/workspace/osmo-gsm-tester_ttcn3/osmo-gsm-tester/src/osmo_gsm_tester/core/process.py", line 201, in launch_sync
    self.wait()
  File "/home/jenkins/workspace/osmo-gsm-tester_ttcn3/osmo-gsm-tester/src/osmo_gsm_tester/core/process.py", line 367, in wait
    MainLoop.wait(self.terminated, timeout=timeout)
  File "/home/jenkins/workspace/osmo-gsm-tester_ttcn3/osmo-gsm-tester/src/osmo_gsm_tester/core/event_loop.py", line 108, in wait
    if not self.wait_no_raise(condition, condition_args, condition_kwargs, timeout, timestep):
  File "/home/jenkins/workspace/osmo-gsm-tester_ttcn3/osmo-gsm-tester/src/osmo_gsm_tester/core/event_loop.py", line 98, in wait_no_raise
    self.poll(may_block=True)
  File "/home/jenkins/workspace/osmo-gsm-tester_ttcn3/osmo-gsm-tester/src/osmo_gsm_tester/core/event_loop.py", line 86, in poll
    self.deferred_handling.handle_queue()
  File "/home/jenkins/workspace/osmo-gsm-tester_ttcn3/osmo-gsm-tester/src/osmo_gsm_tester/core/event_loop.py", line 33, in handle_queue
    handler(*args, **kwargs)
  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=30077): Process ended prematurely: osmo-mgw_10.42.42.3(pid=30077) [trial-2743↪ttcn3_bts_tests:sysmo↪ttcn3_bts_tests.py:47↪ttcn3_bts_tests.py↪osmo-mgw_10.42.42.3↪osmo-mgw_10.42.42.3(pid=30077)]