Hello Sai,

Tests usually need more RAM and flash space then if only using the 
component/library.
Ptests should be run via "core-image-ptest-openssl" which has 1GB RAM (and even 
more for some other components).

Note that I send my patches only after successful ptest executon.

Peter

> -----Original Message-----
> From: [email protected] <openembedded-
> [email protected]> On Behalf Of Sai Sneha via
> lists.openembedded.org
> Sent: Wednesday, June 17, 2026 12:14 PM
> To: [email protected]
> Subject: Re: [OE-core] [scarthgap][PATCH] openssl: upgrade 3.5.6 -> 3.5.7
> 
> Hi Peter,
> 
> I applied your scarthgap patch (#238923) directly via git am on a clean
> origin/scarthgap checkout and ran the openssl ptests on QEMU (qemux86-64,
> default memory, no manual config changes).
> 
> lhash_test fails with an OOM kill:
> 
> 
> 
> Out of memory: Killed process 546 (lhash_test) total-vm:72960kB, anon-
> rss:65792kB
> 
> 41 tests pass before this (02-test_list.t is the last to pass), then 
> 02-test_lhash.t fails
> with exit code 137 (SIGKILL). Later in the run, the ptest-runner process 
> itself also
> gets killed by the OOM killer, so the suite doesn't complete fully (TOTAL: 1 
> FAIL:
> 2).
> 
> I also tested this independently on oe-core master-next (your original commit
> 9365ac47f994a7d6be92b8c011c51ecf48e8ef87) and on my own scarthgap
> backport same lhash_test OOM occurs in all three cases under default QEMU
> memory. When I manually bumped QEMU's memory to 1GB, lhash_test passes,
> so it's a memory-availability issue rather than a problem with the patch 
> itself.
> 
> Is this a known/expected limitation with the default qemux86-64 ptest QEMU
> memory, or is there something I should configure differently when running 
> these
> tests?
> 
> Thanks,
> Sai Sneha

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#239030): 
https://lists.openembedded.org/g/openembedded-core/message/239030
Mute This Topic: https://lists.openembedded.org/mt/119836905/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to