From cfdcf895151c8eab820fa756aaecd3c6c827396f Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Sat, 21 Mar 2020 21:21:55 +0100 Subject: [PATCH] srs_ue: run srsUE as normal RemoteProcess running with RemoteProcessFixIgnoreSIGHUP was needed bc srsUE used to ignore SIGHUP that is delivered to the process when the SSH session is terminated causing the UE to not quit properly. This isn't the case anymore so we can use RemoteProcess for spawning the UE. Furthermore, the wrapper script didn't pass along stdin to it's child process, i.e., srsUE. Therefore the console trace can't be seen if the run through the wrapper. Change-Id: Iab4dafc58167620362a36ec9e904b8d49a7d5fc1 --- src/osmo_gsm_tester/srs_ue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osmo_gsm_tester/srs_ue.py b/src/osmo_gsm_tester/srs_ue.py index 388fbf17..fdcd6ddf 100644 --- a/src/osmo_gsm_tester/srs_ue.py +++ b/src/osmo_gsm_tester/srs_ue.py @@ -170,7 +170,7 @@ class srsUE(MS): '--pcap.filename=' + self.remote_pcap_file, '--general.metrics_csv_filename=' + self.remote_metrics_file) - self.process = self.rem_host.RemoteProcessFixIgnoreSIGHUP(srsUE.BINFILE, util.Dir(srsUE.REMOTE_DIR), args) + self.process = self.rem_host.RemoteProcess(srsUE.BINFILE, args) #self.process = self.rem_host.RemoteProcessFixIgnoreSIGHUP(srsUE.BINFILE, remote_run_dir, args, remote_lib) self.suite_run.remember_to_stop(self.process) self.process.launch()