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>
# 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
#