Skip to content

Failed

ttcn3_bts_tests:sysmo.ttcn3_bts_tests.py (from ttcn3_bts_tests_sysmo)

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

Stacktrace

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

Standard Output

----------------------------------------------
trial-2741 ttcn3_bts_tests:sysmo ttcn3_bts_tests.py
----------------------------------------------
00:21:12.878697 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:12.892684 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:12.906971 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:12.924224 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:12.938554 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:12.952574 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:12.966792 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:12.980964 tst            ttcn3_bts_tests:sysmo: Using 1 x bts (candidates: 1)
00:21:13.113938 tst               ttcn3_bts_tests.py: using LAC 9756
00:21:13.241479 tst               ttcn3_bts_tests.py: using RAC 66
00:21:13.368848 tst               ttcn3_bts_tests.py: using CellId 9756
00:21:13.495978 tst               ttcn3_bts_tests.py: using BVCI 2039
00:21:13.521215 tst            ttcn3_bts_tests:sysmo: Using 1 x osmocon_phone (candidates: 1)
00:21:13.706815 tst            ttcn3_bts_tests.py:35: Starting CNI
00:21:13.842528 run              osmo-hlr_10.42.42.2: Starting osmo-hlr
00:21:14.322982 run         create_hlr_db(pid=25994): Launched
00:21:15.508325 run         create_hlr_db(pid=25994): Terminated: ok {rc=0}
00:21:15.833673 run pcap-recorder_any(filters='host 10.42.42.2')(pid=25996): Launched
00:21:16.157580 run   osmo-hlr_10.42.42.2(pid=25997): Launched
00:21:16.269831 run              osmo-stp_10.42.42.4: Starting osmo-stp
00:21:16.775374 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=25999): Launched
00:21:17.083860 run   osmo-stp_10.42.42.4(pid=26000): Launched
00:21:17.192188 run              osmo-msc_10.42.42.5: Starting osmo-msc
00:21:17.740866 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=26001): Launched
00:21:18.063463 run   osmo-msc_10.42.42.5(pid=26002): Launched
00:21:18.175185 run              osmo-mgw_10.42.42.3: Starting osmo-mgw
00:21:18.695629 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=26004): Launched
00:21:19.021351 run   osmo-mgw_10.42.42.3(pid=26005): Launched
00:21:19.052075 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:19.160304 run              osmo-bsc_10.42.42.8: Starting osmo-bsc
00:21:19.832462 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=26007): Launched
00:21:20.153759 run   osmo-bsc_10.42.42.8(pid=26008): Launched
00:21:20.266249 run                   osmo-bts-sysmo: Starting sysmoBTS to connect to osmo-bsc_10.42.42.8
00:21:21.201422 run         rm-remote-dir(pid=26009): Launched
00:21:21.406003 run   osmo-mgw_10.42.42.3(pid=26005): ERR: Terminated: ERROR {rc=255}  [trial-2741↪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=26005)]
00:21:21.555594 run   osmo-mgw_10.42.42.3(pid=26005): stdout:
 | (launched: 2020-11-07_00:21:18.862571) 
00:21:21.706080 run   osmo-mgw_10.42.42.3(pid=26005): stderr:
 | (launched: 2020-11-07_00:21:18.911770)
| 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.849986 run   osmo-mgw_10.42.42.3(pid=26005): stdout:
 | (launched: 2020-11-07_00:21:18.862571) 
00:21:21.992870 run   osmo-mgw_10.42.42.3(pid=26005): stderr:
 | (launched: 2020-11-07_00:21:18.911770)
| 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:22.160323 run         rm-remote-dir(pid=26009): Terminating (SIGINT)
00:21:22.523479 run         rm-remote-dir(pid=26009): Terminated {rc=130}
00:21:22.560279 tst            ttcn3_bts_tests.py:47: ERR: Error: osmo-mgw_10.42.42.3(pid=26005): Process ended prematurely: osmo-mgw_10.42.42.3(pid=26005) [trial-2741↪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=26005)]  [trial-2741↪ttcn3_bts_tests:sysmo↪ttcn3_bts_tests.py:47]
00:21:22.575400 tst            ttcn3_bts_tests.py:47: Test FAILED (9.7 sec)
00:21:22.653587 run   osmo-hlr_10.42.42.2(pid=25997): ERR: Terminated: ERROR {rc=255}  [trial-2741↪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=25997)]
00:21:22.716867 run   osmo-hlr_10.42.42.2(pid=25997): stdout:
 | (launched: 2020-11-07_00:21:16.000095) 
00:21:22.780801 run   osmo-hlr_10.42.42.2(pid=25997): stderr:
 | �[0;m�[1;31m20201107002116153 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SECURE_DELETE'
| �[0;m�[1;31m20201107002116153 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SOUNDEX'
| �[0;m�[1;31m20201107002116153 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SYSTEM_MALLOC'
| �[0;m�[1;31m20201107002116153 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'TEMP_STORE=1'
| �[0;m�[1;31m20201107002116153 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'THREADSAFE=1'
| �[0;m�[1;31m20201107002116153 �[1;34mDDB�[0;m�[1;31m <0001> db.c:561 Not setting SQL log callback: SQLite3 compiled without support for it
| �[0;m�[1;31m20201107002116220 �[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:sysmo/ttcn3_bts_tests.py/osmo-hlr_10.42.42.2/hlr.db' has HLR DB schema version 5
| �[0;m20201107002116227 �[1;31mDLGLOBAL�[0;m <0008> socket.c:912 unable to bind socket:10.42.42.2:4258: Address already in use
| 20201107002116228 �[1;31mDLGLOBAL�[0;m <0008> socket.c:923 no suitable addr found for: 10.42.42.2:4258
| 20201107002116228 �[1;31mDLGLOBAL�[0;m <0008> telnet_interface.c:100 Cannot bind telnet at 10.42.42.2 4258 
00:21:22.866791 run   osmo-msc_10.42.42.5(pid=26002): ERR: Terminated: ERROR {rc=9}  [trial-2741↪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=26002)]
00:21:22.929466 run   osmo-msc_10.42.42.5(pid=26002): stdout:
 | (launched: 2020-11-07_00:21:17.907470) 
00:21:22.997176 run   osmo-msc_10.42.42.5(pid=26002): stderr:
 | 20201107002118405 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Terminating (cause = OSMO_FSM_TERM_REQUEST)
| 20201107002118405 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Freeing instance
| 20201107002118405 �[1;34mDLSS7�[0;m <001f> fsm.c:573 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Deallocated
| 20201107002118405 �[1;34mDLSS7�[0;m <001f> fsm.c:461 XUA_ASP(asp0)[0x612000012fa0]{ASP_DOWN}: Allocated
| 20201107002118405 �[1;33mDLSCCP�[0;m <0020> sccp_user.c:631 OsmoMSC-A-Iu: Using ASP instance asp0
| 20201107002118405 �[1;33mDLSS7�[0;m <001f> osmo_ss7.c:440 0: Creating SCCP instance
| 20201107002118406 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:464 registering user=SCCP for SI 3 with priv 0x612000012e20
| 20201107002118406 �[1;33mDLGLOBAL�[0;m <0013> socket.c:801 unable to bind socket: 0.0.0.0:29118: Address already in use
| 20201107002118406 �[1;31mDSGS�[0;m <0011> sgs_server.c:182 SGs socket cannot be opened: Address already in use
| Starting SGs server failed 
00:21:23.051222 run pcap-recorder_any(filters='host 10.42.42.2')(pid=25996): Terminating (SIGTERM)
00:21:23.102545 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=25999): Terminating (SIGTERM)
00:21:23.153630 run   osmo-stp_10.42.42.4(pid=26000): Terminating (SIGTERM)
00:21:23.205769 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=26001): Terminating (SIGTERM)
00:21:23.258394 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=26004): Terminating (SIGTERM)
00:21:23.309837 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=26007): Terminating (SIGTERM)
00:21:23.360969 run   osmo-bsc_10.42.42.8(pid=26008): Terminating (SIGTERM)
00:21:23.372684 ---      ParallelTerminationStrategy: PID 25996 died...
00:21:23.441159 run pcap-recorder_any(filters='host 10.42.42.2')(pid=25996): Terminated: ok {rc=0}
00:21:23.453252 ---      ParallelTerminationStrategy: PID 25999 died...
00:21:23.520952 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=25999): Terminated: ok {rc=0}
00:21:23.533221 ---      ParallelTerminationStrategy: PID 26000 died...
00:21:23.600770 run   osmo-stp_10.42.42.4(pid=26000): Terminated: ok {rc=0}
00:21:23.612956 ---      ParallelTerminationStrategy: PID 26001 died...
00:21:23.681084 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=26001): Terminated: ok {rc=0}
00:21:23.693454 ---      ParallelTerminationStrategy: PID 26004 died...
00:21:23.761411 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=26004): Terminated: ok {rc=0}
00:21:23.773615 ---      ParallelTerminationStrategy: PID 26007 died...
00:21:23.841201 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=26007): Terminated: ok {rc=0}
00:21:26.536707 ---      ParallelTerminationStrategy: PID 26008 died...
00:21:26.606544 run   osmo-bsc_10.42.42.8(pid=26008): 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=26005): Process ended prematurely: osmo-mgw_10.42.42.3(pid=26005) [trial-2741↪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=26005)]