On Tue, 19 Jun 2018 at 14:04, Tim Jaacks tim.jaacks@garz-fricke.com wrote:
Hi Neil,
thanks for your reply.
On Tue, 19 Jun 2018 at 13:27, Tim Jaacks <tim.jaacks at garz-fricke.com>
wrote:
Hello everyone,
I have two cases in which I need to reboot my device during tests:
?Depends entirely on the deployment/boot method used by the device.
Does the device-type support BMC?
What is BMC?
Baseboard Management Controller
https://en.wikipedia.org/wiki/Intelligent_Platform_Management_Interface#Base...
(I'll reply to the rest of the email later once I've had a look at the template.)
Exactly which device-types are you wanting to use for this? If any of
these
are not merged upstream, please attach the full device-type Jinja2
template
in the reply.
We have implemented our own (still hacky) device type using our own bootloader. See the attached Jinja2 template.
Reboot is active part of the test (e.g. store some persistent
settings, reboot, check if persistent settings are correctly loaded
after
reboot)
?Lava Test Shell is not re-entrant. A separate test shell action will be required - *unless* this is an LXC test job where the test shell occurs in the LXC and the LXC has a way to do the reboot, e.g. a fastboot device.
Okay, we do not use fastboot. So I assume I have to add a test action for the first part, then a boot action to handle the reboot, and then add another test action for the latter part. Would that work?
Reboot is triggered and has to be evaluated (e.g. activate
watchdog, stop resetting it, wait, check if system reboots
automatically)
?Triggered - how??
As I described it above: using a watchdog. This is actually a test whether the watchdog service works correctly. I activate the watchdog, make it trigger a reboot and need to check whether this reboot actually happens. Is there a way to achieve this?
How can I hadle these two cases in LAVA?
?At the moment, all boot actions need to be defined in the test job in advance and then managed by LAVA. Even with that, some device-types do not successfully get back to a usable point.?
Mit freundlichen Grüßen / Best regards
*Tim Jaacks *DEVELOPMENT ENGINEER Garz & Fricke GmbH
Tempowerkring 2 21079 Hamburg
Direct: +49 40 791 899 - 55 Fax: +49 40 791899 - 39 tim.jaacks at garz-fricke.com www.garz-fricke.com
SOLUTIONS THAT COMPLETE!
Sitz der Gesellschaft: D-21079 Hamburg Registergericht: Amtsgericht Hamburg, HRB 60514 Geschäftsführer: Matthias Fricke, Manfred Garz
Lava-users mailing list Lava-users at lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users
--
Neil Williams
neil.williams at linaro.org http://www.linux.codehelp.co.uk/
Mit freundlichen Grüßen / Best regards Tim Jaacks DEVELOPMENT ENGINEER Garz & Fricke GmbH Tempowerkring 2 21079 Hamburg Direct: +49 40 791 899 - 55 Fax: +49 40 791899 - 39 tim.jaacks@garz-fricke.com www.garz-fricke.com SOLUTIONS THAT COMPLETE!
Sitz der Gesellschaft: D-21079 Hamburg Registergericht: Amtsgericht Hamburg, HRB 60514 Geschäftsführer: Matthias Fricke, Manfred Garz