jjb/common: lava-jobs-submit 93/11993/1
authorLoys Ollivier <lollivier@baylibre.com>
Wed, 15 Nov 2017 17:04:20 +0000 (18:04 +0100)
committerLoys Ollivier <lollivier@baylibre.com>
Wed, 15 Nov 2017 17:04:20 +0000 (18:04 +0100)
lava-tool submit-jobs go back to --block as wait-for-jobs isn't working
as expected. Revert the change until wait-for-jobs works.

But keep this version of the tool to have a link to the lava-job posted
in the log when using submit-job.

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

index b63ed2e..94cc658 100644 (file)
@@ -20,16 +20,11 @@ cat $JOB_FILE | sed "s/device_type: $releng_device/device_type: $lava_device/" >
 # LAVA job submit, get job ID from lava-tool output
 #
 JOB_STATUS="${JOB_BASE}_${LAVA_LAB}.status"
-lava-tool submit-job $full_url $JOB_FILE_NEW |tee $JOB_STATUS
+lava-tool submit-job --block $full_url $JOB_FILE_NEW |tee $JOB_STATUS
 # Printing the job URL in the log
 grep "submitted as job:" $JOB_STATUS
 job_id=$(grep "submitted as job:" $JOB_STATUS | sed 's/.*\/\([0-9]*$\)/\1/')
 
-#
-# LAVA wait job events, wait for job to finish
-#
-lava-tool wait-job-events --job-id $job_id $full_url
-
 #
 # LAVA job details, get job status from lava-tool output
 #