Hello Stevan,
Thanks for quick response.Is there any reference of creating and assigning device tag to specific device.
The issue I am facing is whatever device tags are created are getting default assigned to all devices.
Thanks,
Hemanth.
___________________________________________________________________________________________ Hi Hemanth,
You can achieve this by adding device tags to the devices and then specifying which tags you'd like to use in the test job definition.
Please take a look at https://validation.linaro.org/static/docs/v2/developing-tests.html#device-ta...
HTH,
On 05/16/2018 12:26 PM, Hemanth K V wrote:
- Hello Lava-Users,
*>>* When we have multiple devices of same device-type in LAVA Instance and *>* want to submit job on a particular device how can this be achieved in *>* LAVA.Tried to follow *>* https://validation.linaro.org/static/docs/v2/first-job.html https://validation.linaro.org/static/docs/v2/first-job.html but didn't *>* find how device can be specified. *>>* Thanks, *>* Hemanth. *>>>* _______________________________________________ *>* Lava-users mailing list *>* Lava-users at lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users *>* https://lists.linaro.org/mailman/listinfo/lava-users https://lists.linaro.org/mailman/listinfo/lava-users *
On 16 May 2018 at 14:31, Hemanth K V kv.hemanth.mys@gmail.com wrote:
Hello Stevan,
Thanks for quick response.Is there any reference of creating and assigning device tag to specific device.
The issue I am facing is whatever device tags are created are getting default assigned to all devices.
Tags are a Django object, you need to create and assign them in the Django Admin Interface.
https://staging.validation.linaro.org/static/docs/v2/first-devices.html#djan...
It's a standard multi-select list box, use Ctrl & click then save.
Thanks,
Hemanth.
Hi Hemanth,
You can achieve this by adding device tags to the devices and then specifying which tags you'd like to use in the test job definition.
Please take a look at https://validation.linaro.org/static/docs/v2/developing-tests.html#device-ta...
HTH,
On 05/16/2018 12:26 PM, Hemanth K V wrote:
- Hello Lava-Users,
*>>* When we have multiple devices of same device-type in LAVA Instance and *>* want to submit job on a particular device how can this be achieved in *>* LAVA.Tried to follow *>* https://validation.linaro.org/static/docs/v2/first-job.html https://validation.linaro.org/static/docs/v2/first-job.html but didn't *>* find how device can be specified. *>>* Thanks, *>* Hemanth. *>>>* _______________________________________________ *>* Lava-users mailing list *>* Lava-users at lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users *>* https://lists.linaro.org/mailman/listinfo/lava-users https://lists.linaro.org/mailman/listinfo/lava-users
Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users
Hello Neil,
Thanks Neil for the response.
From Lava scheduler app for Add test job under Test Jobs how can we specify
the yaml file that we want to execute on specific device.
Thanks, Hemanth.
On Wed, May 16, 2018 at 7:15 PM, Neil Williams neil.williams@linaro.org wrote:
On 16 May 2018 at 14:31, Hemanth K V kv.hemanth.mys@gmail.com wrote:
Hello Stevan,
Thanks for quick response.Is there any reference of creating and assigning device tag to specific device.
The issue I am facing is whatever device tags are created are getting default assigned to all devices.
Tags are a Django object, you need to create and assign them in the Django Admin Interface.
https://staging.validation.linaro.org/static/docs/v2/ first-devices.html#django-administration-interface
It's a standard multi-select list box, use Ctrl & click then save.
Thanks,
Hemanth.
Hi Hemanth,
You can achieve this by adding device tags to the devices and then specifying which tags you'd like to use in the test job definition.
Please take a look at https://validation.linaro.org/static/docs/v2/developing-tests.html#device-ta...
HTH,
On 05/16/2018 12:26 PM, Hemanth K V wrote:
- Hello Lava-Users,
*>>* When we have multiple devices of same device-type in LAVA Instance and *>* want to submit job on a particular device how can this be achieved in *>* LAVA.Tried to follow *>* https://validation.linaro.org/static/docs/v2/first-job.html https://validation.linaro.org/static/docs/v2/first-job.html but didn't *>* find how device can be specified. *>>* Thanks, *>* Hemanth. *>>>* _______________________________________________ *>* Lava-users mailing list *>* Lava-users at lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users *>* https://lists.linaro.org/mailman/listinfo/lava-users https://lists.linaro.org/mailman/listinfo/lava-users
Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users
--
Neil Williams
neil.williams@linaro.org http://www.linux.codehelp.co.uk/
On 17 May 2018 at 08:38, Hemanth K V kv.hemanth.mys@gmail.com wrote:
Hello Neil,
Thanks Neil for the response. From Lava scheduler app for Add test job under Test Jobs how can we specify the yaml file that we want to execute on specific device.
You are misunderstanding how to use tags.
See the example test job link provided by Stevan:
https://validation.linaro.org/static/docs/v2/developing-tests.html#device-ta...
You name the tag(s) in the test job submission and then the scheduler chooses the device(s) which provide those tags.
Tags are created in the Django Admin Interface.
Tags are scheduled according to the requested tags in the test job submission - the YAML file itself specifies the name of the tag(s) required.
Thanks, Hemanth.
On Wed, May 16, 2018 at 7:15 PM, Neil Williams neil.williams@linaro.org wrote:
On 16 May 2018 at 14:31, Hemanth K V kv.hemanth.mys@gmail.com wrote:
Hello Stevan,
Thanks for quick response.Is there any reference of creating and assigning device tag to specific device.
The issue I am facing is whatever device tags are created are getting default assigned to all devices.
Tags are a Django object, you need to create and assign them in the Django Admin Interface.
https://staging.validation.linaro.org/static/docs/v2/first- devices.html#django-administration-interface
It's a standard multi-select list box, use Ctrl & click then save.
Thanks,
Hemanth.
Hi Hemanth,
You can achieve this by adding device tags to the devices and then specifying which tags you'd like to use in the test job definition.
Please take a look at https://validation.linaro.org/static/docs/v2/developing-tests.html#device-ta...
HTH,
On 05/16/2018 12:26 PM, Hemanth K V wrote:
- Hello Lava-Users,
*>>* When we have multiple devices of same device-type in LAVA Instance and *>* want to submit job on a particular device how can this be achieved in *>* LAVA.Tried to follow *>* https://validation.linaro.org/static/docs/v2/first-job.html https://validation.linaro.org/static/docs/v2/first-job.html but didn't *>* find how device can be specified. *>>* Thanks, *>* Hemanth. *>>>* _______________________________________________ *>* Lava-users mailing list *>* Lava-users at lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users *>* https://lists.linaro.org/mailman/listinfo/lava-users https://lists.linaro.org/mailman/listinfo/lava-users
Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users
--
Neil Williams
neil.williams@linaro.org http://www.linux.codehelp.co.uk/
Hello Neil,
Regarding tags I got it clear with Information provided and I tried it practically and it worked.
What I am exploring is different ways of submiting jobs when we have multiple devices of same device type.
One is through tags which is clear where we specify in yaml file.
The other thing what I am trying to find out is without changing yaml file how can we submit job to a specific device.
Thanks, Hemanth.
On Thu, May 17, 2018 at 1:14 PM, Neil Williams neil.williams@linaro.org wrote:
On 17 May 2018 at 08:38, Hemanth K V kv.hemanth.mys@gmail.com wrote:
Hello Neil,
Thanks Neil for the response. From Lava scheduler app for Add test job under Test Jobs how can we specify the yaml file that we want to execute on specific device.
You are misunderstanding how to use tags.
See the example test job link provided by Stevan:
https://validation.linaro.org/static/docs/v2/developing- tests.html#device-tags-example
You name the tag(s) in the test job submission and then the scheduler chooses the device(s) which provide those tags.
Tags are created in the Django Admin Interface.
Tags are scheduled according to the requested tags in the test job submission - the YAML file itself specifies the name of the tag(s) required.
Thanks, Hemanth.
On Wed, May 16, 2018 at 7:15 PM, Neil Williams neil.williams@linaro.org wrote:
On 16 May 2018 at 14:31, Hemanth K V kv.hemanth.mys@gmail.com wrote:
Hello Stevan,
Thanks for quick response.Is there any reference of creating and assigning device tag to specific device.
The issue I am facing is whatever device tags are created are getting default assigned to all devices.
Tags are a Django object, you need to create and assign them in the Django Admin Interface.
https://staging.validation.linaro.org/static/docs/v2/first-d evices.html#django-administration-interface
It's a standard multi-select list box, use Ctrl & click then save.
Thanks,
Hemanth.
Hi Hemanth,
You can achieve this by adding device tags to the devices and then specifying which tags you'd like to use in the test job definition.
Please take a look at https://validation.linaro.org/static/docs/v2/developing-tests.html#device-ta...
HTH,
On 05/16/2018 12:26 PM, Hemanth K V wrote:
- Hello Lava-Users,
*>>* When we have multiple devices of same device-type in LAVA Instance and *>* want to submit job on a particular device how can this be achieved in *>* LAVA.Tried to follow *>* https://validation.linaro.org/static/docs/v2/first-job.html https://validation.linaro.org/static/docs/v2/first-job.html but didn't *>* find how device can be specified. *>>* Thanks, *>* Hemanth. *>>>* _______________________________________________ *>* Lava-users mailing list *>* Lava-users at lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users *>* https://lists.linaro.org/mailman/listinfo/lava-users https://lists.linaro.org/mailman/listinfo/lava-users
Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users
--
Neil Williams
neil.williams@linaro.org http://www.linux.codehelp.co.uk/
--
Neil Williams
neil.williams@linaro.org http://www.linux.codehelp.co.uk/
On 17 May 2018 at 09:48, Hemanth K V kv.hemanth.mys@gmail.com wrote:
Hello Neil,
Regarding tags I got it clear with Information provided and I tried it practically and it worked.
What I am exploring is different ways of submiting jobs when we have multiple devices of same device type.
One is through tags which is clear where we specify in yaml file.
The other thing what I am trying to find out is without changing yaml file how can we submit job to a specific device.
Not supported. There are very good reasons for this:
* devices in LAVA are placeholders - the actual hardware can easily change underneath, so do not overload device names with hidden meaning. * submissions can only work on device-types and device tags. LAVA is not a board farm or a provisioning system, it is a scheduler - designed to handle large queues of test jobs across multiple identical devices. * persistence is a real problem for CI and must be avoided at all costs. It is a mistake to assign actual device hostnames and expect that the same storage will be available.
So there is no such thing as a "specific device" in LAVA. The scheduler is carefully designed to prevent just this usage because it is fundamentally wrong for a CI system. Device tags are a way of allowing access to additional hardware but a test job which does not specify any required device tags will run on any device whether that device has tags assigned or not. A test job which uses tags will only run on the devices which support that tag - it does NOT go the other way around. Test writers have the control, not the device admins. Device admins have enough flexibility to switch out broken and bricked hardware without changing anything that the test writer cares about - simply by changing details in the device dictionary.
Thanks, Hemanth.
On Thu, May 17, 2018 at 1:14 PM, Neil Williams neil.williams@linaro.org wrote:
On 17 May 2018 at 08:38, Hemanth K V kv.hemanth.mys@gmail.com wrote:
Hello Neil,
Thanks Neil for the response. From Lava scheduler app for Add test job under Test Jobs how can we specify the yaml file that we want to execute on specific device.
You are misunderstanding how to use tags.
See the example test job link provided by Stevan:
https://validation.linaro.org/static/docs/v2/developing-test s.html#device-tags-example
You name the tag(s) in the test job submission and then the scheduler chooses the device(s) which provide those tags.
Tags are created in the Django Admin Interface.
Tags are scheduled according to the requested tags in the test job submission - the YAML file itself specifies the name of the tag(s) required.
Thanks, Hemanth.
On Wed, May 16, 2018 at 7:15 PM, Neil Williams <neil.williams@linaro.org
wrote:
On 16 May 2018 at 14:31, Hemanth K V kv.hemanth.mys@gmail.com wrote:
Hello Stevan,
Thanks for quick response.Is there any reference of creating and assigning device tag to specific device.
The issue I am facing is whatever device tags are created are getting default assigned to all devices.
Tags are a Django object, you need to create and assign them in the Django Admin Interface.
https://staging.validation.linaro.org/static/docs/v2/first-d evices.html#django-administration-interface
It's a standard multi-select list box, use Ctrl & click then save.
Thanks,
Hemanth.
Hi Hemanth,
You can achieve this by adding device tags to the devices and then specifying which tags you'd like to use in the test job definition.
Please take a look at https://validation.linaro.org/static/docs/v2/developing-tests.html#device-ta...
HTH,
On 05/16/2018 12:26 PM, Hemanth K V wrote:
- Hello Lava-Users,
*>>* When we have multiple devices of same device-type in LAVA Instance and *>* want to submit job on a particular device how can this be achieved in *>* LAVA.Tried to follow *>* https://validation.linaro.org/static/docs/v2/first-job.html https://validation.linaro.org/static/docs/v2/first-job.html but didn't *>* find how device can be specified. *>>* Thanks, *>* Hemanth. *>>>* _______________________________________________ *>* Lava-users mailing list *>* Lava-users at lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users *>* https://lists.linaro.org/mailman/listinfo/lava-users https://lists.linaro.org/mailman/listinfo/lava-users
Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users
--
Neil Williams
neil.williams@linaro.org http://www.linux.codehelp.co.uk/
--
Neil Williams
neil.williams@linaro.org http://www.linux.codehelp.co.uk/
lava-users@lists.lavasoftware.org