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

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/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Fri Apr 5 10:45:35 UTC 2019


Pau Espin Pedrol has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/31/13531/1

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: newchange
Gerrit-Change-Id: I0cc183529988463800e0d40c8cf3a4cea041031c
Gerrit-Change-Number: 13531
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190405/4b91352c/attachment.htm>


More information about the gerrit-log mailing list