SPEC-3705: handle lavacli wait errors 13/25713/4
authorCorentin LABBE <clabbe@baylibre.com>
Wed, 2 Dec 2020 10:10:34 +0000 (10:10 +0000)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 4 Dec 2020 13:54:06 +0000 (13:54 +0000)
commit36f5fc1c9ee8c69dfe97b199e669d4998b971d0c
treef5515e3f51e1a4ddf5b285009973e2bcb67d3749
parentafd2602515b95bd74822d75c5b2895eb93489464
SPEC-3705: handle lavacli wait errors

Sometime lavacli wait exit with an error.
Until the LAVA/lavacli bug is fixed, let's try to handle the situation.
Since the error seems to happen when the job end, let's just check if
the job ended, in the other case retry to wait.

Change-Id: I7b7b1aee0dcc2ecc2ef971cc40c29374307f6b0f
Bug-AGL: SPEC-3705
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
jjb/common/include-agl-lava-jobs-submit.sh