This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/19188 ) Change subject: enb_amarisoft: add support for PHY signal log file ...................................................................... enb_amarisoft: add support for PHY signal log file when phy.signal=1 is set in the log_options, the eNB will dump a binary file that needs to be copied back as well Change-Id: I63d13cb74572ac065d5a3fcfb1632552d0a6dbc6 --- M src/osmo_gsm_tester/obj/enb_amarisoft.py 1 file changed, 11 insertions(+), 0 deletions(-) Approvals: pespin: Looks good to me, approved Jenkins Builder: Verified diff --git a/src/osmo_gsm_tester/obj/enb_amarisoft.py b/src/osmo_gsm_tester/obj/enb_amarisoft.py index c7a9810..657cb2e 100644 --- a/src/osmo_gsm_tester/obj/enb_amarisoft.py +++ b/src/osmo_gsm_tester/obj/enb_amarisoft.py @@ -49,6 +49,7 @@ CFGFILE_RF = 'amarisoft_rf_driver.cfg' CFGFILE_DRB = 'amarisoft_drb.cfg' LOGFILE = 'lteenb.log' + PHY_SIGNAL_FILE = 'lteenb.log.bin' def __init__(self, testenv, conf): super().__init__(testenv, conf, 'amarisoftenb') @@ -95,6 +96,11 @@ except Exception as e: self.log(repr(e)) + try: + self.rem_host.scpfrom('scp-back-phy-signal-log', self.remote_phy_signal_file, self.phy_signal_file) + except Exception as e: + self.log(repr(e)) + def start(self, epc): self.log('Starting AmarisoftENB') self._epc = epc @@ -140,6 +146,7 @@ self.config_rf_file = self.run_dir.child(AmarisoftENB.CFGFILE_RF) self.config_drb_file = self.run_dir.child(AmarisoftENB.CFGFILE_DRB) self.log_file = self.run_dir.child(AmarisoftENB.LOGFILE) + self.phy_signal_file = self.run_dir.child(AmarisoftENB.PHY_SIGNAL_FILE) if not self._run_node.is_local(): self.rem_host = remote.RemoteHost(self.run_dir, self._run_node.ssh_user(), self._run_node.ssh_addr()) @@ -153,6 +160,7 @@ self.remote_config_rf_file = remote_run_dir.child(AmarisoftENB.CFGFILE_RF) self.remote_config_drb_file = remote_run_dir.child(AmarisoftENB.CFGFILE_DRB) self.remote_log_file = remote_run_dir.child(AmarisoftENB.LOGFILE) + self.remote_phy_signal_file = remote_run_dir.child(AmarisoftENB.PHY_SIGNAL_FILE) values = super().configure(['amarisoft', 'amarisoftenb']) @@ -191,6 +199,9 @@ logfile = self.log_file if self._run_node.is_local() else self.remote_log_file config.overlay(values, dict(enb=dict(log_filename=logfile))) + phy_signal_file = self.phy_signal_file if self._run_node.is_local() else self.remote_phy_signal_file + config.overlay(values, dict(enb=dict(phy_signal_file=phy_signal_file))) + # rf driver is shared between amarisoft enb and ue, so it has a # different cfg namespace 'trx'. Copy needed values over there: config.overlay(values, dict(trx=dict(rf_dev_type=values['enb'].get('rf_dev_type', None), -- To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/19188 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Change-Id: I63d13cb74572ac065d5a3fcfb1632552d0a6dbc6 Gerrit-Change-Number: 19188 Gerrit-PatchSet: 3 Gerrit-Owner: srs_andre <andre at softwareradiosystems.com> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-Reviewer: srs_andre <andre at softwareradiosystems.com> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200709/ce888024/attachment.htm>