Add support to LAVA for starting and monitoring model shell

Registered by Zygmunt Krynicki

LAVA needs to be able to monitor model_shell (or the ISIM equivalent) to allow others to use fast models. As a part of this it has to be able to run model_shell/model_shell64/isim_target with specified configuration, detect license issues (a common problem), monitor execution (detect crashes, out of memory conditions, etc), intercept and manage the virtual console (aka serial line) and provide graceful shutdown methods.

Blueprint information

Status:
Complete
Approver:
Paul Larson
Priority:
Undefined
Drafter:
Zygmunt Krynicki
Direction:
Needs approval
Assignee:
Zygmunt Krynicki
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Zygmunt Krynicki
Completed by
Zygmunt Krynicki

Related branches

Sprints

Whiteboard

[zkrynicki, 2012-02-23] For details on how to spot license issues reliably: http://infocenter.arm.com/help/topic/com.arm.doc.dui0457h/CIHFJIGF.html
[zkrynicki, 2012-03-13] Removed dependency on image builder spec, images are now provided by dev platform
[fboudra, 2012-03-26] re-target to 2012.04 milestone.
[zkrynicki, 2012-04-11] starting to land in lp:lava-core
[fboudra, 2012-04-27] Re-target to 2012.05 milestone.

Meta:
Headline: API support for starting and monitoring model binary
Acceptance:
 1. Running fast model binaries provided by dev platform works
 2. License issues are detected and handled as a special case
 3. Virtual consoles are properly intercepted
 4. The system can run on a headless oneiric server
Roadmap id: LAVA2012-FAST-MODELS-IN-LAVA

(?)

Work Items

Work items:
Add support for starting model_shell or isim target: DONE
Add pythonic wrapper for arguments and configuration: DONE
Add support for detecting license issues: DONE
Add support for intercepting virtual consoles 1-4: DONE
Implement command line tools to simplify debugging: DONE

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.