From c01c9c7232eff383a43b4bb8e36841839a85f2d4 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 12 Sep 2026 08:35:37 -0700 Subject: [PATCH] meta-oe-image-ptest: more memory and a longer timeout for kernel-selftest coredump:coredump_socket_test streams cores of a 128-thread process (~1GB of thread stacks) into a tmpfs sized at half of RAM and fails with ENOSPC with 1GB of RAM; it passes with 4GB. run_kselftest.sh -s prints nothing while a test runs, and some kselftests run for a long time (rseq:run_param_test.sh ~700s, net/mptcp allows up to 1800s), so ptest-runner's default 450s no-output timeout kills the whole suite. Raise PTEST_RUNNER_TIMEOUT to 2400s for the kernel-selftest image. Co-Authored-By: Claude Opus 5 (1M context) Signed-off-by: Khem Raj --- meta-oe/recipes-core/images/meta-oe-image-ptest.bb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/meta-oe/recipes-core/images/meta-oe-image-ptest.bb b/meta-oe/recipes-core/images/meta-oe-image-ptest.bb index c9aa334d39..0ca99566ca 100644 --- a/meta-oe/recipes-core/images/meta-oe-image-ptest.bb +++ b/meta-oe/recipes-core/images/meta-oe-image-ptest.bb @@ -29,6 +29,14 @@ QB_MEM = "-m 1024" # If a particular ptest needs more memory, it can be customized: #QB_MEM:virtclass-mcextend- = "-m 4096" QB_MEM:virtclass-mcextend-tbb = "-m 2048" +# coredump:coredump_socket_test streams cores of a 128-thread process (~1GB of +# stacks) into a tmpfs, which is sized at half of RAM +QB_MEM:virtclass-mcextend-kernel-selftest = "-m 4096" + +# run_kselftest.sh -s prints nothing while a test runs, and some kselftests +# legitimately run for a long time (rseq:run_param_test.sh ~700s, net/mptcp +# allows up to 1800s), so raise the ptest-runner no-output timeout +PTEST_RUNNER_TIMEOUT:virtclass-mcextend-kernel-selftest = "2400" TEST_SUITES = "ping ssh parselogs ptest"