Hi,

 

I saw something like “LAVA_HARD_RESET_COMMAND” was added to environment.

 

Yes, the test action could use this command to reboot the device now, it’s useful.

 

But, after the command sent, the code in container still need to handle something like next:

“Expect press any key to continue”

“Press any key”

“Expect login prompt”

“Login”

Etc……

 

But, this exactly the same code what lava have do in a lots of python files located in “lava_dispatcher/actions/boot”.

 

My question is: do you think it’s possible for user code in “docker-test-shell” action directly send any command or use any protocol to tell lava code(maybe a listener or something else) to help to do these things, then after done, the user code in docker test shell continue to execute its own stuff?

 

You know, this could reuse existed lava code as much as possible. I just want to know if you have plan for this? Thanks.