Bug 10231

Summary: oeqa: Refactor code to avoid dependencies on bitbake datastore
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Aníbal Limón <anibal.limon>
Component: coreAssignee: Aníbal Limón <anibal.limon>
Status: VERIFIED FIXED QA Contact: Jose Perez C <jose.perez.carranza>
Severity: enhancement    
Priority: Medium+ CC: jose.perez.carranza, leonardo.sandoval.gonzalez, meta.mr.watcher, meta.watcher
Version: 2.3   
Target Milestone: 2.3 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Bug Depends on:    
Bug Blocks: 10230    

Description Aníbal Limón 2016-09-06 22:52:24 UTC
Restructure code for avoid direct dependencies on Bitbake data store, the QA
framework needs to be implemented in a way to made useful outside Bitbake environment.

There are two kind of Bitbake datastore variables used into the current oeqa codebase,

- Variables used for enable certain helper mechanism like logging, qemu, etc.,
this kind of variables needs to be passed to the classes QemuRunner, etc as arguments instead of call inside d.getVar.
- Variables used by the Test's itself to do/decide certain things, this variables needs to be passed into a directionary to OETestCase class instead of do d.getVar inside, also the OETestCase class needs to have the ability to validate if certain variables was provided.
Comment 2 Jose Perez C 2017-03-14 17:56:18 UTC
oeqa framework used to execute testimage on 2.3 M2rc3 and works correctly

https://wiki.yoctoproject.org/wiki/WW06_-_2017-02-03_-_Full_Test_Cycle_2.3_M2_rc3