<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/9493">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gsm-tester/quad_modem_power_cycle.sh: add -n 1d50:4002<br><br>uhubctl -p 123456 -a 1 is rejecting because uhubctl detects two hubs.<br><br>Fixes the error message:<br>    Error: changing port state for multiple hubs at once is not supported.<br>    Use -l to limit operation to one hub!<br><br>Change-Id: I2e3c248e4eaef39f18ff38d1055db6d552fc4d20<br>---<br>M ansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/93/9493/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/ansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh b/ansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh</span><br><span>index 9262f97..626a04e 100755</span><br><span>--- a/ansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh</span><br><span>+++ b/ansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh</span><br><span>@@ -1,9 +1,9 @@</span><br><span> #!/bin/sh</span><br><span> set -ex</span><br><span style="color: hsl(0, 100%, 40%);">-uhubctl -p 123456 -a 0</span><br><span style="color: hsl(120, 100%, 40%);">+uhubctl -p 123456 -a 0 -n 1d50:4002</span><br><span> # give a lot of time to discharge capacitors on the board</span><br><span> sleep 20</span><br><span style="color: hsl(0, 100%, 40%);">-uhubctl -p 123456 -a 1</span><br><span style="color: hsl(120, 100%, 40%);">+uhubctl -p 123456 -a 1 -n 1d50:4002</span><br><span> attempts=30</span><br><span> while [ "x$(uhubctl | grep -e 05c6 -e 1199 -c)" != "x{{ gsm_modems }}" ]; do</span><br><span>    attempts=$(($attempts - 1))</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/9493">change 9493</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/9493"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ci </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I2e3c248e4eaef39f18ff38d1055db6d552fc4d20 </div>
<div style="display:none"> Gerrit-Change-Number: 9493 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>