On 22 Jan 2019, at 14:32, Neil Williams <neil.williams@linaro.org> wrote:

On Tue, 22 Jan 2019 at 14:28, Diego Russo <Diego.Russo@arm.com> wrote:

Hello,

we have the need to perform tests that require reboots of the DUT between their executions. Few examples are to check rootfs upgrades or to check configurations changes to persist .

I have few questions:
* Does LAVA support those cases?

This is board dependent and, in some cases, deployment method
dependent as well. TFTP deployments, for example, will need a
redeployment.

For the deploy action I have uboot-ums and a tftp.


* If yes, does LAVA support multiple reboots?

Specify the actions in the test job actions list:

deploy, boot, test, boot, test

I’ve just tried but after the execution of the test, when it goes in to boot again, it redeploys the board again.
I just want a simple reboot of the board.


* If yes, how can I write tests in order to run different sets of tests at any boot.
* Example: 1) do an upgrade 2) reboot the device 3) Check if the upgrade was successful

Specify a boot action to control how the device gets rebooted.

That’s a good point. I need to reboot WaRP7 and a RPi3 boards. And if I replicate the boot section it will deploy again the boardd.
How can I skip the redeployment


* How can I structure my pipeline?

The hikey 6220 health check deploys two different systems, rebooting
appropriately: https://staging.validation.linaro.org/scheduler/job/247930/definition

Also https://staging.validation.linaro.org/scheduler/job/246536/definition


Thanks


--
Diego Russo | Staff Software Engineer | Mbed Linux OS
ARM Ltd. CPC1, Capital Park, Cambridge Road, Fulbourn, CB21 5XE, United Kingdom
http://www.diegor.co.uk - https://os.mbed.com/linux-os/

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

_______________________________________________
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/

--
Diego Russo | Staff Software Engineer | Mbed Linux OS
ARM Ltd. CPC1, Capital Park, Cambridge Road, Fulbourn, CB21 5XE, United Kingdom
http://www.diegor.co.uk - https://os.mbed.com/linux-os/

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.