]> code.ossystems Code Review - openembedded-core.git/commitdiff
ltp: Exclude the memcg_stress tests due to timeout problems
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 May 2020 20:50:10 +0000 (21:50 +0100)
committerSteve Sakoman <steve@sakoman.com>
Tue, 9 Jun 2020 15:39:30 +0000 (05:39 -1000)
This test runs for 900s, we often see tests killed after 300s without
output which makes the test results unreliable and inconsistent. The
easiest solution for now is to skip this long running test, patching
it out wth sed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0739a8901140c05d037517ffd89382f151ba627c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-extended/ltp/ltp_20200120.bb

index deac3917d7d9f3509d86dcf423d8d2d354b6680f..b25da4030d7233c64a7426abdfa3d8f0083b7d40 100644 (file)
@@ -74,6 +74,10 @@ do_install(){
          -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
          -e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
          -e 's@[^ ]*--sysroot=[^ "]*@@g' 
+
+    # 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
 }
 
 RDEPENDS_${PN} = "\