Skip to content

#10833: fix testing of wic images by testimage

Ed Bartosh openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4runqemu: output network configurationscripts/runqemu+3 -10 replies
2/4qemurunner: get network params from runqemu outputmeta/lib/oeqa/utils/qemurunner.py+22 -140 replies
3/4qemurunner: configure guest networkingmeta/lib/oeqa/utils/qemurunner.py+13 -00 replies
4/4bitbake.conf: add sudo to HOSTTOOLS_NONFATALmeta/conf/bitbake.conf+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] #10833: fix testing of wic images by testimage

Hi,

It was not possible to test wic images with testimage as this framework configured guest networking by passing "ip=<host ip>::<guest ip>:<netmask>" to the kernel. This approach doesn't work for wic images as kernel is run by bootloader and the kernel command line is defined when image is built.

This patchset implements networking configuration by running commands on guests's serial console. runqemu script was modified to output IP addresses and netmask to be able to get these parameters from its output in testimage code.

The following changes since commit 8e9769773fd6d04402581c005bb423530a726457:

meta-yocto-bsp: bump to the latest linux stable kernel for the non-x86 BSPs (2017-03-16 22:12:07 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib ed/oe-core/tap-networking-wic-10833
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/oe-core/tap-networking-wic-10833

Ed Bartosh (4):
runqemu: output network configuration
qemurunner: get network params from runqemu output
qemurunner: configure guest networking bitbake.conf: add sudo to HOSTTOOLS_NONFATAL

 meta/conf/bitbake.conf            |  2 +-
 meta/lib/oeqa/utils/qemurunner.py | 49 ++++++++++++++++++++++++++++-----------
 scripts/runqemu                   |  4 +++-
 3 files changed, 39 insertions(+), 16 deletions(-)

--
Regards,
Ed