diff options
author | Loys Ollivier <lollivier@baylibre.com> | 2017-11-15 18:04:20 +0100 |
---|---|---|
committer | Loys Ollivier <lollivier@baylibre.com> | 2017-11-15 18:04:20 +0100 |
commit | f52c48bba8b86f7e45bed2b65f6615dbb947468f (patch) | |
tree | d1dada9492b0d3d7c4d2b999cbc31345c0b70d47 /jjb/common | |
parent | 9929c8aaa1e6278efc26698f8fc1a6c311ff46b3 (diff) |
jjb/common: lava-jobs-submit
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>
Diffstat (limited to 'jjb/common')
-rw-r--r-- | jjb/common/include-agl-lava-jobs-submit.sh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/jjb/common/include-agl-lava-jobs-submit.sh b/jjb/common/include-agl-lava-jobs-submit.sh index b63ed2e7..94cc6586 100644 --- a/jjb/common/include-agl-lava-jobs-submit.sh +++ b/jjb/common/include-agl-lava-jobs-submit.sh @@ -20,17 +20,12 @@ 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 # lava-tool job-details $full_url $job_id | tee $JOB_STATUS |