[PATCH] [autotest-client-tests] UBUNTU: SAUCE: ubuntu_kernel_selftests: disable ptrace/vmaccess
Paolo Pisati
paolo.pisati at canonical.com
Fri Jun 19 11:14:11 UTC 2020
BugLink: https://bugs.launchpad.net/bugs/1884236
ptrace/vmaccess was introduced in 5.7-rc1 and is broken ATM, see also
https://lkml.org/lkml/2020/4/9/648 : disable the test until upstream develops a
fix.
Signed-off-by: Paolo Pisati <paolo.pisati at canonical.com>
---
ubuntu_kernel_selftests/ubuntu_kernel_selftests.py | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/ubuntu_kernel_selftests/ubuntu_kernel_selftests.py b/ubuntu_kernel_selftests/ubuntu_kernel_selftests.py
index 0b6bbd69..13772da0 100644
--- a/ubuntu_kernel_selftests/ubuntu_kernel_selftests.py
+++ b/ubuntu_kernel_selftests/ubuntu_kernel_selftests.py
@@ -177,6 +177,17 @@ class ubuntu_kernel_selftests(test.test):
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
+ #
+ fn = 'linux/tools/testing/selftests/ptrace/vmaccess.c'
+ mk = 'linux/tools/testing/selftests/ptrace/Makefile'
+ if os.path.exists(fn):
+ print "Disabling ptrace/vmacces"
+ cmd = 'sed -i "s/ vmaccess//" ' + mk
+ utils.system(cmd)
+
def run_once(self, test_name):
if test_name == 'setup':
return
--
2.27.0
More information about the kernel-team
mailing list