Lines Matching +full:- +full:qe
19 # pylint: disable=missing-docstring
47 """ 'job create --clone' became 'job clone --id' """
49 for option in ['-l', '--clone']:
51 argv[argv.index(option)] = '--id'
110 """atest job list [<jobs>] [--all] [--running] [--user <username>]"""
113 self.parser.add_option('-a', '--all', help='List jobs for all '
115 self.parser.add_option('-r', '--running', help='List only running '
117 self.parser.add_option('-u', '--user', help='List jobs for given '
127 self.invalid_syntax('Only specify --all or --user, not both.')
156 self.parser.add_option('-f', '--control-file',
159 self.parser.add_option('-N', '--list-hosts',
162 self.parser.add_option('-s', '--list-hosts-status',
181 self.invalid_syntax('--list-hosts is implicit when using '
182 '--list-hosts-status.')
184 self.invalid_syntax('--list-hosts and --list-hosts-status should '
192 for qe in qes:
193 if qe['host']:
194 job_id = qe['job']['id']
195 hostname = qe['host']['hostname']
197 {}).setdefault(qe['status'],
218 self.generic_error('Job has unassigned meta-hosts, '
265 self.parser.add_option('-p', '--priority',
268 self.parser.add_option('-b', '--labels',
271 self.parser.add_option('-m', '--machine', help='List of machines to '
273 self.parser.add_option('-M', '--mlist',
276 self.parser.add_option('--one-time-hosts',
278 self.parser.add_option('-e', '--email',
295 if re.match('^[0-9]+[*]', host):
360 """atest job create [--priority <int>]
361 [--synch_count] [--control-file </path/to/cfile>]
362 [--on-server] [--test <test1,test2>]
363 [--mlist </path/to/machinelist>] [--machine <host1 host2 host3>]
364 [--labels <list of labels of machines to run on>]
365 [--reboot_before <option>] [--reboot_after <option>]
366 [--noverify] [--timeout <timeout>] [--max_runtime <max runtime>]
367 [--one-time-hosts <hosts>] [--email <email>]
368 [--dependencies <labels this job is dependent on>]
369 [--parse-failed-repair <option>]
370 [--image <http://path/to/image>] [--require-ssp]
381 self.parser.add_option('-y', '--synch_count', type=int,
384 self.parser.add_option('-f', '--control-file',
386 self.parser.add_option('-s', '--server',
387 help='This is server-side job',
389 self.parser.add_option('-t', '--test',
392 self.parser.add_option('-d', '--dependencies', help='Comma separated '
396 self.parser.add_option('-B', '--reboot_before',
401 self.parser.add_option('-a', '--reboot_after',
409 self.parser.add_option('--parse-failed-repair',
414 self.parser.add_option('-n', '--noverify',
417 self.parser.add_option('-o', '--timeout_mins',
420 self.parser.add_option('--max_runtime',
423 self.parser.add_option('-i', '--image',
426 self.parser.add_option('--require-ssp',
427 help='Require server-side packaging',
440 '(-m, -M, -b or --one-time-hosts).')
442 self.invalid_syntax('Must specify either --test or --control-file'
445 self.invalid_syntax('Can only specify one of --control-file or '
446 '--test, not both.')
456 'control-file: %s' % options.control_file)
523 """atest job clone [--priority <int>]
524 [--mlist </path/to/machinelist>] [--machine <host1 host2 host3>]
525 [--labels <list of labels of machines to run on>]
526 [--one-time-hosts <hosts>] [--email <email>]
537 self.parser.add_option('-i', '--id', help='Job id to clone',
540 self.parser.add_option('-r', '--reuse-hosts',
559 'machine (-r, -m, -M, -b or '
560 '--one-time-hosts).')