]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 May 2020 09:22:28 +0000 (10:22 +0100)
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>
meta/recipes-extended/ltp/ltp_20200515.bb

index 0304a40185b18957d03d8e77b3623d1b28f19958..67c75903204c5cac25443193e03d72fcbdbd76d5 100644 (file)
@@ -72,6 +72,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} = "\