diff options
author | Kevin Hilman <khilman@baylibre.com> | 2017-11-10 00:25:00 +0000 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2017-11-10 00:25:03 +0000 |
commit | 7ffc16fa46827b3d0289139fc23f2e9122efddf1 (patch) | |
tree | 0621afb8acfbaa1a7df0c6bc8390bdbd152ac3ba /jjb | |
parent | 6e475e75640118593fbc4b25c686a5f3145ee03c (diff) |
jjb/common: lava-jobs-submit: fixup device-list failure
The previous reordering of lava lab selection result in a failure
the second time through the devices list.
This patch fixes the failure enough to get things working again,
but the ordering needs to be fixed so that there is only one pass
through the devices-list.
Change-Id: I1131b380cb5a8a8235cbf1f838574726d6ef11a6
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/common/include-agl-lava-jobs-submit.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/jjb/common/include-agl-lava-jobs-submit.sh b/jjb/common/include-agl-lava-jobs-submit.sh index 8ab3df15..3cd0d9ff 100644 --- a/jjb/common/include-agl-lava-jobs-submit.sh +++ b/jjb/common/include-agl-lava-jobs-submit.sh @@ -27,18 +27,6 @@ device_types+=" " device_types+=${dt_aliases[$__device_type]} for device_type in $device_types; do - val=${labs[$LAVA_LAB]} - OFS=${IFS} - IFS=';' - arr=(${labs[$LAVA_LAB]}) - IFS=${OFS} - - url=${arr[0]} - user=${arr[1]} - - # LAVA URL with username - full_url=${url/:\/\//:\/\/${user}\@} - echo -n "Checking for $device_type at $full_url... " line=$(lava-tool devices-list $full_url |grep $device_type | tr -d '[:space:]') if [ -z "$line" ]; then |