Skip to content

Regression

ttcn3_bts_tests:sysmo.ttcn3_bts_tests.py (from ttcn3_bts_tests_sysmo)

Failing for the past 1 build (Since #2740 )
Took 10 sec.

Stacktrace

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

Standard Output

----------------------------------------------
trial-2740 ttcn3_bts_tests:sysmo ttcn3_bts_tests.py
----------------------------------------------
18:08:20.504389 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
18:08:20.518370 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
18:08:20.532996 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
18:08:20.547688 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
18:08:20.562518 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
18:08:20.577024 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
18:08:20.591635 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
18:08:20.606335 tst            ttcn3_bts_tests:sysmo: Using 1 x bts (candidates: 1)
18:08:20.744076 tst               ttcn3_bts_tests.py: using LAC 9751
18:08:20.870791 tst               ttcn3_bts_tests.py: using RAC 61
18:08:21.009283 tst               ttcn3_bts_tests.py: using CellId 9751
18:08:21.135791 tst               ttcn3_bts_tests.py: using BVCI 2034
18:08:21.161192 tst            ttcn3_bts_tests:sysmo: Using 1 x osmocon_phone (candidates: 1)
18:08:21.346085 tst            ttcn3_bts_tests.py:35: Starting CNI
18:08:21.480886 run              osmo-hlr_10.42.42.2: Starting osmo-hlr
18:08:21.959285 run         create_hlr_db(pid=20517): Launched
18:08:23.143780 run         create_hlr_db(pid=20517): Terminated: ok {rc=0}
18:08:23.468777 run pcap-recorder_any(filters='host 10.42.42.2')(pid=20519): Launched
18:08:23.792072 run   osmo-hlr_10.42.42.2(pid=20520): Launched
18:08:23.911845 run              osmo-stp_10.42.42.4: Starting osmo-stp
18:08:24.444831 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=20522): Launched
18:08:24.760839 run   osmo-stp_10.42.42.4(pid=20523): Launched
18:08:24.876790 run              osmo-msc_10.42.42.5: Starting osmo-msc
18:08:25.461311 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=20524): Launched
18:08:25.782333 run   osmo-msc_10.42.42.5(pid=20525): Launched
18:08:25.897300 run              osmo-mgw_10.42.42.3: Starting osmo-mgw
18:08:26.424306 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=20527): Launched
18:08:26.748770 run   osmo-mgw_10.42.42.3(pid=20528): Launched
18:08:26.775397 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
18:08:26.883730 run              osmo-bsc_10.42.42.8: Starting osmo-bsc
18:08:27.554898 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=20530): Launched
18:08:27.877771 run   osmo-bsc_10.42.42.8(pid=20531): Launched
18:08:27.988484 run                   osmo-bts-sysmo: Starting sysmoBTS to connect to osmo-bsc_10.42.42.8
18:08:28.893858 run         rm-remote-dir(pid=20532): Launched
18:08:29.099062 run   osmo-mgw_10.42.42.3(pid=20528): ERR: Terminated: ERROR {rc=255}  [trial-2740↪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=20528)]
18:08:29.261632 run   osmo-mgw_10.42.42.3(pid=20528): stdout:
 | (launched: 2020-11-06_18:08:26.591277) 
18:08:29.409305 run   osmo-mgw_10.42.42.3(pid=20528): stderr:
 | (launched: 2020-11-06_18:08:26.639849)
| 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 
18:08:29.551647 run   osmo-mgw_10.42.42.3(pid=20528): stdout:
 | (launched: 2020-11-06_18:08:26.591277) 
18:08:29.692465 run   osmo-mgw_10.42.42.3(pid=20528): stderr:
 | (launched: 2020-11-06_18:08:26.639849)
| 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 
18:08:29.859262 run         rm-remote-dir(pid=20532): Terminating (SIGINT)
18:08:30.219983 run         rm-remote-dir(pid=20532): Terminated {rc=130}
18:08:30.256395 tst            ttcn3_bts_tests.py:47: ERR: Error: osmo-mgw_10.42.42.3(pid=20528): Process ended prematurely: osmo-mgw_10.42.42.3(pid=20528) [trial-2740↪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=20528)]  [trial-2740↪ttcn3_bts_tests:sysmo↪ttcn3_bts_tests.py:47]
18:08:30.271247 tst            ttcn3_bts_tests.py:47: Test FAILED (9.8 sec)
18:08:30.348386 run   osmo-hlr_10.42.42.2(pid=20520): ERR: Terminated: ERROR {rc=255}  [trial-2740↪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=20520)]
18:08:30.410878 run   osmo-hlr_10.42.42.2(pid=20520): stdout:
 | (launched: 2020-11-06_18:08:23.634964) 
18:08:30.474209 run   osmo-hlr_10.42.42.2(pid=20520): stderr:
 | �[0;m�[1;31m20201106180823798 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SECURE_DELETE'
| �[0;m�[1;31m20201106180823798 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SOUNDEX'
| �[0;m�[1;31m20201106180823798 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SYSTEM_MALLOC'
| �[0;m�[1;31m20201106180823798 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'TEMP_STORE=1'
| �[0;m�[1;31m20201106180823798 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'THREADSAFE=1'
| �[0;m�[1;31m20201106180823798 �[1;34mDDB�[0;m�[1;31m <0001> db.c:561 Not setting SQL log callback: SQLite3 compiled without support for it
| �[0;m�[1;31m20201106180823818 �[1;33mDDB�[0;m�[1;31m <0001> db.c:601 Database '/home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2740/run.2020-11-06_18-07-51/ttcn3_bts_tests:sysmo/ttcn3_bts_tests.py/osmo-hlr_10.42.42.2/hlr.db' has HLR DB schema version 5
| �[0;m20201106180823823 �[1;31mDLGLOBAL�[0;m <0008> socket.c:912 unable to bind socket:10.42.42.2:4258: Address already in use
| 20201106180823824 �[1;31mDLGLOBAL�[0;m <0008> socket.c:923 no suitable addr found for: 10.42.42.2:4258
| 20201106180823824 �[1;31mDLGLOBAL�[0;m <0008> telnet_interface.c:100 Cannot bind telnet at 10.42.42.2 4258 
18:08:30.559897 run   osmo-msc_10.42.42.5(pid=20525): ERR: Terminated: ERROR {rc=9}  [trial-2740↪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=20525)]
18:08:30.622383 run   osmo-msc_10.42.42.5(pid=20525): stdout:
 | (launched: 2020-11-06_18:08:25.627674) 
18:08:30.685922 run   osmo-msc_10.42.42.5(pid=20525): stderr:
 | 20201106180826122 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Terminating (cause = OSMO_FSM_TERM_REQUEST)
| 20201106180826122 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Freeing instance
| 20201106180826122 �[1;34mDLSS7�[0;m <001f> fsm.c:573 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Deallocated
| 20201106180826122 �[1;34mDLSS7�[0;m <001f> fsm.c:461 XUA_ASP(asp0)[0x612000012fa0]{ASP_DOWN}: Allocated
| 20201106180826122 �[1;33mDLSCCP�[0;m <0020> sccp_user.c:631 OsmoMSC-A-Iu: Using ASP instance asp0
| 20201106180826122 �[1;33mDLSS7�[0;m <001f> osmo_ss7.c:440 0: Creating SCCP instance
| 20201106180826122 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:464 registering user=SCCP for SI 3 with priv 0x612000012e20
| 20201106180826123 �[1;33mDLGLOBAL�[0;m <0013> socket.c:801 unable to bind socket: 0.0.0.0:29118: Address already in use
| 20201106180826123 �[1;31mDSGS�[0;m <0011> sgs_server.c:182 SGs socket cannot be opened: Address already in use
| Starting SGs server failed 
18:08:30.739727 run pcap-recorder_any(filters='host 10.42.42.2')(pid=20519): Terminating (SIGTERM)
18:08:30.790478 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=20522): Terminating (SIGTERM)
18:08:30.841156 run   osmo-stp_10.42.42.4(pid=20523): Terminating (SIGTERM)
18:08:30.892700 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=20524): Terminating (SIGTERM)
18:08:30.948027 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=20527): Terminating (SIGTERM)
18:08:30.998769 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=20530): Terminating (SIGTERM)
18:08:31.049712 run   osmo-bsc_10.42.42.8(pid=20531): Terminating (SIGTERM)
18:08:31.061207 ---      ParallelTerminationStrategy: PID 20519 died...
18:08:31.129281 run pcap-recorder_any(filters='host 10.42.42.2')(pid=20519): Terminated: ok {rc=0}
18:08:31.141737 ---      ParallelTerminationStrategy: PID 20522 died...
18:08:31.209172 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=20522): Terminated: ok {rc=0}
18:08:31.221247 ---      ParallelTerminationStrategy: PID 20523 died...
18:08:31.288101 run   osmo-stp_10.42.42.4(pid=20523): Terminated: ok {rc=0}
18:08:31.300062 ---      ParallelTerminationStrategy: PID 20524 died...
18:08:31.367354 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=20524): Terminated: ok {rc=0}
18:08:31.379344 ---      ParallelTerminationStrategy: PID 20527 died...
18:08:31.447154 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=20527): Terminated: ok {rc=0}
18:08:31.459149 ---      ParallelTerminationStrategy: PID 20530 died...
18:08:31.526361 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=20530): Terminated: ok {rc=0}
18:08:34.221947 ---      ParallelTerminationStrategy: PID 20531 died...
18:08:34.311762 run   osmo-bsc_10.42.42.8(pid=20531): 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=20528): Process ended prematurely: osmo-mgw_10.42.42.3(pid=20528) [trial-2740↪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=20528)]