Thanks .

Regards,
Koti

On Wed, 25 Mar 2020 at 18:02, Remi Duraffort <remi.duraffort@linaro.org> wrote:
Hello,

the Merge request is already sent. See https://git.lavasoftware.org/lava/lava/-/merge_requests/1067/diffs#05da71b30b41bb2e1c84feb42addf8a93b7f8524_62_61


Thanks for reporting this issue.

Rgds

Le mer. 25 mars 2020 à 08:23, koti koti <kotisoftwaretest@gmail.com> a écrit :
Thanks Remi Duranffort. 

Going forward,  

1. Do I intimate the bug in user list or can I file the same bug some where directly ?


Regards 
Koti

On Wednesday, 25 March 2020, Remi Duraffort <remi.duraffort@linaro.org> wrote:
Hello,

this warning is a small bug in LAVA that I just fixed (MR soon in gitlab). Will be fixed in the next release.


Rgds

Le mar. 24 mars 2020 à 18:01, koti koti <kotisoftwaretest@gmail.com> a écrit :
Hi Remi Duraffort,

Thanks for your reply.

1. It looks it is working now and target helthcheck is PASS. (Attached the yamal file)
2. But, I am seeing below warning  if try to validate same yaml from "Scheduler"-->"submit" . Can some one let me know as how can I remove this warning?

"
     "Valid definition with warnings: expected str @ data['actions[0]']['boot']['minimal']['soft_reboot']"
"

Regards,
Koti

On Tue, 24 Mar 2020 at 18:02, Remi Duraffort <remi.duraffort@linaro.org> wrote:
Hello,

could you try to add "soft_reboot" to the boot action?

This is a work around for a small bug in LAVA. I'm looking for a proper fix.


Thanks

Le mar. 24 mars 2020 à 13:10, koti koti <kotisoftwaretest@gmail.com> a écrit :
Thanks Milosz.

It did not worked even though I have tired below two methods.

1st method:
#########
"
% set soft_reboot_command = 'reboot' %}
"

2nd Method:
##########
"
device_type: beaglebone-black
job_name: begal healthcheck bb
timeouts:
  job:
    minutes: 30
  action:
    minutes: 15
  connection:
    minutes: 5
priority: medium
visibility: public
context:
  test_character_delay: 10
commands:
    soft_reboot: reboot


"
Regards,
Koti
Regards,
Koti

On Tue, 24 Mar 2020 at 14:24, Milosz Wasilewski <milosz.wasilewski@linaro.org> wrote:
On Tue, 24 Mar 2020 at 08:01, koti koti <kotisoftwaretest@gmail.com> wrote:
>
> Hi,
>
> Right now I am trying to run tests on Provisioned(booted) board with out using physical Power switches .
>
> But, I am seeing below soft reboot  lines while using the attached YAML file,
>
> "
> start: 1 minimal-boot (timeout 00:15:00) [common]
> start: 1.1 connect-device (timeout 00:15:00) [common]
> [common] connect-device Connecting to device using 'telnet ser2net 5001'
> end: 1.1 connect-device (duration 00:00:01) [common]
> start: 1.2 reset-device (timeout 00:14:59) [common]
> start: 1.2.1 send-reboot-commands (timeout 00:14:59) [common]
> No soft reboot command defined in the test job. Using defaults.
> reboot
> reboot
> reboot -n
> reboot -n
> reboot -nf
> reboot -nf
> "
>
> I want to change my soft reboot command as "reset" instead of "reboot"/"reboot -n"/"reboot -nf".
>
> Please can some one let me know as how can I change default soft reboot command to "reset" ?

Looking at the templates it seems you need to define
soft_reboot_command in your device dictionary:
https://master.lavasoftware.org/static/docs/v2/dispatcher-format.html?highlight=soft_reboot_command#pipeline-device-configuration

milosz

>
> Regards,
> Koti
> _______________________________________________
> Lava-users mailing list
> Lava-users@lists.lavasoftware.org
> https://lists.lavasoftware.org/mailman/listinfo/lava-users
_______________________________________________
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


--
Rémi Duraffort
LAVA Architect
Linaro