Home | History | Annotate | Download | only in cmd

Lines Matching refs:job

5 """Run a job against Autotest.
56 help='Path to job leases directory.')
60 # Job specific
65 parser.add_argument('--job-id', type=int, required=True,
66 help='Autotest Job ID')
68 help='Path to job results directory.')
96 """Run a job as seen from Autotest.
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):
112 jobx.prepare_control_file(job, args.results_dir)
113 jobx.prepare_keyvals_files(job, args.results_dir)
116 def _make_handler(args, job):
120 job=job,
126 def _run_lucifer_job(event_handler, args, job):
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):
157 _add_starting_args(command_args, args, job)
162 def _add_starting_args(command_args, args, job):
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)])