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>
This commit is contained in:
Richard Purdie
2022-02-14 16:20:18 +00:00
parent 3ee5e1bc71
commit aeb7461bb3
2 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
This patch disables tests which we've found "hang" on our infrastructure.
proc01:
https://autobuilder.yoctoproject.org/typhoon/#/builders/96/builds/1748 (arm)
https://autobuilder.yoctoproject.org/typhoon/#/builders/96/builds/1781 (arm)
https://autobuilder.yoctoproject.org/typhoon/#/builders/96/builds/2782 (arm)
(was trying to read /proc/kmsg, looks like a horrible test anyway)
Upstream-Status: Inappropriate [OE Configuration]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Index: git/runtest/fs
===================================================================
--- git.orig/runtest/fs
+++ git/runtest/fs
@@ -64,11 +64,6 @@ writetest01 writetest
#Also run the fs_di (Data Integrity tests)
fs_di fs_di -d $TMPDIR
-# Read every file in /proc. Not likely to crash, but does enough
-# to disturb the kernel. A good kernel latency killer too.
-# Was not sure why it should reside in runtest/crashme and won't get tested ever
-proc01 proc01 -m 128
-
read_all_dev read_all -d /dev -p -q -r 3
read_all_proc read_all -d /proc -q -r 3
read_all_sys read_all -d /sys -q -r 3

View File

@@ -27,6 +27,7 @@ SRCREV = "b0561ad8d9ee9fe1244b5385e941eb65a21e91a1"
SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \
file://0001-Remove-OOM-tests-from-runtest-mm.patch \
file://0001-metadata-parse.sh-sort-filelist-for-reproducibility.patch \
file://disable_hanging_tests.patch \
"
S = "${WORKDIR}/git"