/external/autotest/scheduler/ |
D | prejob_task.py | 98 models.SpecialTask.objects.filter( 103 previous_provisions = models.SpecialTask.objects.filter( 104 task=models.SpecialTask.Task.PROVISION, 131 previous_repairs = models.SpecialTask.objects.filter( 132 task=models.SpecialTask.Task.REPAIR, 145 models.SpecialTask.objects.create( 147 task=models.SpecialTask.Task.REPAIR, 171 queued = models.SpecialTask.objects.filter( 179 TASK_TYPE = models.SpecialTask.Task.VERIFY 200 self.remove_special_tasks(models.SpecialTask.Task.VERIFY, [all …]
|
D | monitor_db_cleanup_test.py | 43 tasks = models.SpecialTask.objects.all() 46 self.assertEquals(tasks[0].task, models.SpecialTask.Task.VERIFY) 69 tasks = models.SpecialTask.objects.all() 74 self.assertEquals(tasks[0].task, models.SpecialTask.Task.VERIFY) 75 self.assertEquals(tasks[1].task, models.SpecialTask.Task.VERIFY)
|
D | query_managers.py | 122 queued_tasks = models.SpecialTask.objects.filter(is_active=False, 127 queued_tasks = models.SpecialTask.objects.add_join( 139 task_priority_order = [models.SpecialTask.Task.REPAIR, 140 models.SpecialTask.Task.CLEANUP, 141 models.SpecialTask.Task.VERIFY, 142 models.SpecialTask.Task.RESET, 143 models.SpecialTask.Task.PROVISION] 163 special_task_hosts = list(models.SpecialTask.objects.filter(
|
D | site_monitor_db.py | 194 models.SpecialTask.objects.create( 195 task=models.SpecialTask.Task.RESET, 205 special_tasks = models.SpecialTask.objects.filter( 206 task__in=(models.SpecialTask.Task.CLEANUP, 207 models.SpecialTask.Task.VERIFY, 208 models.SpecialTask.Task.RESET),
|
D | scheduler_models_unittest.py | 318 task = models.SpecialTask(**kwargs) 321 self.god.stub_with(models.SpecialTask.objects, 'create', _mock_create) 390 self._check_special_tasks(tasks, [(models.SpecialTask.Task.RESET, 1)]) 400 self._check_special_tasks(tasks, [(models.SpecialTask.Task.RESET, 1)]) 408 self._check_special_tasks(tasks, [(models.SpecialTask.Task.RESET, 1)]) 418 self._check_special_tasks(tasks, [(models.SpecialTask.Task.RESET, 1)]) 440 self._check_special_tasks(tasks, [(models.SpecialTask.Task.VERIFY, 1)]) 451 self._check_special_tasks(tasks, [(models.SpecialTask.Task.VERIFY, 1)]) 474 (models.SpecialTask.Task.RESET, None) 484 task_types = [(models.SpecialTask.Task.RESET, None)]
|
D | monitor_db.py | 462 return bool(models.SpecialTask.objects.filter(host__id=host.id, 527 special_tasks = models.SpecialTask.objects.filter( 665 special_tasks = models.SpecialTask.objects.filter( 666 task__in=(models.SpecialTask.Task.CLEANUP, 667 models.SpecialTask.Task.VERIFY), 724 models.SpecialTask.objects.create( 725 task=models.SpecialTask.Task.CLEANUP, 901 models.SpecialTask.objects.filter(is_active=False, 930 aborted_tasks = models.SpecialTask.objects.filter(is_active=True,
|
D | rdb_testing_utils.py | 98 return models.SpecialTask.objects.filter(**kwargs) 121 task=models.SpecialTask.Task.VERIFY, 132 return models.SpecialTask.objects.create( 253 models.SpecialTask.objects.filter(id=task_id).update(**kwargs)
|
D | scheduler_models.py | 852 models.SpecialTask.objects.create( 853 task=models.SpecialTask.Task.CLEANUP, 857 models.SpecialTask.objects.create( 858 task=models.SpecialTask.Task.REPAIR, 1356 models.SpecialTask.objects.create( 1377 models.SpecialTask.Task.PROVISION) 1380 self._queue_special_task(hqe_model, models.SpecialTask.Task.RESET) 1385 models.SpecialTask.Task.CLEANUP) 1389 models.SpecialTask.Task.VERIFY)
|
D | monitor_db_functional_test.py | 588 models.SpecialTask.schedule_special_task( 589 host=host, task=models.SpecialTask.Task.VERIFY) 773 models.SpecialTask.objects.create( 775 task=models.SpecialTask.Task.RESET, 777 models.SpecialTask.objects.create( 779 task=models.SpecialTask.Task.CLEANUP, 793 special_task = models.SpecialTask.objects.create( 806 self._test_recover_verifying_hqe_helper(models.SpecialTask.Task.CLEANUP, 812 self._test_recover_verifying_hqe_helper(models.SpecialTask.Task.VERIFY,
|
D | monitor_db_cleanup.py | 212 models.SpecialTask.schedule_special_task( 213 host=host, task=models.SpecialTask.Task.VERIFY)
|
D | postjob_task.py | 286 models.SpecialTask.objects.create( 288 task=models.SpecialTask.Task.CLEANUP,
|
D | agent_task.py | 696 pending_tasks = models.SpecialTask.objects.filter( 725 queued_special_tasks = models.SpecialTask.objects.filter(
|
/external/autotest/frontend/afe/ |
D | rpc_interface_unittest.py | 270 self.task1 = models.SpecialTask.objects.create( 271 host=host, task=models.SpecialTask.Task.VERIFY, 274 self.task2 = models.SpecialTask.objects.create( 275 host=host, task=models.SpecialTask.Task.VERIFY, 278 self.task3 = models.SpecialTask.objects.create( 279 host=host, task=models.SpecialTask.Task.VERIFY, 288 self.assertEquals(tasks[0]['task'], models.SpecialTask.Task.VERIFY) 300 host__hostname='host1', task=models.SpecialTask.Task.VERIFY, 372 self.assertEquals(task['task'], models.SpecialTask.Task.VERIFY) 385 self.assertEquals(task['task'], models.SpecialTask.Task.REPAIR)
|
D | models_test.py | 81 return models.SpecialTask.objects.create( 82 host=self.hosts[0], task=models.SpecialTask.Task.VERIFY, 123 task = models.SpecialTask.objects.create( 124 host=self.hosts[0], task=models.SpecialTask.Task.VERIFY,
|
D | rpc_interface.py | 532 tasks = models.SpecialTask.objects.filter( 1028 query = models.SpecialTask.query_objects(filter_data) 1047 models.SpecialTask.schedule_special_task(host, task) 1109 models.SpecialTask.Task.VERIFY, 'reverify_hosts', **filter_data) 1119 models.SpecialTask.Task.REPAIR, 'repair_hosts', **filter_data) 1307 models.SpecialTask.query_objects(filter_data), 1348 return models.SpecialTask.query_count(kwargs)
|
D | resources_test.py | 204 models.SpecialTask.schedule_special_task( 205 host=self.hosts[0], task=models.SpecialTask.Task.VERIFY)
|
D | resources.py | 807 model = models.SpecialTask 817 instance = models.SpecialTask.objects.get(id=task_id) 846 return models.SpecialTask.schedule_special_task(host, 860 return models.SpecialTask.objects.order_by('-id')
|
D | site_rpc_interface.py | 543 models.SpecialTask.objects.create( 544 task=models.SpecialTask.Task.REPAIR,
|
D | models.py | 2005 class SpecialTask(dbmodels.Model, model_logic.ModelExtensions): class 2045 super(SpecialTask, self).save(**kwargs) 2077 existing_tasks = SpecialTask.objects.filter(host__id=host.id, task=task, 2083 special_task = SpecialTask(host=host, task=task,
|
/external/autotest/server/ |
D | frontend.py | 326 return [SpecialTask(self, t) for t in tasks] 332 return [SpecialTask(self, t) for t in tasks] 338 return SpecialTask(self, task) if task else None 912 class SpecialTask(RpcObject): class 917 super(SpecialTask, self).__init__(afe, hash)
|
/external/autotest/site_utils/ |
D | status_history.py | 551 base_query = afe_models.SpecialTask.objects.filter( 596 return afe_models.SpecialTask.objects.filter(
|
D | job_history.py | 150 tasks = models.SpecialTask.objects.filter( 274 tasks = models.SpecialTask.objects.filter(
|
/external/autotest/contrib/ |
D | compare_dut_perf.py | 88 special_tasks = models.SpecialTask.objects.filter(
|
D | compare_suite.py | 153 tasks = models.SpecialTask.objects.filter(
|