Skip to content

Failed

ttcn3_bts_tests:sysmo.ttcn3_bts_tests.py (from ttcn3_bts_tests_sysmo)

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

Stacktrace

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

Standard Output

----------------------------------------------
trial-2742 ttcn3_bts_tests:sysmo ttcn3_bts_tests.py
----------------------------------------------
00:21:38.455344 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:38.469579 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:38.484095 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:38.498625 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:38.513597 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:38.527923 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:38.542611 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:38.557000 tst            ttcn3_bts_tests:sysmo: Using 1 x bts (candidates: 1)
00:21:38.684764 tst               ttcn3_bts_tests.py: using LAC 9759
00:21:38.805649 tst               ttcn3_bts_tests.py: using RAC 69
00:21:38.930957 tst               ttcn3_bts_tests.py: using CellId 9759
00:21:39.069639 tst               ttcn3_bts_tests.py: using BVCI 2042
00:21:39.095460 tst            ttcn3_bts_tests:sysmo: Using 1 x osmocon_phone (candidates: 1)
00:21:39.283572 tst            ttcn3_bts_tests.py:35: Starting CNI
00:21:39.420105 run              osmo-hlr_10.42.42.2: Starting osmo-hlr
00:21:39.924043 run         create_hlr_db(pid=10673): Launched
00:21:41.126447 run         create_hlr_db(pid=10673): Terminated: ok {rc=0}
00:21:41.467660 run pcap-recorder_any(filters='host 10.42.42.2')(pid=10675): Launched
00:21:41.815577 run   osmo-hlr_10.42.42.2(pid=10676): Launched
00:21:41.939290 run              osmo-stp_10.42.42.4: Starting osmo-stp
00:21:42.480334 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=10678): Launched
00:21:42.791040 run   osmo-stp_10.42.42.4(pid=10679): Launched
00:21:42.902013 run              osmo-msc_10.42.42.5: Starting osmo-msc
00:21:43.480087 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=10680): Launched
00:21:43.791617 run   osmo-msc_10.42.42.5(pid=10681): Launched
00:21:43.904728 run              osmo-mgw_10.42.42.3: Starting osmo-mgw
00:21:44.426734 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=10683): Launched
00:21:44.739048 run   osmo-mgw_10.42.42.3(pid=10684): Launched
00:21:44.764545 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:21:44.868481 run              osmo-bsc_10.42.42.8: Starting osmo-bsc
00:21:45.552696 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=10686): Launched
00:21:45.879190 run   osmo-bsc_10.42.42.8(pid=10687): Launched
00:21:45.992167 run                   osmo-bts-sysmo: Starting sysmoBTS to connect to osmo-bsc_10.42.42.8
00:21:46.942542 run         rm-remote-dir(pid=10688): Launched
00:21:47.147422 run   osmo-mgw_10.42.42.3(pid=10684): ERR: Terminated: ERROR {rc=255}  [trial-2742↪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=10684)]
00:21:47.297853 run   osmo-mgw_10.42.42.3(pid=10684): stdout:
 | (launched: 2020-11-08_00:21:44.586691) 
00:21:47.448450 run   osmo-mgw_10.42.42.3(pid=10684): stderr:
 | (launched: 2020-11-08_00:21:44.633372)
| 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:47.593753 run   osmo-mgw_10.42.42.3(pid=10684): stdout:
 | (launched: 2020-11-08_00:21:44.586691) 
00:21:47.737002 run   osmo-mgw_10.42.42.3(pid=10684): stderr:
 | (launched: 2020-11-08_00:21:44.633372)
| 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:47.906721 run         rm-remote-dir(pid=10688): Terminating (SIGINT)
00:21:48.271116 run         rm-remote-dir(pid=10688): Terminated {rc=130}
00:21:48.308065 tst            ttcn3_bts_tests.py:47: ERR: Error: osmo-mgw_10.42.42.3(pid=10684): Process ended prematurely: osmo-mgw_10.42.42.3(pid=10684) [trial-2742↪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=10684)]  [trial-2742↪ttcn3_bts_tests:sysmo↪ttcn3_bts_tests.py:47]
00:21:48.322978 tst            ttcn3_bts_tests.py:47: Test FAILED (9.9 sec)
00:21:48.401290 run   osmo-hlr_10.42.42.2(pid=10676): ERR: Terminated: ERROR {rc=255}  [trial-2742↪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=10676)]
00:21:48.464792 run   osmo-hlr_10.42.42.2(pid=10676): stdout:
 | (launched: 2020-11-08_00:21:41.636661) 
00:21:48.529843 run   osmo-hlr_10.42.42.2(pid=10676): stderr:
 | �[0;m�[1;31m20201108002141843 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SECURE_DELETE'
| �[0;m�[1;31m20201108002141843 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SOUNDEX'
| �[0;m�[1;31m20201108002141843 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SYSTEM_MALLOC'
| �[0;m�[1;31m20201108002141843 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'TEMP_STORE=1'
| �[0;m�[1;31m20201108002141843 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'THREADSAFE=1'
| �[0;m�[1;31m20201108002141843 �[1;34mDDB�[0;m�[1;31m <0001> db.c:561 Not setting SQL log callback: SQLite3 compiled without support for it
| �[0;m�[1;31m20201108002141861 �[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:sysmo/ttcn3_bts_tests.py/osmo-hlr_10.42.42.2/hlr.db' has HLR DB schema version 5
| �[0;m20201108002141868 �[1;31mDLGLOBAL�[0;m <0008> socket.c:912 unable to bind socket:10.42.42.2:4258: Address already in use
| 20201108002141868 �[1;31mDLGLOBAL�[0;m <0008> socket.c:923 no suitable addr found for: 10.42.42.2:4258
| 20201108002141868 �[1;31mDLGLOBAL�[0;m <0008> telnet_interface.c:100 Cannot bind telnet at 10.42.42.2 4258 
00:21:48.617375 run   osmo-msc_10.42.42.5(pid=10681): ERR: Terminated: ERROR {rc=9}  [trial-2742↪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=10681)]
00:21:48.680841 run   osmo-msc_10.42.42.5(pid=10681): stdout:
 | (launched: 2020-11-08_00:21:43.639257) 
00:21:48.745384 run   osmo-msc_10.42.42.5(pid=10681): stderr:
 | 20201108002144139 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Terminating (cause = OSMO_FSM_TERM_REQUEST)
| 20201108002144139 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Freeing instance
| 20201108002144139 �[1;34mDLSS7�[0;m <001f> fsm.c:573 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Deallocated
| 20201108002144139 �[1;34mDLSS7�[0;m <001f> fsm.c:461 XUA_ASP(asp0)[0x612000012fa0]{ASP_DOWN}: Allocated
| 20201108002144139 �[1;33mDLSCCP�[0;m <0020> sccp_user.c:631 OsmoMSC-A-Iu: Using ASP instance asp0
| 20201108002144139 �[1;33mDLSS7�[0;m <001f> osmo_ss7.c:440 0: Creating SCCP instance
| 20201108002144139 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:464 registering user=SCCP for SI 3 with priv 0x612000012e20
| 20201108002144140 �[1;33mDLGLOBAL�[0;m <0013> socket.c:801 unable to bind socket: 0.0.0.0:29118: Address already in use
| 20201108002144140 �[1;31mDSGS�[0;m <0011> sgs_server.c:182 SGs socket cannot be opened: Address already in use
| Starting SGs server failed 
00:21:48.800133 run pcap-recorder_any(filters='host 10.42.42.2')(pid=10675): Terminating (SIGTERM)
00:21:48.852042 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=10678): Terminating (SIGTERM)
00:21:48.903992 run   osmo-stp_10.42.42.4(pid=10679): Terminating (SIGTERM)
00:21:48.960522 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=10680): Terminating (SIGTERM)
00:21:49.016415 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=10683): Terminating (SIGTERM)
00:21:49.068882 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=10686): Terminating (SIGTERM)
00:21:49.123166 run   osmo-bsc_10.42.42.8(pid=10687): Terminating (SIGTERM)
00:21:49.135217 ---      ParallelTerminationStrategy: PID 10675 died...
00:21:49.203994 run pcap-recorder_any(filters='host 10.42.42.2')(pid=10675): Terminated: ok {rc=0}
00:21:49.216244 ---      ParallelTerminationStrategy: PID 10678 died...
00:21:49.285271 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=10678): Terminated: ok {rc=0}
00:21:49.297657 ---      ParallelTerminationStrategy: PID 10679 died...
00:21:49.366451 run   osmo-stp_10.42.42.4(pid=10679): Terminated: ok {rc=0}
00:21:49.378773 ---      ParallelTerminationStrategy: PID 10680 died...
00:21:49.447355 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=10680): Terminated: ok {rc=0}
00:21:49.459602 ---      ParallelTerminationStrategy: PID 10683 died...
00:21:49.528608 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=10683): Terminated: ok {rc=0}
00:21:49.540848 ---      ParallelTerminationStrategy: PID 10686 died...
00:21:49.609227 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=10686): Terminated: ok {rc=0}
00:21:52.304842 ---      ParallelTerminationStrategy: PID 10687 died...
00:21:52.374609 run   osmo-bsc_10.42.42.8(pid=10687): 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=10684): Process ended prematurely: osmo-mgw_10.42.42.3(pid=10684) [trial-2742↪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=10684)]