Change in osmo-ci[master]: anisble: gsm-tester: uhubctl: add "-n 1d50:4002"

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

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Jun 12 16:17:06 UTC 2018


lynxis lazus has submitted this change and it was merged. ( https://gerrit.osmocom.org/9493 )

Change subject: anisble: gsm-tester: uhubctl: add "-n 1d50:4002"
......................................................................

anisble: gsm-tester: uhubctl: add "-n 1d50:4002"

uhubctl -p 123456 -a 1 is rejecting because uhubctl detects two hubs.
Selecting only one hub.

Fixes the error message:
    Error: changing port state for multiple hubs at once is not supported.
    Use -l to limit operation to one hub!

Change-Id: I2e3c248e4eaef39f18ff38d1055db6d552fc4d20
---
M ansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Pau Espin Pedrol: Looks good to me, approved
  lynxis lazus: Verified



diff --git a/ansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh b/ansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh
index 9262f97..626a04e 100755
--- a/ansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh
+++ b/ansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh
@@ -1,9 +1,9 @@
 #!/bin/sh
 set -ex
-uhubctl -p 123456 -a 0
+uhubctl -p 123456 -a 0 -n 1d50:4002
 # give a lot of time to discharge capacitors on the board
 sleep 20
-uhubctl -p 123456 -a 1
+uhubctl -p 123456 -a 1 -n 1d50:4002
 attempts=30
 while [ "x$(uhubctl | grep -e 05c6 -e 1199 -c)" != "x{{ gsm_modems }}" ]; do
 	attempts=$(($attempts - 1))

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

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I2e3c248e4eaef39f18ff38d1055db6d552fc4d20
Gerrit-Change-Number: 9493
Gerrit-PatchSet: 3
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180612/408a9fd7/attachment.htm>


More information about the gerrit-log mailing list