Dispatch test jobs in the validation Farm

Registered by Paul Larson

Dispatch jobs to test systems in the validation farm to run tests, and push the results back to the dashboard.

Blueprint information

Status:
Complete
Approver:
Paul Larson
Priority:
Undefined
Drafter:
Spring Zhang
Direction:
Approved
Assignee:
Spring Zhang
Definition:
Approved
Series goal:
Accepted for linaro-11.05
Implementation:
Implemented
Milestone target:
None
Started by
Paul Larson
Completed by
Paul Larson

Related branches

Sprints

Whiteboard

Status:
postponed one WI that will be done better and is planned for next cycle, and another that was not really needed so far, or handled already for things that really need it (network bringup)

(?)

Work Items

Work items:
[qzhang] Define the job description both on dispatcher and scheduler: DONE
[qzhang] Define the interface between dispatcher and scheduler: DONE
[qzhang] Find out how to call dispatcher from short term scheduler hudson: DONE
[qzhang] Define the interfaces of dispatcher, like test_abrek, generate_tarballs: DONE
[qzhang] Get job file and extract job information like board ID, test image location, actions, timeout: DONE
[qzhang] Define the interface between dispatcher and deploy-images, call validation-deploy-images to deploy test images: DONE
[pwlars] Implement generate_tarball action, generate test image tarball for LAVA use: DONE
[qzhang] Deploy validation tools like abrek on the target board: DONE
[qzhang] Install specific abrek tests into chroot test image after deployment if specified: DONE
[pwlars] Implement deploy_linaro_bootfs action, deploy test image boot up file system partition: DONE
[pwlars] Implement deploy_linaro_rootfs action, deploy test image rootfs partition: DONE
[pwlars] Implement switch boot from master image to test image: DONE
[qzhang] Implement test_abrek action, launch abrek-like to execute the result: DONE
[qzhang] Detect various possible done/failed states from running a test (return to shell prompt, kernel panic, etc): POSTPONED
[qzhang] Detect and bring up network on the device if needed: POSTPONED
[qzhang] Capture serial log for entire process: DONE
[qzhang] Dispatcher collect, save test result and call launch control to push back/display test result: DONE
[pwlars] Support running tests exported to the remote display: DONE

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.