Change in osmo-gsm-tester[master]: suites: gprs: Keep terminating all iperf3 processes if one fails to t...

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Fri Apr 5 16:02:27 UTC 2019


Pau Espin Pedrol has submitted this change and it was merged. ( https://gerrit.osmocom.org/13531 )

Change subject: suites: gprs: Keep terminating all iperf3 processes if one fails to terminate
......................................................................

suites: gprs: Keep terminating all iperf3 processes if one fails to terminate

Change-Id: I0cc183529988463800e0d40c8cf3a4cea041031c
---
M suites/gprs/lib/testlib.py
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  Pau Espin Pedrol: Looks good to me, approved



diff --git a/suites/gprs/lib/testlib.py b/suites/gprs/lib/testlib.py
index ac3a847..284ca63 100644
--- a/suites/gprs/lib/testlib.py
+++ b/suites/gprs/lib/testlib.py
@@ -26,7 +26,10 @@
             proc.wait()
     except Exception as e:
         for proc in procs:
-            proc.terminate()
+            try:
+                proc.terminate()
+            except Exception:
+                print("Exception while terminating process %r" % repr(process))
         raise e
 
 

-- 
To view, visit https://gerrit.osmocom.org/13531
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I0cc183529988463800e0d40c8cf3a4cea041031c
Gerrit-Change-Number: 13531
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190405/ddeb502a/attachment.html>


More information about the gerrit-log mailing list