Lines Matching refs:job

433         job, queue_entry = self._make_job_and_queue_entry()
444 job, queue_entry = self._make_job_and_queue_entry()
445 job.reboot_before = model_attributes.RebootBefore.ALWAYS
446 job.save()
507 job, queue_entry = self._make_job_and_queue_entry()
508 job.reboot_after = model_attributes.RebootAfter.ALWAYS
509 job.save()
605 job, queue_entry = self._make_job_and_queue_entry()
619 queue_entry.job.reboot_before = model_attributes.RebootBefore.ALWAYS
620 queue_entry.job.save()
630 queue_entry.job.reboot_before = model_attributes.RebootBefore.ALWAYS
631 queue_entry.job.save()
642 queue_entry.job.reboot_after = model_attributes.RebootAfter.ALWAYS
643 queue_entry.job.save()
668 job = self._create_job(hosts=[1])
669 queue_entries = list(job.hostqueueentry_set.all())
672 job.hostqueueentry_set.update(aborted=True)
682 job = self._create_job(hosts=[1])
683 job.run_reset = False
684 job.save()
685 queue_entries = list(job.hostqueueentry_set.all())
691 job.hostqueueentry_set.update(aborted=True)
698 queue_entry = job.hostqueueentry_set.all()[0]
707 job = self._create_job(hosts=[1,2])
708 job.synch_count = 2
709 job.save()
711 job.hostqueueentry_set.update(aborted=True)
713 for host_queue_entry in job.hostqueueentry_set.all():
735 job = self._create_job(hosts=[1])
736 queue_entry = job.hostqueueentry_set.all()[0]
737 return job, queue_entry
807 job, queue_entry = self._make_job_and_queue_entry()
808 job.run_verify = False
809 job.run_reset = False
810 job.reboot_after = model_attributes.RebootAfter.NEVER
811 job.save()
909 job = self._create_job(hosts=[1,2])
910 queue_entry = job.hostqueueentry_set.get(host__hostname='host1')
911 job.synch_count = 2
912 job.save()
942 job = self._create_job(hosts=[1,2,3])
943 job.synch_count = 3
944 job.save()
946 queue_entries = list(job.hostqueueentry_set.all())
953 queue_entries = list(job.hostqueueentry_set.all())
996 job = self._create_job(hosts=[1,2], synchronous=True)
997 queue_entry = job.hostqueueentry_set.all()[0]
998 job.run_verify = False
999 job.run_reset = False
1000 job.reboot_after = model_attributes.RebootAfter.NEVER
1001 job.save()
1008 job.hostqueueentry_set.update(aborted=True)
1020 job = self._create_job(metahosts=[1])
1022 entry = job.hostqueueentry_set.all()[0]
1033 job = self._create_job(metahosts=[1])
1038 entry = job.hostqueueentry_set.all()[0]
1049 job = self._create_job(hostless=True)
1050 entry = job.hostqueueentry_set.all()[0]
1067 job = self._create_job(hosts=[1])
1068 job.run_verify = False
1069 job.run_reset = False
1070 job.reboot_before = model_attributes.RebootBefore.NEVER
1071 job.save()
1072 models.JobKeyval.objects.create(job=job, key='mykey', value='myvalue')
1075 self._finish_job(job.hostqueueentry_set.all()[0])
1117 job = self._create_job(hostless=True)
1118 entry = job.hostqueueentry_set.all()[0]
1132 job = self._create_job(hosts=[1, 2])
1133 job.synch_count = 2
1134 job.reboot_before = model_attributes.RebootBefore.ALWAYS
1135 job.save()
1137 hqe1 = job.hostqueueentry_set.get(host__hostname='host1')
1138 hqe2 = job.hostqueueentry_set.get(host__hostname='host2')