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.ThanksLe 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,KotiRegards,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 DuraffortLAVA ArchitectLinaro