On 26 August 2013 21:32, Antonio Terceiro antonio.terceiro@linaro.org wrote:
On Mon, Aug 26, 2013 at 06:22:22PM +0100, Milosz Wasilewski wrote:
Hi,
Is it possible in LAVA to force reboot between installing test case dependencies and running the test itself? I'm trying to run bootchart test, but the bootchart package is not included in the ubuntu image I'm running.
That's not possible. You can workaround this by having two lava_test_shell actions, one that installs the dependency, and one that actually runs the tests. It sounds horrible (and it probably is), but will do the job because the target is rebooted before each lava_test_shell action.
IMO the right fix for the problem is having bootchart already installed in the image though.
it has been considered but I'm not convinced it's the right fix. It's the right workaround ;)
imo, the real problem: a test is considered finished when we reboot the image. bottom line, multiple phase tests (it could be a reboot or something) isn't supported by LAVA.
bootchart is just a use-case. it needs to set up the OS, reboot to collect data, finally test results are available.