Bug 8498 - QemuRunner fails to start the wic created image
Summary: QemuRunner fails to start the wic created image
Status: RESOLVED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 2.1 M2
Assignee: Ed Bartosh
QA Contact: Daniel Istrate
URL:
Whiteboard:
Depends on: 8691
Blocks: 8499
  Show dependency tree
 
Reported: 2015-10-13 07:19 UTC by Alexandru Georgescu
Modified: 2016-02-18 16:11 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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