[autotest-client-tests][PATCH] UBUNTU: SAUCE: ubuntu_kernel_selftests: remove workaround for ftrace/kprobe_args_user.tc
Po-Hsu Lin
po-hsu.lin at canonical.com
Wed May 26 02:14:16 UTC 2021
This kprobe_args_user.tc in ftrace was disabled due to lp:1869227 it
will be marked as unresolved if not supported and marked as a failure.
With patch b730d668138cb3 ("ftrace/selftest: make unresolved cases
cause failure if --fail-unresolved set") landed (lp:1877958), an
unresolved case will not be treated as a failure unless we requested.
Therefore we can remove the workaround here.
Also note that with patch 1e11b7dbef17bb ("selftests/ftrace: Return
unsupported for the unconfigured features") this test will now be
marked correctly as unsupported.
Signed-off-by: Po-Hsu Lin <po-hsu.lin at canonical.com>
---
ubuntu_kernel_selftests/ubuntu_kernel_selftests.py | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/ubuntu_kernel_selftests/ubuntu_kernel_selftests.py b/ubuntu_kernel_selftests/ubuntu_kernel_selftests.py
index 93a97161..0f4c46d2 100644
--- a/ubuntu_kernel_selftests/ubuntu_kernel_selftests.py
+++ b/ubuntu_kernel_selftests/ubuntu_kernel_selftests.py
@@ -170,19 +170,6 @@ class ubuntu_kernel_selftests(test.test):
'kprobe/kprobe_module.tc',
]
- #
- # Ftrace 'Kprobe event user-memory access' test depends on
- # HAVE_FUNCTION_ARG_ACCESS_API, but ppc64 doesn't support it:
- # disable it to avoid an unresolved result (and thus a failure).
- #
- if self.arch in ['ppc64le', 's390x']:
- filenames.append('kprobe/kprobe_args_user.tc')
-
- for fn in filenames:
- fn = 'linux/tools/testing/selftests/ftrace/test.d/' + fn
- if os.path.exists(fn):
- os.remove(fn)
-
#
# ptrace/vmaccess was introduced in 5.7-rc1 and is broken ATM,
# see https://lkml.org/lkml/2020/4/9/648
--
2.25.1
More information about the kernel-team
mailing list