From 7ffc16fa46827b3d0289139fc23f2e9122efddf1 Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Fri, 10 Nov 2017 00:25:00 +0000 Subject: 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 --- jjb/common/include-agl-lava-jobs-submit.sh | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'jjb/common') 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 -- cgit 1.2.3-korg