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/.
srs_andre gerrit-no-reply at lists.osmocom.orgsrs_andre has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17590 ) Change subject: srs_enb: enable console trace, use RemoteProcess class ...................................................................... srs_enb: enable console trace, use RemoteProcess class In order for the console trace to work over SSH this commit switches to use the default RemoteProcess class. Note that srsENB now correctly handles the SIGHUP signal. Change-Id: I26391eb8409e14b34987e0b338e10613fa157e06 --- M src/osmo_gsm_tester/srs_enb.py 1 file changed, 5 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/90/17590/1 diff --git a/src/osmo_gsm_tester/srs_enb.py b/src/osmo_gsm_tester/srs_enb.py index ae9b12f..364b3fd 100644 --- a/src/osmo_gsm_tester/srs_enb.py +++ b/src/osmo_gsm_tester/srs_enb.py @@ -116,6 +116,10 @@ else: self.start_locally() + # send t+Enter to enable console trace + self.dbg('Enabling console trace') + self.process.stdin_write('t\n') + def start_remotely(self): self.inst = util.Dir(os.path.abspath(self.suite_run.trial.get_inst('srslte'))) lib = self.inst.child('lib') @@ -155,7 +159,7 @@ '--log.filename=' + self.remote_log_file, '--pcap.filename=' + self.remote_pcap_file) - self.process = self.rem_host.RemoteProcessFixIgnoreSIGHUP(srsENB.BINFILE, util.Dir(srsENB.REMOTE_DIR), args, remote_env=remote_env) + self.process = self.rem_host.RemoteProcess(srsENB.BINFILE, args, remote_env=remote_env) self.suite_run.remember_to_stop(self.process) self.process.launch() -- To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17590 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: I26391eb8409e14b34987e0b338e10613fa157e06 Gerrit-Change-Number: 17590 Gerrit-PatchSet: 1 Gerrit-Owner: srs_andre <andre at softwareradiosystems.com> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200324/2ceae6f6/attachment.htm>