Bug 8498

Summary: QemuRunner fails to start the wic created image
Product: [QA/Testing] Runtime Testing Reporter: Alexandru Georgescu <alexandru.c.georgescu>
Component: generalAssignee: Ed Bartosh <eduard.bartosh>
Status: RESOLVED FIXED QA Contact: Daniel Istrate <daniel.alexandrux.istrate>
Severity: enhancement    
Priority: Medium CC: bill.randle, daniel.alexandrux.istrate, eduard.bartosh, richard.purdie, sgw
Version: 2.1   
Target Milestone: 2.1 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Bug Depends on: 8691    
Bug Blocks: 8499    

Description Alexandru Georgescu 2015-10-13 07:19:30 UTC
QemuRunner fails to start the wic created image during the oe-selftest run. Reason: When qemu boots with a disk (like one generated by wic) the kernel parameters are no longer accepted by qemu. One of these parameters is the IP address that QemuRunner requires.

A solution regarding this issue hasn’t been addressed in details, and requires major changes to the mechanism that handles the qemu machines connectivity and correlation to the running tests (oe-selftest).
Comment 1 Ed Bartosh 2016-01-29 12:21:42 UTC
I've played with Cristian's fix for 8691 https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=ciorga/wic-testing and I'm pretty happy about it. It still requires some tweaking to satisfy oe-selftest requirements, but generally it shows right way to go.

I'd propose to either assign 8691 to me or wait until I come up with my fixes that would allow to test wic images with oe-selftest.

That should help to come up with consolidated patchset that would fix both bugs.

Opinions?
Comment 2 Richard Purdie 2016-01-29 15:02:52 UTC
Ed: Happy for you to take 8691 FWIW
Comment 3 Ed Bartosh 2016-02-02 09:43:51 UTC
Fix has been sent for review: http://lists.openembedded.org/pipermail/openembedded-core/2016-February/116626.html