My bad , I was trying to execute the tests inside U-boot. Now its working fine.
And as you said I'll proceed with remote power control
Thank you Neil.

On Wed, Nov 14, 2018 at 4:00 PM Neil Williams <neil.williams@linaro.org> wrote:
On Wed, 14 Nov 2018 at 10:23, Manoj Tiwary <manojtiwary22@gmail.com> wrote:
>
> For the time being I don't have remote power control setup. I just need to check whether the setup I have done
> is working for execution of tests. So, Is there a way to do that with soft reboot command?

reboot -n ; reboot -nf is designed for booted POSIX systems to do soft
reboot, e.g. after a test shell. There is no support for using the
reset command used by U-Boot.

Are you trying to execute tests in a booted POSIX shell or are you
trying to execute tests inside U-Boot? (Testing inside U-Boot is not
supported, yet - work has started on that but it won't be in the next
release 2018.11)

What command are you trying to execute and exactly what is the state
of the DUT at that point?

You will need to invest in remote power control to proceed with LAVA.
A variety of solutions are available, depending on your DUT but it is
essential to getting useful data out of LAVA.

>
> On Wed, Nov 14, 2018 at 3:34 PM Neil Williams <neil.williams@linaro.org> wrote:
>>
>> On Wed, 14 Nov 2018 at 09:58, Manoj Tiwary <manojtiwary22@gmail.com> wrote:
>> >
>> > Hi all,
>> >
>> > When health check is running on my raspberry pi 3 board , in boot phase it is
>> > taking default soft reboot commands like reboot , reboot -n , reboot -nf. which is not working with
>>
>> Soft reboot support is prone to intermittent test job failures. You
>> need to be using remote power control and hard_reset_command. Test
>> jobs can easily cause a kernel panic and soft reboot is then
>> completely useless.
>>
>> > U-boot boot type. It is showing unknown command ' reboot' .
>> > How to set soft reboot command manually in test job definition?
>>
>> Avoid use of soft reboot - particularly for a health check. The one
>> thing you cannot afford in a health check is intermittent failures.
>>
>> >
>> > Thanks & regards,
>> > Manoj
>> >
>> > _______________________________________________
>> > Lava-users mailing list
>> > Lava-users@lists.lavasoftware.org
>> > https://lists.lavasoftware.org/mailman/listinfo/lava-users
>>
>>
>>
>> --
>>
>> Neil Williams
>> =============
>> neil.williams@linaro.org
>> http://www.linux.codehelp.co.uk/



--

Neil Williams
=============
neil.williams@linaro.org
http://www.linux.codehelp.co.uk/