Skip to content

Regression

ttcn3_bts_tests:trx.ttcn3_bts_tests.py (from ttcn3_bts_tests_trx)

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

Stacktrace

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

Standard Output

----------------------------------------------
trial-2740 ttcn3_bts_tests:trx ttcn3_bts_tests.py
----------------------------------------------
18:07:55.172736 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
18:07:55.186006 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
18:07:55.199012 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
18:07:55.212050 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
18:07:55.225065 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
18:07:55.238034 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
18:07:55.250889 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
18:07:55.263834 tst              ttcn3_bts_tests:trx: Using 1 x bts (candidates: 1)
18:07:55.796289 tst               ttcn3_bts_tests.py: using LAC 9750
18:07:55.918089 tst               ttcn3_bts_tests.py: using RAC 60
18:07:56.044303 tst               ttcn3_bts_tests.py: using CellId 9750
18:07:56.175830 tst               ttcn3_bts_tests.py: using BVCI 2033
18:07:56.200792 tst              ttcn3_bts_tests:trx: Using 1 x osmocon_phone (candidates: 1)
18:07:56.389690 tst            ttcn3_bts_tests.py:35: Starting CNI
18:07:56.526165 run              osmo-hlr_10.42.42.2: Starting osmo-hlr
18:07:58.290330 run         create_hlr_db(pid=20500): Launched
18:07:59.475753 run         create_hlr_db(pid=20500): Terminated: ok {rc=0}
18:07:59.810618 run pcap-recorder_any(filters='host 10.42.42.2')(pid=20502): Launched
18:08:00.133332 run   osmo-hlr_10.42.42.2(pid=20503): Launched
18:08:00.245584 run              osmo-stp_10.42.42.4: Starting osmo-stp
18:08:02.904749 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=20505): Launched
18:08:03.230788 run   osmo-stp_10.42.42.4(pid=20506): Launched
18:08:03.349714 run              osmo-msc_10.42.42.5: Starting osmo-msc
18:08:08.408604 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=20507): Launched
18:08:08.733684 run   osmo-msc_10.42.42.5(pid=20508): Launched
18:08:08.859728 run              osmo-mgw_10.42.42.3: Starting osmo-mgw
18:08:10.672717 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=20510): Launched
18:08:10.991931 run   osmo-mgw_10.42.42.3(pid=20511): Launched
18:08:11.018814 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
18:08:11.124177 run              osmo-bsc_10.42.42.8: Starting osmo-bsc
18:08:14.963959 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=20513): Launched
18:08:15.288698 run   osmo-bsc_10.42.42.8(pid=20514): Launched
18:08:15.465854 run   osmo-mgw_10.42.42.3(pid=20511): ERR: Terminated: ERROR {rc=255}  [trial-2740↪ttcn3_bts_tests:trx↪ttcn3_bts_tests.py:47↪ttcn3_bts_tests.py↪osmo-mgw_10.42.42.3↪osmo-mgw_10.42.42.3(pid=20511)]
18:08:15.592280 run   osmo-mgw_10.42.42.3(pid=20511): stdout:
 | (launched: 2020-11-06_18:08:10.831301) 
18:08:15.719267 run   osmo-mgw_10.42.42.3(pid=20511): stderr:
 | (launched: 2020-11-06_18:08:10.877304)
| 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:15.840144 run   osmo-mgw_10.42.42.3(pid=20511): stdout:
 | (launched: 2020-11-06_18:08:10.831301) 
18:08:15.960316 run   osmo-mgw_10.42.42.3(pid=20511): stderr:
 | (launched: 2020-11-06_18:08:10.877304)
| 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:16.012389 tst            ttcn3_bts_tests.py:47: ERR: Error: osmo-mgw_10.42.42.3(pid=20511): Process ended prematurely: osmo-mgw_10.42.42.3(pid=20511) [trial-2740↪ttcn3_bts_tests:trx↪ttcn3_bts_tests.py:47↪ttcn3_bts_tests.py↪osmo-mgw_10.42.42.3↪osmo-mgw_10.42.42.3(pid=20511)]  [trial-2740↪ttcn3_bts_tests:trx↪ttcn3_bts_tests.py:47]
18:08:16.022182 tst            ttcn3_bts_tests.py:47: Test FAILED (20.9 sec)
18:08:16.098285 run   osmo-hlr_10.42.42.2(pid=20503): ERR: Terminated: ERROR {rc=255}  [trial-2740↪ttcn3_bts_tests:trx↪ttcn3_bts_tests.py↪ttcn3_bts_tests.py↪osmo-hlr_10.42.42.2↪osmo-hlr_10.42.42.2(pid=20503)]
18:08:16.160820 run   osmo-hlr_10.42.42.2(pid=20503): stdout:
 | (launched: 2020-11-06_18:07:59.979464) 
18:08:16.224364 run   osmo-hlr_10.42.42.2(pid=20503): stderr:
 | �[0;m�[1;31m20201106180800130 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SECURE_DELETE'
| �[0;m�[1;31m20201106180800130 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SOUNDEX'
| �[0;m�[1;31m20201106180800130 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'SYSTEM_MALLOC'
| �[0;m�[1;31m20201106180800130 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'TEMP_STORE=1'
| �[0;m�[1;31m20201106180800130 �[1;34mDDB�[0;m�[1;31m <0001> db.c:544 SQLite3 compiled with 'THREADSAFE=1'
| �[0;m�[1;31m20201106180800130 �[1;34mDDB�[0;m�[1;31m <0001> db.c:561 Not setting SQL log callback: SQLite3 compiled without support for it
| �[0;m�[1;31m20201106180800151 �[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:trx/ttcn3_bts_tests.py/osmo-hlr_10.42.42.2/hlr.db' has HLR DB schema version 5
| �[0;m20201106180800158 �[1;31mDLGLOBAL�[0;m <0008> socket.c:912 unable to bind socket:10.42.42.2:4258: Address already in use
| 20201106180800158 �[1;31mDLGLOBAL�[0;m <0008> socket.c:923 no suitable addr found for: 10.42.42.2:4258
| 20201106180800158 �[1;31mDLGLOBAL�[0;m <0008> telnet_interface.c:100 Cannot bind telnet at 10.42.42.2 4258 
18:08:16.310248 run   osmo-msc_10.42.42.5(pid=20508): ERR: Terminated: ERROR {rc=9}  [trial-2740↪ttcn3_bts_tests:trx↪ttcn3_bts_tests.py↪ttcn3_bts_tests.py↪osmo-msc_10.42.42.5↪osmo-msc_10.42.42.5(pid=20508)]
18:08:16.372532 run   osmo-msc_10.42.42.5(pid=20508): stdout:
 | (launched: 2020-11-06_18:08:08.575270) 
18:08:16.435798 run   osmo-msc_10.42.42.5(pid=20508): stderr:
 | 20201106180809103 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Terminating (cause = OSMO_FSM_TERM_REQUEST)
| 20201106180809103 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:1493 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Freeing instance
| 20201106180809103 �[1;34mDLSS7�[0;m <001f> fsm.c:573 XUA_ASP(asp0)[0x6120000081a0]{ASP_DOWN}: Deallocated
| 20201106180809103 �[1;34mDLSS7�[0;m <001f> fsm.c:461 XUA_ASP(asp0)[0x612000012fa0]{ASP_DOWN}: Allocated
| 20201106180809103 �[1;33mDLSCCP�[0;m <0020> sccp_user.c:631 OsmoMSC-A-Iu: Using ASP instance asp0
| 20201106180809103 �[1;33mDLSS7�[0;m <001f> osmo_ss7.c:440 0: Creating SCCP instance
| 20201106180809103 �[1;34mDLSS7�[0;m <001f> osmo_ss7.c:464 registering user=SCCP for SI 3 with priv 0x612000012e20
| 20201106180809103 �[1;33mDLGLOBAL�[0;m <0013> socket.c:801 unable to bind socket: 0.0.0.0:29118: Address already in use
| 20201106180809103 �[1;31mDSGS�[0;m <0011> sgs_server.c:182 SGs socket cannot be opened: Address already in use
| Starting SGs server failed 
18:08:16.489360 run pcap-recorder_any(filters='host 10.42.42.2')(pid=20502): Terminating (SIGTERM)
18:08:16.540138 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=20505): Terminating (SIGTERM)
18:08:16.590894 run   osmo-stp_10.42.42.4(pid=20506): Terminating (SIGTERM)
18:08:16.642243 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=20507): Terminating (SIGTERM)
18:08:16.694965 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=20510): Terminating (SIGTERM)
18:08:16.746177 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=20513): Terminating (SIGTERM)
18:08:16.796832 run   osmo-bsc_10.42.42.8(pid=20514): Terminating (SIGTERM)
18:08:16.808563 ---      ParallelTerminationStrategy: PID 20502 died...
18:08:16.875972 run pcap-recorder_any(filters='host 10.42.42.2')(pid=20502): Terminated: ok {rc=0}
18:08:16.887958 ---      ParallelTerminationStrategy: PID 20505 died...
18:08:16.965644 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=20505): Terminated: ok {rc=0}
18:08:16.978323 ---      ParallelTerminationStrategy: PID 20506 died...
18:08:17.047201 run   osmo-stp_10.42.42.4(pid=20506): Terminated: ok {rc=0}
18:08:17.059419 ---      ParallelTerminationStrategy: PID 20507 died...
18:08:17.128211 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=20507): Terminated: ok {rc=0}
18:08:17.141478 ---      ParallelTerminationStrategy: PID 20510 died...
18:08:17.208073 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=20510): Terminated: ok {rc=0}
18:08:17.219785 ---      ParallelTerminationStrategy: PID 20513 died...
18:08:17.283841 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=20513): Terminated: ok {rc=0}
18:08:19.978750 ---      ParallelTerminationStrategy: PID 20514 died...
18:08:20.044527 run   osmo-bsc_10.42.42.8(pid=20514): 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_osmotrx.py", line 158, in start
    self.testenv.poll()
  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=20511): Process ended prematurely: osmo-mgw_10.42.42.3(pid=20511) [trial-2740↪ttcn3_bts_tests:trx↪ttcn3_bts_tests.py:47↪ttcn3_bts_tests.py↪osmo-mgw_10.42.42.3↪osmo-mgw_10.42.42.3(pid=20511)]