Connect the Android Builder to LAVA

Registered by Zach Pfeffer on 2011-06-21

Right now the builds at android-build.linaro.org and the test results at validation.linaro.org don't reference each other and the android-build system can't request a build be tested.

This BP aims to modify android-build.l.o and validation.l.o so that successful completion of a build at android-build.l.o will trigger testing of this build at validation.l.o. Both sites will then keep references to each other so it is clear from both sides what was built and tested.

Some runs that were run manually:

https://android-build.linaro.org/builds/~asac/leb-panda-gcc-linaro-4.5-noprelink/
http://validation.linaro.org/launch-control/dashboard/test-runs/9ddbecf0-96df-11e0-9729-68b599be548c/

https://android-bui ld.linaro.org/builds/~linaro-android/leb-panda/#build=68
http://validation.linaro.org/launch-control/dashboard/test-runs/54290bb6-96e3-11e0-9729-68b599be548c/

https://android-build.linaro.org/builds/~ahttp://validation.linaro.org/launch-control/dashboard/test-runs/54290bb6-96e3-11e0-9729-68b599be548c/sac/leb-panda-sac/leb-panda-gcc-linaro-4.4/

There's a page with the last runs at:
http://validation.linaro.org/launch-control/dashboard/reports/android-runs/

Paul Larson can help with the LAVA part and <email address hidden>, <email address hidden> and Paul Sokolovsky can help with the android-build part.

Blueprint information

Status:
Complete
Approver:
Zach Pfeffer
Priority:
High
Drafter:
Frans Gifford
Direction:
Approved
Assignee:
Frans Gifford
Definition:
Discussion
Series goal:
Accepted for 2011q2
Implementation:
Implemented
Milestone target:
milestone icon 11.07
Started by
Zach Pfeffer on 2011-07-11
Completed by
Frans Gifford on 2011-07-27

Whiteboard

[asac, Jul 24, 2011]: please update whiteboard status and drop comments about progress/blockage more frequently and for now asap
[asac, Jul 11, 2011]: the description/summary of this blueprint could give reader better idea about the problem addressed, the solution delivered and how to validate the solution.

Headline:
Android builds now actively submitted to the validation lab and run on the appropriate boards moving one step closer to real continuous validation

Acceptance:
Panda and beagle official daily and release builds automatically run in LAVA

(?)

Work Items

Work items:
Work with Michael's team to call into an API to kick off a test: DONE
Document how tests will get passed from the android builder to LAVA (https://wiki.linaro.org/Platform/Android/AndroidBuild-LavaIntegration): DONE
Document how to extend LAVA to integrate an Android test: DONE
Get access to the build server: DONE
Develop prototype: DONE
- On android-build, create job definition for LAVA: DONE
- On android-build, send job definition to LAVA: DONE
Define what happens when a test gets blocked pending resources, e.g. non-availability of LAVA: DONE
Make sure a link to the test result is listed on android-build: DONE
Make sure a link back to the test is listed on validation.linaro.org: DONE

This blueprint contains Public information 
Everyone can see this information.