Home
last modified time | relevance | path

Searched refs:hqe (Results 1 – 23 of 23) sorted by relevance

/external/autotest/site_utils/
Djob_history.py188 def __init__(self, hqe, task_caches=None, suite_start_time=None, argument
200 self.id = hqe.job.id
202 self.job = hqe.job
204 self.name = hqe.job.name.split('/')[-1]
205 self.status = hqe.status if hqe else None
228 self.log_url = JOB_URL % {'job_id': hqe.job.id, 'owner': hqe.job.owner,
232 self._get_special_tasks(hqe, task_caches, suite_start_time,
236 def _get_special_tasks(self, hqe, task_caches=None, suite_start_time=None, argument
254 if not hqe or not hqe.started_on:
261 search_start_time = hqe.started_on - TIME_BUFFER
[all …]
Dlxc_cleanup.py91 for hqe in hqes:
92 if hqe.active or not hqe.complete:
96 if (hqe.finished_on and
Dstatus_history.py275 return [cls(afe.server, hqe) for hqe in hqelist]
278 def __init__(self, afe_hostname, hqe): argument
280 self._hqe = hqe
282 hqe.started_on, hqe.finished_on)
Djob_directories.py231 return max([hqe.finished_on for hqe in hqes])
Dcollect_suite_time_stats.py263 hqe = models.HostQueueEntry.objects.filter(job_id__in=job_list)
268 for h in hqe:
Dtest_push.py309 hostnames = set([hqe.host.hostname for hqe in hqes])
/external/autotest/scheduler/
Dscheduler_models_unittest.py159 hqe = scheduler_models.HostQueueEntry(
163 hqe.save()
164 new_id = hqe.id
167 hqe = scheduler_models.HostQueueEntry(id=new_id)
168 self.assertEqual(hqe.id, new_id)
169 self.assertEqual(hqe.job_id, 1)
170 self.assertEqual(hqe.host_id, 2)
171 self.assertEqual(hqe.status, 'Queued')
172 self.assertEqual(hqe.meta_host, None)
173 self.assertEqual(hqe.active, False)
[all …]
Dmonitor_db_unittest.py427 def fake_set_status(hqe, *args, **kwargs): argument
428 self.assertEqual(hqe.execution_subdir, 'hostless')
429 original_set_status(hqe, *args, **kwargs)
436 hqe = job.hostqueueentry_set.all()[0]
437 self.assertEqual(models.HostQueueEntry.Status.STARTING, hqe.status)
438 self.assertEqual('hostless', hqe.execution_subdir)
848 hqe = scheduler_models.HostQueueEntry(django_hqes[1].id)
854 job.run_if_ready(hqe)
855 self.assertEquals('Waiting', hqe.status)
857 self.assertEquals('Pending', hqe.status)
[all …]
Dhost_scheduler_unittests.py153 hqe = self.db_helper.get_hqes(job=job1.id)[0]
161 tasks[0].queue_entry_id == hqe.id)
164 self.db_helper.update_hqe(hqe.id, active=True)
200 hqe = self.db_helper.get_hqes(job_id=job.id)[0]
201 self.assertTrue(hqe.active and hqe.host_id == host.id and
202 hqe.status == models.HostQueueEntry.Status.QUEUED)
203 task = self.db_helper.get_tasks(queue_entry_id=hqe.id)[0]
250 hqe = self.db_helper.get_hqes(job_id=job.id)[0]
255 self.assertTrue(len(tasks) == 1 and tasks[0].queue_entry_id == hqe.id)
265 self.db_helper.update_hqe(hqe.id, active=False)
[all …]
Drdb_testing_utils.py267 hqe = models.HostQueueEntry.objects.get(job_id=job_id)
268 if hqe.host:
270 hqe.host = host
271 hqe.save()
273 cls.update_hqe(hqe.id, active=True)
485 hqe = job.hostqueueentry_set.all()[0]
492 self.assert_(hqe.host_id == None)
Dquery_managers.py189 for hqe in query:
190 host_id = hqe.host_id
191 parent_job_id = hqe.job.parent_job_id
Drdb_integration_tests.py201 hqe = models.HostQueueEntry.objects.get(job_id=job.id)
204 hqe.status = host_queue_entry_states.ACTIVE_STATUSES[0]
205 hqe.save()
Dmonitor_db.py674 message = '\n'.join(str(hqe) for hqe in unrecovered_hqes)
1344 hqe = self.queue_entries[0]
1345 if hqe.status != models.HostQueueEntry.Status.STARTING:
1346 hqe.set_status(models.HostQueueEntry.Status.PARSING)
/external/autotest/scheduler/shard/
Dshard_client_integration_tests.py44 hqe = scheduler_models.HostQueueEntry.fetch(
48 hqe.set_status('Completed')
66 hqe = scheduler_models.HostQueueEntry.fetch(
69 def _local_update_field(hqe, field_name, value): argument
73 models.HostQueueEntry.objects.filter(id=hqe.id).update(
75 setattr(hqe, field_name, value)
81 hqe.set_status('Completed')
86 assert(modified_hqe.id == hqe.id and
Dshard_client_unittest.py178 job, hqe = jobs[0], hqes[0]
179 self.assertEqual(hqe['status'], 'Completed')
210 hqe = job.hostqueueentry_set.all()[0]
211 hqe.status = 'Completed'
212 hqe.save()
Dshard_client.py272 hqes = [hqe.serialize(include_dependencies=False)
273 for hqe in self._get_hqes_for_jobs(job_objs)]
/external/autotest/contrib/
Dsheriff_host_utils.py101 names = [hqe.job.name for hqe in hqes]
136 (hqe.job.name, hqe.job_id) for hqe in relevent_hqes]
Dcompare_dut_perf.py107 for hqe in hqes:
108 time_used = (hqe.finished_on - hqe.started_on).total_seconds()
109 records.append({'name': hqe.job.name.split('/')[-1],
110 'id': hqe.job.id,
/external/autotest/frontend/afe/
Dsite_rpc_interface_unittest.py543 expected_hqes = [(hqe.id) for hqe in hqes]
544 returned_hqes = [(hqe['id']) for hqe in retval_hqes]
565 hqe = job.hostqueueentry_set.all()[0]
Dmodels.py1893 new_child_ids = [hqe.job_id for hqe in new_children]
1904 aborted_hqes = [AbortedHostQueueEntry(queue_entry=hqe,
1905 aborted_by=user, aborted_on=now) for hqe in children]
1908 child_ids = [hqe.id for hqe in children]
Drpc_interface.py1019 hqe_info = [{'HostQueueEntry': hqe.id, 'Job': hqe.job_id,
1020 'Job name': hqe.job.name} for hqe in host_queue_entries]
/external/autotest/server/cros/dynamic_suite/
Djob_status.py104 for hqe in entries:
105 if hqe['aborted']:
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/pkb/en-US/
Den-US_lh0_kpdf_mgc.pkb2418 ��s�����������Zc;F?@CVdEVwR[ZKD5)A75W]��TGZiv����������QX]hqe�|Usznq����֪ѱQ]U_dwferu�!S�+…