summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-core/images
Commit message (Collapse)AuthorAgeFilesLines
* meta-python-image-ptest-all: Do not run PTESTS_PROBLEMS_META_PYTHONKhem Raj2025-04-121-1/+1
| | | | | | PTESTS_PROBLEMS_META_PYTHON are known failures exclude then from normal runs Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-fastjsonschema: Add missing rdeps for ptestsKhem Raj2024-09-151-1/+2
| | | | | | Allocated 5G RAM to qemu when running the ptest to avoid OOMs Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-python-image-ptest: Use 2G RAM for some demanding testsKhem Raj2024-03-311-0/+4
| | | | | | | | scrypt/fastjsonschema/pillow run into OOM on some qemu architectures e.g. RISCV64. Raise the memory to be atleast 2G for running these ptest images Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-python-image-ptest: add PTESTS_PROBLEMS_META_PYTHONTim Orling2024-02-222-2/+2
| | | | | | | | | | | In oe-core, PTESTS_PROBLEMS are also enabled, so even though the recipe might have failures or the ptests do not run cleanly, the BBCLASSEXTEND still works. Enable the same behavior for meta-python. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ptest-image: Switch to using core-image-minimalKhem Raj2023-10-061-1/+1
| | | | | | Keeps the dependencies really to minimum. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* images: Rename ptest images to rhyme with oe-core ptest imagesKhem Raj2023-10-063-3/+3
| | | | | | Easy to understand for new-comers. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* images: Rename <layer>-image to <layer>-image-allKhem Raj2023-10-061-0/+0
| | | | | | | | These are test images to build all recipes in layer. Renaming them makes them refect what they are. Moreover we can rename the ptest images to match OE-Core naming conventions for meta-oe/meta-perl/meta-python Signed-off-by: Khem Raj <raj.khem@gmail.com>
* images: Delete layer specific base imagesKhem Raj2023-10-061-7/+0
| | | | | | | | These were essentially duplicates of core-image-minimal, however core-image-base is a better baseline for upper layers, so switched the consumers of these images to use core-image-base Signed-off-by: Khem Raj <raj.khem@gmail.com>
* images: Inherit from core-image-baseKhem Raj2023-10-062-3/+2
| | | | | | | We really do not need to define base images which already exist in core layer, reuse them here. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-python-ptest*-image: enable BBCLASSEXTEND parallel executionTim Orling2023-04-043-1/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* meta-python-image,meta-python-ptest-image: Use python3 packagegroupsKhem Raj2020-09-102-3/+2
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* meta-python: add pkg groups and image for testingArmin Kuster2019-01-133-0/+18
Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>