summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-26 21:50:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-27 10:22:28 +0100
commit0739a8901140c05d037517ffd89382f151ba627c (patch)
treefd5e13df0a7142a0d39fe967f6603621383ae8ea
parent64a2121a875ce128959ee0a62e310d5f91f87b0d (diff)
downloadopenembedded-core-0739a8901140c05d037517ffd89382f151ba627c.tar.gz
openembedded-core-0739a8901140c05d037517ffd89382f151ba627c.tar.bz2
openembedded-core-0739a8901140c05d037517ffd89382f151ba627c.zip
ltp: Exclude the memcg_stress tests due to timeout problems
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>
-rw-r--r--meta/recipes-extended/ltp/ltp_20200515.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp_20200515.bb b/meta/recipes-extended/ltp/ltp_20200515.bb
index 0304a40185..67c7590320 100644
--- a/meta/recipes-extended/ltp/ltp_20200515.bb
+++ b/meta/recipes-extended/ltp/ltp_20200515.bb
@@ -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} = "\