From 0bc332a0418281a20435f7fa3c712ad1e1807337 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 15 Sep 2024 12:35:42 -0700 Subject: python3-fastjsonschema: Add missing rdeps for ptests Allocated 5G RAM to qemu when running the ptest to avoid OOMs Signed-off-by: Khem Raj --- meta-python/recipes-core/images/meta-python-image-ptest.bb | 3 ++- meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 002bd7a39e..794b9d1e4d 100644 --- a/meta-python/recipes-core/images/meta-python-image-ptest.bb +++ b/meta-python/recipes-core/images/meta-python-image-ptest.bb @@ -29,7 +29,8 @@ QB_MEM = "-m 1024" #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" +# Needs atleast 5G to avoid OOMs +QB_MEM:virtclass-mcextend-python3-fastjsonschema = "-m 5120" QB_MEM:virtclass-mcextend-python3-pillow = "-m 2048" TEST_SUITES = "ping ssh parselogs ptest" diff --git a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb index 0524a73b67..4dd9444a9a 100644 --- a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb +++ b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb @@ -17,9 +17,11 @@ do_install_ptest() { cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ } +# python3-misc for timeit.py RDEPENDS:${PN}-ptest += "\ python3-colorama \ python3-jsonschema \ + python3-misc \ python3-pylint \ python3-pytest \ python3-pytest-benchmark \ -- cgit v1.2.3-54-g00ecf