Hello,Neil:
1.Can you give me a deploy flow for a x86 device .
2.I want to use web UI submit job for one time N jobs. (N>10) How can I do it?
Thanks. Amanda
This email is intended only for the named addressee. It may contain information that is confidential/private, legally privileged, or copyright-protected, and you should handle it accordingly. If you are not the intended recipient, you do not have legal rights to retain, copy, or distribute this email or its contents, and should promptly delete the email and all electronic copies in your system; do not retain copies in any media. If you have received this email in error, please notify the sender promptly. Thank you.
On 22 May 2017 at 10:55, Li, Xuelian xuelian.li@hxt-semitech.com wrote:
1.Can you give me a deploy flow for a x86 device .
There is an x86 device-type supported in V2, it requires that the machine uses iPXE.
https://staging.validation.linaro.org/scheduler/device_type/x86
If that's not how your x86 machine boots, you will need to work out how to add a new device type.
https://staging.validation.linaro.org/static/docs/v2/first-devices.html#inde...
2.I want to use web UI submit job for one time N jobs. (N>10)
Only one test job can be submitted at a time.
To submit more than one test job, you should use the XML-RPC and loop over each test job definition.
https://staging.validation.linaro.org/api/help/ https://staging.validation.linaro.org/api/help/#scheduler.submit_job
If you are thinking of running a group of test jobs which need to synchronise with each other, you need to read up on MultiNode.
https://staging.validation.linaro.org/static/docs/v2/multinode.html#index-0
Thanks for your answers. There is too little information about XML-RPC. Can you provide a more detailed configuration process?
-----Original Message----- From: Neil Williams [mailto:neil.williams@linaro.org] Sent: 2017年5月22日 20:44 To: Li, Xuelian xuelian.li@hxt-semitech.com Cc: lava-users@lists.linaro.org Subject: Re: [Lava-users] deploy a x86 device
On 22 May 2017 at 10:55, Li, Xuelian xuelian.li@hxt-semitech.com wrote:
1.Can you give me a deploy flow for a x86 device .
There is an x86 device-type supported in V2, it requires that the machine uses iPXE.
https://staging.validation.linaro.org/scheduler/device_type/x86
If that's not how your x86 machine boots, you will need to work out how to add a new device type.
https://staging.validation.linaro.org/static/docs/v2/first-devices.html#inde...
2.I want to use web UI submit job for one time N jobs. (N>10)
Only one test job can be submitted at a time.
To submit more than one test job, you should use the XML-RPC and loop over each test job definition.
https://staging.validation.linaro.org/api/help/ https://staging.validation.linaro.org/api/help/#scheduler.submit_job
If you are thinking of running a group of test jobs which need to synchronise with each other, you need to read up on MultiNode.
https://staging.validation.linaro.org/static/docs/v2/multinode.html#index-0
--
Neil Williams ============= neil.williams@linaro.org http://www.linux.codehelp.co.uk/
This email is intended only for the named addressee. It may contain information that is confidential/private, legally privileged, or copyright-protected, and you should handle it accordingly. If you are not the intended recipient, you do not have legal rights to retain, copy, or distribute this email or its contents, and should promptly delete the email and all electronic copies in your system; do not retain copies in any media. If you have received this email in error, please notify the sender promptly. Thank you.
On 23 May 2017 at 10:59, Li, Xuelian xuelian.li@hxt-semitech.com wrote:
Thanks for your answers. There is too little information about XML-RPC. Can you provide a more detailed configuration process?
https://staging.validation.linaro.org/api/help/ contains a simple python script. No configuration is required on the client. You simply add the username and the token string which is exactly the same as would be added to lava-tool.
https://staging.validation.linaro.org/static/docs/v2/first_steps.html#authen...
-----Original Message----- From: Neil Williams [mailto:neil.williams@linaro.org] Sent: 2017年5月22日 20:44 To: Li, Xuelian xuelian.li@hxt-semitech.com Cc: lava-users@lists.linaro.org Subject: Re: [Lava-users] deploy a x86 device
On 22 May 2017 at 10:55, Li, Xuelian xuelian.li@hxt-semitech.com wrote:
1.Can you give me a deploy flow for a x86 device .
There is an x86 device-type supported in V2, it requires that the machine uses iPXE.
https://staging.validation.linaro.org/scheduler/device_type/x86
If that's not how your x86 machine boots, you will need to work out how to add a new device type.
https://staging.validation.linaro.org/static/docs/v2/first-devices.html#inde...
2.I want to use web UI submit job for one time N jobs. (N>10)
Only one test job can be submitted at a time.
To submit more than one test job, you should use the XML-RPC and loop over each test job definition.
https://staging.validation.linaro.org/api/help/ https://staging.validation.linaro.org/api/help/#scheduler.submit_job
If you are thinking of running a group of test jobs which need to synchronise with each other, you need to read up on MultiNode.
https://staging.validation.linaro.org/static/docs/v2/multinode.html#index-0
--
Neil Williams
neil.williams@linaro.org http://www.linux.codehelp.co.uk/
This email is intended only for the named addressee. It may contain information that is confidential/private, legally privileged, or copyright-protected, and you should handle it accordingly. If you are not the intended recipient, you do not have legal rights to retain, copy, or distribute this email or its contents, and should promptly delete the email and all electronic copies in your system; do not retain copies in any media. If you have received this email in error, please notify the sender promptly. Thank you.
Hello,Neil:
Can you tell me Where is the definition of the roles in the following section?
protocols: lava-multinode: roles: client: device_type: qemu context: arch: amd64 count: 1 # In this example, only one role in the group uses tags tags: - tap_device - virtual_io server: device_type: qemu context: arch: amd64 count: 1 timeout: seconds: 60
-----Original Message----- From: Neil Williams [mailto:neil.williams@linaro.org] Sent: 2017年5月23日 19:49 To: Li, Xuelian xuelian.li@hxt-semitech.com Cc: lava-users@lists.linaro.org Subject: Re: [Lava-users] deploy a x86 device
On 23 May 2017 at 10:59, Li, Xuelian xuelian.li@hxt-semitech.com wrote:
Thanks for your answers. There is too little information about XML-RPC. Can you provide a more detailed configuration process?
https://staging.validation.linaro.org/api/help/ contains a simple python script. No configuration is required on the client. You simply add the username and the token string which is exactly the same as would be added to lava-tool.
https://staging.validation.linaro.org/static/docs/v2/first_steps.html#authen...
-----Original Message----- From: Neil Williams [mailto:neil.williams@linaro.org] Sent: 2017年5月22日 20:44 To: Li, Xuelian xuelian.li@hxt-semitech.com Cc: lava-users@lists.linaro.org Subject: Re: [Lava-users] deploy a x86 device
On 22 May 2017 at 10:55, Li, Xuelian xuelian.li@hxt-semitech.com wrote:
1.Can you give me a deploy flow for a x86 device .
There is an x86 device-type supported in V2, it requires that the machine uses iPXE.
https://staging.validation.linaro.org/scheduler/device_type/x86
If that's not how your x86 machine boots, you will need to work out how to add a new device type.
https://staging.validation.linaro.org/static/docs/v2/first-devices.htm l#index-4
2.I want to use web UI submit job for one time N jobs. (N>10)
Only one test job can be submitted at a time.
To submit more than one test job, you should use the XML-RPC and loop over each test job definition.
https://staging.validation.linaro.org/api/help/ https://staging.validation.linaro.org/api/help/#scheduler.submit_job
If you are thinking of running a group of test jobs which need to synchronise with each other, you need to read up on MultiNode.
https://staging.validation.linaro.org/static/docs/v2/multinode.html#in dex-0
--
Neil Williams
neil.williams@linaro.org http://www.linux.codehelp.co.uk/
This email is intended only for the named addressee. It may contain information that is confidential/private, legally privileged, or copyright-protected, and you should handle it accordingly. If you are not the intended recipient, you do not have legal rights to retain, copy, or distribute this email or its contents, and should promptly delete the email and all electronic copies in your system; do not retain copies in any media. If you have received this email in error, please notify the sender promptly. Thank you.
--
Neil Williams ============= neil.williams@linaro.org http://www.linux.codehelp.co.uk/
This email is intended only for the named addressee. It may contain information that is confidential/private, legally privileged, or copyright-protected, and you should handle it accordingly. If you are not the intended recipient, you do not have legal rights to retain, copy, or distribute this email or its contents, and should promptly delete the email and all electronic copies in your system; do not retain copies in any media. If you have received this email in error, please notify the sender promptly. Thank you.
On 12 June 2017 at 09:32, Li, Xuelian xuelian.li@hxt-semitech.com wrote:
Hello,Neil:
Can you tell me Where is the definition of the roles in the following section?
protocols: lava-multinode: roles: client:
server:
So in this test job submission, you have defined two roles. client and server.
You need to then use those roles later to specify which actions refer to which roles.
https://validation.linaro.org/static/docs/v2/writing-multinode.html#index-1
-----Original Message----- From: Neil Williams [mailto:neil.williams@linaro.org] Sent: 2017年5月23日 19:49 To: Li, Xuelian xuelian.li@hxt-semitech.com Cc: lava-users@lists.linaro.org Subject: Re: [Lava-users] deploy a x86 device
On 23 May 2017 at 10:59, Li, Xuelian xuelian.li@hxt-semitech.com wrote:
Thanks for your answers. There is too little information about XML-RPC. Can you provide a more detailed configuration process?
https://staging.validation.linaro.org/api/help/ contains a simple python script. No configuration is required on the client. You simply add the username and the token string which is exactly the same as would be added to lava-tool.
https://staging.validation.linaro.org/static/docs/v2/first_steps.html#authen...
-----Original Message----- From: Neil Williams [mailto:neil.williams@linaro.org] Sent: 2017年5月22日 20:44 To: Li, Xuelian xuelian.li@hxt-semitech.com Cc: lava-users@lists.linaro.org Subject: Re: [Lava-users] deploy a x86 device
On 22 May 2017 at 10:55, Li, Xuelian xuelian.li@hxt-semitech.com wrote:
1.Can you give me a deploy flow for a x86 device .
There is an x86 device-type supported in V2, it requires that the machine uses iPXE.
https://staging.validation.linaro.org/scheduler/device_type/x86
If that's not how your x86 machine boots, you will need to work out how to add a new device type.
https://staging.validation.linaro.org/static/docs/v2/first-devices.htm l#index-4
2.I want to use web UI submit job for one time N jobs. (N>10)
Only one test job can be submitted at a time.
To submit more than one test job, you should use the XML-RPC and loop over each test job definition.
https://staging.validation.linaro.org/api/help/ https://staging.validation.linaro.org/api/help/#scheduler.submit_job
If you are thinking of running a group of test jobs which need to synchronise with each other, you need to read up on MultiNode.
https://staging.validation.linaro.org/static/docs/v2/multinode.html#in dex-0
--
Neil Williams
neil.williams@linaro.org http://www.linux.codehelp.co.uk/
This email is intended only for the named addressee. It may contain information that is confidential/private, legally privileged, or copyright-protected, and you should handle it accordingly. If you are not the intended recipient, you do not have legal rights to retain, copy, or distribute this email or its contents, and should promptly delete the email and all electronic copies in your system; do not retain copies in any media. If you have received this email in error, please notify the sender promptly. Thank you.
--
Neil Williams
neil.williams@linaro.org http://www.linux.codehelp.co.uk/
This email is intended only for the named addressee. It may contain information that is confidential/private, legally privileged, or copyright-protected, and you should handle it accordingly. If you are not the intended recipient, you do not have legal rights to retain, copy, or distribute this email or its contents, and should promptly delete the email and all electronic copies in your system; do not retain copies in any media. If you have received this email in error, please notify the sender promptly. Thank you.
Hi!
On Mon, Jun 12, 2017 at 08:32:02AM +0000, Li, Xuelian wrote:
Hello,Neil:
Can you tell me Where is the definition of the roles in the following section?
protocols: lava-multinode: roles: ****** client: device_type: qemu context: arch: amd64 count: 1 # In this example, only one role in the group uses tags tags: - tap_device - virtual_io server: device_type: qemu context: arch: amd64 count: 1 timeout: seconds: 60
Assuming I understand your question correctly, this section specifically defines two roles:
* "client", a single qemu device (count:1) running amd64. There are two device tags listed which will need to match available devices ("tap_device" and "virtual_io")
* "server", another single qemu device (count:1) running amd64. There are no tags set for device selection here.
See https://validation.linaro.org/static/docs/v2/writing-multinode.html for more documentation about this area.
Thanks for your answer. Where is the definition of the device tags in the following section?
-----Original Message----- From: Steve McIntyre [mailto:steve.mcintyre@linaro.org] Sent: 2017年6月12日 16:59 To: Li, Xuelian xuelian.li@hxt-semitech.com Cc: lava-users@lists.linaro.org Subject: Re: [Lava-users] deploy a x86 device
Hi!
On Mon, Jun 12, 2017 at 08:32:02AM +0000, Li, Xuelian wrote:
Hello,Neil:
Can you tell me Where is the definition of the roles in the following section?
protocols: lava-multinode: roles: ****** client: device_type: qemu context: arch: amd64 count: 1 # In this example, only one role in the group uses tags tags: - tap_device - virtual_io server: device_type: qemu context: arch: amd64 count: 1 timeout: seconds: 60
Assuming I understand your question correctly, this section specifically defines two roles:
* "client", a single qemu device (count:1) running amd64. There are two device tags listed which will need to match available devices ("tap_device" and "virtual_io")
* "server", another single qemu device (count:1) running amd64. There are no tags set for device selection here.
See https://validation.linaro.org/static/docs/v2/writing-multinode.html for more documentation about this area.
-- Steve McIntyre steve.mcintyre@linaro.org http://www.linaro.org/ Linaro.org | Open source software for ARM SoCs
This email is intended only for the named addressee. It may contain information that is confidential/private, legally privileged, or copyright-protected, and you should handle it accordingly. If you are not the intended recipient, you do not have legal rights to retain, copy, or distribute this email or its contents, and should promptly delete the email and all electronic copies in your system; do not retain copies in any media. If you have received this email in error, please notify the sender promptly. Thank you.