jjb/common: lava-jobs-submit: fixup wait for job 27/11827/3
authorLoys Ollivier <lollivier@baylibre.com>
Fri, 10 Nov 2017 10:31:20 +0000 (11:31 +0100)
committerLoys Ollivier <lollivier@baylibre.com>
Fri, 10 Nov 2017 13:20:18 +0000 (14:20 +0100)
commitb6817f349d13a96cbc564cd39aae1abb44bcfdab
tree67dd7da7d66dbf98bd6d5116dc2ac3f3d2ef6a4e
parent7ffc16fa46827b3d0289139fc23f2e9122efddf1
jjb/common: lava-jobs-submit: fixup wait for job

REQUIRES: lava-tool version >= 0.19

The previous version using submit-job with "--block" would never
timeout and remain blocked even if there was an issue during the
LAVA job execution.

This patch fixes the issue by using wait-job-events with a tiemout.
Parsing has been updated to follow these commands as well.

Change-Id: If090d278cb58c1c1b902793bf0ca40daceb2fd97
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
jjb/common/include-agl-lava-jobs-submit.sh