]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
ltp: disable min_free_kbytes
authorDaniel Turull <daniel.turull@ericsson.com>
Fri, 27 Mar 2026 12:27:54 +0000 (13:27 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Mar 2026 17:12:44 +0000 (17:12 +0000)
It casues OOM regardless of the configuration

There is a bug in ltp, fixed in a newer version
https://github.com/linux-test-project/ltp/commit/355124aea99c7c7d40140c969a53ed892421dee9

min_free_kbytes: Connection to 192.168.7.2 closed by remote host.

NOTE: test_ltp_runltp_cve (ltp.LtpTest.test_ltp_runltp_cve)
NOTE:  ... skipped "Test case ltp.LtpTest.test_ltp_runltp_cve depends on ltp.LtpTest.test_ltp_groups but it didn't pass/run."
Test case ltp.LtpTest.test_ltp_runltp_cve depends on ltp.LtpTest.test_ltp_groups but it didn't pass/run.
NOTE: ======================================================================
NOTE: FAIL: test_ltp_groups (ltp.LtpTest.test_ltp_groups)
NOTE: ----------------------------------------------------------------------

Signed-off-by: Pratik Farkase <pratik.farkase@est.tech>
Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/ltp/ltp_20260130.bb

index dcd1e8139803160a31926698f2181ed07daf4da2..0b4f9c1ad5cc884a652ab4436b52a584fa385fcc 100644 (file)
@@ -78,6 +78,9 @@ do_install(){
     # The controllers memcg_stree test seems to cause us hangs and takes 900s
     # (maybe we expect more regular output?), anyhow, skip it
     sed -e '/^memcg_stress/d' -i ${D}${prefix}/runtest/controllers
+
+    # min_free_kbytes can be disruptive on constrained targets
+    sed -e '/^min_free_kbytes/d' -i ${D}${prefix}/runtest/mm
 }
 
 RDEPENDS:${PN} = "\