Skip to contentSkip to conversation

meta-python-image-ptest: Use 2G RAM for some demanding tests

PATCH New Khem Raj 1 participant 1 message Mar 31, 2024

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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

---
 meta-python/recipes-core/images/meta-python-image-ptest.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-python/recipes-core/images/meta-python-image-ptest.bb +4 -0
index 9c542855a2..002bd7a39e 100644
@@ -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-<pn> = "-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"
 
Signature · 1 line
2.44.0