From f52c48bba8b86f7e45bed2b65f6615dbb947468f Mon Sep 17 00:00:00 2001 From: Loys Ollivier Date: Wed, 15 Nov 2017 18:04:20 +0100 Subject: 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 --- jjb/common/include-agl-lava-jobs-submit.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'jjb/common/include-agl-lava-jobs-submit.sh') 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,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 # -- cgit 1.2.3-korg