Skip to content

Regression

ttcn3_bts_tests:oc2g.ttcn3_bts_tests.py (from ttcn3_bts_tests_oc2g)

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

Stacktrace

osmo-mgw_10.42.42.3(pid=20546): Process ended prematurely: osmo-mgw_10.42.42.3(pid=20546) [trial-2740↪ttcn3_bts_tests:oc2g↪ttcn3_bts_tests.py:47↪ttcn3_bts_tests.py↪osmo-mgw_10.42.42.3↪osmo-mgw_10.42.42.3(pid=20546)]

Standard Output

----------------------------------------------
trial-2740 ttcn3_bts_tests:oc2g ttcn3_bts_tests.py
----------------------------------------------
18:08:34.776626 tst             ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8)
18:08:34.789867 tst             ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8)
18:08:34.803496 tst             ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8)
18:08:34.817284 tst             ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8)
18:08:34.831001 tst             ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8)
18:08:34.844483 tst             ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8)
18:08:34.858148 tst             ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8)
18:08:34.871641 tst             ttcn3_bts_tests:oc2g: Using 1 x bts (candidates: 1)
18:08:35.009715 tst               ttcn3_bts_tests.py: using LAC 9752
18:08:35.140032 tst               ttcn3_bts_tests.py: using RAC 62
18:08:35.259301 tst               ttcn3_bts_tests.py: using CellId 9752
18:08:35.377935 tst               ttcn3_bts_tests.py: using BVCI 2035
18:08:35.401646 tst             ttcn3_bts_tests:oc2g: Using 1 x osmocon_phone (candidates: 1)
18:08:35.575416 tst            ttcn3_bts_tests.py:35: Starting CNI
18:08:35.702188 run              osmo-hlr_10.42.42.2: Starting osmo-hlr
18:08:36.178160 run         create_hlr_db(pid=20535): Launched
18:08:37.377259 run         create_hlr_db(pid=20535): Terminated: ok {rc=0}
18:08:37.713225 run pcap-recorder_any(filters='host 10.42.42.2')(pid=20537): Launched
18:08:38.028770 run   osmo-hlr_10.42.42.2(pid=20538): Launched
18:08:38.150994 run              osmo-stp_10.42.42.4: Starting osmo-stp
18:08:38.684861 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=20540): Launched
18:08:39.003572 run   osmo-stp_10.42.42.4(pid=20541): Launched
18:08:39.120119 run              osmo-msc_10.42.42.5: Starting osmo-msc
18:08:39.731456 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=20542): Launched
18:08:40.036666 run   osmo-msc_10.42.42.5(pid=20543): Launched
18:08:40.159093 run              osmo-mgw_10.42.42.3: Starting osmo-mgw
18:08:40.722276 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=20545): Launched
18:08:41.048807 run   osmo-mgw_10.42.42.3(pid=20546): Launched
18:08:41.074856 tst             ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8)
18:08:41.182954 run              osmo-bsc_10.42.42.8: Starting osmo-bsc
18:08:41.873207 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=20548): Launched
18:08:42.194271 run   osmo-bsc_10.42.42.8(pid=20549): Launched
18:08:42.302714 run                    osmo-bts-oc2g: Starting OsmoBtsOC2G to connect to osmo-bsc_10.42.42.8
18:08:43.210095 run         rm-remote-dir(pid=20550): Launched
18:08:43.401883 run   osmo-mgw_10.42.42.3(pid=20546): ERR: Terminated: ERROR {rc=255}  [trial-2740↪ttcn3_bts_tests:oc2g↪ttcn3_bts_tests.py:47↪ttcn3_bts_tests.py↪osmo-mgw_10.42.42.3↪osmo-mgw_10.42.42.3(pid=20546)]
18:08:43.541430 run   osmo-mgw_10.42.42.3(pid=20546): stdout:
 | (launched: 2020-11-06_18:08:40.888291) 
18:08:43.681444 run   osmo-mgw_10.42.42.3(pid=20546): stderr:
 | (launched: 2020-11-06_18:08:40.940479)
| 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:43.815669 run   osmo-mgw_10.42.42.3(pid=20546): stdout:
 | (launched: 2020-11-06_18:08:40.888291) 
18:08:43.948745 run   osmo-mgw_10.42.42.3(pid=20546): stderr:
 | (launched: 2020-11-06_18:08:40.940479)
| 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:44.102850 run         rm-remote-dir(pid=20550): Terminating (SIGINT)
18:08:44.282371 run         rm-remote-dir(pid=20550): Terminated: ok {rc=0}
18:08:44.316714 tst            ttcn3_bts_tests.py:47: ERR: Error: osmo-mgw_10.42.42.3(pid=20546): Process ended prematurely: osmo-mgw_10.42.42.3(pid=20546) [trial-2740↪ttcn3_bts_tests:oc2g↪ttcn3_bts_tests.py:47↪ttcn3_bts_tests.py↪osmo-mgw_10.42.42.3↪osmo-mgw_10.42.42.3(pid=20546)]  [trial-2740↪ttcn3_bts_tests:oc2g↪ttcn3_bts_tests.py:47]
18:08:44.330081 tst            ttcn3_bts_tests.py:47: Test FAILED (9.6 sec)
18:08:44.402190 run   osmo-hlr_10.42.42.2(pid=20538): ERR: Terminated: ERROR {rc=255}  [trial-2740↪ttcn3_bts_tests:oc2g↪ttcn3_bts_tests.py↪ttcn3_bts_tests.py↪osmo-hlr_10.42.42.2↪osmo-hlr_10.42.42.2(pid=20538)]
18:08:44.461692 run   osmo-hlr_10.42.42.2(pid=20538): stdout:
 | (launched: 2020-11-06_18:08:37.870372) 
18:08:44.521188 run   osmo-hlr_10.42.42.2(pid=20538): stderr:
 | �[0;m�[1;31m20201106180838027 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SECURE_DELETE'
| �[0;m�[1;31m20201106180838027 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SOUNDEX'
| �[0;m�[1;31m20201106180838027 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SYSTEM_MALLOC'
| �[0;m�[1;31m20201106180838027 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'TEMP_STORE=1'
| �[0;m�[1;31m20201106180838027 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'THREADSAFE=1'
| �[0;m�[1;31m20201106180838027 �[1;34mDDB�[0;m�[1;31m <0001> db.c:561 Not setting SQL log callback: SQLite3 compiled without support for it
| �[0;m�[1;31m20201106180838046 �[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:oc2g/ttcn3_bts_tests.py/osmo-hlr_10.42.42.2/hlr.db' has HLR DB schema version 5
| �[0;m20201106180838053 �[1;31mDLGLOBAL�[0;m <0008> socket.c:912 unable to bind socket:10.42.42.2:4258: Address already in use
| 20201106180838054 �[1;31mDLGLOBAL�[0;m <0008> socket.c:923 no suitable addr found for: 10.42.42.2:4258
| 20201106180838054 �[1;31mDLGLOBAL�[0;m <0008> telnet_interface.c:100 Cannot bind telnet at 10.42.42.2 4258 
18:08:44.601856 run   osmo-msc_10.42.42.5(pid=20543): ERR: Terminated: ERROR {rc=9}  [trial-2740↪ttcn3_bts_tests:oc2g↪ttcn3_bts_tests.py↪ttcn3_bts_tests.py↪osmo-msc_10.42.42.5↪osmo-msc_10.42.42.5(pid=20543)]
18:08:44.660709 run   osmo-msc_10.42.42.5(pid=20543): stdout:
 | (launched: 2020-11-06_18:08:39.888305) 
18:08:44.719917 run   osmo-msc_10.42.42.5(pid=20543): stderr:
 | 20201106180840390 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Terminating (cause = OSMO_FSM_TERM_REQUEST)
| 20201106180840390 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Freeing instance
| 20201106180840390 �[1;34mDLSS7�[0;m <001f> fsm.c:573 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Deallocated
| 20201106180840390 �[1;34mDLSS7�[0;m <001f> fsm.c:461 XUA_ASP(asp0)[0x612000012fa0]{ASP_DOWN}: Allocated
| 20201106180840390 �[1;33mDLSCCP�[0;m <0020> sccp_user.c:631 OsmoMSC-A-Iu: Using ASP instance asp0
| 20201106180840390 �[1;33mDLSS7�[0;m <001f> osmo_ss7.c:440 0: Creating SCCP instance
| 20201106180840390 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:464 registering user=SCCP for SI 3 with priv 0x612000012e20
| 20201106180840390 �[1;33mDLGLOBAL�[0;m <0013> socket.c:801 unable to bind socket: 0.0.0.0:29118: Address already in use
| 20201106180840390 �[1;31mDSGS�[0;m <0011> sgs_server.c:182 SGs socket cannot be opened: Address already in use
| Starting SGs server failed 
18:08:44.772117 run pcap-recorder_any(filters='host 10.42.42.2')(pid=20537): Terminating (SIGTERM)
18:08:44.824009 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=20540): Terminating (SIGTERM)
18:08:44.874842 run   osmo-stp_10.42.42.4(pid=20541): Terminating (SIGTERM)
18:08:44.924464 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=20542): Terminating (SIGTERM)
18:08:44.979820 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=20545): Terminating (SIGTERM)
18:08:45.027980 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=20548): Terminating (SIGTERM)
18:08:45.075615 run   osmo-bsc_10.42.42.8(pid=20549): Terminating (SIGTERM)
18:08:45.086349 ---      ParallelTerminationStrategy: PID 20537 died...
18:08:45.149984 run pcap-recorder_any(filters='host 10.42.42.2')(pid=20537): Terminated: ok {rc=0}
18:08:45.161410 ---      ParallelTerminationStrategy: PID 20540 died...
18:08:45.224594 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=20540): Terminated: ok {rc=0}
18:08:45.235993 ---      ParallelTerminationStrategy: PID 20541 died...
18:08:45.298946 run   osmo-stp_10.42.42.4(pid=20541): Terminated: ok {rc=0}
18:08:45.310299 ---      ParallelTerminationStrategy: PID 20542 died...
18:08:45.373373 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=20542): Terminated: ok {rc=0}
18:08:45.384849 ---      ParallelTerminationStrategy: PID 20545 died...
18:08:45.448106 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=20545): Terminated: ok {rc=0}
18:08:45.459472 ---      ParallelTerminationStrategy: PID 20548 died...
18:08:45.522787 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=20548): Terminated: ok {rc=0}
18:08:48.939323 ---      ParallelTerminationStrategy: PID 20549 died...
18:08:49.008611 run   osmo-bsc_10.42.42.8(pid=20549): 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_oc2g.py", line 119, 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=20546): Process ended prematurely: osmo-mgw_10.42.42.3(pid=20546) [trial-2740↪ttcn3_bts_tests:oc2g↪ttcn3_bts_tests.py:47↪ttcn3_bts_tests.py↪osmo-mgw_10.42.42.3↪osmo-mgw_10.42.42.3(pid=20546)]