* [PATCH 1/2] ltp: Enable extra test groups
@ 2024-02-06 10:22 Richard Purdie
2024-02-06 10:22 ` [PATCH 2/2] ltp: Try re-enabling problematic test Richard Purdie
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Richard Purdie @ 2024-02-06 10:22 UTC (permalink / raw)
To: openembedded-core; +Cc: Petr Vorel
Petr Vorel (upstream ltp maintainer) recommended some extra tests we should run.
Enable these for extra test coverage.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
meta/lib/oeqa/runtime/cases/ltp.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/runtime/cases/ltp.py b/meta/lib/oeqa/runtime/cases/ltp.py
index 9d93d314537..f588a93200e 100644
--- a/meta/lib/oeqa/runtime/cases/ltp.py
+++ b/meta/lib/oeqa/runtime/cases/ltp.py
@@ -57,7 +57,7 @@ class LtpTestBase(OERuntimeTestCase):
class LtpTest(LtpTestBase):
- ltp_groups = ["math", "syscalls", "dio", "io", "mm", "ipc", "sched", "nptl", "pty", "containers", "controllers", "filecaps", "cap_bounds", "fcntl-locktests", "commands", "net.ipv6_lib", "input","fs_perms_simple"]
+ ltp_groups = ["math", "syscalls", "dio", "io", "mm", "ipc", "sched", "nptl", "pty", "containers", "controllers", "filecaps", "cap_bounds", "fcntl-locktests", "commands", "net.ipv6_lib", "input","fs_perms_simple", "cve", "crypto", "ima", "net.nfs", "net_stress.ipsec_icmp", "net.ipv6", "numa", "uevent", "ltp-aiodio.part1", "ltp-aiodio.part2", "ltp-aiodio.part3", "ltp-aiodio.part4"]
ltp_fs = ["fs", "fs_bind"]
# skip kernel cpuhotplug
--
2.40.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] ltp: Try re-enabling problematic test
2024-02-06 10:22 [PATCH 1/2] ltp: Enable extra test groups Richard Purdie
@ 2024-02-06 10:22 ` Richard Purdie
2024-02-06 17:48 ` Petr Vorel
2024-02-06 17:47 ` [PATCH 1/2] ltp: Enable extra test groups Petr Vorel
2024-02-07 17:24 ` Petr Vorel
2 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2024-02-06 10:22 UTC (permalink / raw)
To: openembedded-core; +Cc: Petr Vorel
The proc01 test used to hang when reading /proc/kmsg. This issue could
have been a number of issues which were fixed in the meantime. Try
re-enabling the test to see if the issue is still present.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
.../ltp/ltp/disable_hanging_tests.patch | 27 -------------------
meta/recipes-extended/ltp/ltp_20240129.bb | 1 -
2 files changed, 28 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 f25a692dc0f..00000000000
--- a/meta/recipes-extended/ltp/ltp/disable_hanging_tests.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-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
diff --git a/meta/recipes-extended/ltp/ltp_20240129.bb b/meta/recipes-extended/ltp/ltp_20240129.bb
index 5cd33bb6a38..acd857f4a90 100644
--- a/meta/recipes-extended/ltp/ltp_20240129.bb
+++ b/meta/recipes-extended/ltp/ltp_20240129.bb
@@ -28,7 +28,6 @@ SRCREV = "68737d20556d37364c95776044b1119c0912a36a"
SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \
file://0001-Remove-OOM-tests-from-runtest-mm.patch \
- file://disable_hanging_tests.patch \
"
S = "${WORKDIR}/git"
--
2.40.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] ltp: Enable extra test groups
2024-02-06 10:22 [PATCH 1/2] ltp: Enable extra test groups Richard Purdie
2024-02-06 10:22 ` [PATCH 2/2] ltp: Try re-enabling problematic test Richard Purdie
@ 2024-02-06 17:47 ` Petr Vorel
2024-02-07 17:24 ` Petr Vorel
2 siblings, 0 replies; 5+ messages in thread
From: Petr Vorel @ 2024-02-06 17:47 UTC (permalink / raw)
To: Richard Purdie; +Cc: openembedded-core
Hi Richard,
> Petr Vorel (upstream ltp maintainer) recommended some extra tests we should run.
> Enable these for extra test coverage.
> - ltp_groups = ["math", "syscalls", "dio", "io", "mm", "ipc", "sched", "nptl", "pty", "containers", "controllers", "filecaps", "cap_bounds", "fcntl-locktests", "commands", "net.ipv6_lib", "input","fs_perms_simple"]
> + ltp_groups = ["math", "syscalls", "dio", "io", "mm", "ipc", "sched", "nptl", "pty", "containers", "controllers", "filecaps", "cap_bounds", "fcntl-locktests", "commands", "net.ipv6_lib", "input","fs_perms_simple", "cve", "crypto", "ima", "net.nfs", "net_stress.ipsec_icmp", "net.ipv6", "numa", "uevent", "ltp-aiodio.part1", "ltp-aiodio.part2", "ltp-aiodio.part3", "ltp-aiodio.part4"]
nit: Sorting alphabetically or even list single item on it's own line would made
list a bit more readable.
Suggested-by: Petr Vorel <petr.vorel@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Thanks!
Kind regards,
Petr
> ltp_fs = ["fs", "fs_bind"]
> # skip kernel cpuhotplug
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] ltp: Try re-enabling problematic test
2024-02-06 10:22 ` [PATCH 2/2] ltp: Try re-enabling problematic test Richard Purdie
@ 2024-02-06 17:48 ` Petr Vorel
0 siblings, 0 replies; 5+ messages in thread
From: Petr Vorel @ 2024-02-06 17:48 UTC (permalink / raw)
To: Richard Purdie; +Cc: openembedded-core
Hi Richard,
> The proc01 test used to hang when reading /proc/kmsg. This issue could
> have been a number of issues which were fixed in the meantime. Try
> re-enabling the test to see if the issue is still present.
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Crossed fingers to get it either fixed or logs which shows what's wrong.
Thanks!
Kind regards,
Petr
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] ltp: Enable extra test groups
2024-02-06 10:22 [PATCH 1/2] ltp: Enable extra test groups Richard Purdie
2024-02-06 10:22 ` [PATCH 2/2] ltp: Try re-enabling problematic test Richard Purdie
2024-02-06 17:47 ` [PATCH 1/2] ltp: Enable extra test groups Petr Vorel
@ 2024-02-07 17:24 ` Petr Vorel
2 siblings, 0 replies; 5+ messages in thread
From: Petr Vorel @ 2024-02-07 17:24 UTC (permalink / raw)
To: Richard Purdie; +Cc: openembedded-core
Hi Richard,
> Petr Vorel (upstream ltp maintainer) recommended some extra tests we should run.
> Enable these for extra test coverage.
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
> meta/lib/oeqa/runtime/cases/ltp.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> diff --git a/meta/lib/oeqa/runtime/cases/ltp.py b/meta/lib/oeqa/runtime/cases/ltp.py
> index 9d93d314537..f588a93200e 100644
> --- a/meta/lib/oeqa/runtime/cases/ltp.py
> +++ b/meta/lib/oeqa/runtime/cases/ltp.py
> @@ -57,7 +57,7 @@ class LtpTestBase(OERuntimeTestCase):
> class LtpTest(LtpTestBase):
> - ltp_groups = ["math", "syscalls", "dio", "io", "mm", "ipc", "sched", "nptl", "pty", "containers", "controllers", "filecaps", "cap_bounds", "fcntl-locktests", "commands", "net.ipv6_lib", "input","fs_perms_simple"]
> + ltp_groups = ["math", "syscalls", "dio", "io", "mm", "ipc", "sched", "nptl", "pty", "containers", "controllers", "filecaps", "cap_bounds", "fcntl-locktests", "commands", "net.ipv6_lib", "input","fs_perms_simple", "cve", "crypto", "ima", "net.nfs", "net_stress.ipsec_icmp", "net.ipv6", "numa", "uevent", "ltp-aiodio.part1", "ltp-aiodio.part2", "ltp-aiodio.part3", "ltp-aiodio.part4"]
Also one thing comes to my mind: would it be possible to list all files in
/opt/ltp/runltp/ to detect runtest file names? Then it would be the most
reliable solution to find available runtest files.
> ltp_fs = ["fs", "fs_bind"]
> # skip kernel cpuhotplug
Also, is this ltp_kernel even used?
ltp_kernel = ["power_management_tests", "hyperthreading ", "kernel_misc", "hugetlb"]
Kind regards,
Petr
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-02-07 17:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-06 10:22 [PATCH 1/2] ltp: Enable extra test groups Richard Purdie
2024-02-06 10:22 ` [PATCH 2/2] ltp: Try re-enabling problematic test Richard Purdie
2024-02-06 17:48 ` Petr Vorel
2024-02-06 17:47 ` [PATCH 1/2] ltp: Enable extra test groups Petr Vorel
2024-02-07 17:24 ` Petr Vorel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.