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
Hello,
you can try to set "reset: False" to the boot action. Like in https://git.lavasoftware.org/lava/lava/-/blob/master/tests/lava_dispatcher/s...
Rgds
Le jeu. 7 janv. 2021 à 19:13, Anand, Ravi Ravi_Anand@mentor.com a écrit :
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 _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Thanks Remi, with “reset: False” option in boot section, I am able to achieve DUT soft reboot.
Regards, Ravi
From: Remi Duraffort [mailto:remi.duraffort@linaro.org] Sent: 26 January 2021 14:37 To: Anand, Ravi Ravi_Anand@mentor.com Cc: lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] Issue with DUT reboot command with uuu boot method (ssh login)
Hello,
you can try to set "reset: False" to the boot action. Like in https://git.lavasoftware.org/lava/lava/-/blob/master/tests/lava_dispatcher/s...
Rgds
Le jeu. 7 janv. 2021 à 19:13, Anand, Ravi <Ravi_Anand@mentor.commailto:Ravi_Anand@mentor.com> a écrit : 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 _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.orgmailto:Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
-- Rémi Duraffort LAVA Architect Linaro
lava-users@lists.lavasoftware.org