Skip to content

Failed

ttcn3_bts_tests:oc2g.ttcn3_bts_tests.py (from ttcn3_bts_tests_oc2g)

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

Stacktrace

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

Standard Output

----------------------------------------------
trial-2743 ttcn3_bts_tests:oc2g ttcn3_bts_tests.py
----------------------------------------------
00:21:26.162096 tst             ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8)
00:21:26.176034 tst             ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8)
00:21:26.190320 tst             ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8)
00:21:26.204511 tst             ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8)
00:21:26.218805 tst             ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8)
00:21:26.232824 tst             ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8)
00:21:26.246917 tst             ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8)
00:21:26.261062 tst             ttcn3_bts_tests:oc2g: Using 1 x bts (candidates: 1)
00:21:26.395452 tst               ttcn3_bts_tests.py: using LAC 9763
00:21:26.527040 tst               ttcn3_bts_tests.py: using RAC 73
00:21:26.659027 tst               ttcn3_bts_tests.py: using CellId 9763
00:21:26.793008 tst               ttcn3_bts_tests.py: using BVCI 2046
00:21:26.818308 tst             ttcn3_bts_tests:oc2g: Using 1 x osmocon_phone (candidates: 1)
00:21:27.012005 tst            ttcn3_bts_tests.py:35: Starting CNI
00:21:27.140046 run              osmo-hlr_10.42.42.2: Starting osmo-hlr
00:21:27.619745 run         create_hlr_db(pid=30084): Launched
00:21:28.821401 run         create_hlr_db(pid=30084): Terminated: ok {rc=0}
00:21:29.164930 run pcap-recorder_any(filters='host 10.42.42.2')(pid=30086): Launched
00:21:29.488361 run   osmo-hlr_10.42.42.2(pid=30087): Launched
00:21:29.602537 run              osmo-stp_10.42.42.4: Starting osmo-stp
00:21:30.122275 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=30089): Launched
00:21:30.443834 run   osmo-stp_10.42.42.4(pid=30090): Launched
00:21:30.553882 run              osmo-msc_10.42.42.5: Starting osmo-msc
00:21:31.109488 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=30091): Launched
00:21:31.427548 run   osmo-msc_10.42.42.5(pid=30092): Launched
00:21:31.553909 run              osmo-mgw_10.42.42.3: Starting osmo-mgw
00:21:32.116549 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=30094): Launched
00:21:32.424029 run   osmo-mgw_10.42.42.3(pid=30095): Launched
00:21:32.448232 tst             ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8)
00:21:32.548969 run              osmo-bsc_10.42.42.8: Starting osmo-bsc
00:21:33.191679 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=30097): Launched
00:21:33.514533 run   osmo-bsc_10.42.42.8(pid=30098): Launched
00:21:33.632535 run                    osmo-bts-oc2g: Starting OsmoBtsOC2G to connect to osmo-bsc_10.42.42.8
00:21:34.588220 run         rm-remote-dir(pid=30099): Launched
00:21:34.795233 run   osmo-mgw_10.42.42.3(pid=30095): ERR: Terminated: ERROR {rc=255}  [trial-2743↪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=30095)]
00:21:34.954407 run   osmo-mgw_10.42.42.3(pid=30095): stdout:
 | (launched: 2020-11-09_00:21:32.274738) 
00:21:35.096543 run   osmo-mgw_10.42.42.3(pid=30095): stderr:
 | (launched: 2020-11-09_00:21:32.320952)
| 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:35.233002 run   osmo-mgw_10.42.42.3(pid=30095): stdout:
 | (launched: 2020-11-09_00:21:32.274738) 
00:21:35.368874 run   osmo-mgw_10.42.42.3(pid=30095): stderr:
 | (launched: 2020-11-09_00:21:32.320952)
| 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:35.526131 run         rm-remote-dir(pid=30099): Terminating (SIGINT)
00:21:35.713039 run         rm-remote-dir(pid=30099): Terminated: ok {rc=0}
00:21:35.748117 tst            ttcn3_bts_tests.py:47: ERR: Error: osmo-mgw_10.42.42.3(pid=30095): Process ended prematurely: osmo-mgw_10.42.42.3(pid=30095) [trial-2743↪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=30095)]  [trial-2743↪ttcn3_bts_tests:oc2g↪ttcn3_bts_tests.py:47]
00:21:35.761660 tst            ttcn3_bts_tests.py:47: Test FAILED (9.6 sec)
00:21:35.835044 run   osmo-hlr_10.42.42.2(pid=30087): ERR: Terminated: ERROR {rc=255}  [trial-2743↪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=30087)]
00:21:35.895259 run   osmo-hlr_10.42.42.2(pid=30087): stdout:
 | (launched: 2020-11-09_00:21:29.331940) 
00:21:35.956169 run   osmo-hlr_10.42.42.2(pid=30087): stderr:
 | �[0;m�[1;31m20201109002129485 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SECURE_DELETE'
| �[0;m�[1;31m20201109002129485 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SOUNDEX'
| �[0;m�[1;31m20201109002129486 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SYSTEM_MALLOC'
| �[0;m�[1;31m20201109002129486 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'TEMP_STORE=1'
| �[0;m�[1;31m20201109002129486 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'THREADSAFE=1'
| �[0;m�[1;31m20201109002129486 �[1;34mDDB�[0;m�[1;31m <0001> db.c:561 Not setting SQL log callback: SQLite3 compiled without support for it
| �[0;m�[1;31m20201109002129505 �[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:oc2g/ttcn3_bts_tests.py/osmo-hlr_10.42.42.2/hlr.db' has HLR DB schema version 5
| �[0;m20201109002129511 �[1;31mDLGLOBAL�[0;m <0008> socket.c:912 unable to bind socket:10.42.42.2:4258: Address already in use
| 20201109002129511 �[1;31mDLGLOBAL�[0;m <0008> socket.c:923 no suitable addr found for: 10.42.42.2:4258
| 20201109002129511 �[1;31mDLGLOBAL�[0;m <0008> telnet_interface.c:100 Cannot bind telnet at 10.42.42.2 4258 
00:21:36.038766 run   osmo-msc_10.42.42.5(pid=30092): ERR: Terminated: ERROR {rc=9}  [trial-2743↪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=30092)]
00:21:36.098651 run   osmo-msc_10.42.42.5(pid=30092): stdout:
 | (launched: 2020-11-09_00:21:31.267473) 
00:21:36.159451 run   osmo-msc_10.42.42.5(pid=30092): stderr:
 | 20201109002131782 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Terminating (cause = OSMO_FSM_TERM_REQUEST)
| 20201109002131782 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Freeing instance
| 20201109002131782 �[1;34mDLSS7�[0;m <001f> fsm.c:573 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Deallocated
| 20201109002131782 �[1;34mDLSS7�[0;m <001f> fsm.c:461 XUA_ASP(asp0)[0x612000012fa0]{ASP_DOWN}: Allocated
| 20201109002131782 �[1;33mDLSCCP�[0;m <0020> sccp_user.c:631 OsmoMSC-A-Iu: Using ASP instance asp0
| 20201109002131782 �[1;33mDLSS7�[0;m <001f> osmo_ss7.c:440 0: Creating SCCP instance
| 20201109002131782 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:464 registering user=SCCP for SI 3 with priv 0x612000012e20
| 20201109002131782 �[1;33mDLGLOBAL�[0;m <0013> socket.c:801 unable to bind socket: 0.0.0.0:29118: Address already in use
| 20201109002131782 �[1;31mDSGS�[0;m <0011> sgs_server.c:182 SGs socket cannot be opened: Address already in use
| Starting SGs server failed 
00:21:36.210902 run pcap-recorder_any(filters='host 10.42.42.2')(pid=30086): Terminating (SIGTERM)
00:21:36.259320 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=30089): Terminating (SIGTERM)
00:21:36.308287 run   osmo-stp_10.42.42.4(pid=30090): Terminating (SIGTERM)
00:21:36.358273 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=30091): Terminating (SIGTERM)
00:21:36.409222 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=30094): Terminating (SIGTERM)
00:21:36.458284 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=30097): Terminating (SIGTERM)
00:21:36.507108 run   osmo-bsc_10.42.42.8(pid=30098): Terminating (SIGTERM)
00:21:36.518271 ---      ParallelTerminationStrategy: PID 30086 died...
00:21:36.583357 run pcap-recorder_any(filters='host 10.42.42.2')(pid=30086): Terminated: ok {rc=0}
00:21:36.595047 ---      ParallelTerminationStrategy: PID 30089 died...
00:21:36.659691 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=30089): Terminated: ok {rc=0}
00:21:36.671472 ---      ParallelTerminationStrategy: PID 30090 died...
00:21:36.735940 run   osmo-stp_10.42.42.4(pid=30090): Terminated: ok {rc=0}
00:21:36.747629 ---      ParallelTerminationStrategy: PID 30091 died...
00:21:36.823925 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=30091): Terminated: ok {rc=0}
00:21:36.836370 ---      ParallelTerminationStrategy: PID 30094 died...
00:21:36.904736 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=30094): Terminated: ok {rc=0}
00:21:36.920124 ---      ParallelTerminationStrategy: PID 30097 died...
00:21:36.989415 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=30097): Terminated: ok {rc=0}
00:21:39.685043 ---      ParallelTerminationStrategy: PID 30098 died...
00:21:39.755788 run   osmo-bsc_10.42.42.8(pid=30098): 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=30095): Process ended prematurely: osmo-mgw_10.42.42.3(pid=30095) [trial-2743↪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=30095)]