<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ci/+/23366">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ansible: ogt: uhubctl has new cmdline syntax to specify ports<br><br>Change-Id: Ie57d85dc0a66e053247cd5bb92a4b2dea4eb4309<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/66/23366/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 f461d81..b826976 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>@@ -3,12 +3,12 @@</span><br><span> </span><br><span> locations="$(uhubctl -n 1d50:4002 | grep "Current status for hub" | awk '{print $5}')"</span><br><span> for l in $locations; do</span><br><span style="color: hsl(0, 100%, 40%);">-       uhubctl -p 123456 -a 0 -n 1d50:4002 -l $l</span><br><span style="color: hsl(120, 100%, 40%);">+     uhubctl -p 1,2,3,4,5,6 -a 0 -n 1d50:4002 -l $l</span><br><span> done</span><br><span> # give a lot of time to discharge capacitors on the board</span><br><span> sleep 20</span><br><span> for l in $locations; do</span><br><span style="color: hsl(0, 100%, 40%);">-      uhubctl -p 123456 -a 1 -n 1d50:4002 -l $l</span><br><span style="color: hsl(120, 100%, 40%);">+     uhubctl -p 1,2,3,4,5,6 -a 1 -n 1d50:4002 -l $l</span><br><span> done</span><br><span> attempts=30</span><br><span> while [ "x$(uhubctl | grep -e 05c6 -e 1199 -c)" != "x{{ gsm_modems }}" ]; do</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ci/+/23366">change 23366</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/c/osmo-ci/+/23366"/><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-Change-Id: Ie57d85dc0a66e053247cd5bb92a4b2dea4eb4309 </div>
<div style="display:none"> Gerrit-Change-Number: 23366 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>