Hi ,

 

Yes adding “wait_for_prompt: False” solves the issue.

 

Regards,

Bhargav

 

From: Remi Duraffort [mailto:remi.duraffort@linaro.org]
Sent: 17 September 2020 01:12 PM
To: DAS, BHARGAV <BHARGAV_DAS@mentor.com>
Cc: lava-users@lists.lavasoftware.org
Subject: Re: [Lava-users] U-boot reset Interactive test nethod

 

Have you tried adding "wait_for_prompt: False" to the last command?

 

See https://git.lavasoftware.org/lava/lava/-/wikis/releases/2020.04#interactive-non-exiting-commands

 

Some changes were done in the interactive test action.

 

 

Rgds

 

Le jeu. 17 sept. 2020 à 09:38, Remi Duraffort <remi.duraffort@linaro.org> a écrit :

Hello,

 

could you send the full job definition and the job logs as text (raw logs) instead of images?

 

 

Rgds

 

Le mer. 16 sept. 2020 à 09:43, DAS, BHARGAV <BHARGAV_DAS@mentor.com> a écrit :

Hi Lava users,

 

I am facing some issues while using the interactive test method, for testing u-boot reset function. In v2019.11 this worked perfectly but currently while using v2020.07 and this features seems to be broken. Or am I missing something here.

 

Here detailed description of the issue:

We are testing the u-boot reset command below is the snippet of the job definition

 

 

      - name: mmcinfo

        command: mmcinfo

        successes:

        - message: "Erase Group Size:"

        failures:

        - message: "Unknown command "

          error: "Unknown command "

      - name: reset

        command: reset

        successes:

        - message: "Hit any key to stop autoboot"

        failures:

        - message: "Unknown command "

          error: "Unknown command "

 

 

So in v2019.11 once the “Hit any key to stop autoboot” string was matched the target switched off (check screenshot “reset-snippet-v2019-11.PNG”).

 

But this is not working in v2020.07, after the success message is matched the target is not switched off  (check screenshot “reset-snippet-v2020-07.PNG”).

 

 

Regards,

Bhargav

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


 

--

Rémi Duraffort

LAVA Architect

Linaro


 

--

Rémi Duraffort

LAVA Architect

Linaro