Hi Axel,

 

thanks for your reply. I don’t want to force job submission to a SPECIFIC worker, I just want to make sure that all of the devices are on the SAME worker.

 

When I submit a job, I don’t care on which specific worker it is scheduled, as long as all of the nodes are on the same worker.

 

Or differently spoken: as soon as one node is scheduled, can we define scheduling rules for all the remaining nodes?

 

Regards,

Tim

 

Von: Axel Lebourhis <axel.lebourhis@linaro.org>
Gesendet: Dienstag, 27. August 2019 15:34
An: Tim Jaacks <tim.jaacks@garz-fricke.com>
Cc: lava-users@lists.lavasoftware.org
Betreff: Re: [Lava-users] Multinode job: how can I assure that all devices are on the same worker?

 

Hi Tim,

 

I think the best solution is to use tags. I do it to force job submissions to a specific worker.

 

Regards,

Axel

 

On Tue, 27 Aug 2019 at 15:28, Tim Jaacks <tim.jaacks@garz-fricke.com> wrote:

Hello again,

I have several test cases where we use LAVA multinode to test hardware and software interfaces externally. E.g. we have an SFTP server running on our DUT. In order to test that, we submit a test using two nodes:

1. The DUT
2. An LXC container

The LXC device connects to the DUT via SFTP and uploads a file. Both sides determine the MD5 sum and the DUT compares them.

This works as long as both the DUT and the LXC device are in the same network (or at least can reach each other via the network).

Now there are more test cases which require additional hardware connections between the worker and the DUT, e.g. a serial interface test. The serial interface on the DUT is connected via an RS232-USB converter to the worker. The LXC can access this converter and send or receive data from the serial interface.

This works as long as the LXC is running on the expected worker the serial interface of the DUT is connected to.

As we are growing our lab, we will add more workers to our setup. There will be LXC devices on all of the workers.

When submitting such a multinode job, which relies on hardware connections between the DUT and the worker, how can I make sure that the LXC part of the job is scheduled on an LXC device on the correct worker?


Mit freundlichen Grüßen / Best regards
Tim Jaacks
DEVELOPMENT ENGINEER
Garz & Fricke GmbH
Tempowerkring 2
21079 Hamburg
Direct: +49 40 791 899 - 55
Fax: +49 40 791899 - 39
tim.jaacks@garz-fricke.com
www.garz-fricke.com
WE MAKE IT YOURS!

Sitz der Gesellschaft: D-21079 Hamburg
Registergericht: Amtsgericht Hamburg, HRB 60514
Geschäftsführer: Matthias Fricke, Manfred Garz, Marc-Michael Braun



_______________________________________________
Lava-users mailing list
Lava-users@lists.lavasoftware.org
https://lists.lavasoftware.org/mailman/listinfo/lava-users