Skip to content

Failed

ttcn3_bts_tests:trx.ttcn3_bts_tests.py (from ttcn3_bts_tests_trx)

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

Stacktrace

run_ttcn3_docker.sh exited with error code 1

Standard Output

----------------------------------------------
trial-2762 ttcn3_bts_tests:trx ttcn3_bts_tests.py
----------------------------------------------
00:22:32.256220 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:22:32.269713 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:22:32.282828 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:22:32.295953 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:22:32.309367 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:22:32.322420 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:22:32.335432 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:22:32.348815 tst              ttcn3_bts_tests:trx: Using 1 x bts (candidates: 1)
00:22:32.921618 tst               ttcn3_bts_tests.py: using LAC 43420
00:22:33.055015 tst               ttcn3_bts_tests.py: using RAC 70
00:22:33.187796 tst               ttcn3_bts_tests.py: using CellId 43419
00:22:33.321690 tst               ttcn3_bts_tests.py: using BVCI 23405
00:22:33.347585 tst              ttcn3_bts_tests:trx: Using 1 x osmocon_phone (candidates: 1)
00:22:33.545041 tst            ttcn3_bts_tests.py:35: Starting CNI
00:22:33.689910 run              osmo-hlr_10.42.42.2: Starting osmo-hlr
00:22:35.217956 run         create_hlr_db(pid=30342): Launched
00:22:36.429138 run         create_hlr_db(pid=30342): Terminated: ok {rc=0}
00:22:36.782837 run pcap-recorder_any(filters='host 10.42.42.2')(pid=30344): Launched
00:22:37.122846 run   osmo-hlr_10.42.42.2(pid=30345): Launched
00:22:37.248202 run              osmo-stp_10.42.42.4: Starting osmo-stp
00:22:39.679448 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=30346): Launched
00:22:40.109099 run   osmo-stp_10.42.42.4(pid=30347): Launched
00:22:40.280062 run              osmo-msc_10.42.42.5: Starting osmo-msc
00:22:44.842276 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=30348): Launched
00:22:45.183653 run   osmo-msc_10.42.42.5(pid=30349): Launched
00:22:48.376011 run              osmo-mgw_10.42.42.3: Starting osmo-mgw
00:22:49.871259 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=30350): Launched
00:22:50.199023 run   osmo-mgw_10.42.42.3(pid=30351): Launched
00:22:50.226060 tst              ttcn3_bts_tests:trx: Using 1 x ip_address (candidates: 8)
00:22:50.340266 run              osmo-bsc_10.42.42.8: Starting osmo-bsc
00:22:53.525002 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=30352): Launched
00:22:53.859420 run   osmo-bsc_10.42.42.8(pid=30353): Launched
00:23:00.153251 run                     osmo-bts-trx: Starting to connect to osmo-bsc_10.42.42.8
00:23:00.619278 run                     osmo-trx-uhd: OSMOTRX CONF: {'osmo_trx': {'type': 'uhd', 'clock_reference': 'external', 'dev_args': 'type=b200,serial=306BD11', 'channels': [{}], 'remote_user': 'jenkins', 'bts_ip': '10.42.42.50', 'egprs': 'disable', 'launch_trx': 'True', 'trx_ip': '10.42.42.116', 'multi_arfcn': 'True'}}
00:23:01.219950 run               uname-m(pid=30354): Launched
00:23:02.434675 run               uname-m(pid=30354): Terminated: ok {rc=0}
00:23:03.526810 run         rm-remote-dir(pid=30355): Launched
00:23:04.745615 run         rm-remote-dir(pid=30355): Terminated: ok {rc=0}
00:23:05.118780 run         mk-remote-dir(pid=30356): Launched
00:23:06.328845 run         mk-remote-dir(pid=30356): Terminated: ok {rc=0}
00:23:06.691161 run         mk-remote-dir(pid=30357): Launched
00:23:07.898479 run         mk-remote-dir(pid=30357): Terminated: ok {rc=0}
00:23:08.209550 run    scp-inst-to-remote(pid=30358): Launched
00:23:10.429254 run    scp-inst-to-remote(pid=30358): Terminated: ok {rc=0}
00:23:10.800897 run         mk-remote-dir(pid=30360): Launched
00:23:12.016227 run         mk-remote-dir(pid=30360): Terminated: ok {rc=0}
00:23:12.329310 run     scp-cfg-to-remote(pid=30361): Launched
00:23:13.536917 run     scp-cfg-to-remote(pid=30361): Terminated: ok {rc=0}
00:23:13.896509 run         mk-remote-dir(pid=30363): Launched
00:23:15.107172 run         mk-remote-dir(pid=30363): Terminated: ok {rc=0}
00:23:15.418281 run scp-wrapper-to-remote(pid=30364): Launched
00:23:16.628757 run scp-wrapper-to-remote(pid=30364): Terminated: ok {rc=0}
00:23:16.968729 run          osmo-trx-uhd(pid=30366): Launched
00:23:17.085852 run                     osmo-bts-trx: Waiting for osmo-trx-uhd to start up...
00:23:21.223181 run          osmo-bts-trx(pid=30367): Launched
00:23:21.426387 tst            ttcn3_bts_tests.py:49: Starting osmocon
00:23:21.565322 run                  osmocon_ttyUSB5: Resetting the phone
00:23:21.679921 run                  osmocon_ttyUSB5: Starting osmocon
00:23:23.038749 run       osmocon_ttyUSB5(pid=30368): Launched
00:23:23.154493 run                  osmocon_ttyUSB5: Waiting for osmocon to be up and running
00:23:24.371129 tst            ttcn3_bts_tests.py:53: Creating template
00:23:24.621234 tst            ttcn3_bts_tests.py:53: Starting TTCN3 test suite
00:23:24.934041 run                 ttcn3(pid=30370): Launched
00:23:25.208168 tst            ttcn3_bts_tests.py:53: TTCN3 test suite launched, waiting until it finishes
00:23:25.480993 run          osmo-bts-trx(pid=30367): Terminated: ok {rc=0}
00:23:26.020423 run          osmo-bts-trx(pid=30502): Launched
00:23:26.290136 run          osmo-trx-uhd(pid=30366): Terminated: ok {rc=0}
00:23:27.007414 run          osmo-trx-uhd(pid=30629): Launched
00:23:30.240071 run          osmo-bts-trx(pid=30502): Terminated: ok {rc=0}
00:23:30.695754 run          osmo-bts-trx(pid=30783): Launched
00:23:33.226585 run                 ttcn3(pid=30370): ERR: Terminated: ERROR {rc=1}  [trial-2762↪ttcn3_bts_tests:trx↪ttcn3_bts_tests.py:53↪ttcn3(pid=30370)]
00:23:33.367154 run                 ttcn3(pid=30370): stdout: 
| MC2> ttcn3_start: error: the MTC cannot be created. 
| exit
| MC@833709986c74: Shutting down session.
| MC@833709986c74: 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:trx.ttcn3_bts_tests.xml 
00:23:33.510289 run                 ttcn3(pid=30370): 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:trx.ttcn3_bts_tests.xml
| + cp /home/jenkins/workspace/osmo-gsm-tester_ttcn3/trial-2762/run.2021-03-01_00-22-28/ttcn3_bts_tests:trx/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:trx.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: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-2762/run.2021-03-01_00-22-28/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-2762/run.2021-03-01_00-22-28/trial-ttcn3_bts_tests:trx.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:trx.ttcn3_bts_tests.xml: No such file or directory
| + exit 1 
00:23:33.543260 tst            ttcn3_bts_tests.py:53: ERR: RuntimeError: run_ttcn3_docker.sh exited with error code 1  [trial-2762↪ttcn3_bts_tests:trx↪ttcn3_bts_tests.py:53]
00:23:33.551022 tst            ttcn3_bts_tests.py:53: Test FAILED (61.4 sec)
00:23:33.592137 run pcap-recorder_any(filters='host 10.42.42.2')(pid=30344): Terminating (SIGTERM)
00:23:33.639826 run   osmo-hlr_10.42.42.2(pid=30345): Terminating (SIGTERM)
00:23:33.687991 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=30346): Terminating (SIGTERM)
00:23:33.736111 run   osmo-stp_10.42.42.4(pid=30347): Terminating (SIGTERM)
00:23:33.784102 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=30348): Terminating (SIGTERM)
00:23:33.908559 run   osmo-msc_10.42.42.5(pid=30349): Terminating (SIGTERM)
00:23:33.956089 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=30350): Terminating (SIGTERM)
00:23:34.003584 run   osmo-mgw_10.42.42.3(pid=30351): Terminating (SIGTERM)
00:23:34.051552 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=30352): Terminating (SIGTERM)
00:23:34.099224 run   osmo-bsc_10.42.42.8(pid=30353): Terminating (SIGTERM)
00:23:34.146839 run          osmo-trx-uhd(pid=30629): Terminating (SIGTERM)
00:23:34.194458 run          osmo-bts-trx(pid=30783): Terminating (SIGTERM)
00:23:34.242113 run       osmocon_ttyUSB5(pid=30368): Terminating (SIGTERM)
00:23:34.253036 ---      ParallelTerminationStrategy: PID 30344 died...
00:23:34.316543 run pcap-recorder_any(filters='host 10.42.42.2')(pid=30344): Terminated: ok {rc=0}
00:23:34.327829 ---      ParallelTerminationStrategy: PID 30345 died...
00:23:34.390628 run   osmo-hlr_10.42.42.2(pid=30345): Terminated: ok {rc=0}
00:23:34.401836 ---      ParallelTerminationStrategy: PID 30346 died...
00:23:34.464706 run pcap-recorder_any(filters='host 10.42.42.4 and port not 22')(pid=30346): Terminated: ok {rc=0}
00:23:34.475922 ---      ParallelTerminationStrategy: PID 30347 died...
00:23:34.538817 run   osmo-stp_10.42.42.4(pid=30347): Terminated {rc=256}
00:23:34.550140 ---      ParallelTerminationStrategy: PID 30348 died...
00:23:34.617169 run pcap-recorder_any(filters='host 10.42.42.5 and port not 22')(pid=30348): Terminated: ok {rc=0}
00:23:34.630271 ---      ParallelTerminationStrategy: PID 30350 died...
00:23:34.698194 run pcap-recorder_any(filters='host 10.42.42.3 and port not 22')(pid=30350): Terminated: ok {rc=0}
00:23:34.710212 ---      ParallelTerminationStrategy: PID 30351 died...
00:23:34.777705 run   osmo-mgw_10.42.42.3(pid=30351): Terminated {rc=15}
00:23:34.789649 ---      ParallelTerminationStrategy: PID 30352 died...
00:23:34.857071 run pcap-recorder_any(filters='host 10.42.42.8 or host 10.42.42.9 and port not 22')(pid=30352): Terminated: ok {rc=0}
00:23:34.869221 ---      ParallelTerminationStrategy: PID 30368 died...
00:23:34.937005 run       osmocon_ttyUSB5(pid=30368): Terminated {rc=15}
00:23:34.949562 ---      ParallelTerminationStrategy: PID 30629 died...
00:23:35.017284 run          osmo-trx-uhd(pid=30629): Terminated {rc=36608}
00:23:35.029394 ---      ParallelTerminationStrategy: PID 30783 died...
00:23:35.097177 run          osmo-bts-trx(pid=30783): Terminated: ok {rc=0}
00:23:37.126067 ---      ParallelTerminationStrategy: PID 30349 died...
00:23:37.195822 run   osmo-msc_10.42.42.5(pid=30349): Terminated: ok {rc=0}
00:23:37.875664 ---      ParallelTerminationStrategy: PID 30353 died...
00:23:37.944581 run   osmo-bsc_10.42.42.8(pid=30353): 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