Show a page giving an overview of board health status

Registered by Spring Zhang

Board health job is running an older but known-working image on every single board every day to test deployment and boot of the android and ubuntu images so that we can better flush out problems related to specific boards and with the dispatcher itself.

The lab health page collects every day boards status and display a history status if necessary.

The status source is from the following two bundles:
[1] http://validation.linaro.org/lava-server/dashboard/streams/anonymous/lab-health-android/bundles/
[2] http://validation.linaro.org/lava-server/dashboard/streams/anonymous/lab-health-ubuntu/bundles/

Blueprint information

Status:
Complete
Approver:
Paul Larson
Priority:
High
Drafter:
Spring Zhang
Direction:
Approved
Assignee:
Spring Zhang
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2012.03
Started by
Spring Zhang
Completed by
Fathi Boudra

Whiteboard

[pwlars 2012-02-23] didn't land in time for 2012.02, but on track for 2012.03, moving to 2012.03
[qzhang 2012-03-09] no plan for graphic view now, so postpone the two items.
[qzhang 2012-03-22] create a new blueprint for postponed items: https://blueprints.launchpad.net/lava-scheduler/+spec/lava-health-view-enhancement

Meta:
Headline: There is a lab health page showing every board health status on lava-server.
Acceptance: Every board health in LAVA validation lab displays on lab health view page.
Roadmap id: LAVA2012-LAVA-HEALTH-MANAGEMENT

(?)

Work Items

Work items:
Learn lava-server framework and how to add a page view: DONE
Mockup a lab health page: DONE
Add related admin entry in lava_scheduler_app: DONE
Create database connection of admin entry in migrations/: DONE
Read south document to create migration: DONE
Create an overview of lab health page: DONE
Create detail page of every board: DONE
Click one device and redirect it to device health job detail: DONE
Display a lab health link on the lava-scheduler page: DONE
Display current board status on the lava-scheduler page: DONE
Make a template for device.html and health_job_list.html: DONE
Make a field to identify it's a health check job: DONE
Add a failure reason when job fails, or link a bug to it: DONE
Collect data from two result bundles and determine auto-determination pattern: DONE
Graphical view, system status on https://build.opensuse.org: POSTPONED
Graphical view, monitor on https://build.opensuse.org/monitor: POSTPONED

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.