/external/autotest/scheduler/ |
D | monitor_db_functional_test.py | 416 def _check_statuses(self, queue_entry, queue_entry_status, argument 418 self._check_entry_status(queue_entry, queue_entry_status) 420 self._check_host_status(queue_entry.host, host_status) 423 def _check_entry_status(self, queue_entry, status): argument 425 queue_entry = self._update_instance(queue_entry) 426 self.assertEquals(queue_entry.status, status) 435 def _run_pre_job_verify(self, queue_entry): argument 437 self._check_statuses(queue_entry, HqeStatus.VERIFYING, 444 job, queue_entry = self._make_job_and_queue_entry() 445 self._run_pre_job_verify(queue_entry) [all …]
|
D | prejob_task.py | 69 if not self.queue_entry or self.queue_entry.meta_host: 72 self.queue_entry.set_execution_subdir() 77 self.queue_entry.execution_path(), log_name) 94 if self.queue_entry: 99 queue_entry__id=self.queue_entry.id, 105 queue_entry_id=self.queue_entry.id).count() 126 self.queue_entry.requeue() 133 queue_entry_id=self.queue_entry.id, 134 host_id=self.queue_entry.host_id).count() 140 queue_entry = models.HostQueueEntry.objects.get( [all …]
|
D | host_scheduler.py | 119 def record_assignment(self, queue_entry): argument 125 parent_id = queue_entry.job.parent_job_id 128 if self.hosts_to_suites.get(queue_entry.host_id, None) == parent_id: 130 'seems already recorded', queue_entry.id, 131 parent_id, queue_entry.host.hostname) 135 self.hosts_to_suites[queue_entry.host_id] = parent_id 137 parent_id, queue_entry.host.hostname, 219 def schedule_host_job(cls, host, queue_entry): argument 232 if queue_entry.host_id is None: 233 queue_entry.set_host(host) [all …]
|
D | agent_task.py | 276 for queue_entry in queue_entries: 277 queue_entry.set_status(models.HostQueueEntry.Status.PARSING) 281 for queue_entry in queue_entries: 282 queue_entry.set_status(models.HostQueueEntry.Status.ARCHIVING) 580 queue_entry = None variable in SpecialAgentTask 589 self.queue_entry = None 590 if task.queue_entry: 591 self.queue_entry = scheduler_models.HostQueueEntry( 592 id=task.queue_entry.id) 593 self.host.dbg_str += self.queue_entry.get_dbg_str() [all …]
|
D | monitor_db.py | 248 def _autoserv_command_line(machines, extra_args, job=None, queue_entry=None, argument 263 extra_args=extra_args, job=job, queue_entry=queue_entry, 439 def get_agents_for_entry(self, queue_entry): argument 443 return list(self._queue_entry_agents.get(queue_entry.id, set())) 533 def _get_agent_task_for_queue_entry(self, queue_entry): argument 540 task_entries = queue_entry.job.get_group_entries(queue_entry) 543 if queue_entry.status in (models.HostQueueEntry.Status.STARTING, 545 if queue_entry.is_hostless(): 546 return HostlessQueueTask(queue_entry=queue_entry) 548 if queue_entry.status == models.HostQueueEntry.Status.GATHERING: [all …]
|
D | rdb_lib.py | 31 jobs = [queue_entry.job_id for queue_entry in queue_entries] 38 def get_job_info(self, queue_entry): argument 45 job_id = queue_entry.job_id 54 parent_id = queue_entry.job.parent_job_id 59 'host_id': queue_entry.host_id, 60 'parent_job_id': queue_entry.job.parent_job_id, 61 'priority': queue_entry.job.priority,
|
D | scheduler_models.py | 736 for queue_entry in hosts_queue: 738 (queue_entry._get_hostname(), 739 queue_entry.status)) 760 self.job.schedule_pre_job_tasks(queue_entry=self) 817 self.job.run_if_ready(queue_entry=self) 1123 for queue_entry in self.get_host_queue_entries(): 1124 queue_entry.set_status(status) 1290 def _should_run_cleanup(self, queue_entry): argument 1294 return queue_entry.host.dirty 1298 def _should_run_verify(self, queue_entry): argument [all …]
|
D | postjob_task.py | 60 for queue_entry in self.queue_entries: 61 queue_entry.update_from_database() 63 was_aborted = bool(queue_entry.aborted) 64 elif was_aborted != bool(queue_entry.aborted): # subsequent entries 87 for queue_entry in self.queue_entries: 88 queue_entry.set_status(status) 233 host_list = ','.join(queue_entry.host.hostname 234 for queue_entry in self.queue_entries) 282 for queue_entry in self.queue_entries: 287 host=models.Host.objects.get(id=queue_entry.host.id), [all …]
|
D | site_monitor_db.py | 50 for queue_entry in self.queue_entries: 51 queue_entry.set_status(status) 204 for queue_entry in queue_entries: 209 queue_entry__id=queue_entry.id, 213 'Setting status to Queued.', str(queue_entry)) 220 queue_entry.set_status('Queued')
|
D | monitor_db_unittest.py | 171 def hqe__do_schedule_pre_job_tasks_stub(queue_entry): argument 173 self._record_job_scheduled(queue_entry.job.id, queue_entry.host.id) 174 queue_entry.set_status('Starting') 801 queue_entry = scheduler_models.HostQueueEntry.fetch('id = 1')[0] 802 assert queue_entry.job is job 803 job.run_if_ready(queue_entry) 1021 queue_entry = scheduler_models.HostQueueEntry.fetch('id = 1')[0] 1022 assert queue_entry.job is job 1023 job.run_if_ready(queue_entry) 1024 self.assertEqual(queue_entry.status, [all …]
|
D | scheduler_models_unittest.py | 331 queue_entry = scheduler_models.HostQueueEntry.fetch('id = 1')[0] 332 queue_entry.job.reboot_before = reboot_before 333 queue_entry._do_schedule_pre_job_tasks() 382 self.assertEquals(task.queue_entry.id, queue_entry_id) 459 queue_entry = scheduler_models.HostQueueEntry.fetch('id = 1')[0] 460 assert queue_entry.job is job 461 self.assertEqual(None, job.run(queue_entry))
|
D | rdb_testing_utils.py | 124 queue_entry = cls.get_hqes(job_id=job_id)[0] 125 host_id = queue_entry.host.id 127 queue_entry = None 133 host=host, queue_entry=queue_entry, task=task,
|
D | monitor_db_cleanup.py | 99 for queue_entry in query.distinct(): 100 logging.warning('Aborting entry %s due to max runtime', queue_entry) 101 queue_entry.abort()
|
D | query_managers.py | 406 relevant_jobs = [queue_entry.job_id 407 for queue_entry in pending_queue_entries]
|
D | rdb_integration_tests.py | 570 for host, queue_entry in zip(matching_hosts, queue_entries): 572 suites[queue_entry.job.parent_job_id][1].append(host)
|
/external/autotest/frontend/afe/ |
D | rpc_utils.py | 358 for queue_entry in host_queue_entries: 359 key = _execution_key_for(queue_entry) 363 for queue_entry in host_queue_entries: 364 if not queue_entry.execution_subdir: 366 execution_count = count_per_execution[_execution_key_for(queue_entry)] 367 if execution_count < queue_entry.job.synch_count: 371 % (queue_entry.job.id, queue_entry.execution_subdir, 372 execution_count, queue_entry.job.synch_count)}) 519 for queue_entry in queue_entries: 520 if (queue_entry.host and (preserve_metahosts or [all …]
|
D | resources.py | 706 for queue_entry in input_dict['queue_entries']: 707 if 'host' in queue_entry: 708 host = queue_entry['host'] 712 elif 'meta_host' in queue_entry: 714 queue_entry['meta_host']) 716 if 'atomic_group_class' in queue_entry: 718 queue_entry['atomic_group_class']) 828 queue_entry = QueueEntry.from_optional_instance( 829 self._request, self.instance.queue_entry) 836 'queue_entry': queue_entry.short_representation()
|
D | models.py | 78 queue_entry = HostQueueEntry.create(atomic_group=self, job=job, 80 queue_entry.save() 134 queue_entry = HostQueueEntry.create(meta_host=self, job=job, 137 queue_entry.save() 620 for queue_entry in self.hostqueueentry_set.all(): 621 queue_entry.deleted = True 622 queue_entry.abort() 638 queue_entry = HostQueueEntry.create(host=self, job=job, 645 queue_entry.save() 1645 for queue_entry in self.hostqueueentry_set.all(): [all …]
|
D | models_test.py | 125 queue_entry=job.hostqueueentry_set.all()[0])
|
D | rpc_interface_unittest.py | 276 queue_entry=entry2, # ran with job 2
|
/external/autotest/server/ |
D | autoserv_utils.py | 26 queue_entry=None, verbose=True, argument 90 if job or queue_entry: 92 job = queue_entry.job 133 def _autoserv_command_line(machines, extra_args, job=None, queue_entry=None, argument 155 extra_args=extra_args, job=job, queue_entry=queue_entry,
|
/external/autotest/cli/contrib/ |
D | why_isnt_my_job_running.py | 46 for queue_entry in queue_entries: 47 if queue_entry['host'] and queue_entry['host']['status']: 48 if queue_entry['host']['status'].startswith('Repair'): 49 repair_hostnames.append(queue_entry['host']['hostname']) 50 if queue_entry['status'] in ('Completed', 'Stopped'): 53 queue_entries_with_hosts = [queue_entry for queue_entry in queue_entries 54 if queue_entry['host']]
|
/external/llvm/test/CodeGen/X86/ |
D | 2009-09-23-LiveVariablesBug.ll | 11 %struct.queue_entry = type { %struct.queue_entry*, %struct.queue_entry* } 14 …queue_entry, %struct._lck_rw_t_internal_, i64, %struct.vm_page*, i32, i32, i32, i32, %struct.vm_ob… 15 %struct.vm_page = type { %struct.queue_entry, %struct.queue_entry, %struct.vm_page*, %struct.vm_obj…
|
/external/autotest/site_utils/ |
D | job_history.py | 180 return [task for task in self.tasks if task.queue_entry and 181 task.queue_entry.job.id == job_id] 278 tasks = [task for task in tasks if task.queue_entry and 279 task.queue_entry.job.id == self.id]
|
/external/autotest/contrib/ |
D | compare_suite.py | 159 if not task.queue_entry or task.queue_entry.job_id != self.id:
|