Skip to content

Failed

ttcn3_bts_tests:sysmo.ttcn3_bts_tests.py (from ttcn3_bts_tests_sysmo)

Failing for the past 2 builds (Since #2761 )
Took 58 sec.

Stacktrace

run_ttcn3_docker.sh exited with error code 1

Standard Output

----------------------------------------------
trial-2762 ttcn3_bts_tests:sysmo ttcn3_bts_tests.py
----------------------------------------------
00:23:38.970575 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:23:38.984036 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:23:38.997391 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:23:39.010660 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:23:39.023996 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:23:39.037689 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:23:39.050933 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:23:39.064177 tst            ttcn3_bts_tests:sysmo: Using 1 x bts (candidates: 1)
00:23:39.203457 tst               ttcn3_bts_tests.py: using LAC 43421
00:23:39.346380 tst               ttcn3_bts_tests.py: using RAC 71
00:23:39.476042 tst               ttcn3_bts_tests.py: using CellId 43420
00:23:39.612936 tst               ttcn3_bts_tests.py: using BVCI 23406
00:23:39.639194 tst            ttcn3_bts_tests:sysmo: Using 1 x osmocon_phone (candidates: 1)
00:23:39.837210 tst            ttcn3_bts_tests.py:35: Starting CNI
00:23:39.978852 run              osmo-hlr_10.42.42.2: Starting osmo-hlr
00:23:40.494396 run         create_hlr_db(pid=30945): Launched
00:23:41.700672 run         create_hlr_db(pid=30945): Terminated: ok {rc=0}
00:23:42.048487 run pcap-recorder_any(filters='host 10.42.42.2')(pid=30947): Launched
00:23:42.371536 run   osmo-hlr_10.42.42.2(pid=30948): Launched
00:23:42.487712 run              osmo-stp_10.42.42.4: Starting osmo-stp
00:23:43.028052 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=30949): Launched
00:23:43.367600 run   osmo-stp_10.42.42.4(pid=30950): Launched
00:23:43.483851 run              osmo-msc_10.42.42.5: Starting osmo-msc
00:23:44.057769 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=30951): Launched
00:23:44.394963 run   osmo-msc_10.42.42.5(pid=30952): Launched
00:23:47.570192 run              osmo-mgw_10.42.42.3: Starting osmo-mgw
00:23:48.107416 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=30953): Launched
00:23:48.429865 run   osmo-mgw_10.42.42.3(pid=30954): Launched
00:23:48.455129 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:23:48.559481 run              osmo-bsc_10.42.42.8: Starting osmo-bsc
00:23:49.259284 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=30955): Launched
00:23:49.593968 run   osmo-bsc_10.42.42.8(pid=30956): Launched
00:23:55.874396 run                   osmo-bts-sysmo: Starting sysmoBTS to connect to osmo-bsc_10.42.42.8
00:23:56.815056 run         rm-remote-dir(pid=30957): Launched
00:23:59.019526 run         rm-remote-dir(pid=30957): Terminated: ok {rc=0}
00:23:59.378724 run         mk-remote-dir(pid=30958): Launched
00:24:02.584857 run         mk-remote-dir(pid=30958): Terminated: ok {rc=0}
00:24:02.885063 run    scp-inst-to-remote(pid=30959): Launched
00:24:15.114016 run    scp-inst-to-remote(pid=30959): Terminated: ok {rc=0}
00:24:15.468611 run         mk-remote-dir(pid=30961): Launched
00:24:18.671218 run         mk-remote-dir(pid=30961): Terminated: ok {rc=0}
00:24:18.971677 run     scp-cfg-to-remote(pid=30962): Launched
00:24:22.185661 run     scp-cfg-to-remote(pid=30962): Terminated: ok {rc=0}
00:24:22.536254 run   reload-dsp-firmware(pid=30964): Launched
00:24:26.737665 run   reload-dsp-firmware(pid=30964): Terminated: ok {rc=0}
00:24:27.071310 run        osmo-bts-sysmo(pid=30965): Launched
00:24:27.279165 tst            ttcn3_bts_tests.py:49: Starting osmocon
00:24:27.421915 run                  osmocon_ttyUSB5: Resetting the phone
00:24:27.541963 run                  osmocon_ttyUSB5: Starting osmocon
00:24:27.879101 run       osmocon_ttyUSB5(pid=30966): Launched
00:24:28.000506 run                  osmocon_ttyUSB5: Waiting for osmocon to be up and running
00:24:29.220655 tst            ttcn3_bts_tests.py:53: Creating template
00:24:29.473177 tst            ttcn3_bts_tests.py:53: Starting TTCN3 test suite
00:24:29.806811 run                 ttcn3(pid=30967): Launched
00:24:30.063379 tst            ttcn3_bts_tests.py:53: TTCN3 test suite launched, waiting until it finishes
00:24:33.299589 run        osmo-bts-sysmo(pid=30965): Terminated: ok {rc=0}
00:24:33.711034 run        osmo-bts-sysmo(pid=31365): Launched
00:24:36.300403 run                 ttcn3(pid=30967): ERR: Terminated: ERROR {rc=1}  [trial-2762↪ttcn3_bts_tests:sysmo↪ttcn3_bts_tests.py:53↪ttcn3(pid=30967)]
00:24:36.446656 run                 ttcn3(pid=30967): stdout: 
| 
| MC2> exit
| MC@bc83186e6f2c: Shutting down session.
| MC@bc83186e6f2c: Shutdown complete.
| No junit log found.
| Removing Input log files !!!
| ttcn3 docker exited with code 1
| Removing network ttcn3-bts-test
| ttcn3-bts-test
| Copying TTCN3 junit file to /home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2762/run.2021-03-01_00-22-28/trial-ttcn3_bts_tests:sysmo.ttcn3_bts_tests.xml 
00:24:36.590583 run                 ttcn3(pid=30967): stderr: 
| + network_remove
| + echo Removing network ttcn3-bts-test
| + docker network remove ttcn3-bts-test
| + echo Copying TTCN3 junit file to /home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2762/run.2021-03-01_00-22-28/trial-ttcn3_bts_tests:sysmo.ttcn3_bts_tests.xml
| + cp /home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2762/run.2021-03-01_00-22-28/ttcn3_bts_tests:sysmo/ttcn3_bts_tests.py/ttcn3/logs/bts-tester/junit-xml-*.log /home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2762/run.2021-03-01_00-22-28/trial-ttcn3_bts_tests:sysmo.ttcn3_bts_tests.xml
| cp: cannot stat '/home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2762/run.2021-03-01_00-22-28/ttcn3_bts_tests:sysmo/ttcn3_bts_tests.py/ttcn3/logs/bts-tester/junit-xml-*.log': No such file or directory
| + basename /home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2762/run.2021-03-01_00-22-28/trial-ttcn3_bts_tests:sysmo.ttcn3_bts_tests.xml .xml
| + sed -i s#classname='BTS_Tests'#classname='trial-ttcn3_bts_tests:sysmo.ttcn3_bts_tests'#g /home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2762/run.2021-03-01_00-22-28/trial-ttcn3_bts_tests:sysmo.ttcn3_bts_tests.xml
| sed: can't read /home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2762/run.2021-03-01_00-22-28/trial-ttcn3_bts_tests:sysmo.ttcn3_bts_tests.xml: No such file or directory
| + exit 1 
00:24:36.625199 tst            ttcn3_bts_tests.py:53: ERR: RuntimeError: run_ttcn3_docker.sh exited with error code 1  [trial-2762↪ttcn3_bts_tests:sysmo↪ttcn3_bts_tests.py:53]
00:24:36.634209 tst            ttcn3_bts_tests.py:53: Test FAILED (57.7 sec)
00:24:36.678123 run pcap-recorder_any(filters='host 10.42.42.2')(pid=30947): Terminating (SIGTERM)
00:24:36.728119 run   osmo-hlr_10.42.42.2(pid=30948): Terminating (SIGTERM)
00:24:36.780102 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=30949): Terminating (SIGTERM)
00:24:36.834273 run   osmo-stp_10.42.42.4(pid=30950): Terminating (SIGTERM)
00:24:36.887973 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=30951): Terminating (SIGTERM)
00:24:36.940127 run   osmo-msc_10.42.42.5(pid=30952): Terminating (SIGTERM)
00:24:36.992731 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=30953): Terminating (SIGTERM)
00:24:37.043324 run   osmo-mgw_10.42.42.3(pid=30954): Terminating (SIGTERM)
00:24:37.094490 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=30955): Terminating (SIGTERM)
00:24:37.145522 run   osmo-bsc_10.42.42.8(pid=30956): Terminating (SIGTERM)
00:24:37.196079 run        osmo-bts-sysmo(pid=31365): Terminating (SIGTERM)
00:24:37.247315 run       osmocon_ttyUSB5(pid=30966): Terminating (SIGTERM)
00:24:37.258753 ---      ParallelTerminationStrategy: PID 30947 died...
00:24:37.327654 run pcap-recorder_any(filters='host 10.42.42.2')(pid=30947): Terminated: ok {rc=0}
00:24:37.339593 ---      ParallelTerminationStrategy: PID 30948 died...
00:24:37.407525 run   osmo-hlr_10.42.42.2(pid=30948): Terminated: ok {rc=0}
00:24:37.419554 ---      ParallelTerminationStrategy: PID 30949 died...
00:24:37.486997 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=30949): Terminated: ok {rc=0}
00:24:37.498971 ---      ParallelTerminationStrategy: PID 30950 died...
00:24:37.566213 run   osmo-stp_10.42.42.4(pid=30950): Terminated {rc=256}
00:24:37.578120 ---      ParallelTerminationStrategy: PID 30951 died...
00:24:37.645404 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=30951): Terminated: ok {rc=0}
00:24:37.657436 ---      ParallelTerminationStrategy: PID 30953 died...
00:24:37.724889 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=30953): Terminated: ok {rc=0}
00:24:37.736934 ---      ParallelTerminationStrategy: PID 30954 died...
00:24:37.804481 run   osmo-mgw_10.42.42.3(pid=30954): Terminated {rc=15}
00:24:37.816509 ---      ParallelTerminationStrategy: PID 30955 died...
00:24:37.884565 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=30955): Terminated: ok {rc=0}
00:24:37.896686 ---      ParallelTerminationStrategy: PID 30966 died...
00:24:37.964071 run       osmocon_ttyUSB5(pid=30966): Terminated {rc=15}
00:24:37.976109 ---      ParallelTerminationStrategy: PID 31365 died...
00:24:38.043706 run        osmo-bts-sysmo(pid=31365): Terminated {rc=36608}
00:24:40.743528 ---      ParallelTerminationStrategy: PID 30952 died...
00:24:40.807373 run   osmo-msc_10.42.42.5(pid=30952): Terminated: ok {rc=0}
00:24:40.818707 ---      ParallelTerminationStrategy: PID 30956 died...
00:24:40.881460 run   osmo-bsc_10.42.42.8(pid=30956): 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 414, 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 53, in <module>
    run_ttcn3(tenv, testdir, bts, osmocon, nat_rsl_ip, ttcn3_test_groups)
  File "/home/jenkins/workspace/osmo-gsm-tester_ttcn3/osmo-gsm-tester/sysmocom/ttcn3/suites/ttcn3_bts_tests/lib/testlib.py", line 45, in run_ttcn3
    raise RuntimeError("run_ttcn3_docker.sh exited with error code %d" % proc.result)
RuntimeError: run_ttcn3_docker.sh exited with error code 1