Regression
ttcn3_bts_tests:trx.ttcn3_bts_tests.py (from ttcn3_bts_tests_trx)
Stacktrace
run_ttcn3_docker.sh exited with error code 1
Standard Output
---------------------------------------------- trial-2761 ttcn3_bts_tests:trx ttcn3_bts_tests.py ---------------------------------------------- 00:21:17.727487 tst ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8) 00:21:17.741460 tst ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8) 00:21:17.755511 tst ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8) 00:21:17.769734 tst ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8) 00:21:17.783724 tst ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8) 00:21:17.797781 tst ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8) 00:21:17.811761 tst ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8) 00:21:17.825838 tst ttcn3_bts_tests:trx: Using 1 x bts (candidates: 1) 00:21:18.399190 tst ttcn3_bts_tests.py: using LAC 9883 00:21:18.537303 tst ttcn3_bts_tests.py: using RAC 193 00:21:18.675462 tst ttcn3_bts_tests.py: using CellId 9882 00:21:18.806279 tst ttcn3_bts_tests.py: using BVCI 2165 00:21:18.831574 tst ttcn3_bts_tests:trx: Using 1 x osmocon_phone (candidates: 1) 00:21:19.024829 tst ttcn3_bts_tests.py:35: Starting CNI 00:21:19.155381 run osmo-hlr_10.42.42.2: Starting osmo-hlr 00:21:20.946463 run create_hlr_db(pid=20407): Launched 00:21:22.149393 run create_hlr_db(pid=20407): Terminated: ok {rc=0} 00:21:22.493090 run pcap-recorder_any(filters='host 10.42.42.2')(pid=20409): Launched 00:21:22.823201 run osmo-hlr_10.42.42.2(pid=20410): Launched 00:21:22.954771 run osmo-stp_10.42.42.4: Starting osmo-stp 00:21:25.704049 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=20411): Launched 00:21:26.024663 run osmo-stp_10.42.42.4(pid=20412): Launched 00:21:26.146999 run osmo-msc_10.42.42.5: Starting osmo-msc 00:21:31.065736 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=20413): Launched 00:21:31.382844 run osmo-msc_10.42.42.5(pid=20414): Launched 00:21:31.513879 run osmo-mgw_10.42.42.3: Starting osmo-mgw 00:21:33.432764 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=20415): Launched 00:21:33.762091 run osmo-mgw_10.42.42.3(pid=20416): Launched 00:21:33.788594 tst ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8) 00:21:33.898011 run osmo-bsc_10.42.42.8: Starting osmo-bsc 00:21:37.707591 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=20417): Launched 00:21:38.035958 run osmo-bsc_10.42.42.8(pid=20418): Launched 00:21:38.151415 run osmo-bts-trx: Starting to connect to osmo-bsc_10.42.42.8 00:21:38.604929 run osmo-trx-uhd: OSMOTRX CONF: {'osmo_trx': {'egprs': 'disable', 'remote_user': 'jenkins', 'launch_trx': 'True', 'clock_reference': 'external', 'channels': [{}], 'trx_ip': '10.42.42.116', 'dev_args': 'type=b200,serial=306BD11', 'multi_arfcn': 'True', 'bts_ip': '10.42.42.50', 'type': 'uhd'}} 00:21:39.202493 run uname-m(pid=20419): Launched 00:21:40.415234 run uname-m(pid=20419): Terminated: ok {rc=0} 00:21:41.618951 run rm-remote-dir(pid=20420): Launched 00:21:42.823113 run rm-remote-dir(pid=20420): Terminated: ok {rc=0} 00:21:43.197750 run mk-remote-dir(pid=20421): Launched 00:21:44.401756 run mk-remote-dir(pid=20421): Terminated: ok {rc=0} 00:21:44.745582 run mk-remote-dir(pid=20422): Launched 00:21:45.946234 run mk-remote-dir(pid=20422): Terminated: ok {rc=0} 00:21:46.250354 run scp-inst-to-remote(pid=20423): Launched 00:21:48.462316 run scp-inst-to-remote(pid=20423): Terminated: ok {rc=0} 00:21:48.821770 run mk-remote-dir(pid=20425): Launched 00:21:50.022216 run mk-remote-dir(pid=20425): Terminated: ok {rc=0} 00:21:50.315992 run scp-cfg-to-remote(pid=20426): Launched 00:21:51.515597 run scp-cfg-to-remote(pid=20426): Terminated: ok {rc=0} 00:21:51.876292 run mk-remote-dir(pid=20428): Launched 00:21:53.097669 run mk-remote-dir(pid=20428): Terminated: ok {rc=0} 00:21:53.411695 run scp-wrapper-to-remote(pid=20429): Launched 00:21:54.615169 run scp-wrapper-to-remote(pid=20429): Terminated: ok {rc=0} 00:21:54.948896 run osmo-trx-uhd(pid=20431): Launched 00:21:55.061598 run osmo-bts-trx: Waiting for osmo-trx-uhd to start up... 00:21:59.279395 run osmo-bts-trx(pid=20432): Launched 00:21:59.482663 tst ttcn3_bts_tests.py:49: Starting osmocon 00:21:59.630268 run osmocon_ttyUSB4: Resetting the phone 00:21:59.756201 run osmocon_ttyUSB4: Starting osmocon 00:22:01.434706 run osmocon_ttyUSB4(pid=20433): Launched 00:22:01.564451 run osmocon_ttyUSB4: Waiting for osmocon to be up and running 00:22:02.787252 run osmo-bts-trx(pid=20432): Terminated: ok {rc=0} 00:22:03.199184 run osmo-bts-trx(pid=20435): Launched 00:22:03.392958 run osmo-trx-uhd(pid=20431): Terminated: ok {rc=0} 00:22:03.753876 run osmo-trx-uhd(pid=20436): Launched 00:22:03.948787 tst ttcn3_bts_tests.py:53: Creating template 00:22:04.174139 tst ttcn3_bts_tests.py:53: Starting TTCN3 test suite 00:22:04.476049 run ttcn3(pid=20437): Launched 00:22:04.702944 tst ttcn3_bts_tests.py:53: TTCN3 test suite launched, waiting until it finishes 00:22:06.942863 run osmo-bts-trx(pid=20435): Terminated: ok {rc=0} 00:22:07.521556 run osmo-bts-trx(pid=20838): Launched 00:22:10.931173 run osmo-bts-trx(pid=20838): Terminated: ok {rc=0} 00:22:11.294144 run osmo-bts-trx(pid=20994): Launched 00:22:11.481739 run ttcn3(pid=20437): ERR: Terminated: ERROR {rc=1} [trial-2761↪ttcn3_bts_tests:trx↪ttcn3_bts_tests.py:53↪ttcn3(pid=20437)] 00:22:11.613840 run ttcn3(pid=20437): stdout: | MC2> ttcn3_start: error: the MTC cannot be created. | exit | MC@450f0382b7a3: Shutting down session. | MC@450f0382b7a3: 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:trx.ttcn3_bts_tests.xml 00:22:11.746544 run ttcn3(pid=20437): 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:trx.ttcn3_bts_tests.xml | + cp /home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2761/run.2020-11-27_00-21-13/ttcn3_bts_tests:trx/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:trx.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:trx/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:trx.ttcn3_bts_tests.xml .xml | + sed -i s#classname='BTS_Tests'#classname='trial-ttcn3_bts_tests:trx.ttcn3_bts_tests'#g /home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2761/run.2020-11-27_00-21-13/trial-ttcn3_bts_tests:trx.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:trx.ttcn3_bts_tests.xml: No such file or directory | + exit 1 00:22:11.778746 tst ttcn3_bts_tests.py:53: ERR: RuntimeError: run_ttcn3_docker.sh exited with error code 1 [trial-2761↪ttcn3_bts_tests:trx↪ttcn3_bts_tests.py:53] 00:22:11.786834 tst ttcn3_bts_tests.py:53: Test FAILED (54.1 sec) 00:22:11.858184 run osmo-trx-uhd(pid=20436): Terminated: ok {rc=0} 00:22:11.908147 run pcap-recorder_any(filters='host 10.42.42.2')(pid=20409): Terminating (SIGTERM) 00:22:11.955607 run osmo-hlr_10.42.42.2(pid=20410): Terminating (SIGTERM) 00:22:12.005509 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=20411): Terminating (SIGTERM) 00:22:12.054801 run osmo-stp_10.42.42.4(pid=20412): Terminating (SIGTERM) 00:22:12.104020 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=20413): Terminating (SIGTERM) 00:22:12.153083 run osmo-msc_10.42.42.5(pid=20414): Terminating (SIGTERM) 00:22:12.200751 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=20415): Terminating (SIGTERM) 00:22:12.248237 run osmo-mgw_10.42.42.3(pid=20416): Terminating (SIGTERM) 00:22:12.295803 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=20417): Terminating (SIGTERM) 00:22:12.343495 run osmo-bsc_10.42.42.8(pid=20418): Terminating (SIGTERM) 00:22:12.390911 run osmo-bts-trx(pid=20994): Terminating (SIGTERM) 00:22:12.438090 run osmocon_ttyUSB4(pid=20433): Terminating (SIGTERM) 00:22:12.448737 --- ParallelTerminationStrategy: PID 20409 died... 00:22:12.512354 run pcap-recorder_any(filters='host 10.42.42.2')(pid=20409): Terminated: ok {rc=0} 00:22:12.523643 --- ParallelTerminationStrategy: PID 20410 died... 00:22:12.586635 run osmo-hlr_10.42.42.2(pid=20410): Terminated: ok {rc=0} 00:22:12.597908 --- ParallelTerminationStrategy: PID 20411 died... 00:22:12.660995 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=20411): Terminated: ok {rc=0} 00:22:12.672275 --- ParallelTerminationStrategy: PID 20412 died... 00:22:12.735684 run osmo-stp_10.42.42.4(pid=20412): Terminated: ok {rc=0} 00:22:12.746974 --- ParallelTerminationStrategy: PID 20413 died... 00:22:12.810005 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=20413): Terminated: ok {rc=0} 00:22:12.821434 --- ParallelTerminationStrategy: PID 20415 died... 00:22:12.884611 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=20415): Terminated: ok {rc=0} 00:22:12.895970 --- ParallelTerminationStrategy: PID 20416 died... 00:22:12.963286 run osmo-mgw_10.42.42.3(pid=20416): Terminated {rc=15} 00:22:12.974910 --- ParallelTerminationStrategy: PID 20417 died... 00:22:13.038547 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=20417): Terminated: ok {rc=0} 00:22:13.050017 --- ParallelTerminationStrategy: PID 20433 died... 00:22:13.113035 run osmocon_ttyUSB4(pid=20433): Terminated {rc=15} 00:22:14.542068 --- ParallelTerminationStrategy: PID 20994 died... 00:22:14.607581 run osmo-bts-trx(pid=20994): Terminated: ok {rc=0} 00:22:15.885512 --- ParallelTerminationStrategy: PID 20414 died... 00:22:15.954283 run osmo-msc_10.42.42.5(pid=20414): Terminated: ok {rc=0} 00:22:15.966482 --- ParallelTerminationStrategy: PID 20418 died... 00:22:16.034040 run osmo-bsc_10.42.42.8(pid=20418): 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