/external/autotest/frontend/migrations/ |
071_job_add_parent_job.py | 2 ALTER TABLE afe_jobs ADD COLUMN parent_job_id integer NULL; 3 UPDATE afe_jobs SET parent_job_id = NULL; 7 ALTER TABLE afe_jobs DROP COLUMN parent_job_id;
|
081_index_afe_jobs_on_parent_id.py | 2 CREATE INDEX parent_job_id_index ON afe_jobs (parent_job_id);
|
/external/autotest/server/cros/dynamic_suite/ |
constants.py | 53 PARENT_JOB_ID = 'parent_job_id'
|
job_status_unittest.py | 474 parent_job_id = 54321 477 parent_job_id=parent_job_id), 480 parent_job_id=parent_job_id), 482 parent_job_id=parent_job_id), 484 parent_job_id=parent_job_id), 487 parent_job_id=parent_job_id), [all...] |
fakes.py | 34 def __init__(self, id=0, statuses=[], hostnames=[], parent_job_id=None): 40 self.parent_job_id = parent_job_id
|
job_status.py | 369 def wait_for_child_results(afe, tko, parent_job_id): 379 @param parent_job_id: Parent job id for the jobs to wait on. 383 afe.get_jobs(parent_job_id=parent_job_id)) 386 afe.get_jobs(parent_job_id=parent_job_id,
|
/external/autotest/scheduler/ |
rdb_utils.py | 72 R1 (parent_job_id: 10, need hosts: 2) 73 R2 (parent_job_id: 10, need hosts: 4) 117 (r.parent_job_id, r.suite_min_duts) 118 for r in self.requests_to_counts.iterkeys() if r.parent_job_id) 123 """ Group similar requests, sort by priority and parent_job_id. 133 -request[0].parent_job_id) 144 parent_id = host_request.parent_job_id
|
rdb_lib.py | 54 parent_id = queue_entry.job.parent_job_id 60 'parent_job_id': queue_entry.job.parent_job_id,
|
rdb_requests.py | 185 priority=None, parent_job_id=None): Will acquire and return a 193 # TODO(beeps): Priority and parent_job_id shouldn't be a part of the 196 'parent_job_id', 'suite_min_duts']) 205 # parent_job_id defaults to NULL but always serializing it as an int 207 if kwargs['parent_job_id'] is None: 208 kwargs['parent_job_id'] = 0
|
host_scheduler.py | 125 parent_id = queue_entry.job.parent_job_id 129 logging.error('HQE (id: %d, parent_job_id: %d, host: %s) ' 148 parent_job_id = self.hosts_to_suites.pop(host.id) 149 count = self.suite_host_num[parent_job_id] - 1 151 del self.suite_host_num[parent_job_id] 153 self.suite_host_num[parent_job_id] = count 156 parent_job_id, host.hostname, count) 378 parent_job_ids = set([q.job.parent_job_id 379 for q in host_jobs if q.job.parent_job_id])
|
rdb_testing_utils.py | 36 'priority': 0, 'parent_job_id': 0} 338 def get_request(dep_names, acl_names, priority=0, parent_job_id=0): 343 parent_job_id=parent_job_id)._request 382 priority=0, parent_job_id=None, shard_hostname=None): 405 owner=user, parent_job_id=parent_job_id) 448 """Create num jobs with the same parent_job_id, board, build, priority. 463 parent_job_id=parent_job.id)
|
rdb_integration_tests.py | 454 # that places it ahead of the earlier suite, if parent_job_id is 462 # because priority trumps parent_job_id and time of creation. 477 if request.parent_job_id is None]): 478 raise ValueError('Parent_job_id can never be None.') 488 key=lambda r: -r.parent_job_id) 497 if request.parent_job_id == 0: 502 if request.parent_job_id == 1: 572 suites[queue_entry.job.parent_job_id][1].append(host)
|
rdb_cache_unittests.py | 44 acls=test_utils.DEFAULT_ACLS, priority=0, parent_job_id=0, **kwargs): 51 deps, acls, priority, parent_job_id)] 171 default_params['parent_job_id'] = i 309 default_params['parent_job_id'] = i 328 default_params['parent_job_id'] = 1
|
query_managers.py | 76 'parent_job_id, ' 182 any suites, and maps the host id to its parent_job_id. 191 parent_job_id = hqe.job.parent_job_id 192 count = suite_host_num.get(parent_job_id, 0) 193 suite_host_num[parent_job_id] = count + 1 194 hosts_to_suites[host_id] = parent_job_id
|
/external/autotest/frontend/afe/ |
frontend_test_utils.py | 88 parent_job_id=None): 108 @param parent_job_id - The id of a parent_job. If a job with the id 111 @raises model.DoesNotExist: If parent_job_id is specified but a job with 112 id=parent_job_id does not exist. 127 parent_job = (models.Job.objects.get(id=parent_job_id) 128 if parent_job_id else None) 166 parent_job_id=None): 175 parent_job_id=parent_job_id, **args)
|
rpc_utils.py | 163 parent_job_id = ('DISTINCT parent_job_id') 166 'WHERE parent_job_id IS NOT NULL)') 169 where.append('id IN ' + filter_common % parent_job_id) 174 'WHERE parent_job_id IS NOT NULL' 175 ' AND (sub_query.parent_job_id=afe_jobs.id' [all...] |
/external/autotest/server/ |
autoserv | 171 # --parent_job_id is only useful in autoserv running in host, not in 174 if '--parent_job_id' in args: 175 index = args.index('--parent_job_id') 176 args.remove('--parent_job_id') 479 if parser.options.parent_job_id: 480 kwargs['parent_job_id'] = int(parser.options.parent_job_id)
|
autoserv_parser.py | 193 self.parser.add_argument('--parent_job_id', action='store', 195 dest='parent_job_id',
|
server_job.py | 158 parent_job_id=None, host_attributes=None, in_lab=False): 186 @param parent_job_id: Job ID of the parent job. Default to None if the 243 if parent_job_id: 244 job_data['parent_job_id'] = parent_job_id 277 self.parent_job_id = parent_job_id 367 self.parent_job_id) [all...] |
sequence.py | 158 parent_job_id=current_job_id, test_retry=0, run_reset=False,
|
/external/autotest/contrib/ |
compare_suite.py | 329 parent_jobs = [job.parent_job_id for job in 341 test_jobs = models.Job.objects.filter(parent_job_id=job_id)
|
/external/autotest/scheduler/shard/ |
shard_client_unittest.py | 131 'parent_job_id': 0,
|
/external/autotest/site_utils/ |
diagnosis_utils.py | 250 parent_job_id=job_id, summary=True,
|
run_suite_unittest.py | 114 return return_values[kwargs['parent_job_id']] 194 parent_job_id=suite_job_id)
|
/external/autotest/tko/ |
db.py | 374 def insert_job(self, tag, job, parent_job_id=None, commit=None): 393 'afe_parent_job_id': parent_job_id}
|