Skip to content

Regression

ttcn3_bts_tests:sysmo.ttcn3_bts_tests.py (from ttcn3_bts_tests_sysmo)

Failing for the past 1 build (Since #2761 )
Took 43 sec.

Stacktrace

run_ttcn3_docker.sh exited with error code 1

Standard Output

----------------------------------------------
trial-2761 ttcn3_bts_tests:sysmo ttcn3_bts_tests.py
----------------------------------------------
00:22:16.990091 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:22:17.004091 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:22:17.018453 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:22:17.032599 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:22:17.046978 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:22:17.061175 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:22:17.075320 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:22:17.089732 tst            ttcn3_bts_tests:sysmo: Using 1 x bts (candidates: 1)
00:22:17.231676 tst               ttcn3_bts_tests.py: using LAC 9884
00:22:17.370624 tst               ttcn3_bts_tests.py: using RAC 194
00:22:17.492278 tst               ttcn3_bts_tests.py: using CellId 9883
00:22:17.614442 tst               ttcn3_bts_tests.py: using BVCI 2166
00:22:17.638518 tst            ttcn3_bts_tests:sysmo: Using 1 x osmocon_phone (candidates: 1)
00:22:17.817429 tst            ttcn3_bts_tests.py:35: Starting CNI
00:22:17.947687 run              osmo-hlr_10.42.42.2: Starting osmo-hlr
00:22:18.432322 run         create_hlr_db(pid=21003): Launched
00:22:19.634678 run         create_hlr_db(pid=21003): Terminated: ok {rc=0}
00:22:19.973992 run pcap-recorder_any(filters='host 10.42.42.2')(pid=21005): Launched
00:22:20.295387 run   osmo-hlr_10.42.42.2(pid=21006): Launched
00:22:20.415419 run              osmo-stp_10.42.42.4: Starting osmo-stp
00:22:20.967602 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=21007): Launched
00:22:21.299300 run   osmo-stp_10.42.42.4(pid=21008): Launched
00:22:21.417208 run              osmo-msc_10.42.42.5: Starting osmo-msc
00:22:21.999745 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=21009): Launched
00:22:22.329938 run   osmo-msc_10.42.42.5(pid=21010): Launched
00:22:22.444727 run              osmo-mgw_10.42.42.3: Starting osmo-mgw
00:22:22.987081 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=21011): Launched
00:22:23.299666 run   osmo-mgw_10.42.42.3(pid=21012): Launched
00:22:23.323987 tst            ttcn3_bts_tests:sysmo: Using 1 x ip_address (candidates: 8)
00:22:23.425397 run              osmo-bsc_10.42.42.8: Starting osmo-bsc
00:22:24.067254 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=21013): Launched
00:22:24.379470 run   osmo-bsc_10.42.42.8(pid=21014): Launched
00:22:24.492176 run                   osmo-bts-sysmo: Starting sysmoBTS to connect to osmo-bsc_10.42.42.8
00:22:25.407688 run         rm-remote-dir(pid=21015): Launched
00:22:27.620963 run         rm-remote-dir(pid=21015): Terminated: ok {rc=0}
00:22:27.978118 run         mk-remote-dir(pid=21016): Launched
00:22:30.176951 run         mk-remote-dir(pid=21016): Terminated: ok {rc=0}
00:22:30.462452 run    scp-inst-to-remote(pid=21017): Launched
00:22:41.676613 run    scp-inst-to-remote(pid=21017): Terminated: ok {rc=0}
00:22:42.018824 run         mk-remote-dir(pid=21020): Launched
00:22:44.216522 run         mk-remote-dir(pid=21020): Terminated: ok {rc=0}
00:22:44.510146 run     scp-cfg-to-remote(pid=21021): Launched
00:22:46.718977 run     scp-cfg-to-remote(pid=21021): Terminated: ok {rc=0}
00:22:47.069902 run   reload-dsp-firmware(pid=21023): Launched
00:22:49.262901 run   reload-dsp-firmware(pid=21023): Terminated: ok {rc=0}
00:22:49.588964 run        osmo-bts-sysmo(pid=21024): Launched
00:22:49.787330 tst            ttcn3_bts_tests.py:49: Starting osmocon
00:22:49.924965 run                  osmocon_ttyUSB4: Resetting the phone
00:22:50.042826 run                  osmocon_ttyUSB4: Starting osmocon
00:22:50.374983 run       osmocon_ttyUSB4(pid=21025): Launched
00:22:50.493317 run                  osmocon_ttyUSB4: Waiting for osmocon to be up and running
00:22:51.704262 tst            ttcn3_bts_tests.py:53: Creating template
00:22:51.946486 tst            ttcn3_bts_tests.py:53: Starting TTCN3 test suite
00:22:52.254657 run                 ttcn3(pid=21026): Launched
00:22:52.509240 tst            ttcn3_bts_tests.py:53: TTCN3 test suite launched, waiting until it finishes
00:22:55.733526 run        osmo-bts-sysmo(pid=21024): Terminated: ok {rc=0}
00:22:56.133448 run        osmo-bts-sysmo(pid=21421): Launched
00:22:58.729982 run                 ttcn3(pid=21026): ERR: Terminated: ERROR {rc=1}  [trial-2761↪ttcn3_bts_tests:sysmo↪ttcn3_bts_tests.py:53↪ttcn3(pid=21026)]
00:22:58.862767 run                 ttcn3(pid=21026): stdout:
 | 
| MC2> exit
| MC@f62422807998: Shutting down session.
| MC@f62422807998: 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-2761/run.2020-11-27_00-21-13/trial-ttcn3_bts_tests:sysmo.ttcn3_bts_tests.xml 
00:22:59.005961 run                 ttcn3(pid=21026): 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-2761/run.2020-11-27_00-21-13/trial-ttcn3_bts_tests:sysmo.ttcn3_bts_tests.xml
| + cp /home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2761/run.2020-11-27_00-21-13/ttcn3_bts_tests:sysmo/ttcn3_bts_tests.py/ttcn3/logs/bts-tester/junit-xml-*.log /home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2761/run.2020-11-27_00-21-13/trial-ttcn3_bts_tests:sysmo.ttcn3_bts_tests.xml
| cp: cannot stat '/home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2761/run.2020-11-27_00-21-13/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-2761/run.2020-11-27_00-21-13/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-2761/run.2020-11-27_00-21-13/trial-ttcn3_bts_tests:sysmo.ttcn3_bts_tests.xml
| sed: can't read /home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2761/run.2020-11-27_00-21-13/trial-ttcn3_bts_tests:sysmo.ttcn3_bts_tests.xml: No such file or directory
| + exit 1 
00:22:59.037964 tst            ttcn3_bts_tests.py:53: ERR: RuntimeError: run_ttcn3_docker.sh exited with error code 1  [trial-2761↪ttcn3_bts_tests:sysmo↪ttcn3_bts_tests.py:53]
00:22:59.046071 tst            ttcn3_bts_tests.py:53: Test FAILED (42.1 sec)
00:22:59.087334 run pcap-recorder_any(filters='host 10.42.42.2')(pid=21005): Terminating (SIGTERM)
00:22:59.135913 run   osmo-hlr_10.42.42.2(pid=21006): Terminating (SIGTERM)
00:22:59.199873 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=21007): Terminating (SIGTERM)
00:22:59.255282 run   osmo-stp_10.42.42.4(pid=21008): Terminating (SIGTERM)
00:22:59.307725 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=21009): Terminating (SIGTERM)
00:22:59.380358 run   osmo-msc_10.42.42.5(pid=21010): Terminating (SIGTERM)
00:22:59.434482 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=21011): Terminating (SIGTERM)
00:22:59.484572 run   osmo-mgw_10.42.42.3(pid=21012): Terminating (SIGTERM)
00:22:59.538383 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=21013): Terminating (SIGTERM)
00:22:59.588351 run   osmo-bsc_10.42.42.8(pid=21014): Terminating (SIGTERM)
00:22:59.638292 run        osmo-bts-sysmo(pid=21421): Terminating (SIGTERM)
00:22:59.690834 run       osmocon_ttyUSB4(pid=21025): Terminating (SIGTERM)
00:22:59.702296 ---      ParallelTerminationStrategy: PID 21005 died...
00:22:59.769992 run pcap-recorder_any(filters='host 10.42.42.2')(pid=21005): Terminated: ok {rc=0}
00:22:59.781963 ---      ParallelTerminationStrategy: PID 21006 died...
00:22:59.848569 run   osmo-hlr_10.42.42.2(pid=21006): Terminated: ok {rc=0}
00:22:59.860622 ---      ParallelTerminationStrategy: PID 21007 died...
00:22:59.927367 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=21007): Terminated: ok {rc=0}
00:22:59.939271 ---      ParallelTerminationStrategy: PID 21008 died...
00:23:00.006050 run   osmo-stp_10.42.42.4(pid=21008): Terminated: ok {rc=0}
00:23:00.018446 ---      ParallelTerminationStrategy: PID 21009 died...
00:23:00.085495 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=21009): Terminated: ok {rc=0}
00:23:00.097522 ---      ParallelTerminationStrategy: PID 21011 died...
00:23:00.164094 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=21011): Terminated: ok {rc=0}
00:23:00.176463 ---      ParallelTerminationStrategy: PID 21012 died...
00:23:00.243292 run   osmo-mgw_10.42.42.3(pid=21012): Terminated {rc=15}
00:23:00.255241 ---      ParallelTerminationStrategy: PID 21013 died...
00:23:00.322067 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=21013): Terminated: ok {rc=0}
00:23:00.334178 ---      ParallelTerminationStrategy: PID 21025 died...
00:23:00.400657 run       osmocon_ttyUSB4(pid=21025): Terminated {rc=15}
00:23:00.412630 ---      ParallelTerminationStrategy: PID 21421 died...
00:23:00.479609 run        osmo-bts-sysmo(pid=21421): Terminated {rc=36608}
00:23:02.508440 ---      ParallelTerminationStrategy: PID 21010 died...
00:23:02.577203 run   osmo-msc_10.42.42.5(pid=21010): Terminated: ok {rc=0}
00:23:03.256128 ---      ParallelTerminationStrategy: PID 21014 died...
00:23:03.324900 run   osmo-bsc_10.42.42.8(pid=21014): 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