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:

   1. Issue with DUT reboot command with uuu boot method (ssh
      login) (Anand, Ravi)
   2. 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lavasoftware.org/pipermail/lava-users/attachments/20210107/dd4913eb/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: stuck_at_login_prompt.txt
URL: <http://lists.lavasoftware.org/pipermail/lava-users/attachments/20210107/dd4913eb/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: getting_hard_reset_by_pdu.txt
URL: <http://lists.lavasoftware.org/pipermail/lava-users/attachments/20210107/dd4913eb/attachment-0003.txt>

------------------------------

Message: 2
Date: Fri, 8 Jan 2021 09:40:17 +0000
From: Larry Shen <larry.shen@nxp.com>
To: "lava-users@lists.lavasoftware.org"
        <lava-users@lists.lavasoftware.org>
Subject: [Lava-users] Ask android vts test link in docker test shell.
Message-ID:
        <AM7PR04MB71100A7C133E15CC41FECCCA99AE0@AM7PR04MB7110.eurprd04.prod.outlook.com>

Content-Type: text/plain; charset="us-ascii"

Hi, guys,

Recently we are running android VTS test in lava docker test shell, but find all MTP cases fail.

It reports:

01-08 07:42:38 D/ModuleDefinition: Running module armeabi-v7a HalUsbGadgetV1_0HostTest
01-08 07:42:43 I/ModuleListener: [1/5] com.android.tests.usbgadget.HalUsbGadgetV1_0HostTest#testMtp FAILURE: java.lang.AssertionError: MTP not present
    at org.junit.Assert.fail(Assert.java:88)
    at org.junit.Assert.assertTrue(Assert.java:41)
    at com.android.tests.usbgadget.HalUsbGadgetV1_0HostTest.testMtp(HalUsbGadgetV1_0HostTest.java:113)

I'm a little lost currently, so before I have a deep investigation, I want to know if you can share a link about this case:
com.android.tests.usbgadget.HalUsbGadgetV1_0HostTest#testMtp

I know you guys run android tests on other product always, could share a link for us to reference? Or with good luck you know what's the potential root cause for my failure?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lavasoftware.org/pipermail/lava-users/attachments/20210108/8246a6cf/attachment-0001.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
Lava-users mailing list
Lava-users@lists.lavasoftware.org
https://lists.lavasoftware.org/mailman/listinfo/lava-users


------------------------------

End of Lava-users Digest, Vol 29, Issue 1
*****************************************