[OE-core] [PATCH 00/11] Properly fix oe-selftest QEMU usage + related fixes
Paul Eggleton
paul.eggleton at linux.intel.com
Mon Jul 27 13:03:55 UTC 2015
The tests in oeqa/selftest/imagefeatures have had a long list of issues
that we've worked around; this patchset implements the ability to run
QEMU from oe-selftest tests properly and attempts to fix the remaining
known issues with the tests. At the same time we can make the devtool
test that uses QEMU use the new runqemu() logic, so do that as well.
When we did do the proper runqemu() implementation however, I uncovered
a number of other problems to do with error handling, process
termination and logging. This patchset should address those as well.
Thanks to Richard for the initial set of fixes which I built upon here.
The following changes since commit 03d01393d14b7b20dcb40ff89b1628883fd3b545:
toaster.bbclass: Fix ValueError (2015-07-27 12:26:57 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/oe-selftest-qemu-fixes
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/oe-selftest-qemu-fixes
Paul Eggleton (9):
oe-selftest: add scripts/lib and bitbake/lib to path
oeqa/targetcontrol: create test directory before copying rootfs image
oeqa/utils/qemurunner: fix logging
oeqa/utils/qemurunner: avoid blocking on stty when running under
oe-selftest
oeqa/utils/qemurunner: fix error handling if runqemu exits with an
error
oeqa/targetcontrol: write QemuRunner log output to a file
oeqa/selftest/imagefeatures: fix RPM4 test
oeqa/selftest/imagefeatures: remove gummiboot tests
oeqa/selftest/devtool: use new runqemu function
Richard Purdie (2):
oeqa/selftest/imagefeatures: Use QemuTarget code
oeqa/selftest/imagefeatures: fix SSH without password tests
meta/lib/oeqa/selftest/devtool.py | 72 +++++-----
meta/lib/oeqa/selftest/imagefeatures.py | 247 +++++++++-----------------------
meta/lib/oeqa/targetcontrol.py | 12 ++
meta/lib/oeqa/utils/commands.py | 49 +++++++
meta/lib/oeqa/utils/qemurunner.py | 70 +++++----
scripts/oe-selftest | 5 +-
6 files changed, 207 insertions(+), 248 deletions(-)
--
2.1.0
More information about the Openembedded-core
mailing list