On 06/28/2012 04:29 PM, Lucas Meneghel Rodrigues wrote:
> On Fri, Jun 22, 2012 at 3:19 PM, Nishanth Aravamudan
> <n...@linux.vnet.ibm.com> wrote:
>> Ok, I think this corresponds to the following, which is what I was
>> starting to suspect:
>>
>> diff --git a/frontend/afe/models.py b/frontend/afe/models.py
>> index 9846087..791f16c 100644
>> --- a/frontend/afe/models.py
>> +++ b/frontend/afe/models.py
>> @@ -104,7 +104,7 @@ class Label(model_logic.ModelWithInvalid, 
>> dbmodels.Model):
>>          self.test_set.clear()
>>
>>
>> -    def enqueue_job(self, job, atomic_group=None, is_template=False):
>> +    def enqueue_job(self, job, profile, atomic_group=None, 
>> is_template=False):
>>          """Enqueue a job on any host of this label."""
>>          queue_entry = HostQueueEntry.create(meta_host=self, job=job,
>>                                              is_template=is_template,
>>
>> I think this relates to what Cleber and I discussed in one of the pull
>> requests that it would be nice to do a web submission by label and
>> specify a profile still -- that is I want any ppc64 platform box, but
>> want fc17 on it.
> I gave this a good look, and adding the profile to this enqueue_job
> and passing it down to HostQueueEntry.create works fine. All the
> problems I saw are gone, and I'm applying the fixed/rebased patchset
> to next. Thanks!

Great stuff!

Thanks!!!

> _______________________________________________
> Autotest mailing list
> Autotest@test.kernel.org
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest


_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to