Replace lava-tool with lavacli 07/21007/2
authorKhouloud Touil <ktouil@baylibre.com>
Tue, 2 Apr 2019 08:49:17 +0000 (10:49 +0200)
committerKhouloud Touil <ktouil@baylibre.com>
Mon, 15 Apr 2019 12:22:07 +0000 (14:22 +0200)
commit0889081c4783131f8688913a6346b0f2f32e894c
treeeafee593307db0e5e99a749b6a40e6823ac34dd4
parentb74a2b59464c02737b331269d6372bda1feeb893
Replace lava-tool with lavacli

In order to move totally to lavacli, this patch:
- Apply changes to submit jobs using lavacli. As the blocking call
(--block) no longer exists with lavacli, so had to replace that with
a polling loop.
- Replace lava-tool with lavacli in the polling part in the labs-prepare
file, which checks the device status and availability.

Different changes tested at Baylibre.

Change-Id: Iedb8ad8795d6f3fa1bf54ce0191e778c75c0c2af
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
jjb/common/include-agl-lava-jobs-submit-only.sh
jjb/common/include-agl-lava-jobs-submit.sh
jjb/common/include-agl-lava-labs-prepare.sh