ACK: [PATCH] [autotest-client-tests] UBUNTU: SAUCE: ubuntu_kernel_selftests: disable ptrace/vmaccess
Andrea Righi
andrea.righi at canonical.com
Wed Jul 1 07:57:27 UTC 2020
On Fri, Jun 19, 2020 at 01:14:11PM +0200, Paolo Pisati wrote:
> 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>
> ---
Makes sense to me.
Acked-by: Andrea Righi <andrea.righi 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
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
More information about the kernel-team
mailing list