Skip to content

Failed

smpp.esme_connect_policy_closed.py

Failing for the past 62 builds (Since #2331 )
Took 7 sec.

Stacktrace

osmo-hlr_10.42.42.2(pid=16810): Process ended prematurely: osmo-hlr_10.42.42.2(pid=16810) [trial-2392↪smpp↪esme_connect_policy_closed.py:31↪esme_connect_policy_closed.py↪osmo-hlr_10.42.42.2↪osmo-hlr_10.42.42.2(pid=16810)]

Standard Output

----------------------------------------------
trial-2392 smpp esme_connect_policy_closed.py
----------------------------------------------
18:25:09.719926 tst                             smpp: Using 1 x ip_address (candidates: 6)
18:25:09.731626 tst                             smpp: Using 1 x bts (candidates: 1)
18:25:09.870322 tst    esme_connect_policy_closed.py: using LAC 35429
18:25:10.000241 tst    esme_connect_policy_closed.py: using RAC 239
18:25:10.129729 tst    esme_connect_policy_closed.py: using CellId 35429
18:25:10.259700 tst    esme_connect_policy_closed.py: using BVCI 35430
18:25:10.285211 tst                             smpp: Using 1 x ip_address (candidates: 6)
18:25:10.296183 tst                             smpp: Using 1 x ip_address (candidates: 6)
18:25:10.307295 tst                             smpp: Using 1 x ip_address (candidates: 6)
18:25:10.424800 tst    esme_connect_policy_closed.py: using MSISDN 8269
18:25:10.555893 tst    esme_connect_policy_closed.py: using MSISDN 8270
18:25:10.676043 run              osmo-stp_10.42.42.4: Starting osmo-stp
18:25:11.254881 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=16805): Launched
18:25:11.592315 run   osmo-stp_10.42.42.4(pid=16806): Launched
18:25:11.712867 run              osmo-hlr_10.42.42.2: Starting osmo-hlr
18:25:12.241873 run         create_hlr_db(pid=16807): Launched
18:25:13.437812 run         create_hlr_db(pid=16807): Terminated: ok {rc=0}
18:25:13.785535 run pcap-recorder_any(filters='host 10.42.42.2')(pid=16809): Launched
18:25:14.122916 run   osmo-hlr_10.42.42.2(pid=16810): Launched
18:25:14.247499 run              osmo-msc_10.42.42.5: Starting osmo-msc
18:25:14.866926 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=16812): Launched
18:25:15.205587 run   osmo-msc_10.42.42.5(pid=16813): Launched
18:25:15.400191 run   osmo-hlr_10.42.42.2(pid=16810): ERR: Terminated: ERROR {rc=237}  [trial-2392↪smpp↪esme_connect_policy_closed.py:31↪esme_connect_policy_closed.py↪osmo-hlr_10.42.42.2↪osmo-hlr_10.42.42.2(pid=16810)]
18:25:15.542752 run   osmo-hlr_10.42.42.2(pid=16810): stdout: 
| (launched: 2022-12-13_18:25:13.956078) 
18:25:15.687349 run   osmo-hlr_10.42.42.2(pid=16810): stderr: 
| �[0;m�[1;31m20221213182514151 �[1;34mDDB�[0;m�[1;31m �[1;34mDEBUG�[0;m�[1;31m SQLite3 compiled with 'SECURE_DELETE' (db.c:579)
| �[0;m�[1;31m20221213182514151 �[1;34mDDB�[0;m�[1;31m �[1;34mDEBUG�[0;m�[1;31m SQLite3 compiled with 'SOUNDEX' (db.c:579)
| �[0;m�[1;31m20221213182514151 �[1;34mDDB�[0;m�[1;31m �[1;34mDEBUG�[0;m�[1;31m SQLite3 compiled with 'TEMP_STORE=1' (db.c:579)
| �[0;m�[1;31m20221213182514151 �[1;34mDDB�[0;m�[1;31m �[1;34mDEBUG�[0;m�[1;31m SQLite3 compiled with 'THREADSAFE=1' (db.c:579)
| �[0;m�[1;31m20221213182514151 �[1;34mDDB�[0;m�[1;31m �[1;34mDEBUG�[0;m�[1;31m SQLite3 compiled with 'USE_URI' (db.c:579)
| �[0;m�[1;31m20221213182514151 �[1;34mDDB�[0;m�[1;31m �[1;34mDEBUG�[0;m�[1;31m Not setting SQL log callback: SQLite3 compiled without support for it (db.c:596)
| �[0;m�[1;31m20221213182514164 �[1;33mDDB�[0;m�[1;31m �[1;33mNOTICE�[0;m�[1;31m Database '/home/jenkins/workspace/osmo-gsm-tester_run-prod/trial-2392/run.2022-12-13_17-10-08/smpp/esme_connect_policy_closed.py/osmo-hlr_10.42.42.2/hlr.db' has HLR DB schema version 6 (db.c:636)
| �[0;m20221213182514173 �[1;31mDLGLOBAL�[0;m �[1;31mERROR�[0;m unable to bind socket:10.42.42.2:4258: Address already in use (socket.c:935)
| 20221213182514173 �[1;31mDLGLOBAL�[0;m �[1;31mERROR�[0;m no suitable addr found for: 10.42.42.2:4258 (socket.c:946)
| 20221213182514173 �[1;31mDLGLOBAL�[0;m �[1;31mERROR�[0;m Cannot bind telnet at 10.42.42.2 4258 (telnet_interface.c:99) 
18:25:15.821915 run   osmo-hlr_10.42.42.2(pid=16810): stdout: 
| (launched: 2022-12-13_18:25:13.956078) 
18:25:15.982798 run   osmo-hlr_10.42.42.2(pid=16810): stderr: 
| �[0;m�[1;31m20221213182514151 �[1;34mDDB�[0;m�[1;31m �[1;34mDEBUG�[0;m�[1;31m SQLite3 compiled with 'SECURE_DELETE' (db.c:579)
| �[0;m�[1;31m20221213182514151 �[1;34mDDB�[0;m�[1;31m �[1;34mDEBUG�[0;m�[1;31m SQLite3 compiled with 'SOUNDEX' (db.c:579)
| �[0;m�[1;31m20221213182514151 �[1;34mDDB�[0;m�[1;31m �[1;34mDEBUG�[0;m�[1;31m SQLite3 compiled with 'TEMP_STORE=1' (db.c:579)
| �[0;m�[1;31m20221213182514151 �[1;34mDDB�[0;m�[1;31m �[1;34mDEBUG�[0;m�[1;31m SQLite3 compiled with 'THREADSAFE=1' (db.c:579)
| �[0;m�[1;31m20221213182514151 �[1;34mDDB�[0;m�[1;31m �[1;34mDEBUG�[0;m�[1;31m SQLite3 compiled with 'USE_URI' (db.c:579)
| �[0;m�[1;31m20221213182514151 �[1;34mDDB�[0;m�[1;31m �[1;34mDEBUG�[0;m�[1;31m Not setting SQL log callback: SQLite3 compiled without support for it (db.c:596)
| �[0;m�[1;31m20221213182514164 �[1;33mDDB�[0;m�[1;31m �[1;33mNOTICE�[0;m�[1;31m Database '/home/jenkins/workspace/osmo-gsm-tester_run-prod/trial-2392/run.2022-12-13_17-10-08/smpp/esme_connect_policy_closed.py/osmo-hlr_10.42.42.2/hlr.db' has HLR DB schema version 6 (db.c:636)
| �[0;m20221213182514173 �[1;31mDLGLOBAL�[0;m �[1;31mERROR�[0;m unable to bind socket:10.42.42.2:4258: Address already in use (socket.c:935)
| 20221213182514173 �[1;31mDLGLOBAL�[0;m �[1;31mERROR�[0;m no suitable addr found for: 10.42.42.2:4258 (socket.c:946)
| 20221213182514173 �[1;31mDLGLOBAL�[0;m �[1;31mERROR�[0;m Cannot bind telnet at 10.42.42.2 4258 (telnet_interface.c:99) 
18:25:16.042647 tst esme_connect_policy_closed.py:31: ERR: Error: osmo-hlr_10.42.42.2(pid=16810): Process ended prematurely: osmo-hlr_10.42.42.2(pid=16810) [trial-2392↪smpp↪esme_connect_policy_closed.py:31↪esme_connect_policy_closed.py↪osmo-hlr_10.42.42.2↪osmo-hlr_10.42.42.2(pid=16810)]  [trial-2392↪smpp↪esme_connect_policy_closed.py:31]
18:25:16.052432 tst esme_connect_policy_closed.py:31: Test FAILED (6.3 sec)
18:25:16.119380 run   osmo-msc_10.42.42.5(pid=16813): ERR: Terminated: ERROR {rc=9}  [trial-2392↪smpp↪esme_connect_policy_closed.py↪esme_connect_policy_closed.py↪osmo-msc_10.42.42.5↪osmo-msc_10.42.42.5(pid=16813)]
18:25:16.174202 run   osmo-msc_10.42.42.5(pid=16813): stdout: 
| (launched: 2022-12-13_18:25:15.037675) 
18:25:16.229967 run   osmo-msc_10.42.42.5(pid=16813): stderr: 
| �[0;m�[38;5;43m20221213182515409 �[1;34mDLSS7�[0;m�[38;5;43m �[1;34mDEBUG�[0;m�[38;5;43m XUA_ASP(asp0)[0x6120000048a0]{ASP_DOWN}: Freeing instance (osmo_ss7.c:1650)
| �[0;m�[38;5;43m20221213182515409 �[1;34mDLSS7�[0;m�[38;5;43m �[1;34mDEBUG�[0;m�[38;5;43m XUA_ASP(asp0)[0x6120000048a0]{ASP_DOWN}: Deallocated (fsm.c:568)
| �[0;m�[38;5;43m20221213182515409 �[1;34mDLSS7�[0;m�[38;5;43m �[1;34mDEBUG�[0;m�[38;5;43m XUA_ASP(asp0)[0x612000015820]{ASP_DOWN}: Allocated (fsm.c:456)
| �[0;m�[38;5;45m20221213182515409 �[1;33mDLSCCP�[0;m�[38;5;45m �[1;33mNOTICE�[0;m�[38;5;45m OsmoMSC-A-Iu: Using ASP instance asp0 (sccp_user.c:647)
| �[0;m�[38;5;43m20221213182515409 �[1;33mDLSS7�[0;m�[38;5;43m �[1;33mNOTICE�[0;m�[38;5;43m 0: Creating SCCP instance (osmo_ss7.c:458)
| �[0;m�[38;5;45m20221213182515410 �[1;32mDLSCCP�[0;m�[38;5;45m �[1;32mINFO�[0;m�[38;5;45m Binding user 'SCCP Management' to SSN=1 PC=(no PC) (sccp_user.c:108)
| �[0;m�[38;5;43m20221213182515410 �[1;34mDLSS7�[0;m�[38;5;43m �[1;34mDEBUG�[0;m�[38;5;43m registering user=SCCP for SI 3 with priv 0x6120000159a0 (osmo_ss7.c:482)
| �[0;m20221213182515410 �[1;33mDLGLOBAL�[0;m �[1;33mNOTICE�[0;m unable to bind socket: 0.0.0.0:29118: Address already in use (socket.c:822)
| 20221213182515410 �[1;31mDSGS�[0;m �[1;31mERROR�[0;m SGs socket cannot be opened: Address already in use (sgs_server.c:182)
| Starting SGs server failed 
18:25:16.277555 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=16805): Terminating (SIGTERM)
18:25:16.322284 run   osmo-stp_10.42.42.4(pid=16806): Terminating (SIGTERM)
18:25:16.390520 run pcap-recorder_any(filters='host 10.42.42.2')(pid=16809): Terminating (SIGTERM)
18:25:16.476608 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=16812): Terminating (SIGTERM)
18:25:16.498762 ---      ParallelTerminationStrategy: PID 16805 died...
18:25:16.559284 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=16805): Terminated: ok {rc=0}
18:25:16.571096 ---      ParallelTerminationStrategy: PID 16806 died...
18:25:16.629757 run   osmo-stp_10.42.42.4(pid=16806): Terminated: ok {rc=0}
18:25:16.641268 ---      ParallelTerminationStrategy: PID 16809 died...
18:25:16.700369 run pcap-recorder_any(filters='host 10.42.42.2')(pid=16809): Terminated: ok {rc=0}
18:25:16.712193 ---      ParallelTerminationStrategy: PID 16812 died...
18:25:16.770993 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=16812): Terminated: ok {rc=0}

Standard Error

Traceback (most recent call last):
  File "/home/jenkins/workspace/osmo-gsm-tester_run-prod/osmo-gsm-tester/src/osmo_gsm_tester/core/test.py", line 76, in run
    self.path)
  File "/home/jenkins/workspace/osmo-gsm-tester_run-prod/osmo-gsm-tester/src/osmo_gsm_tester/core/util.py", line 414, in run_python_file
    spec.loader.exec_module( importlib.util.module_from_spec(spec) )
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/jenkins/workspace/osmo-gsm-tester_run-prod/osmo-gsm-tester/sysmocom/suites/smpp/esme_connect_policy_closed.py", line 31, in <module>
    msc.start()
  File "/home/jenkins/workspace/osmo-gsm-tester_run-prod/osmo-gsm-tester/src/osmo_gsm_tester/obj/msc_osmo.py", line 80, in start
    self.ctrl.connect()
  File "/home/jenkins/workspace/osmo-gsm-tester_run-prod/osmo-gsm-tester/src/osmo_gsm_tester/obj/osmo_ctrl.py", line 92, in connect
    MainLoop.wait(self.try_connect, timestep=3, timeout=timeout)
  File "/home/jenkins/workspace/osmo-gsm-tester_run-prod/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_run-prod/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_run-prod/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_run-prod/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_run-prod/osmo-gsm-tester/src/osmo_gsm_tester/testenv.py", line 142, in poll
    raise log_module.Error('Process ended prematurely: %s' % proc.name())
osmo_gsm_tester.core.log.Error: osmo-hlr_10.42.42.2(pid=16810): Process ended prematurely: osmo-hlr_10.42.42.2(pid=16810) [trial-2392↪smpp↪esme_connect_policy_closed.py:31↪esme_connect_policy_closed.py↪osmo-hlr_10.42.42.2↪osmo-hlr_10.42.42.2(pid=16810)]