/external/autotest/scheduler/ |
atomic_group_unittests.py | 47 atomic_group=1) 49 atomic_group=1) 51 # atomic_group.max_number_of_machines was 2 so we should run on 2. 64 onehost_job = self._create_job(atomic_group=1) 71 self._create_job(atomic_group=1) 80 job = self._create_job(metahosts=[self.label5.id], atomic_group=1) 87 job_a = self._create_job(atomic_group=1) 96 atomic_group=1) 105 job_c = self._create_job(synchronous=True, atomic_group=1) 116 job = self._create_job(synchronous=True, atomic_group=1 [all...] |
scheduler_models.py | 485 self.atomic_group = AtomicGroup(self.atomic_group_id, 488 self.atomic_group = None 867 atomic_group = self.atomic_group 868 if not atomic_group: 876 assert label.atomic_group_id == atomic_group.id 878 return atomic_group.name [all...] |
scheduler_models_unittest.py | 338 django_job = self._create_job(hosts=[5, 6], atomic_group=1) 347 self._create_job(hosts=[5, 6], atomic_group=1) 455 self._create_job(hosts=[5, 6], atomic_group=1, synchronous=True)
|
monitor_db_unittest.py | 825 django_job = self._create_job(hosts=[5, 6], atomic_group=1) 830 self.assertEqual(2, django_hqes[0].atomic_group.max_number_of_machines) 925 hqe.atomic_group.max_number_of_machines += 1 926 hqe.atomic_group.save() [all...] |
monitor_db.py | [all...] |
monitor_db_functional_test.py | 819 job = self._create_job(hosts=[1,2], atomic_group=1) [all...] |
/external/autotest/frontend/afe/ |
frontend_test_utils.py | 44 self.label4.atomic_group = atomic_group1 47 self.label5.atomic_group = atomic_group1 54 self.label8.atomic_group = atomic_group2 85 synchronous=False, atomic_group=None, hostless=False, 100 @param atomic_group - An atomic group id for this job to schedule on 105 case, hosts, metahosts, and atomic_group must all be empty) 120 assert not (atomic_group and active) # TODO(gps): support this 145 atomic_group_id=atomic_group) 150 atomic_group_id=atomic_group) 151 if atomic_group and not (metahosts or hosts) [all...] |
rpc_utils.py | 224 str(atomic_group['id']) 225 for atomic_group in atomic_group_labels.values('id')) 376 dependencies, atomic_group): 406 for label in atomic_group.label_set.all(): 424 (', '.join(sorted(unusable_host_set)), atomic_group.name)}) 441 (atomic_group.name,)}) 511 atomic_group = None 533 if atomic_group is None: 534 if queue_entry.atomic_group is not None: 535 atomic_group = queue_entry.atomic_grou [all...] |
resources.py | 100 self._request, self.instance.atomic_group) 705 host_objects, metahost_label_objects, atomic_group = [], [], None 719 if atomic_group: 720 assert atomic_group_entry.instance.id == atomic_group.id 722 atomic_group = atomic_group_entry.instance 729 atomic_group=atomic_group) 776 self._request, self.instance.atomic_group) [all...] |
models.py | 78 queue_entry = HostQueueEntry.create(atomic_group=self, job=job, 107 atomic_group: The atomic group associated with this label. 119 atomic_group = dbmodels.ForeignKey(AtomicGroup, null=True, blank=True) variable in class:Label 127 def enqueue_job(self, job, atomic_group=None, is_template=False): 131 @param atomic_group: The associated atomic group. 136 atomic_group=atomic_group) 631 def enqueue_job(self, job, atomic_group=None, is_template=False): 635 @param atomic_group: The associated atomic group. 640 atomic_group=atomic_group 1780 atomic_group = dbmodels.ForeignKey(AtomicGroup, blank=True, null=True) variable in class:HostQueueEntry [all...] |
admin.py | 64 list_display = ('name', 'atomic_group', 'kernel_config') 68 raw_id_fields = ('atomic_group',)
|
rpc_interface_unittest.py | 82 self.assertEquals(host['atomic_group'], None) 254 self.assertEquals(queue_entries[0].atomic_group, None)
|
rpc_interface.py | 228 return rpc_utils.prepare_rows_as_nested_dicts(labels, ('atomic_group',)) 519 host_dict['platform'], host_dict['atomic_group'] = (rpc_utils. [all...] |
/external/autotest/cli/contrib/ |
why_isnt_my_job_running.py | 38 if queue_entries and queue_entries[0]['atomic_group']: 76 atomic_group_name = queue_entries[0]['atomic_group']['name'] 256 if label['atomic_group']] 261 atomic_groups.add(label['atomic_group']['name']) 267 host_atomic_group_name = host_atomic_group_label['atomic_group']['name'] 269 job_atomic_groups = set(entry['atomic_group'] for entry in queue_entries) 315 if entry['atomic_group']
|
/external/autotest/frontend/afe/doctests/ |
001_rpc_test.txt | 71 ... 'atomic_group': None}] 83 ... 'only_if_needed': False, 'invalid': 0, 'atomic_group': None}, 85 ... 'only_if_needed': False, 'invalid': 0, 'atomic_group': None}] 112 ... 'atomic_group': None, 592 ... 'atomic_group': None, 608 ... 'atomic_group': None, 726 >>> rpc_interface.modify_label(label_id, atomic_group='mini rack') 728 >>> assert labels[0]['atomic_group']['id'] == mini_rack_group_id, labels 729 >>> rpc_interface.modify_label(label_id, atomic_group=None) 731 >>> assert not labels[0]['atomic_group'], label [all...] |
/external/autotest/cli/ |
label.py | 137 if label['atomic_group']] 138 keys = ['name', 'atomic_group.name', 'invalid']
|
atomicgroup.py | 26 topic = 'atomic_group'
|
job.py | 366 [--atomic_group <atomic group name>] [--parse-failed-repair <option>] 399 self.parser.add_option('-G', '--atomic_group', help='Name of an Atomic ' 460 and not options.labels and not options.atomic_group): 514 if options.atomic_group: 515 self.data['atomic_group_name'] = options.atomic_group
|
job_unittest.py | [all...] |
topic_common.py | 111 'atomic_group.name': 'Atomic Group Name',
|
/external/autotest/frontend/client/src/autotest/afe/ |
AfeUtils.java | 70 JSONObject atomicGroup = label.get("atomic_group").isObject();
|