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