On Fri, 1 Jul 2016 15:21:22 +0000 "Albarran, Josue" j-albarran@ti.com wrote:
Please keep the list in CC:
Ok, thanks for the information.
So what is the mayor difference between YAML and JSON job submissions?
Completely new design. JSON submissions are LAVA V1 only. YAML submissions are LAVA V2 only.
See the documentation in your localhost for the differences between LAVA V1 and LAVA V2.
Are JSON jobs being superceded by YAML ones in the future?
Yes - the migration is happening now and JSON submissions will be blocked during 2017.
The objective is to be able to use new LAVA v2 instance to perform daily functional tests (ltp-ddt tests). This has to be using the LAVA UI.
Is it better if I stick to the JSON job submissions for now?
No. Unless your particular devices are not yet supported in V2, you need to be using V2.
Thanks,
Josue Albarran
-----Original Message----- From: linaro-validation [mailto:linaro-validation-bounces@lists.linaro.org] On Behalf Of Neil Williams Sent: Friday, July 01, 2016 3:56 AM To: linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] Lava v2 and YAML job support
On Thu, 30 Jun 2016 21:41:15 +0000 "Albarran, Josue" j-albarran@ti.com wrote:
Hi,
I'm new to LAVA I'm trying to get LAVA v2 working and installed in order to boot/kernel test a beaglebone black for now. I installed the full LAVA set following the steps from the 2016.6 server documentation. It doesn't seem like I have YAML job support as it's asking for a JSON job definition in the scheduler as well as the lava-tool.
Currently, there is no V2 support for submitting jobs via the Submit Job menu UI. lava-tool or XML-RPC (for automated submissions) only for V2.
How can I confirm that I have LAVA v2 installed and be able to submit jobs in YAML format to the localhost server of LAVA?
The device detail page shows what jobs the device can support.
e.g. https://staging.validation.linaro.org/scheduler/device/staging-black01
Pipeline: staging-black01 accepts both pipeline and JSON jobs.
This is determined from the database and configured through the django administrative interface. For each pipeline device, the Pipeline device? checkbox must be set and a Device Dictionary imported.
The device should also show up on the list of pipeline devices:
e.g. https://staging.validation.linaro.org/scheduler/alldevices/pipeline
We're expanding the documentation in this area. You may find this proposed page useful: https://git.linaro.org/lava/lava-server.git/commitdiff/12f0b078186b319db9df8...
--
Neil Williams
Alright.
When I try to create a device for the device type "beaglebone-black" through the django administrative interface, I don't get the Pipeline Device? checkbox anywhere.
Does this mean I have to re-install to get this feature?
Thanks, Josue Albarran
-----Original Message----- From: Neil Williams [mailto:codehelp@debian.org] Sent: Friday, July 01, 2016 11:12 AM To: Albarran, Josue Cc: linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] Lava v2 and YAML job support
On Fri, 1 Jul 2016 15:21:22 +0000 "Albarran, Josue" j-albarran@ti.com wrote:
Please keep the list in CC:
Ok, thanks for the information.
So what is the mayor difference between YAML and JSON job submissions?
Completely new design. JSON submissions are LAVA V1 only. YAML submissions are LAVA V2 only.
See the documentation in your localhost for the differences between LAVA V1 and LAVA V2.
Are JSON jobs being superceded by YAML ones in the future?
Yes - the migration is happening now and JSON submissions will be blocked during 2017.
The objective is to be able to use new LAVA v2 instance to perform daily functional tests (ltp-ddt tests). This has to be using the LAVA UI.
Is it better if I stick to the JSON job submissions for now?
No. Unless your particular devices are not yet supported in V2, you need to be using V2.
Thanks,
Josue Albarran
-----Original Message----- From: linaro-validation [mailto:linaro-validation-bounces@lists.linaro.org] On Behalf Of Neil Williams Sent: Friday, July 01, 2016 3:56 AM To: linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] Lava v2 and YAML job support
On Thu, 30 Jun 2016 21:41:15 +0000 "Albarran, Josue" j-albarran@ti.com wrote:
Hi,
I'm new to LAVA I'm trying to get LAVA v2 working and installed in order to boot/kernel test a beaglebone black for now. I installed the full LAVA set following the steps from the 2016.6 server documentation. It doesn't seem like I have YAML job support as it's asking for a JSON job definition in the scheduler as well as the lava-tool.
Currently, there is no V2 support for submitting jobs via the Submit Job menu UI. lava-tool or XML-RPC (for automated submissions) only for V2.
How can I confirm that I have LAVA v2 installed and be able to submit jobs in YAML format to the localhost server of LAVA?
The device detail page shows what jobs the device can support.
e.g. https://staging.validation.linaro.org/scheduler/device/staging-black01
Pipeline: staging-black01 accepts both pipeline and JSON jobs.
This is determined from the database and configured through the django administrative interface. For each pipeline device, the Pipeline device? checkbox must be set and a Device Dictionary imported.
The device should also show up on the list of pipeline devices:
e.g. https://staging.validation.linaro.org/scheduler/alldevices/pipeline
We're expanding the documentation in this area. You may find this proposed page useful: https://git.linaro.org/lava/lava-server.git/commitdiff/12f0b078186b319 db9df841088b02b8666dae3b3
--
Neil Williams
On Fri, 1 Jul 2016 19:03:37 +0000 "Albarran, Josue" j-albarran@ti.com wrote:
Alright.
When I try to create a device for the device type "beaglebone-black" through the django administrative interface, I don't get the Pipeline Device? checkbox anywhere.
The Device has the Pipeline option, not the Device Type. It is possible to have a mix of devices under a single device type.
Does this mean I have to re-install to get this feature?
No. Nothing in LAVA requires a re-install to enable. Some features may require that certain daemons are restarted - this is not one of those features either.
Thanks, Josue Albarran
-----Original Message----- From: Neil Williams [mailto:codehelp@debian.org] Sent: Friday, July 01, 2016 11:12 AM To: Albarran, Josue Cc: linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] Lava v2 and YAML job support
On Fri, 1 Jul 2016 15:21:22 +0000 "Albarran, Josue" j-albarran@ti.com wrote:
Please keep the list in CC:
Ok, thanks for the information.
So what is the mayor difference between YAML and JSON job submissions?
Completely new design. JSON submissions are LAVA V1 only. YAML submissions are LAVA V2 only.
See the documentation in your localhost for the differences between LAVA V1 and LAVA V2.
Are JSON jobs being superceded by YAML ones in the future?
Yes - the migration is happening now and JSON submissions will be blocked during 2017.
The objective is to be able to use new LAVA v2 instance to perform daily functional tests (ltp-ddt tests). This has to be using the LAVA UI.
Is it better if I stick to the JSON job submissions for now?
No. Unless your particular devices are not yet supported in V2, you need to be using V2.
Thanks,
Josue Albarran
-----Original Message----- From: linaro-validation [mailto:linaro-validation-bounces@lists.linaro.org] On Behalf Of Neil Williams Sent: Friday, July 01, 2016 3:56 AM To: linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] Lava v2 and YAML job support
On Thu, 30 Jun 2016 21:41:15 +0000 "Albarran, Josue" j-albarran@ti.com wrote:
Hi,
I'm new to LAVA I'm trying to get LAVA v2 working and installed in order to boot/kernel test a beaglebone black for now. I installed the full LAVA set following the steps from the 2016.6 server documentation. It doesn't seem like I have YAML job support as it's asking for a JSON job definition in the scheduler as well as the lava-tool.
Currently, there is no V2 support for submitting jobs via the Submit Job menu UI. lava-tool or XML-RPC (for automated submissions) only for V2.
How can I confirm that I have LAVA v2 installed and be able to submit jobs in YAML format to the localhost server of LAVA?
The device detail page shows what jobs the device can support.
e.g. https://staging.validation.linaro.org/scheduler/device/staging-black01
Pipeline: staging-black01 accepts both pipeline and JSON jobs.
This is determined from the database and configured through the django administrative interface. For each pipeline device, the Pipeline device? checkbox must be set and a Device Dictionary imported.
The device should also show up on the list of pipeline devices:
e.g. https://staging.validation.linaro.org/scheduler/alldevices/pipeline
We're expanding the documentation in this area. You may find this proposed page useful: https://git.linaro.org/lava/lava-server.git/commitdiff/12f0b078186b319 db9df841088b02b8666dae3b3
--
Neil Williams
--
Neil Williams
On Sat, 2 Jul 2016 13:09:30 +0200 Neil Williams codehelp@debian.org wrote:
On Fri, 1 Jul 2016 19:03:37 +0000 "Albarran, Josue" j-albarran@ti.com wrote:
Alright.
When I try to create a device for the device type "beaglebone-black" through the django administrative interface, I don't get the Pipeline Device? checkbox anywhere.
The Device has the Pipeline option, not the Device Type. It is possible to have a mix of devices under a single device type.
Does this mean I have to re-install to get this feature?
No. Nothing in LAVA requires a re-install to enable. Some features may require that certain daemons are restarted - this is not one of those features either.
What version of lava-server are you running? If you are using 2014.9.1-1 in jessie itself, you need to enable jessie-backports and upgrade your instance. https://backports.debian.org/Instructions/
https://staging.validation.linaro.org/static/docs/v2/installing_on_debian.ht...
The django admin interface for a particular device, running on jessie, looks like http://einval.com/~codehelp/device_admin.png
The Pipeline device checkbox appears below the Device owner details.
Hi,
Yes I'm running version 2014.09.1. Thanks for the recommendation on the backports.
Regards, Josue Albarran
-----Original Message----- From: linaro-validation [mailto:linaro-validation-bounces@lists.linaro.org] On Behalf Of Neil Williams Sent: Saturday, July 02, 2016 6:28 AM To: linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] Lava v2 and YAML job support
On Sat, 2 Jul 2016 13:09:30 +0200 Neil Williams codehelp@debian.org wrote:
On Fri, 1 Jul 2016 19:03:37 +0000 "Albarran, Josue" j-albarran@ti.com wrote:
Alright.
When I try to create a device for the device type "beaglebone-black" through the django administrative interface, I don't get the Pipeline Device? checkbox anywhere.
The Device has the Pipeline option, not the Device Type. It is possible to have a mix of devices under a single device type.
Does this mean I have to re-install to get this feature?
No. Nothing in LAVA requires a re-install to enable. Some features may require that certain daemons are restarted - this is not one of those features either.
What version of lava-server are you running? If you are using 2014.9.1-1 in jessie itself, you need to enable jessie-backports and upgrade your instance. https://backports.debian.org/Instructions/
https://staging.validation.linaro.org/static/docs/v2/installing_on_debian.ht...
The django admin interface for a particular device, running on jessie, looks like http://einval.com/~codehelp/device_admin.png
The Pipeline device checkbox appears below the Device owner details.
Hi,
I added the line to the /etc/apt/sources.list.d/sources.list file and apt-get update to get the Jessie backports.
How do I know the packages I need to install from the backports?
Attached is what I see on my Django web interface. I don't see the Pipeline Device? checkbox.
Thanks, Josue Albarran
-----Original Message----- From: linaro-validation [mailto:linaro-validation-bounces@lists.linaro.org] On Behalf Of Neil Williams Sent: Saturday, July 02, 2016 6:28 AM To: linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] Lava v2 and YAML job support
On Sat, 2 Jul 2016 13:09:30 +0200 Neil Williams codehelp@debian.org wrote:
On Fri, 1 Jul 2016 19:03:37 +0000 "Albarran, Josue" j-albarran@ti.com wrote:
Alright.
When I try to create a device for the device type "beaglebone-black" through the django administrative interface, I don't get the Pipeline Device? checkbox anywhere.
The Device has the Pipeline option, not the Device Type. It is possible to have a mix of devices under a single device type.
Does this mean I have to re-install to get this feature?
No. Nothing in LAVA requires a re-install to enable. Some features may require that certain daemons are restarted - this is not one of those features either.
What version of lava-server are you running? If you are using 2014.9.1-1 in jessie itself, you need to enable jessie-backports and upgrade your instance. https://backports.debian.org/Instructions/
https://staging.validation.linaro.org/static/docs/v2/installing_on_debian.ht...
The django admin interface for a particular device, running on jessie, looks like http://einval.com/~codehelp/device_admin.png
The Pipeline device checkbox appears below the Device owner details.
On Tue, 5 Jul 2016 14:47:11 +0000 "Albarran, Josue" j-albarran@ti.com wrote:
Hi,
I added the line to the /etc/apt/sources.list.d/sources.list file and apt-get update to get the Jessie backports.
How do I know the packages I need to install from the backports?
Just as when you first installed, the dependencies will bring in the rest.
$ sudo apt-get -t jessie-backports install lava-server
I'll update the docs to make this clearer.
Attached is what I see on my Django web interface. I don't see the Pipeline Device? checkbox.
It's not available in 2014.9 - you need the upgrade available from jessie-backports.
Thanks, Josue Albarran
-----Original Message----- From: linaro-validation [mailto:linaro-validation-bounces@lists.linaro.org] On Behalf Of Neil Williams Sent: Saturday, July 02, 2016 6:28 AM To: linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] Lava v2 and YAML job support
On Sat, 2 Jul 2016 13:09:30 +0200 Neil Williams codehelp@debian.org wrote:
On Fri, 1 Jul 2016 19:03:37 +0000 "Albarran, Josue" j-albarran@ti.com wrote:
Alright.
When I try to create a device for the device type "beaglebone-black" through the django administrative interface, I don't get the Pipeline Device? checkbox anywhere.
The Device has the Pipeline option, not the Device Type. It is possible to have a mix of devices under a single device type.
Does this mean I have to re-install to get this feature?
No. Nothing in LAVA requires a re-install to enable. Some features may require that certain daemons are restarted - this is not one of those features either.
What version of lava-server are you running? If you are using 2014.9.1-1 in jessie itself, you need to enable jessie-backports and upgrade your instance. https://backports.debian.org/Instructions/
https://staging.validation.linaro.org/static/docs/v2/installing_on_debian.ht...
The django admin interface for a particular device, running on jessie, looks like http://einval.com/~codehelp/device_admin.png
The Pipeline device checkbox appears below the Device owner details.
--
Neil Williams
Alright, thank you very much.
I already got a PDU configured and was trying to get it working with lava.
I keep getting the wrong hostname error message when running ./pduclient. Currently following this documentation https://validation.linaro.org/static/docs/v2/pdudaemon.html.
Any information on how to properly configure a PDU with lava?
Thanks, Josue Albarran
-----Original Message----- From: Neil Williams [mailto:codehelp@debian.org] Sent: Tuesday, July 05, 2016 9:57 AM To: Albarran, Josue Cc: linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] Lava v2 and YAML job support
On Tue, 5 Jul 2016 14:47:11 +0000 "Albarran, Josue" j-albarran@ti.com wrote:
Hi,
I added the line to the /etc/apt/sources.list.d/sources.list file and apt-get update to get the Jessie backports.
How do I know the packages I need to install from the backports?
Just as when you first installed, the dependencies will bring in the rest.
$ sudo apt-get -t jessie-backports install lava-server
I'll update the docs to make this clearer.
Attached is what I see on my Django web interface. I don't see the Pipeline Device? checkbox.
It's not available in 2014.9 - you need the upgrade available from jessie-backports.
Thanks, Josue Albarran
-----Original Message----- From: linaro-validation [mailto:linaro-validation-bounces@lists.linaro.org] On Behalf Of Neil Williams Sent: Saturday, July 02, 2016 6:28 AM To: linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] Lava v2 and YAML job support
On Sat, 2 Jul 2016 13:09:30 +0200 Neil Williams codehelp@debian.org wrote:
On Fri, 1 Jul 2016 19:03:37 +0000 "Albarran, Josue" j-albarran@ti.com wrote:
Alright.
When I try to create a device for the device type "beaglebone-black" through the django administrative interface, I don't get the Pipeline Device? checkbox anywhere.
The Device has the Pipeline option, not the Device Type. It is possible to have a mix of devices under a single device type.
Does this mean I have to re-install to get this feature?
No. Nothing in LAVA requires a re-install to enable. Some features may require that certain daemons are restarted - this is not one of those features either.
What version of lava-server are you running? If you are using 2014.9.1-1 in jessie itself, you need to enable jessie-backports and upgrade your instance. https://backports.debian.org/Instructions/
https://staging.validation.linaro.org/static/docs/v2/installing_on_deb ian.html#installing-on-debian-jessie
The django admin interface for a particular device, running on jessie, looks like http://einval.com/~codehelp/device_admin.png
The Pipeline device checkbox appears below the Device owner details.
--
Neil Williams
linaro-validation@lists.linaro.org