Project

General

Profile

Actions

Bug #2427

closed

Remove TSC from osmo-bts config

Added by pespin over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
-
Start date:
08/09/2017
Due date:
% Done:

100%

Spec Reference:

Description

Latest changes in osmocom removed the TSC option. We need to remove it from osmo-gsm-tester.

AFAIR there's already a commit doing so, but it was reverted because it was implemented too early.

22:08:03.210606 tst                       trial-1957: DBG: {bin_name='osmo-nitb', matches=['osmo-nitb.build-176.tgz']}  [trial.py:146]
22:08:03.366195 run pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22'): Recording pcap /home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-nitb_10.42.42.2/pcap host 10.42.42.2 and port not 22  [trial-1957↪sms:trx↪osmo-nitb_10.42.42.2↪pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22')]  [pcap_recorder.py:40]
22:08:03.397714 run pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22'): DBG: cd '/home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-nitb_10.42.42.2/pcap';  tcpdump -n -i eth1 -w /home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-nitb_10.42.42.2/pcap/pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22').pcap host 10.42.42.2 and port not 22  [trial-1957↪sms:trx↪osmo-nitb_10.42.42.2↪pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22')↪pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22')]  [process.py:68]
22:08:03.429552 run pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22'): DBG: /home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-nitb_10.42.42.2/pcap/stdout  [trial-1957↪sms:trx↪osmo-nitb_10.42.42.2↪pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22')↪pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22')]  [process.py:58]
22:08:03.461581 run pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22'): DBG: /home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-nitb_10.42.42.2/pcap/stderr  [trial-1957↪sms:trx↪osmo-nitb_10.42.42.2↪pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22')↪pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22')]  [process.py:58]
22:08:03.508904 run pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22')(pid=2959): Launched  [trial-1957↪sms:trx↪osmo-nitb_10.42.42.2↪pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22')↪pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22')(pid=2959)]  [process.py:79]
22:08:03.543185 run             osmo-nitb_10.42.42.2: DBG: {binary='/home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/inst/osmo-nitb/bin/osmo-nitb', env={LD_LIBRARY_PATH='/home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/inst/osmo-nitb/lib'}, run_dir=/home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-nitb_10.42.42.2}  [trial-1957↪sms:trx↪osmo-nitb_10.42.42.2]  [osmo_nitb.py:60]
22:08:03.575642 run             osmo-nitb_10.42.42.2: DBG: cd '/home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-nitb_10.42.42.2'; LD_LIBRARY_PATH='/home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/inst/osmo-nitb/lib' /home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/inst/osmo-nitb/bin/osmo-nitb -c /home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-nitb_10.42.42.2/osmo-nitb.cfg  [trial-1957↪sms:trx↪osmo-nitb_10.42.42.2↪osmo-nitb_10.42.42.2]  [process.py:68]
22:08:03.608748 run             osmo-nitb_10.42.42.2: DBG: /home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-nitb_10.42.42.2/stdout  [trial-1957↪sms:trx↪osmo-nitb_10.42.42.2↪osmo-nitb_10.42.42.2]  [process.py:58]
22:08:03.642451 run             osmo-nitb_10.42.42.2: DBG: /home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-nitb_10.42.42.2/stderr  [trial-1957↪sms:trx↪osmo-nitb_10.42.42.2↪osmo-nitb_10.42.42.2]  [process.py:58]
22:08:03.688338 run   osmo-nitb_10.42.42.2(pid=2960): Launched  [trial-1957↪sms:trx↪osmo-nitb_10.42.42.2↪osmo-nitb_10.42.42.2(pid=2960)]  [process.py:79]
22:08:03.722787 run                     osmo-bts-trx: Starting to connect to osmo-nitb_10.42.42.2  [trial-1957↪sms:trx↪osmo-bts-trx]  [bts_osmotrx.py:53]
22:08:03.757864 run                     osmo-bts-trx: DBG: {config_file='/home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-bts-trx/osmo-bts-trx.cfg'}  [trial-1957↪sms:trx↪osmo-bts-trx]  [bts_osmotrx.py:94]
22:08:03.792796 cnf                     osmo-bts-trx: DBG: Found config file defaults.conf as /home/jenkins/workspace/osmo-gsm-tester_run/osmo-gsm-tester/example/defaults.conf in /home/jenkins/workspace/osmo-gsm-tester_run/osmo-gsm-tester/example which is /home/jenkins/workspace/osmo-gsm-tester_run/osmo-gsm-tester/example  [trial-1957↪sms:trx↪osmo-bts-trx]  [config.py:98]
22:08:03.949517 run                     osmo-bts-trx: DBG: OSMO-BTS-TRX CONFIG:
{'osmo_bts_trx': {'_hash': 'f9958a30d9bf9684c433fe5404e43f6d6cde5bb1',
                  '_reserved_by': 'sms:trx-2758-1502309122',
                  '_used': True,
                  'addr': '10.42.42.116',
                  'band': 'GSM-1800',
                  'ipa_unit_id': '6',
                  'label': 'Ettus B210',
                  'oml_remote_ip': '10.42.42.2',
                  'pcu_socket_path': '/home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-bts-trx/pcu_bts',
                  'type': 'osmo-bts-trx'}}  [trial-1957↪sms:trx↪osmo-bts-trx]  [bts_osmotrx.py:106]
22:08:03.991195 cnf                        Templates: DBG: rendering osmo-bts-trx.cfg.tmpl  [trial-1957↪sms:sysmo↪osmo-nitb_10.42.42.2↪Templates]  [template.py:53]
22:08:04.022736 run                     osmo-bts-trx: DBG: ! Configuration rendered by osmo-gsm-tester
log stderr
  logging color 1
  logging print extended-timestamp 1
  logging print category 1
  logging level abis debug
  logging level oml debug
  logging level pag debug
  logging level rll debug
  logging level rr debug
  logging level rsl debug
  logging level l1c notice
  logging level l1p error
!
phy 0
 instance 0
 osmotrx rx-gain 25
 osmotrx tx-attenuation oml
bts 0
 band GSM-1800
 ipa unit-id 6 0
 oml remote-ip 10.42.42.2
 pcu-socket /home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-bts-trx/pcu_bts
 settsc
 gsmtap-sapi bcch
 gsmtap-sapi ccch
 gsmtap-sapi rach
 gsmtap-sapi agch
 gsmtap-sapi pch
 gsmtap-sapi sdcch
 gsmtap-sapi tch/f
 gsmtap-sapi tch/h
 gsmtap-sapi pacch
 gsmtap-sapi pdtch
 gsmtap-sapi ptcch
 gsmtap-sapi cbch
 gsmtap-sapi sacch
 trx 0
  phy 0 instance 0
  [trial-1957↪sms:trx↪osmo-bts-trx]  [bts_osmotrx.py:110]
22:08:04.054081 tst                       trial-1957: DBG: {bin_name='osmo-bts-trx', matches=['osmo-bts-trx.build-256.tgz']}  [trial.py:146]
22:08:04.688249 run                         osmo-trx: DBG: cd '/home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-bts-trx/osmo-trx'; LD_LIBRARY_PATH='/home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/inst/osmo-bts-trx/lib' /home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/inst/osmo-bts-trx/bin/osmo-trx -x  [trial-1957↪sms:trx↪osmo-bts-trx↪osmo-trx]  [process.py:68]
22:08:04.719631 run                         osmo-trx: DBG: /home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-bts-trx/osmo-trx/stdout  [trial-1957↪sms:trx↪osmo-bts-trx↪osmo-trx]  [process.py:58]
22:08:04.750851 run                         osmo-trx: DBG: /home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-bts-trx/osmo-trx/stderr  [trial-1957↪sms:trx↪osmo-bts-trx↪osmo-trx]  [process.py:58]
22:08:04.796121 run               osmo-trx(pid=2961): Launched  [trial-1957↪sms:trx↪osmo-bts-trx↪osmo-trx(pid=2961)]  [process.py:79]
22:08:04.829062 run                     osmo-bts-trx: Waiting for osmo-trx to start up...  [trial-1957↪sms:trx↪osmo-bts-trx]  [bts_osmotrx.py:64]
22:08:04.863909 bus                        /sierra_1: Setting Powered False  [trial-1957↪aoip_sms:sysmo↪/sierra_1↪/sierra_1]  [ofono_client.py:298]
22:08:04.908939 bus                        /sierra_1: DBG: Powered == False  [trial-1957↪aoip_sms:sysmo↪/sierra_1↪/sierra_1]  [ofono_client.py:290]
22:08:12.962676 run               osmo-trx(pid=2961): -- Transceiver active with 1 channel(s)  [trial-1957↪sms:trx↪osmo-bts-trx↪osmo-trx(pid=2961)]  [bts_osmotrx.py:66]
22:08:12.997084 run                     osmo-bts-trx: DBG: cd '/home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-bts-trx/osmo-bts-trx'; LD_LIBRARY_PATH='/home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/inst/osmo-bts-trx/lib' /home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/inst/osmo-bts-trx/bin/osmo-bts-trx -r 1 -c /home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-bts-trx/osmo-bts-trx.cfg -i 10.42.42.2  [trial-1957↪sms:trx↪osmo-bts-trx↪osmo-bts-trx]  [process.py:68]
22:08:13.030788 run                     osmo-bts-trx: DBG: /home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-bts-trx/osmo-bts-trx/stdout  [trial-1957↪sms:trx↪osmo-bts-trx↪osmo-bts-trx]  [process.py:58]
22:08:13.064072 run                     osmo-bts-trx: DBG: /home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-bts-trx/osmo-bts-trx/stderr  [trial-1957↪sms:trx↪osmo-bts-trx↪osmo-bts-trx]  [process.py:58]
22:08:13.105032 run           osmo-bts-trx(pid=2982): Launched  [trial-1957↪sms:trx↪osmo-bts-trx↪osmo-bts-trx(pid=2982)]  [process.py:79]
22:08:13.136664 run           osmo-bts-trx(pid=2982): DBG: Cleanup  [trial-1957↪sms:trx↪osmo-bts-trx↪osmo-bts-trx(pid=2982)]  [process.py:151]
22:08:13.167856 run           osmo-bts-trx(pid=2982): ERR: Terminated: ERROR {rc=1}  [trial-1957↪sms:trx↪osmo-bts-trx↪osmo-bts-trx(pid=2982)]  [process.py:134]
22:08:13.199778 run           osmo-bts-trx(pid=2982): stderr:
 | (launched: 2017-08-09_22:08:13.064470)
| There is no such command.
| Error occurred during reading below line:
|  settsc
| 
| Failed to parse the config file: '/home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-bts-trx/osmo-bts-trx.cfg' 
  [trial-1957↪sms:trx↪osmo-bts-trx↪osmo-bts-trx(pid=2982)]  [process.py:148]
22:08:13.230786 run           osmo-bts-trx(pid=2982): stdout:
 | (launched: 2017-08-09_22:08:13.031173)
| ((*))
|   |
|  / \ OsmoBTS 
  [trial-1957↪sms:trx↪osmo-bts-trx↪osmo-bts-trx(pid=2982)]  [process.py:142]
22:08:13.261663 run           osmo-bts-trx(pid=2982): stderr:
 | (launched: 2017-08-09_22:08:13.064470)
| There is no such command.
| Error occurred during reading below line:
|  settsc
| 
| Failed to parse the config file: '/home/jenkins/workspace/osmo-gsm-tester_run/trial-1957/run.2017-08-09_22-05-21/sms:trx/mo_mt_sms.py/osmo-bts-trx/osmo-bts-trx.cfg' 
  [trial-1957↪sms:trx↪osmo-bts-trx↪osmo-bts-trx(pid=2982)]  [process.py:148]
22:08:13.264390 tst                  mo_mt_sms.py:12: ERR: Error: Process ended prematurely: osmo-bts-trx(pid=2982)  [trial-1957↪sms:trx↪mo_mt_sms.py:12]  [suite.py:385: raise log.Error('Process ended prematurely: %s' % process.name())]
22:08:13.269138 tst                  mo_mt_sms.py:12: TRACEBACK: Traceback (most recent call last):
  File "/home/jenkins/workspace/osmo-gsm-tester_run/osmo-gsm-tester/src/osmo_gsm_tester/suite.py", line 105, in run
    self.path)
  File "/home/jenkins/workspace/osmo-gsm-tester_run/osmo-gsm-tester/src/osmo_gsm_tester/util.py", line 282, in run_python_file
    SourceFileLoader(module_name, path).load_module()
  File "<frozen importlib._bootstrap>", line 539, in _check_name_wrapper
  File "<frozen importlib._bootstrap>", line 1614, in load_module
  File "<frozen importlib._bootstrap>", line 593, in _load_module_shim
  File "<frozen importlib._bootstrap>", line 1153, in exec
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/home/jenkins/workspace/osmo-gsm-tester_run/osmo-gsm-tester/suites/sms/mo_mt_sms.py", line 12, in <module>
    bts.start()
  File "/home/jenkins/workspace/osmo-gsm-tester_run/osmo-gsm-tester/src/osmo_gsm_tester/bts_osmotrx.py", line 71, in start
    self.suite_run.poll()
  File "/home/jenkins/workspace/osmo-gsm-tester_run/osmo-gsm-tester/src/osmo_gsm_tester/suite.py", line 385, in poll
    raise log.Error('Process ended prematurely: %s' % process.name())
osmo_gsm_tester.log.Error: Process ended prematurely: osmo-bts-trx(pid=2982)
  [trial-1957↪sms:trx↪mo_mt_sms.py:12]  [suite.py:148]
22:08:13.274257 tst                  mo_mt_sms.py:12: Test FAILED (11.9 sec)  [trial-1957↪sms:trx↪mo_mt_sms.py:12]  [suite.py:149]
22:08:13.279329 run pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22')(pid=2959): Terminating (SIGINT)  [trial-1957↪sms:trx↪osmo-nitb_10.42.42.2↪pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22')↪pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22')(pid=2959)]  [process.py:105]
22:08:13.452485 run pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22')(pid=2959): DBG: Cleanup  [trial-1957↪sms:trx↪osmo-nitb_10.42.42.2↪pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22')↪pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22')(pid=2959)]  [process.py:151]
22:08:13.457410 run pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22')(pid=2959): Terminated: ok {rc=0}  [trial-1957↪sms:trx↪osmo-nitb_10.42.42.2↪pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22')↪pcap-recorder_eth1(filters='host 10.42.42.2 and port not 22')(pid=2959)]  [process.py:130]
22:08:13.462026 run   osmo-nitb_10.42.42.2(pid=2960): Terminating (SIGINT)  [trial-1957↪sms:trx↪osmo-nitb_10.42.42.2↪osmo-nitb_10.42.42.2(pid=2960)]  [process.py:105]
22:08:16.872070 run   osmo-nitb_10.42.42.2(pid=2960): DBG: Cleanup  [trial-1957↪sms:trx↪osmo-nitb_10.42.42.2↪osmo-nitb_10.42.42.2(pid=2960)]  [process.py:151]
22:08:16.876976 run   osmo-nitb_10.42.42.2(pid=2960): Terminated: ok {rc=0}  [trial-1957↪sms:trx↪osmo-nitb_10.42.42.2↪osmo-nitb_10.42.42.2(pid=2960)]  [process.py:130]
22:08:16.881602 run               osmo-trx(pid=2961): Terminating (SIGINT)  [trial-1957↪sms:trx↪osmo-bts-trx↪osmo-trx(pid=2961)]  [process.py:105]
22:08:17.055038 run               osmo-trx(pid=2961): DBG: Cleanup  [trial-1957↪sms:trx↪osmo-bts-trx↪osmo-trx(pid=2961)]  [process.py:151]
22:08:17.059904 run               osmo-trx(pid=2961): Terminated: ok {rc=0}  [trial-1957↪sms:trx↪osmo-bts-trx↪osmo-trx(pid=2961)]  [process.py:130]
22:08:17.063962 tst                        /sierra_2: DBG: cleanup  [trial-1957↪sms:trx↪/sierra_2]  [ofono_client.py:338]
22:08:17.068358 bus                        /sierra_2: Setting Powered False  [trial-1957↪sms:trx↪/sierra_2↪/sierra_2]  [ofono_client.py:298]
22:08:17.083312 bus                        /sierra_2: DBG: Powered == False  [trial-1957↪sms:trx↪/sierra_2↪/sierra_2]  [ofono_client.py:290]
22:08:17.089053 tst                        /sierra_1: DBG: cleanup  [trial-1957↪sms:trx↪/sierra_1]  [ofono_client.py:338]
22:08:17.095481 bus                        /sierra_2: Setting Powered False  [trial-1957↪sms:trx↪/sierra_2↪/sierra_2]  [ofono_client.py:298]
22:08:17.109868 bus                        /sierra_2: DBG: Powered == False  [trial-1957↪sms:trx↪/sierra_2↪/sierra_2]  [ofono_client.py:290]
22:08:17.115654 bus                        /sierra_1: Setting Powered False  [trial-1957↪sms:trx↪/sierra_1↪/sierra_1]  [ofono_client.py:298]
22:08:17.130160 bus                        /sierra_1: DBG: Powered == False  [trial-1957↪sms:trx↪/sierra_1↪/sierra_1]  [ofono_client.py:290]
---------------------------------------------------------------------
trial-1957 sms:trx FAIL
---------------------------------------------------------------------
Actions #1

Updated by pespin over 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Merged in osmo-gsm-tester commit a10aeaea4be72638657251afdbe91c0e9522d7fa

Actions #2

Updated by laforge over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)