Home
last modified time | relevance | path

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

/external/autotest/scheduler/
Dprejob_task.py84 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 …]
Dquery_managers.py130 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(
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)
Dscheduler_models_unittest.py324 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)]
Dpostjob_task.py321 models.SpecialTask.objects.create(
323 task=models.SpecialTask.Task.CLEANUP,
335 models.SpecialTask.objects.create(
337 task=models.SpecialTask.Task.RESET,
Dmonitor_db.py543 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,
Dscheduler_models.py901 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)
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)
Dmonitor_db_functional_test.py579 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,
Dmonitor_db_cleanup.py253 models.SpecialTask.schedule_special_task(
254 host=host, task=models.SpecialTask.Task.VERIFY)
Dagent_task.py749 pending_tasks = models.SpecialTask.objects.filter(
778 queued_special_tasks = models.SpecialTask.objects.filter(
/external/autotest/venv/lucifer/
Dhandlers.py116 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/
Dmodels_test.py160 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,
Drpc_interface_unittest.py938 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)
Drpc_interface.py695 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)
Dmodels.py2087 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/
Dfrontend.py661 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/
Djob_history.py150 tasks = models.SpecialTask.objects.filter(
274 tasks = models.SpecialTask.objects.filter(
/external/autotest/server/lib/
Dstatus_history.py694 base_query = afe_models.SpecialTask.objects.filter(
739 return afe_models.SpecialTask.objects.filter(
/external/autotest/contrib/
Dcompare_suite.py153 tasks = models.SpecialTask.objects.filter(