Hi all
I have already read the document about create a job: https://lava-dispatcher.readthedocs.org/en/latest/jobfile.html
I do not know whether my concept correct ... ... The work flow of a job as I know :
1. Deploy master image 2. Boot image 3. Run test definition
So I try to copy the job example from document : http://lava.readthedocs.org/en/latest/qemu-deploy.html#configure-the-dispatc...
It work fine !
But the example just implement deploy and boot image, I want to run my test definition on it, and modify the job content as: http://codepad.org/toYtiaMm
and contents of file "file:///tmp/pass_fail_def.json" are reference: http://lava-dispatcher.readthedocs.org/en/latest/lava_test_shell.html
And excute with dispatcher : $ sudo ./lava-dispatch /tmp/my_custom_job.json
Output (fail): http://codepad.org/S1CkdfLb
I want to know :
1. Do I correct understanding of the job define ? 2. If yes, what's problem about my output ?
On 02/04/2013 01:32 PM, 黃俊毓 wrote:
Hi all
I have already read the document about create a job: https://lava-dispatcher.readthedocs.org/en/latest/jobfile.html
I do not know whether my concept correct ... ... The work flow of a job as I know :
- Deploy master image
- Boot image
- Run test definition
For the job you are showing, you don't have to do the boot_image step. The lava-test-shell action will boot the device.
<snip>
I want to run my test definition on it, and modify the job content as: http://codepad.org/toYtiaMm
and contents of file "file:///tmp/pass_fail_def.json" are reference: http://lava-dispatcher.readthedocs.org/en/latest/lava_test_shell.html
Output (fail): http://codepad.org/S1CkdfLb
I want to know :
- Do I correct understanding of the job define ?
roughly
- If yes, what's problem about my output ?
it looks like qemu timed out while booting the image. It looks like the image crashed while booting. I'd try it again, but remote the "boot" action you have in your job. Here's an example that I use for regression testing that's pretty similar to what you are trying:
linaro-validation@lists.linaro.org