Home
last modified time | relevance | path

Searched refs:queue_entries (Results 1 – 16 of 16) sorted by relevance

/external/autotest/scheduler/
Dpostjob_task.py30 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 …]
Drdb_integration_tests.py133 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 …]
Dmonitor_db.py474 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 …]
Drdb_lib.py18 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:
Drdb_cache_unittests.py71 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))
Dagent_task.py167 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:
Dhost_scheduler_unittests.py68 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()
Dscheduler_models.py1305 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:
Dprejob_task.py175 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])
Dmonitor_db_functional_test.py669 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())
Dhost_scheduler.py323 queue_entries = self.job_query_manager.get_pending_queue_entries(
325 unverified_host_jobs = [job for job in queue_entries
/external/autotest/frontend/afe/
Drpc_utils.py451 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 …]
Drpc_interface_unittest.py910 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)
Drpc_interface.py1627 queue_entries = get_host_queue_entries(
1631 interleaved_entries = rpc_utils.interleave_entries(queue_entries,
1638 interleaved_entries, queue_entries)
Dmodels.py1166 def check_abort_permissions(queue_entries): argument
1181 not_owned = queue_entries.exclude(job__owner=user.login)
/external/autotest/cli/
Dhost.py376 queue_entries = self.execute_rpc('get_host_queue_entries',
381 for entry in queue_entries: