/external/autotest/scheduler/ |
D | postjob_task.py | 30 def __init__(self, queue_entries, log_file_name): argument 33 self.queue_entries = queue_entries 52 return self.queue_entries[0].job.owner 56 return self._get_consistent_execution_path(self.queue_entries) 65 for queue_entry in self.queue_entries: 71 for entry in self.queue_entries] 92 for queue_entry in self.queue_entries: 231 def __init__(self, queue_entries, recover_run_monitor=None): argument 232 self._job = queue_entries[0].job 234 queue_entries, log_file_name='.collect_crashinfo.log') [all …]
|
D | rdb_integration_tests.py | 133 queue_entries = self._dispatcher._refresh_pending_queue_entries() 134 hosts = list(rdb_lib.acquire_hosts(queue_entries)) 164 queue_entries = self._dispatcher._refresh_pending_queue_entries() 165 hosts = list(rdb_lib.acquire_hosts(queue_entries)) 225 queue_entries = self._dispatcher._refresh_pending_queue_entries() 226 matching_host = rdb_lib.acquire_hosts(queue_entries).next() 261 queue_entries = self._dispatcher._refresh_pending_queue_entries() 262 matching_hosts = list(rdb_lib.acquire_hosts(queue_entries)) 265 for job, host in zip(queue_entries, matching_hosts): 283 queue_entries = self._dispatcher._refresh_pending_queue_entries() [all …]
|
D | monitor_db.py | 474 agent_task.queue_entries[0].id))): 562 queue_entries = scheduler_models.HostQueueEntry.fetch( 568 for entry in queue_entries: 584 used_queue_entries.update(agent_task.queue_entries) 632 return QueueTask(queue_entries=task_entries) 634 return postjob_task.GatherLogsTask(queue_entries=task_entries) 636 return postjob_task.FinalReparseTask(queue_entries=task_entries) 751 queue_entries = scheduler_models.HostQueueEntry.fetch( 753 for queue_entry in queue_entries: 861 queue_entries = self._job_query_manager.get_pending_queue_entries( [all …]
|
D | rdb_lib.py | 18 def __init__(self, queue_entries, suite_min_duts=None): argument 31 jobs = [queue_entry.job_id for queue_entry in queue_entries] 65 def acquire_hosts(queue_entries, suite_min_duts=None): argument 79 job_query_manager = JobQueryManager(queue_entries, suite_min_duts) 82 for entry in queue_entries:
|
D | rdb_cache_unittests.py | 71 queue_entries = self._dispatcher._refresh_pending_queue_entries() 114 self.check_hosts(rdb_lib.acquire_hosts(queue_entries)) 131 queue_entries = self._dispatcher._refresh_pending_queue_entries() 164 self.check_hosts(rdb_lib.acquire_hosts(queue_entries)) 191 queue_entries = self._dispatcher._refresh_pending_queue_entries() 194 self.check_hosts(rdb_lib.acquire_hosts(queue_entries)) 219 queue_entries = self._dispatcher._refresh_pending_queue_entries() 238 acquired_hosts = list(rdb_lib.acquire_hosts(queue_entries)) 313 queue_entries = self._dispatcher._refresh_pending_queue_entries() 340 self.check_hosts(rdb_lib.acquire_hosts(queue_entries))
|
D | agent_task.py | 167 def _set_ids(self, host=None, queue_entries=None): argument 168 if queue_entries and queue_entries != [None]: 172 for entry in queue_entries: 295 def _parse_results(self, queue_entries): argument 296 for queue_entry in queue_entries: 506 def _check_queue_entry_statuses(self, queue_entries, allowed_hqe_statuses, argument 509 for entry in queue_entries:
|
D | host_scheduler_unittests.py | 68 queue_entries = self._dispatcher._refresh_pending_queue_entries() 69 job_manager = rdb_lib.JobQueryManager(queue_entries) 70 job_info = job_manager.get_job_info(queue_entries[0]) 87 queue_entries = self._dispatcher._refresh_pending_queue_entries() 107 queue_entries = self._dispatcher._refresh_pending_queue_entries() 130 queue_entries = self._dispatcher._refresh_pending_queue_entries()
|
D | scheduler_models.py | 1305 def _assign_new_group(self, queue_entries): argument 1306 if len(queue_entries) == 1: 1307 group_subdir_name = queue_entries[0].host.hostname 1311 self.id, [entry.host.hostname for entry in queue_entries], 1314 for queue_entry in queue_entries: 1376 queue_entries = self._choose_group_to_run(queue_entry) 1377 if queue_entries: 1378 self._finish_run(queue_entries) 1381 def _finish_run(self, queue_entries): argument 1382 for queue_entry in queue_entries:
|
D | prejob_task.py | 175 self._set_ids(host=self.host, queue_entries=[self.queue_entry]) 214 self._set_ids(host=self.host, queue_entries=[self.queue_entry]) 268 self._set_ids(host=self.host, queue_entries=[self.queue_entry]) 370 self._set_ids(host=self.host, queue_entries=[self.queue_entry])
|
D | monitor_db_functional_test.py | 669 queue_entries = list(job.hostqueueentry_set.all()) 671 self._check_statuses(queue_entries[0], HqeStatus.VERIFYING) 685 queue_entries = list(job.hostqueueentry_set.all()) 689 self._check_statuses(queue_entries[0], HqeStatus.RUNNING) 695 self._check_statuses(queue_entries[0], HqeStatus.GATHERING) 948 queue_entries = list(job.hostqueueentry_set.all()) 950 for queue_entry, status in zip(queue_entries, statuses): 955 queue_entries = list(job.hostqueueentry_set.all())
|
D | host_scheduler.py | 323 queue_entries = self.job_query_manager.get_pending_queue_entries( 325 unverified_host_jobs = [job for job in queue_entries
|
/external/autotest/frontend/afe/ |
D | rpc_utils.py | 451 queue_entries = job.hostqueueentry_set.all() 453 queue_entries = models.HostQueueEntry.query_objects( 454 queue_entry_filter_data, initial_query=queue_entries) 456 for queue_entry in queue_entries: 596 def _special_task_to_dict(task, queue_entries): argument 607 for qentry in queue_entries: 635 queue_entries): 656 dict_list.append(_special_task_to_dict(e, queue_entries)) 662 def _compute_next_job_for_tasks(queue_entries, special_tasks): argument 682 for queue_entry in queue_entries[hqe_index:]: [all …]
|
D | rpc_interface_unittest.py | 910 queue_entries = job.hostqueueentry_set.all() 911 self.assertEquals(len(queue_entries), 1) 912 self.assertEquals(queue_entries[0].host, None) 913 self.assertEquals(queue_entries[0].meta_host, None)
|
D | rpc_interface.py | 1627 queue_entries = get_host_queue_entries( 1631 interleaved_entries = rpc_utils.interleave_entries(queue_entries, 1638 interleaved_entries, queue_entries)
|
D | models.py | 1166 def check_abort_permissions(queue_entries): argument 1181 not_owned = queue_entries.exclude(job__owner=user.login)
|
/external/autotest/cli/ |
D | host.py | 376 queue_entries = self.execute_rpc('get_host_queue_entries', 381 for entry in queue_entries:
|