<p>Pau Espin Pedrol has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/13531">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">suites: gprs: Keep terminating all iperf3 processes if one fails to terminate<br><br>Change-Id: I0cc183529988463800e0d40c8cf3a4cea041031c<br>---<br>M suites/gprs/lib/testlib.py<br>1 file changed, 4 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/31/13531/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/suites/gprs/lib/testlib.py b/suites/gprs/lib/testlib.py</span><br><span>index ac3a847..284ca63 100644</span><br><span>--- a/suites/gprs/lib/testlib.py</span><br><span>+++ b/suites/gprs/lib/testlib.py</span><br><span>@@ -26,7 +26,10 @@</span><br><span>             proc.wait()</span><br><span>     except Exception as e:</span><br><span>         for proc in procs:</span><br><span style="color: hsl(0, 100%, 40%);">-            proc.terminate()</span><br><span style="color: hsl(120, 100%, 40%);">+            try:</span><br><span style="color: hsl(120, 100%, 40%);">+                proc.terminate()</span><br><span style="color: hsl(120, 100%, 40%);">+            except Exception:</span><br><span style="color: hsl(120, 100%, 40%);">+                print("Exception while terminating process %r" % repr(process))</span><br><span>         raise e</span><br><span> </span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/13531">change 13531</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/13531"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gsm-tester </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I0cc183529988463800e0d40c8cf3a4cea041031c </div>
<div style="display:none"> Gerrit-Change-Number: 13531 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>