Home
last modified time | relevance | path

Searched refs:SpecialTask (Results 1 – 24 of 24) sorted by relevance

/external/autotest/scheduler/
Dprejob_task.py98 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 …]
Dmonitor_db_cleanup_test.py43 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)
Dquery_managers.py122 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(
Dsite_monitor_db.py194 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),
Dscheduler_models_unittest.py318 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)]
Dmonitor_db.py462 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,
Drdb_testing_utils.py98 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)
Dscheduler_models.py852 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)
Dmonitor_db_functional_test.py588 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,
Dmonitor_db_cleanup.py212 models.SpecialTask.schedule_special_task(
213 host=host, task=models.SpecialTask.Task.VERIFY)
Dpostjob_task.py286 models.SpecialTask.objects.create(
288 task=models.SpecialTask.Task.CLEANUP,
Dagent_task.py696 pending_tasks = models.SpecialTask.objects.filter(
725 queued_special_tasks = models.SpecialTask.objects.filter(
/external/autotest/frontend/afe/
Drpc_interface_unittest.py270 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)
Dmodels_test.py81 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,
Drpc_interface.py532 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)
Dresources_test.py204 models.SpecialTask.schedule_special_task(
205 host=self.hosts[0], task=models.SpecialTask.Task.VERIFY)
Dresources.py807 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')
Dsite_rpc_interface.py543 models.SpecialTask.objects.create(
544 task=models.SpecialTask.Task.REPAIR,
Dmodels.py2005 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/
Dfrontend.py326 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/
Dstatus_history.py551 base_query = afe_models.SpecialTask.objects.filter(
596 return afe_models.SpecialTask.objects.filter(
Djob_history.py150 tasks = models.SpecialTask.objects.filter(
274 tasks = models.SpecialTask.objects.filter(
/external/autotest/contrib/
Dcompare_dut_perf.py88 special_tasks = models.SpecialTask.objects.filter(
Dcompare_suite.py153 tasks = models.SpecialTask.objects.filter(