ACK: [PATCH] [autotest-client-tests] UBUNTU: SAUCE: ubuntu_kernel_selftests: disable ptrace/vmaccess

Juerg Haefliger juerg.haefliger at canonical.com
Wed Jul 1 07:28:45 UTC 2020


On Fri, 19 Jun 2020 13:14:11 +0200
Paolo Pisati <paolo.pisati at canonical.com> 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>

Seems reasonable.

Acked-by: Juerg Haefliger <juergh 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20200701/5ad99968/attachment.sig>


More information about the kernel-team mailing list