summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-14 16:20:18 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-16 09:46:29 +0000
commitaeb7461bb3ae0e2a0dfa217689352fde211a60ca (patch)
tree1dcd7e94e2a31218e36372def7b6b8a8bc166a80 /meta/recipes-extended/ltp
parent3ee5e1bc7155b890241676cffb6316880e0f8789 (diff)
downloadpoky-aeb7461bb3ae0e2a0dfa217689352fde211a60ca.tar.gz
ltp: Disable proc01 test
This test has history of hanging on arm trying to read from /proc/kmsg and it has reappeared. Disable the test since hanging autobuilder builds are annoying. I suspect there is a genuine race on ARM somewhere here in the kernel. (From OE-Core rev: e8f5bd9dc35e2da014412bb35fbd2f96d0b1c5a8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ltp')
-rw-r--r--meta/recipes-extended/ltp/ltp/disable_hanging_tests.patch27
-rw-r--r--meta/recipes-extended/ltp/ltp_20220121.bb1
2 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp/disable_hanging_tests.patch b/meta/recipes-extended/ltp/ltp/disable_hanging_tests.patch
new file mode 100644
index 0000000000..f25a692dc0
--- /dev/null
+++ b/meta/recipes-extended/ltp/ltp/disable_hanging_tests.patch
@@ -0,0 +1,27 @@
1This patch disables tests which we've found "hang" on our infrastructure.
2
3proc01:
4https://autobuilder.yoctoproject.org/typhoon/#/builders/96/builds/1748 (arm)
5https://autobuilder.yoctoproject.org/typhoon/#/builders/96/builds/1781 (arm)
6https://autobuilder.yoctoproject.org/typhoon/#/builders/96/builds/2782 (arm)
7(was trying to read /proc/kmsg, looks like a horrible test anyway)
8
9Upstream-Status: Inappropriate [OE Configuration]
10Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11
12Index: git/runtest/fs
13===================================================================
14--- git.orig/runtest/fs
15+++ git/runtest/fs
16@@ -64,11 +64,6 @@ writetest01 writetest
17 #Also run the fs_di (Data Integrity tests)
18 fs_di fs_di -d $TMPDIR
19
20-# Read every file in /proc. Not likely to crash, but does enough
21-# to disturb the kernel. A good kernel latency killer too.
22-# Was not sure why it should reside in runtest/crashme and won't get tested ever
23-proc01 proc01 -m 128
24-
25 read_all_dev read_all -d /dev -p -q -r 3
26 read_all_proc read_all -d /proc -q -r 3
27 read_all_sys read_all -d /sys -q -r 3
diff --git a/meta/recipes-extended/ltp/ltp_20220121.bb b/meta/recipes-extended/ltp/ltp_20220121.bb
index bf567c6fb8..655f99f838 100644
--- a/meta/recipes-extended/ltp/ltp_20220121.bb
+++ b/meta/recipes-extended/ltp/ltp_20220121.bb
@@ -27,6 +27,7 @@ SRCREV = "b0561ad8d9ee9fe1244b5385e941eb65a21e91a1"
27SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \ 27SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \
28 file://0001-Remove-OOM-tests-from-runtest-mm.patch \ 28 file://0001-Remove-OOM-tests-from-runtest-mm.patch \
29 file://0001-metadata-parse.sh-sort-filelist-for-reproducibility.patch \ 29 file://0001-metadata-parse.sh-sort-filelist-for-reproducibility.patch \
30 file://disable_hanging_tests.patch \
30 " 31 "
31 32
32S = "${WORKDIR}/git" 33S = "${WORKDIR}/git"