Pavan,
This won't work. LAVA isn't comfortable with users doing reboots (most of the time). IIUC you're trying to do some kind of ostree update and boot to a new commit. I'm doing a very similar thing when testing OTA upgrade. Here is an example job: https://lava.infra.foundries.io/scheduler/job/11757/definition What I suggest you do is: - move the update section to a test script. It doesn't make a big difference but it's easier to manage - once ostree is deployed stop the test script - start interactive test and poweroff (not reboot) - start another deploy/boot/test section where you can verify the board booted to the proper software. Deploy can be to 'downloads' only so it doesn't matter for the board. It will allow you to create a test overlay.
Hope this helps.
Best Regards, Milosz
On Fri, Oct 28, 2022 at 6:12 AM pawanKumar pawan4749@gmail.com wrote:
Hello Team,
Good Day to All!
We are setting up a new device into LAVA Automation with the following requirements.
Flash panel to R4 image Copy delta to R5 Deploy R5 reboot Make sure the panel boots to R5
The Test definition i'm using is as follows: actions:
- deploy: to: flasher images: package: url: https://artifactory.softwaretools.com/artifactory/mfgtools-***-0v3
- boot: timeout: minutes: 15 commands: - boot method: u-boot prompts:
auto_login: login_prompt: 'login: ' username: root password_prompt: 'Password:' password: root login_commands: - coredump --enable - sysinfo - ifconfig - networkctl status - wget http://192.100.**.**/oslat - ostree static-delta apply-offline /home/root/oslat - ostree admin deploy 35b3297cf3e4bc59d2a21e2ae9f7a02ef3f7a940e37389a7e9ae66a610c60b7 - reboot
- 'root@hon-grip'
After reboot command is executed, the panel again prompts for login and password, whereas I cannot declare auto_login for the second time.
Please let me know how to disable auto login after the reboot (for second time login)
Best Regards Pavan Kumar _______________________________________________ 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