Hi Ravi Anand,
Can you try using "Method: minimal" ?
Reference: https://docs.lavasoftware.org/lava/actions-boot.html#minimal)
Example: ####### " actions:
- boot: timeout: minutes: 2 method: minimal "
Note: 1. You can mention your custom soft reboot command using the string "soft_reboot" or "{% set soft_reboot_command = 'reset' %}" in corresponding files.
Regards, Koti On Fri, 8 Jan 2021 at 17:30, lava-users-request@lists.lavasoftware.org wrote:
Send Lava-users mailing list submissions to lava-users@lists.lavasoftware.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.lavasoftware.org/mailman/listinfo/lava-users or, via email, send a message with subject or body 'help' to lava-users-request@lists.lavasoftware.org
You can reach the person managing the list at lava-users-owner@lists.lavasoftware.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Lava-users digest..."
Today's Topics:
- Issue with DUT reboot command with uuu boot method (ssh login) (Anand, Ravi)
- Ask android vts test link in docker test shell. (Larry Shen)
Message: 1 Date: Thu, 7 Jan 2021 18:12:55 +0000 From: "Anand, Ravi" Ravi_Anand@mentor.com To: "lava-users@lists.lavasoftware.org" lava-users@lists.lavasoftware.org Subject: [Lava-users] Issue with DUT reboot command with uuu boot method (ssh login) Message-ID: b010fbd1eff04d168a44bc3ecb661a69@svr-orw-mbx-03.mgc.mentorg.com Content-Type: text/plain; charset="us-ascii"
Hello All,
I am currently facing one issue where I have to execute reboot (soft reboot) command in DUT. But after executing reboot command , target is getting rebooted and lava job get stuck at login prompt. To overcome this I have inserted boot section with auto_login (waiting for login prompt to pass username & password). But with this scenario, just after reboot command , target is getting rebooted (Hard reset) by PDU.
Can somebody help me on this. I don't want DUT to get hard reset by PDU. Expectation is like just after reboot command, wait for login prompt and then proceed it with another set of commands.
Attached both scenario sample pipeline definitions for reference.
Regards, Ravi Anand