De : Milosz Wasilewski <milosz.wasilewski@linaro.org>
Envoyé : mercredi 29 juillet 2020 10:43
À : Philippe BEGNIC <philippe.begnic@st.com>
Cc : Lava-users@lists.lavasoftware.org <Lava-users@lists.lavasoftware.org>; Sebastien PASDELOUP <sebastien.pasdeloup-ext@st.com>
Objet : Re: [Lava-users] Execute u-boot pytest with LAVA
 
On Fri, 24 Jul 2020 at 12:50, Philippe BEGNIC <philippe.begnic@st.com> wrote:
>
> Hello everyone,
>
>
> I would like to integrate the u-boot tests suite (pytest) in lava. ( https://github.com/u-boot/u-boot/tree/master/test/py)
>
> We are now executing  the test suite manually, using a host machine and the DUT.
>
> The u-boot tests suite is installed on a host computer and the DUT is  "stopped" in uboot environment.
> The host computer execute the "u-boot pytest" framework,  commands are sent to the DUT and tests results are collected to the host computer.

how does u-boot pytest send the commands to DUT?
pytests send commande the using using the console link.

OK, I have never used LXC, but I will read documentation related to LXC. Thanks for the advice
>
> It is a "semi automatic" tests and I would like to do a full automation using LAVA.
> I plan to use multinode jobs, one job instances for the DUT and another one for the remote host computer.

I don't think you need to make things as complicated as multinode. It
should be enough to use LXC/docker in LAVA.

>
> So, I would like to know if such tests have already been craeted in LAVA, and if someone could give me advice on this tests implementation.

I'm interested in this work. Let's try to make this happen. I'll try
to find some time to check the u-boot pytest next week.

No problem to share the work on u-boot pytest.

Philippe

milosz

>
> My Lava version is: 2020.06
>
> Best regards
>
> Philippe Begnic
> STMicroelectronics
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Lava-users mailing list
> Lava-users@lists.lavasoftware.org
> https://lists.lavasoftware.org/mailman/listinfo/lava-users