Searched refs:SpecialTask (Results 1 – 20 of 20) sorted by relevance
/external/autotest/scheduler/ |
D | prejob_task.py | 84 models.SpecialTask.objects.filter( 89 previous_provisions = models.SpecialTask.objects.filter( 90 task=models.SpecialTask.Task.PROVISION, 117 previous_repairs = models.SpecialTask.objects.filter( 118 task=models.SpecialTask.Task.REPAIR, 131 models.SpecialTask.objects.create( 133 task=models.SpecialTask.Task.REPAIR, 157 queued = models.SpecialTask.objects.filter( 165 TASK_TYPE = models.SpecialTask.Task.VERIFY 186 self.remove_special_tasks(models.SpecialTask.Task.VERIFY, [all …]
|
D | query_managers.py | 130 queued_tasks = models.SpecialTask.objects.filter(is_active=False, 135 queued_tasks = models.SpecialTask.objects.add_join( 147 task_priority_order = [models.SpecialTask.Task.REPAIR, 148 models.SpecialTask.Task.CLEANUP, 149 models.SpecialTask.Task.VERIFY, 150 models.SpecialTask.Task.RESET, 151 models.SpecialTask.Task.PROVISION] 171 special_task_hosts = list(models.SpecialTask.objects.filter(
|
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 | scheduler_models_unittest.py | 324 task = models.SpecialTask(**kwargs) 327 self.god.stub_with(models.SpecialTask.objects, 'create', _mock_create) 366 self._check_special_tasks(tasks, [(models.SpecialTask.Task.RESET, 1)]) 376 self._check_special_tasks(tasks, [(models.SpecialTask.Task.RESET, 1)]) 384 self._check_special_tasks(tasks, [(models.SpecialTask.Task.RESET, 1)]) 394 self._check_special_tasks(tasks, [(models.SpecialTask.Task.RESET, 1)]) 416 self._check_special_tasks(tasks, [(models.SpecialTask.Task.VERIFY, 1)]) 427 self._check_special_tasks(tasks, [(models.SpecialTask.Task.VERIFY, 1)]) 438 (models.SpecialTask.Task.RESET, None) 448 task_types = [(models.SpecialTask.Task.RESET, None)]
|
D | postjob_task.py | 321 models.SpecialTask.objects.create( 323 task=models.SpecialTask.Task.CLEANUP, 335 models.SpecialTask.objects.create( 337 task=models.SpecialTask.Task.RESET,
|
D | monitor_db.py | 543 return bool(models.SpecialTask.objects.filter(host__id=host.id, 629 special_tasks = models.SpecialTask.objects.filter( 779 special_tasks = models.SpecialTask.objects.filter( 780 task__in=(models.SpecialTask.Task.CLEANUP, 781 models.SpecialTask.Task.VERIFY, 782 models.SpecialTask.Task.RESET), 856 models.SpecialTask.objects.create( 857 task=models.SpecialTask.Task.RESET, 1129 models.SpecialTask.objects.filter(is_active=False, 1159 aborted_tasks = models.SpecialTask.objects.filter(is_active=True,
|
D | scheduler_models.py | 901 models.SpecialTask.objects.create( 902 task=models.SpecialTask.Task.CLEANUP, 906 models.SpecialTask.objects.create( 907 task=models.SpecialTask.Task.REPAIR, 1266 models.SpecialTask.objects.create( 1287 models.SpecialTask.Task.PROVISION) 1290 self._queue_special_task(hqe_model, models.SpecialTask.Task.RESET) 1295 models.SpecialTask.Task.CLEANUP) 1299 models.SpecialTask.Task.VERIFY)
|
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 | monitor_db_functional_test.py | 579 models.SpecialTask.schedule_special_task( 580 host=host, task=models.SpecialTask.Task.VERIFY) 766 models.SpecialTask.objects.create( 768 task=models.SpecialTask.Task.RESET, 770 models.SpecialTask.objects.create( 772 task=models.SpecialTask.Task.CLEANUP, 786 special_task = models.SpecialTask.objects.create( 799 self._test_recover_verifying_hqe_helper(models.SpecialTask.Task.CLEANUP, 805 self._test_recover_verifying_hqe_helper(models.SpecialTask.Task.VERIFY,
|
D | monitor_db_cleanup.py | 253 models.SpecialTask.schedule_special_task( 254 host=host, task=models.SpecialTask.Task.VERIFY)
|
D | agent_task.py | 749 pending_tasks = models.SpecialTask.objects.filter( 778 queued_special_tasks = models.SpecialTask.objects.filter(
|
/external/autotest/venv/lucifer/ |
D | handlers.py | 116 models.SpecialTask.objects.create( 118 task=models.SpecialTask.Task.CLEANUP, 124 models.SpecialTask.objects.create( 126 task=models.SpecialTask.Task.RESET,
|
/external/autotest/frontend/afe/ |
D | models_test.py | 160 return models.SpecialTask.objects.create( 161 host=self.hosts[0], task=models.SpecialTask.Task.VERIFY, 202 task = models.SpecialTask.objects.create( 203 host=self.hosts[0], task=models.SpecialTask.Task.VERIFY,
|
D | rpc_interface_unittest.py | 938 self.task1 = models.SpecialTask.objects.create( 939 host=host, task=models.SpecialTask.Task.VERIFY, 942 self.task2 = models.SpecialTask.objects.create( 943 host=host, task=models.SpecialTask.Task.VERIFY, 946 self.task3 = models.SpecialTask.objects.create( 947 host=host, task=models.SpecialTask.Task.VERIFY, 956 self.assertEquals(tasks[0]['task'], models.SpecialTask.Task.VERIFY) 968 host__hostname='host1', task=models.SpecialTask.Task.VERIFY, 1123 self.assertEquals(task['task'], models.SpecialTask.Task.VERIFY) 1136 self.assertEquals(task['task'], models.SpecialTask.Task.REPAIR)
|
D | rpc_interface.py | 695 tasks = models.SpecialTask.objects.filter( 1102 query = models.SpecialTask.query_objects(filter_data) 1121 models.SpecialTask.schedule_special_task(host, task) 1183 models.SpecialTask.Task.VERIFY, 'reverify_hosts', **filter_data) 1193 models.SpecialTask.Task.REPAIR, 'repair_hosts', **filter_data) 1456 models.SpecialTask.query_objects(filter_data), 1497 return models.SpecialTask.query_count(kwargs)
|
D | models.py | 2087 class SpecialTask(dbmodels.Model, model_logic.ModelExtensions): class 2127 super(SpecialTask, self).save(**kwargs) 2159 existing_tasks = SpecialTask.objects.filter(host__id=host.id, task=task, 2165 special_task = SpecialTask(host=host, task=task,
|
/external/autotest/server/ |
D | frontend.py | 661 return [SpecialTask(self, t) for t in tasks] 667 return [SpecialTask(self, t) for t in tasks] 673 return SpecialTask(self, task) if task else None 883 class SpecialTask(RpcObject): class 888 super(SpecialTask, self).__init__(afe, hash)
|
/external/autotest/site_utils/ |
D | job_history.py | 150 tasks = models.SpecialTask.objects.filter( 274 tasks = models.SpecialTask.objects.filter(
|
/external/autotest/server/lib/ |
D | status_history.py | 694 base_query = afe_models.SpecialTask.objects.filter( 739 return afe_models.SpecialTask.objects.filter(
|
/external/autotest/contrib/ |
D | compare_suite.py | 153 tasks = models.SpecialTask.objects.filter(
|