meta-openembedded/meta-python
Tim Orling 80e9601cc8 meta-python-ptest*-image: enable BBCLASSEXTEND parallel execution
Similar to "core-image-ptest: Switch to BBCLASSEXTEND parallel execution"

Refactor meta-python-ptest-image.bb for an image per ptest in the form of
meta-python-ptest-image-XXX using class extensions.

* Add meta-python-ptest-all-image.bb depends on ALL meta-python-ptest-image-XXX in meta-python
* Add meta-python-ptest-fast-image.bb depends on meta-python ptests which take less than ~30s

This allows parallel execution of the tests.

The downside to this approach is the parsing time of an image generating
this number of class extensions is slow but making it easier to execute
and collect test data should outweigh that.

A useful advantage is that the dependencies of each ptest package are
checked/tested individually.

Add to local.conf:
IMAGE_CLASSES += "testimage"

All the meta-python-ptest-image-XXX can be built with:
$ bitbake meta-python-ptest-all-image

Subsequently, all the ptest images can be run with:
$ bitbake -c testimage meta-python-ptest-all-image

You will likely want to limit the number of parallel image tests:

BB_NUMBER_THREADS = "4"

based on the number of TAP devices you have defined or the number of simultaneous
QEMU sessions your server can support.

Results can be summarized with:

$ resulttool report tmp/log/oeqa/testresults.json

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:45 -07:00
..
classes python3-hatchling: remove (now in oe-core) 2022-07-02 11:37:03 -04:00
conf ptest-packagelists-meta-python.inc: add ptest recipes 2023-04-04 13:39:45 -07:00
licenses python3-crc32c: add 2.2.post0 2022-03-01 09:06:56 -08:00
recipes-connectivity .patch: fix Upstream-Status formatting issues reported by patchreview tool from oe-core 2023-02-24 08:45:44 -08:00
recipes-core meta-python-ptest*-image: enable BBCLASSEXTEND parallel execution 2023-04-04 13:39:45 -07:00
recipes-devtools python3-betamax: fix ptest failture of fixture and record modes 2023-03-28 10:44:00 -07:00
recipes-extended python3-pykickstart: upgrade 3.45 -> 3.47 2023-03-22 22:20:42 -07:00
recipes-networking/python python3-ldap: upgrade 3.4.2 -> 3.4.3 2022-09-28 14:54:31 -07:00
COPYING.MIT
README Remove dead link and old information from the README. 2022-08-27 07:37:46 -07:00

meta-python

Introduction

This layer is intended to be the home of python modules for OpenEmbedded.

Dependencies

The meta-python layer depends on:

URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: master

URI: git://git.openembedded.org/meta-openembedded
layers: meta-oe
branch: master

Contributing

The meta-openembedded mailinglist (openembedded-devel@lists.openembedded.org) is used for questions, comments and patch review. It is subscriber only, so please register before posting.

Send pull requests to openembedded-devel@lists.openembedded.org with '[meta-python]' in the subject.

When sending single patches, please use something like: git send-email -M -1 --to=openembedded-devel@lists.openembedded.org --subject-prefix='meta-python][PATCH'

Maintenance

Layer maintainers: Tim "moto-timo" Orling TicoTimo@gmail.com Derek Straka derek@asterius.io