jjb/common: lava-labs-prepare.sh 17/13017/2
authorLoys Ollivier <lollivier@baylibre.com>
Wed, 27 Dec 2017 10:49:58 +0000 (11:49 +0100)
committerLoys Ollivier <lollivier@baylibre.com>
Wed, 27 Dec 2017 12:41:21 +0000 (13:41 +0100)
commit1ae347940236ee33042cbc2dab3aa49565fbdcee
tree70c89cb72a372735a43e3bea893ef6b31595f575
parent923c6db464b459bf14045370684d1a4f4f8a4633
jjb/common: lava-labs-prepare.sh

When device status was reserved, the script would exit and the job fail.

If device status is reserved poll the device status a limited amount of
time. If the status within the defined polling time changes continue
otherwise exit.

Polling as been set to 10 retries on the minute.

JIRA: SPEC-1210
Change-Id: I7ee950777f0881a4a588c9c0dc8db12a7f6dda4a
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
jjb/common/include-agl-lava-labs-prepare.sh