mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-09-27 00:30:20 +00:00
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) <noreply@anthropic.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
11a9324c84
commit
c01c9c7232
@@ -29,6 +29,14 @@ QB_MEM = "-m 1024"
|
||||
# If a particular ptest needs more memory, it can be customized:
|
||||
#QB_MEM:virtclass-mcextend-<pn> = "-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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user