On 6 September 2017 at 14:20, Robert Marshall robert.marshall@codethink.co.uk wrote:
Hi
I have a locally built initramfs which worked with a beaglebone black health check in LAVA 2016-12 but with version 2017-7 the health check is failing. I've tried using an initramfs from http://images.validation.linaro.org/snapshots.linaro.org/components/lava/sta... with 2017-7 and that works ok.
reboot comes from the soft-reboot support which is only active if you have no remote power control for the device. This support is only really useful for developers with devices on the desk, not for a CI instance of LAVA. It should certainly never be used for a health check. You need commands like https://staging.validation.linaro.org/scheduler/device/staging-black04/devic...
If you are going to use a device which is already running at the start of the job, you need to already login on the console which will be used by the test job itself. In your working version, you should never have seen beaglebone login: or "The programs included with the Debian GNU/Linux system are free software" within the test job.
Best solution here is to implement remote power control and then you'll get the behaviour on staging:
https://staging.validation.linaro.org/scheduler/job/187593
https://staging.validation.linaro.org/scheduler/job/187593#action_2-4
Also, it is generally much more useful to attach the complete logs with the device configuration instead of doing the comparison offline as that loses a lot of context.