From 59d0df4ee3448ce5d5bcc03008f3e239003f9d79 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 16 Jun 2021 16:53:47 +0100 Subject: ltp: Reinstate 'hanging' tests for evaluation We think we've found the root cause of the ltp hangs as a cgroup kernel fs bug introduced in 5.1 and now fixed in linux-yocto. Reinstate these tests and see if any issues recur. Signed-off-by: Richard Purdie --- .../ltp/ltp/disable_hanging_tests.patch | 45 ---------------------- meta/recipes-extended/ltp/ltp_20210524.bb | 1 - 2 files changed, 46 deletions(-) delete mode 100644 meta/recipes-extended/ltp/ltp/disable_hanging_tests.patch diff --git a/meta/recipes-extended/ltp/ltp/disable_hanging_tests.patch b/meta/recipes-extended/ltp/ltp/disable_hanging_tests.patch deleted file mode 100644 index 113ac0fefe..0000000000 --- a/meta/recipes-extended/ltp/ltp/disable_hanging_tests.patch +++ /dev/null @@ -1,45 +0,0 @@ -This patch disables tests which we've found "hang" on our infrastructure. - -cgroup_xattr: -https://autobuilder.yoctoproject.org/typhoon/#/builders/95/builds/1926 (x86) -https://autobuilder.yoctoproject.org/typhoon/#/builders/95/builds/1898 (x86) -https://autobuilder.yoctoproject.org/typhoon/#/builders/95/builds/1916 (x86) - -proc01: -https://autobuilder.yoctoproject.org/typhoon/#/builders/96/builds/1748 (arm) -https://autobuilder.yoctoproject.org/typhoon/#/builders/96/builds/1781 (arm) -(in the latter was trying to read /proc/kmsg) -(the above test looks horrible anyway) - -Upstream-Status: Inappropriate [OE Configuration] -Signed-off-by: Richard Purdie - -Index: git/runtest/controllers -=================================================================== ---- git.orig/runtest/controllers -+++ git/runtest/controllers -@@ -352,8 +352,6 @@ cpuset_memory_spread cpuset_memory_sprea - - cpuset_regression_test cpuset_regression_test.sh - --cgroup_xattr cgroup_xattr -- - pids_1_1 pids.sh 1 1 0 - pids_1_2 pids.sh 1 2 0 - pids_1_10 pids.sh 1 10 0 -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 diff --git a/meta/recipes-extended/ltp/ltp_20210524.bb b/meta/recipes-extended/ltp/ltp_20210524.bb index 4328b1efee..26fd9ac049 100644 --- a/meta/recipes-extended/ltp/ltp_20210524.bb +++ b/meta/recipes-extended/ltp/ltp_20210524.bb @@ -31,7 +31,6 @@ SRCREV = "0fb171f2beddaf64bd27597577c206c0f892b3cd" SRC_URI = "git://github.com/linux-test-project/ltp.git \ file://0001-Remove-OOM-tests-from-runtest-mm.patch \ - file://disable_hanging_tests.patch \ " S = "${WORKDIR}/git" -- cgit 1.2.3-korg