Properly fix oe-selftest QEMU usage + related fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | oe-selftest: add scripts/lib and bitbake/lib to pathscripts/ | +4 | 0 replies | |
| 2/11 | oeqa/targetcontrol: create test directory before copying rootfs imagemeta/ | +1 | 0 replies | |
| 3/11 | oeqa/utils/qemurunner: fix loggingmeta/ | +24 | 0 replies | |
| 4/11 | oeqa/utils/qemurunner: avoid blocking on stty when running under oe-selftestmeta/ | +5 | 0 replies | |
| 5/11 | oeqa/utils/qemurunner: fix error handling if runqemu exits with an errormeta/ | +14 | 0 replies | |
| 6/11 | oeqa/targetcontrol: write QemuRunner log output to a filemeta/ | +11 | 0 replies | |
| 7/11 | oeqa/selftest/imagefeatures: Use QemuTarget codemeta/ meta/ | +67 | 0 replies | |
| 8/11 | oeqa/selftest/imagefeatures: fix SSH without password testsmeta/ | +9 | 0 replies | |
| 9/11 | oeqa/selftest/imagefeatures: fix RPM4 testmeta/ | +44 | 0 replies | |
| 10/11 | oeqa/selftest/imagefeatures: remove gummiboot testsmeta/ | +0 | 0 replies | |
| 11/11 | oeqa/selftest/devtool: use new runqemu functionmeta/ | +34 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/11] Properly fix oe-selftest QEMU usage + related fixes
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(-)
Signature · 1 line
2.1.0