meta-virtualization/recipes-extended
Christopher Clark 0f2e3d24a4 xtf: add testimage integration to run XTF test cases in OEQA
Add a new minimal OEQA test case to run the Xen Test Framework
test runner in the standard testimage step. Tested with qemux86-64
and designed for compatibility with Arm when XTF supports it.

To enable, append to local.conf:
    INHERIT += "testimage"
    QEMU_USE_SLIRP = "1"
    TEST_SERVER_IP = "127.0.0.1"

To run: bitbake -c testimage xtf-image

For inspection while it runs, at another shell prompt:
 * Observe the image booting:
 tail -f ${TMPDIR}/work/qemux86_64-*/xtf-image/*/testimage/qemu_boot_log.*
 * Observe the tests running once boot has completed:
 tail -f ${TMPDIR}/work/qemux86_64-*/xtf-image/*/temp/log.do_testimage

The XTF test sequence by default is a single XTF test case with minimal
hardware dependency to ensure that Xen is running, the Xen toolstack is
functional and XTF works. Additional XTF test cases for an image can be
configured via variables that are documented in the OEQA test case:
   * XTF_TEST_CASES_POPULATE
   * XTF_TEST_CASES_SKIP
   * XTF_TEST_CASES_REQUIRE

Since testimage requires a functioning network to perform the tests on
the image and the qemu MACHINES do not have networking enabled
this commit provides a new qemuboot-testimage-network bbclass to add an
image postprocess command to enable a functional eth0 for qemu MACHINES.

Signed-off-by: Christopher Clark <christopher.clark@starlab.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-02 16:36:23 -04:00
..
ceph global: overrides syntax conversion 2021-08-02 17:17:53 -04:00
cloud-init global: overrides syntax conversion 2021-08-02 17:17:53 -04:00
dev86 global: overrides syntax conversion 2021-08-02 17:17:53 -04:00
diod global: overrides syntax conversion 2021-08-02 17:17:53 -04:00
fuse-overlayfs fuse-overlayfs: add FUSE implementation of overlayfs 2019-10-13 11:16:40 -04:00
hyperstart global: overrides syntax conversion 2021-08-02 17:17:53 -04:00
images xtf: add testimage integration to run XTF test cases in OEQA 2021-09-02 16:36:23 -04:00
iptables global: overrides syntax conversion 2021-08-02 17:17:53 -04:00
ipxe global: overrides syntax conversion 2021-08-02 17:17:53 -04:00
irqbalance global: overrides syntax conversion 2021-08-02 17:17:53 -04:00
kvmtool kvmtool: update to -latest 2021-06-04 08:43:10 -04:00
libibverbs global: overrides syntax conversion 2021-08-02 17:17:53 -04:00
libvirt global: overrides syntax conversion 2021-08-02 17:17:53 -04:00
libvmi global: overrides syntax conversion 2021-08-02 17:17:53 -04:00
nagios global: overrides syntax conversion 2021-08-02 17:17:53 -04:00
oath ceph: add support for ceph 2018-09-30 21:31:21 -04:00
seabios global: overrides syntax conversion 2021-08-02 17:17:53 -04:00
upx global: overrides syntax conversion 2021-08-02 17:17:53 -04:00
uxen uxen: update guest tools to 4.1.8 2021-08-27 10:50:45 -04:00
vgabios global: overrides syntax conversion 2021-08-02 17:17:53 -04:00
xen xen, xen-tools: apply workaround for gnu linker error to fix x86 build 2021-08-27 10:50:45 -04:00
xvisor global: overrides syntax conversion 2021-08-02 17:17:53 -04:00