From: Francis Deslauriers Date: Wed, 21 Dec 2016 19:30:53 +0000 (-0500) Subject: Lava: Print when the job is being scheduled X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d9997fe46242b63c867db3d9d7f8997e3fe95e5b;p=lttng-ci.git Lava: Print when the job is being scheduled Signed-off-by: Francis Deslauriers --- diff --git a/scripts/lttng-baremetal-tests/lava-submit.py b/scripts/lttng-baremetal-tests/lava-submit.py index 6602e33..36f6fb5 100644 --- a/scripts/lttng-baremetal-tests/lava-submit.py +++ b/scripts/lttng-baremetal-tests/lava-submit.py @@ -397,7 +397,11 @@ def main(): #Check the status of the job every 30 seconds jobstatus = server.scheduler.job_status(jobid)['job_status'] + not_running = False while jobstatus in 'Submitted' or jobstatus in 'Running': + if not_running is False and jobstatus in 'Running': + print('Job started running') + not_running = True time.sleep(30) jobstatus = server.scheduler.job_status(jobid)['job_status']