Hi Milosz,
As suggested I have gone through the docker process in lava but I am a bit confused here. Our pytest suite required many packages to install and custom steps needed to perform in a linux machine before test runs using pytest.
I am assuming this way please correct me if I am wrong,
1. Install custom docker image in worker and run the custom steps & requirements.txt. Now I am assuming the docker container is ready to perform the pytest suite operations. 2. Once the above setup is ready in the worker, Can i use this docker running in the worker host as DUT (as per your above suggestion) and our real board(which can execute & give response back via uart for pytest suite commands). Is my understanding correct? becz according to this definition: actions: - deploy: role: - host repeat: 3 image: chaseqi/standalone-fuego:1.4.0 os: debian timeout: minutes: 10 to: docker
- boot: role: - host command: bash method: docker prompts: ['root@lava'] timeout: minutes: 2
docker image will clone, install and boot in a lava job for each run which makes confusing for me.
Thank you very much.
Regards, Nagendra S
On Mon, Apr 8, 2024 at 2:34 PM Milosz Wasilewski < milosz.wasilewski@foundries.io> wrote:
On Tue, Apr 2, 2024 at 7:55 AM Singamsetty Nagendra mouli.nagendra@gmail.com wrote:
Hello everyone,
I would like to integrate & run a bare metal custom tests suite(pytest)
on lava. Currently I am executing manually from Host Machine(where pytest is configured and pytest suite will execute) and these commands are sent to DUT and results are collected on Host Machine.
I am familiar with lava-interactive method but it looks like it will not
suit this requirement(Run pytest on Host and collect logs from DUT).
Does lava suits for this requirement? if someone could give me advice on
this that would be great support.
You could try using multinode, where one of the nodes is your DUT and the other is docker running on your worker host. Please check Chase's example here:
https://github.com/Linaro/test-definitions/blob/master/automated/linux/fuego... Not quite what you need, but I think it's pretty close.
Best Regards, Milosz
Regards Nagendra S _______________________________________________ lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s