Black Box Test Actions

Registered by Andy Doan on 2012-06-22

This BP comes from a discussion here:

 http://lists.linaro.org/pipermail/linaro-validation/2012-June/000660.html

The ultimate goal is to get the dispatcher to a point where it can have minimal interaction with the target device. The dispatcher would set up the image, boot the device, wait for events via serial console like:

  * a reboot
  * a timeout
  * some type of "i'm done" signal

Upon completion of these events events, it would go to a known partition which it would pull results from.

Blueprint information

Status:
Complete
Approver:
Andy Doan
Priority:
Essential
Drafter:
None
Direction:
Approved
Assignee:
Andy Doan
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2012.10
Started by
Andy Doan on 2012-09-10
Completed by
Andy Doan on 2012-10-05

Related branches

Sprints

Whiteboard

[liuyq0307, 2012-07-09 ] create the bp for android part: https://blueprints.launchpad.net/linaro-android/+spec/support-blackbox-test
[dzin, 2012-07-27] Move to backlog
[fboudra, 2012-08-07] Fix roadmap id. You can set only one id.
[doanac, 2012-09-10] We are looking into this for 12.09, but it may change a bit from the original spec
[doanac, 2012-09-24] i have an initial branch available, but it will take a bit longer for the merge proposal to get finalized.
[doanac, 2012-09-28] re-targetted to 2012.10

Meta:
Headline: Improved testing support for Android
Acceptance: Android testing can be done without ADB and very minimal interaction from LAVA.
Roadmap id: CARD-193

(?)

Work Items

Work items:
define "lava_test_shell" action and schema: DONE
add code that performs the "indication" customizations to the image: DONE
write pexpect harness logic to drive the action's "timeout", "completion_signal", and "reboots_allowed": DONE
add results gathering logic to create LAVA bundles after the action completes: DONE
test for backward compatiblity: DONE
deal with merge conflicts from configglue changes coming in: DONE

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.