Lines Matching refs:job
102 job = models.Job.objects.get(id=args.job_id)
103 _prepare_autotest_job_files(args, job)
104 handler = _make_handler(args, job)
105 ret = _run_lucifer_job(handler, args, job)
111 def _prepare_autotest_job_files(args, job): argument
112 jobx.prepare_control_file(job, args.results_dir)
113 jobx.prepare_keyvals_files(job, args.results_dir)
116 def _make_handler(args, job): argument
120 job=job,
126 def _run_lucifer_job(event_handler, args, job): argument
141 '-hosts', ','.join(jobx.hostnames(job)),
146 _add_level_specific_args(command_args, args, job)
151 def _add_level_specific_args(command_args, args, job): argument
157 _add_starting_args(command_args, args, job)
162 def _add_starting_args(command_args, args, job): argument
173 command_args.extend(['-x-job-owner', job.owner])
174 command_args.extend(['-x-job-name', job.name])
177 RebootAfter.get_string(job.reboot_after).lower()])
180 if job.run_reset:
182 if jobx.is_client_job(job):
184 if jobx.needs_ssp(job):
186 test_source_build = job.keyval_dict().get('test_source_build', None)
189 if job.parent_job_id:
190 command_args.extend(['-x-parent-job-id', str(job.parent_job_id)])