Message ID | 20200619111411.33871-1-paolo.pisati@canonical.com |
---|---|
State | New |
Headers | show |
Series | [autotest-client-tests] UBUNTU: SAUCE: ubuntu_kernel_selftests: disable ptrace/vmaccess | expand |
On Fri, 19 Jun 2020 13:14:11 +0200 Paolo Pisati <paolo.pisati@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@canonical.com> Seems reasonable. Acked-by: Juerg Haefliger <juergh@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
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@canonical.com> > --- Makes sense to me. Acked-by: Andrea Righi <andrea.righi@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@lists.ubuntu.com > https://lists.ubuntu.com/mailman/listinfo/kernel-team
Applied and pushed. Thanks Sam
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
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@canonical.com> --- ubuntu_kernel_selftests/ubuntu_kernel_selftests.py | 11 +++++++++++ 1 file changed, 11 insertions(+)