diff options
-rw-r--r-- | meta/recipes-extended/ltp/ltp/disable_hanging_tests.patch | 45 | ||||
-rw-r--r-- | meta/recipes-extended/ltp/ltp_20210121.bb | 1 |
2 files changed, 46 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..113ac0fefe --- /dev/null +++ b/meta/recipes-extended/ltp/ltp/disable_hanging_tests.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | This patch disables tests which we've found "hang" on our infrastructure. | ||
2 | |||
3 | cgroup_xattr: | ||
4 | https://autobuilder.yoctoproject.org/typhoon/#/builders/95/builds/1926 (x86) | ||
5 | https://autobuilder.yoctoproject.org/typhoon/#/builders/95/builds/1898 (x86) | ||
6 | https://autobuilder.yoctoproject.org/typhoon/#/builders/95/builds/1916 (x86) | ||
7 | |||
8 | proc01: | ||
9 | https://autobuilder.yoctoproject.org/typhoon/#/builders/96/builds/1748 (arm) | ||
10 | https://autobuilder.yoctoproject.org/typhoon/#/builders/96/builds/1781 (arm) | ||
11 | (in the latter was trying to read /proc/kmsg) | ||
12 | (the above test looks horrible anyway) | ||
13 | |||
14 | Upstream-Status: Inappropriate [OE Configuration] | ||
15 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
16 | |||
17 | Index: git/runtest/controllers | ||
18 | =================================================================== | ||
19 | --- git.orig/runtest/controllers | ||
20 | +++ git/runtest/controllers | ||
21 | @@ -352,8 +352,6 @@ cpuset_memory_spread cpuset_memory_sprea | ||
22 | |||
23 | cpuset_regression_test cpuset_regression_test.sh | ||
24 | |||
25 | -cgroup_xattr cgroup_xattr | ||
26 | - | ||
27 | pids_1_1 pids.sh 1 1 0 | ||
28 | pids_1_2 pids.sh 1 2 0 | ||
29 | pids_1_10 pids.sh 1 10 0 | ||
30 | Index: git/runtest/fs | ||
31 | =================================================================== | ||
32 | --- git.orig/runtest/fs | ||
33 | +++ git/runtest/fs | ||
34 | @@ -64,11 +64,6 @@ writetest01 writetest | ||
35 | #Also run the fs_di (Data Integrity tests) | ||
36 | fs_di fs_di -d $TMPDIR | ||
37 | |||
38 | -# Read every file in /proc. Not likely to crash, but does enough | ||
39 | -# to disturb the kernel. A good kernel latency killer too. | ||
40 | -# Was not sure why it should reside in runtest/crashme and won't get tested ever | ||
41 | -proc01 proc01 -m 128 | ||
42 | - | ||
43 | read_all_dev read_all -d /dev -p -q -r 3 | ||
44 | read_all_proc read_all -d /proc -q -r 3 | ||
45 | read_all_sys read_all -d /sys -q -r 3 | ||
diff --git a/meta/recipes-extended/ltp/ltp_20210121.bb b/meta/recipes-extended/ltp/ltp_20210121.bb index ffda710762..e1ffd0ddf4 100644 --- a/meta/recipes-extended/ltp/ltp_20210121.bb +++ b/meta/recipes-extended/ltp/ltp_20210121.bb | |||
@@ -40,6 +40,7 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git \ | |||
40 | file://0001-open_posix_testsuite-generate-makefiles.sh-Avoid-inc.patch \ | 40 | file://0001-open_posix_testsuite-generate-makefiles.sh-Avoid-inc.patch \ |
41 | file://0002-Makefile-Avoid-wildcard-determinism-issues.patch \ | 41 | file://0002-Makefile-Avoid-wildcard-determinism-issues.patch \ |
42 | file://0003-syscalls-swapon-swapoff-Move-common-library-to-libs.patch \ | 42 | file://0003-syscalls-swapon-swapoff-Move-common-library-to-libs.patch \ |
43 | file://disable_hanging_tests.patch \ | ||
43 | " | 44 | " |
44 | 45 | ||
45 | S = "${WORKDIR}/git" | 46 | S = "${WORKDIR}/git" |