Regression
ttcn3_bts_tests:oc2g.ttcn3_bts_tests.py (from ttcn3_bts_tests_oc2g)
Failing for the past 1 build
(Since Failed )
Stacktrace
run_ttcn3_docker.sh exited with error code 1
Standard Output
---------------------------------------------- trial-2761 ttcn3_bts_tests:oc2g ttcn3_bts_tests.py ---------------------------------------------- 00:23:04.263987 tst ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8) 00:23:04.278088 tst ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8) 00:23:04.292254 tst ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8) 00:23:04.306490 tst ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8) 00:23:04.320737 tst ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8) 00:23:04.335056 tst ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8) 00:23:04.349315 tst ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8) 00:23:04.363588 tst ttcn3_bts_tests:oc2g: Using 1 x bts (candidates: 1) 00:23:04.497681 tst ttcn3_bts_tests.py: using LAC 9885 00:23:04.627065 tst ttcn3_bts_tests.py: using RAC 195 00:23:04.768969 tst ttcn3_bts_tests.py: using CellId 9884 00:23:04.908863 tst ttcn3_bts_tests.py: using BVCI 2167 00:23:04.938285 tst ttcn3_bts_tests:oc2g: Using 1 x osmocon_phone (candidates: 1) 00:23:05.129289 tst ttcn3_bts_tests.py:35: Starting CNI 00:23:05.267566 run osmo-hlr_10.42.42.2: Starting osmo-hlr 00:23:05.771696 run create_hlr_db(pid=21586): Launched 00:23:06.977861 run create_hlr_db(pid=21586): Terminated: ok {rc=0} 00:23:07.318552 run pcap-recorder_any(filters='host 10.42.42.2')(pid=21588): Launched 00:23:07.631829 run osmo-hlr_10.42.42.2(pid=21589): Launched 00:23:07.743955 run osmo-stp_10.42.42.4: Starting osmo-stp 00:23:08.271705 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=21590): Launched 00:23:08.598412 run osmo-stp_10.42.42.4(pid=21591): Launched 00:23:08.709210 run osmo-msc_10.42.42.5: Starting osmo-msc 00:23:09.276694 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=21592): Launched 00:23:09.604994 run osmo-msc_10.42.42.5(pid=21593): Launched 00:23:09.719615 run osmo-mgw_10.42.42.3: Starting osmo-mgw 00:23:10.251076 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=21594): Launched 00:23:10.583598 run osmo-mgw_10.42.42.3(pid=21595): Launched 00:23:10.609528 tst ttcn3_bts_tests:oc2g: Using 1 x ip_address (candidates: 8) 00:23:10.718011 run osmo-bsc_10.42.42.8: Starting osmo-bsc 00:23:11.451915 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=21596): Launched 00:23:11.767010 run osmo-bsc_10.42.42.8(pid=21597): Launched 00:23:11.878782 run osmo-bts-oc2g: Starting OsmoBtsOC2G to connect to osmo-bsc_10.42.42.8 00:23:12.800628 run rm-remote-dir(pid=21598): Launched 00:23:14.014623 run rm-remote-dir(pid=21598): Terminated: ok {rc=0} 00:23:14.369648 run mk-remote-dir(pid=21599): Launched 00:23:15.569275 run mk-remote-dir(pid=21599): Terminated: ok {rc=0} 00:23:15.857316 run scp-inst-to-remote(pid=21600): Launched 00:23:22.071502 run scp-inst-to-remote(pid=21600): Terminated: ok {rc=0} 00:23:22.420184 run mk-remote-dir(pid=21602): Launched 00:23:23.614914 run mk-remote-dir(pid=21602): Terminated: ok {rc=0} 00:23:23.901327 run scp-cfg-to-remote(pid=21603): Launched 00:23:25.102093 run scp-cfg-to-remote(pid=21603): Terminated: ok {rc=0} 00:23:25.429646 run osmo-bts-oc2g(pid=21605): Launched 00:23:25.641200 tst ttcn3_bts_tests.py:49: Starting osmocon 00:23:25.779726 run osmocon_ttyUSB4: Resetting the phone 00:23:25.897300 run osmocon_ttyUSB4: Starting osmocon 00:23:26.228551 run osmocon_ttyUSB4(pid=21606): Launched 00:23:26.346434 run osmocon_ttyUSB4: Waiting for osmocon to be up and running 00:23:27.556182 tst ttcn3_bts_tests.py:53: Creating template 00:23:27.797730 tst ttcn3_bts_tests.py:53: Starting TTCN3 test suite 00:23:28.102642 run ttcn3(pid=21607): Launched 00:23:28.350467 tst ttcn3_bts_tests.py:53: TTCN3 test suite launched, waiting until it finishes 00:23:34.575769 run osmo-bts-oc2g(pid=21605): Terminated: ok {rc=0} 00:23:34.954623 run osmo-bts-oc2g(pid=22151): Launched 00:23:35.165708 run ttcn3(pid=21607): ERR: Terminated: ERROR {rc=1} [trial-2761↪ttcn3_bts_tests:oc2g↪ttcn3_bts_tests.py:53↪ttcn3(pid=21607)] 00:23:35.307151 run ttcn3(pid=21607): stdout: | MC2> ttcn3_start: error: the MTC cannot be created. | exit | MC@22a2e4b9bd5c: Shutting down session. | MC@22a2e4b9bd5c: 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:oc2g.ttcn3_bts_tests.xml 00:23:35.451825 run ttcn3(pid=21607): 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:oc2g.ttcn3_bts_tests.xml | + cp /home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2761/run.2020-11-27_00-21-13/ttcn3_bts_tests:oc2g/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:oc2g.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:oc2g/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:oc2g.ttcn3_bts_tests.xml .xml | + sed -i s#classname='BTS_Tests'#classname='trial-ttcn3_bts_tests:oc2g.ttcn3_bts_tests'#g /home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2761/run.2020-11-27_00-21-13/trial-ttcn3_bts_tests:oc2g.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:oc2g.ttcn3_bts_tests.xml: No such file or directory | + exit 1 00:23:35.485964 tst ttcn3_bts_tests.py:53: ERR: RuntimeError: run_ttcn3_docker.sh exited with error code 1 [trial-2761↪ttcn3_bts_tests:oc2g↪ttcn3_bts_tests.py:53] 00:23:35.494773 tst ttcn3_bts_tests.py:53: Test FAILED (31.3 sec) 00:23:35.539438 run pcap-recorder_any(filters='host 10.42.42.2')(pid=21588): Terminating (SIGTERM) 00:23:35.589868 run osmo-hlr_10.42.42.2(pid=21589): Terminating (SIGTERM) 00:23:35.642397 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=21590): Terminating (SIGTERM) 00:23:35.696768 run osmo-stp_10.42.42.4(pid=21591): Terminating (SIGTERM) 00:23:35.749569 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=21592): Terminating (SIGTERM) 00:23:35.804048 run osmo-msc_10.42.42.5(pid=21593): Terminating (SIGTERM) 00:23:35.853041 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=21594): Terminating (SIGTERM) 00:23:35.900605 run osmo-mgw_10.42.42.3(pid=21595): Terminating (SIGTERM) 00:23:35.948288 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=21596): Terminating (SIGTERM) 00:23:35.995651 run osmo-bsc_10.42.42.8(pid=21597): Terminating (SIGTERM) 00:23:36.043433 run osmo-bts-oc2g(pid=22151): Terminating (SIGTERM) 00:23:36.090904 run osmocon_ttyUSB4(pid=21606): Terminating (SIGTERM) 00:23:36.101913 --- ParallelTerminationStrategy: PID 21588 died... 00:23:36.165472 run pcap-recorder_any(filters='host 10.42.42.2')(pid=21588): Terminated: ok {rc=0} 00:23:36.176787 --- ParallelTerminationStrategy: PID 21589 died... 00:23:36.239984 run osmo-hlr_10.42.42.2(pid=21589): Terminated: ok {rc=0} 00:23:36.251386 --- ParallelTerminationStrategy: PID 21590 died... 00:23:36.314786 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=21590): Terminated: ok {rc=0} 00:23:36.326232 --- ParallelTerminationStrategy: PID 21591 died... 00:23:36.389433 run osmo-stp_10.42.42.4(pid=21591): Terminated: ok {rc=0} 00:23:36.400766 --- ParallelTerminationStrategy: PID 21592 died... 00:23:36.463926 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=21592): Terminated: ok {rc=0} 00:23:36.475305 --- ParallelTerminationStrategy: PID 21594 died... 00:23:36.538652 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=21594): Terminated: ok {rc=0} 00:23:36.550129 --- ParallelTerminationStrategy: PID 21595 died... 00:23:36.613560 run osmo-mgw_10.42.42.3(pid=21595): Terminated {rc=15} 00:23:36.624904 --- ParallelTerminationStrategy: PID 21596 died... 00:23:36.688076 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=21596): Terminated: ok {rc=0} 00:23:36.699482 --- ParallelTerminationStrategy: PID 21606 died... 00:23:36.762820 run osmocon_ttyUSB4(pid=21606): Terminated {rc=15} 00:23:36.774313 --- ParallelTerminationStrategy: PID 22151 died... 00:23:36.837887 run osmo-bts-oc2g(pid=22151): Terminated {rc=36608} 00:23:39.532651 --- ParallelTerminationStrategy: PID 21593 died... 00:23:39.601312 run osmo-msc_10.42.42.5(pid=21593): Terminated: ok {rc=0} 00:23:39.613322 --- ParallelTerminationStrategy: PID 21597 died... 00:23:39.680106 run osmo-bsc_10.42.42.8(pid=21597): 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