Hi Lava users,

 

Is it possible to run commands inside a lava job test-section, locally,  from a Lava Job?

Ex:

cd /media/sh_shared_folders

docker build -t tradefed .

 

We have the following setup:

            

(The AOSP source tree is available to the VM via shared_folders and the docker container has also access to it. (via docker run -v dir_host:dir_container) )

 

What we what to achieve is to have 2 jobs in Lava :

                                                                                                                                Ex. Running these commande locally:

                                                     source ./build/make/envsetup.sh

                                                     lunch <device-target>

                                                      make tradefed-all -j8

                                                               

 

What I need is to be able to run commands locally inside the VM (on Xubuntu distro) from a Lava job.  For these we have to somehow not send the command to qemu but run them locally.

Is this possible? If yes, how can we achieve this?  

 

George Nistor