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/+/19242 ) Change subject: iperf3: server: Avoid copying logfile during cleanup if already copied previously ...................................................................... iperf3: server: Avoid copying logfile during cleanup if already copied previously Change-Id: I44e28f326fd476d27eb021922d38e9ca913aec69 --- M src/osmo_gsm_tester/obj/iperf3.py 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, approved diff --git a/src/osmo_gsm_tester/obj/iperf3.py b/src/osmo_gsm_tester/obj/iperf3.py index 9e084aa..252c55a 100644 --- a/src/osmo_gsm_tester/obj/iperf3.py +++ b/src/osmo_gsm_tester/obj/iperf3.py @@ -101,11 +101,12 @@ def cleanup(self): if self.process is None: return - if self.runs_locally() or not self.logfile_supported: + if self.runs_locally() or not self.logfile_supported or self.log_copied: return # copy back files (may not exist, for instance if there was an early error of process): try: self.rem_host.scpfrom('scp-back-log', self.remote_log_file, self.log_file) + self.log_copied = True except Exception as e: self.log(repr(e)) -- To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/19242 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: I44e28f326fd476d27eb021922d38e9ca913aec69 Gerrit-Change-Number: 19242 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200713/96b28e41/attachment.htm>