Manage the polling with lavacli 61/21861/2
authorKhouloud Touil <ktouil@baylibre.com>
Fri, 12 Jul 2019 12:45:37 +0000 (14:45 +0200)
committerKhouloud Touil <ktouil@baylibre.com>
Fri, 26 Jul 2019 15:11:06 +0000 (17:11 +0200)
commit7a4248260d211abf66cf8d9c5dbd30c91e063c67
tree2b8b3d330be17a7662a9750618df2df8d5abd737
parente4a5da8ff2d49d9a85d9cc0db20a995d557fec68
Manage the polling with lavacli

Instead of using a timeout to manage the polling part, this patch
replace it with a lavacli command which is 'lavacli jobs wait'that will
wait for the job to finish, but after 2 hours the 'job wait' will be
stopped even the job if not finished, we are estimating after a 2 hours
of waiting, a problem is occurring in the job.

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