Dear all,
Do you have any example or recommendation on the way to implement the following use case in Lava?
DUT under Linux A PC under Linux to use as a "server" for VLC or iPerf test cases
I guess Multinode can be used to manage these use cases, but I don't know how to deal with the constraints linked to the PC: no reboot, no dedicated test kernel.
Thanks,
Denis
Hi Denis,
On 24/07/2017 09:13, Denis HUMEAU wrote:
Dear all,
Do you have any example or recommendation on the way to implement the following use case in Lava?
DUT under Linux
A PC under Linux to use as a “server” for VLC or iPerf test cases
I guess Multinode can be used to manage these use cases, but I don’t know how to deal with the constraints linked to the PC: no reboot, no dedicated test kernel.
We had the exact same use case in our lab, and we ended up with the following setup: an x86 laptop, acting as our server, always up, with a known stable kernel (actually, it's just Debian), able to perform network tests up to 1Gb/s, and with already iperf installed. We put it in the same network as the devices of our lab, with a static IP address.
When putting it in LAVA, we made a simple device-type [1], used by a simple device configuration [2].
When a multinode test using it is sent, LAVA simply connects through SSH to the laptop, but doesn't have to handle power management nor custom kernel on it. All you need is an SSH key.
The setup is really simple to maintain, and it's running for now a few months without problem.
Hope this will help.
Florent (Skia)
[1] https://github.com/free-electrons/lava-server/blob/master/device-types/dummy... [2] https://github.com/free-electrons/lava-server/blob/master/devices/x86-boardt...
Thanks,
Denis
Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users
On 24 July 2017 at 08:13, Denis HUMEAU denis.humeau@st.com wrote:
Dear all,
Do you have any example or recommendation on the way to implement the following use case in Lava?
DUT under Linux
A PC under Linux to use as a “server” for VLC or iPerf test cases
I guess Multinode can be used to manage these use cases, but I don’t know how to deal with the constraints linked to the PC: no reboot, no dedicated test kernel.
Options include:
Use the x86 device-type to have a PC which is a DUT - this requires automated power control of the x86 machine, configuration of the master and deployment of the x86 machine at the start of each test job. However, this provide full control of the x86 machine, including the running kernel.
Use a primary SSH connection to the x86 machine - this has all the problems of persistence and still requires some configuration of the x86 machine and the master to create the device configuration. No real control of the x86 machine and the test needs to clean up after itself. You get the opportunity to run commands on the x86 machine using the test job.
Use the x86 machine as a silent part of the test, just as a fileserver. This doesn't require MultiNode at all but gives you no control over the x86 machine either.
Each MultiNode option adds a bit of complexity because the two devices must be synchronised during the test job.