Sure, here's a sample command line I used earlier today to create a job: ./atest job create --machine 1*<platform label> --control-file <local file>
This will create a job on one machine using the specified control file. You can also specify --dependencies to require additional labels on the scheduling. Say if you wanted to create a job on only x86-generic hosts with the foobar label: ./atest job create --machine 1*x86-generic --control-file <local file> --dependencies foobar I always assumed there was some doc for this, I however arrived at this through much trial and error :) - dale On Tue, Feb 15, 2011 at 6:24 PM, Lucas Meneghel Rodrigues <l...@redhat.com>wrote: > On Tue, 2011-02-15 at 17:33 -0800, Dale Curtis wrote: > > I should clarify, the 1*[label] is for use with --machine when using > > metahost scheduling. Not sure about other instances. > > Well, I tried -b 1*foo, but it didn't work. Can you explain how to use > it with --machine, please? > > > > - dale > > > > On Tue, Feb 15, 2011 at 5:30 PM, Dale Curtis <dalecur...@google.com> > > wrote: > > You should use 1*[label]. I recently got bit by this as well. > > > > > > - dale > > > > > > > > On Tue, Feb 15, 2011 at 5:29 PM, Lucas Meneghel Rodrigues > > <l...@redhat.com> wrote: > > Hi folks, > > > > Currently with the atest CLI, when we select -b > > [label], the behavior of > > the scheduler is to select *all* machines that match > > that label. Is > > there a way to force the scheduler to choose just one > > machine? I tried > > to specify synch-count (-y) but it didn't work. > > > > If there's no obvious way of doing it, I'll go with > > implementing a new > > command line flag to do it. Better ask first :) > > > > Cheers, > > > > Lucas > > > > _______________________________________________ > > 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