On 28 January 2011 08:12, Paul Larson <paul.larson@linaro.org> wrote:About the test result, I draft a test result bundle template, for a job test result bundle, it is stored in a text file.Other questions...
What does it do after running the test? How, and where does it leave the results? What get's added to the results (e.g. serial log) and how does that happen? What is the mechanism for then taking that bundle and pushing to the server? What happens if there were no results from the client, what do we capture in that case?
Dispatcher server part will get the return value of the test case and the serial port log, then create test result together with some info from job message, client dispatcher test logs.
I think server dispatcher can fetch the client test logs initiatively after client dispatcher ends.
If there is no result from the client, after timeout,
1. server dispatcher send some "Ctrl+C" to client dispatcher to end it.
2. then restart the client dispatcher.
3. try to get the client dispatcher remained test logs.
4. mark the test case to TIMEOUT and create the test result.
PS. If step 1 can not end the client dispatcher, it may need a reboot for server dispatcher have lost the control of serial line.
Test result bundle composed of every test case result, for each test case result, it includes: