From a81c30edea91180f93572ddbc1471d16ee1a18f4 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 31 Mar 2024 08:29:45 -0700 Subject: meta-python-image-ptest: Use 2G RAM for some demanding tests 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 --- meta-python/recipes-core/images/meta-python-image-ptest.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-python/recipes-core/images/meta-python-image-ptest.bb b/meta-python/recipes-core/images/meta-python-image-ptest.bb index 9c542855a2..002bd7a39e 100644 --- a/meta-python/recipes-core/images/meta-python-image-ptest.bb +++ b/meta-python/recipes-core/images/meta-python-image-ptest.bb @@ -27,6 +27,10 @@ IMAGE_ROOTFS_EXTRA_SPACE = "324288" QB_MEM = "-m 1024" # If a particular ptest needs more memory, it can be customized: #QB_MEM:virtclass-mcextend- = "-m 4096" +# python3-scrypt ptests run into OOMs on RISCV64 qemu +QB_MEM:virtclass-mcextend-python3-scrypt = "-m 2048" +QB_MEM:virtclass-mcextend-python3-fastjsonschema = "-m 2048" +QB_MEM:virtclass-mcextend-python3-pillow = "-m 2048" TEST_SUITES = "ping ssh parselogs ptest" -- cgit v1.2.3-54-g00ecf