2020-06-10 15:15:43

by Chen, Rong A

[permalink] [raw]
Subject: [smp] b2a02fc43a: suspend-stress.fail

Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: b2a02fc43a1f40ef4eb2fb2b06357382608d4d84 ("smp: Optimize send_call_function_single_ipi()")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: suspend-stress
with following parameters:

mode: freeze
iterations: 10



on test machine: 2 threads Broxton with 4G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <[email protected]>


the result of this commit:

test started


the result of parent commit:

SUSPEND RESUME TEST STARTED
Suspend to freeze 1/10:
/usr/bin/wget -q --timeout=1800 --tries=1 --local-encoding=UTF-8
http://inn:80/~lkp/cgi-bin/lkp-jobfile-append-var?job_file=/lkp/jobs/scheduled/lkp-bxtm-lenovo1/suspend-stress-10-freeze-debian-x86_64-20180403.cgz-afaa653c564da38c0b34c4baba31e88c46a8764c-20200607-19361-1r8b438-0.yaml&job_state=suspending-1/10
-O /dev/null
Done
Sleep for 10 seconds
Suspend to freeze 2/10:
/usr/bin/wget -q --timeout=1800 --tries=1 --local-encoding=UTF-8
http://inn:80/~lkp/cgi-bin/lkp-jobfile-append-var?job_file=/lkp/jobs/scheduled/lkp-bxtm-lenovo1/suspend-stress-10-freeze-debian-x86_64-20180403.cgz-afaa653c564da38c0b34c4baba31e88c46a8764c-20200607-19361-1r8b438-0.yaml&job_state=suspending-2/10
-O /dev/null
Done
Sleep for 10 seconds
Suspend to freeze 3/10:
/usr/bin/wget -q --timeout=1800 --tries=1 --local-encoding=UTF-8
http://inn:80/~lkp/cgi-bin/lkp-jobfile-append-var?job_file=/lkp/jobs/scheduled/lkp-bxtm-lenovo1/suspend-stress-10-freeze-debian-x86_64-20180403.cgz-afaa653c564da38c0b34c4baba31e88c46a8764c-20200607-19361-1r8b438-0.yaml&job_state=suspending-3/10
-O /dev/null
Done
Sleep for 10 seconds
Suspend to freeze 4/10:
/usr/bin/wget -q --timeout=1800 --tries=1 --local-encoding=UTF-8
http://inn:80/~lkp/cgi-bin/lkp-jobfile-append-var?job_file=/lkp/jobs/scheduled/lkp-bxtm-lenovo1/suspend-stress-10-freeze-debian-x86_64-20180403.cgz-afaa653c564da38c0b34c4baba31e88c46a8764c-20200607-19361-1r8b438-0.yaml&job_state=suspending-4/10
-O /dev/null
Done
Sleep for 10 seconds
Suspend to freeze 5/10:
/usr/bin/wget -q --timeout=1800 --tries=1 --local-encoding=UTF-8
http://inn:80/~lkp/cgi-bin/lkp-jobfile-append-var?job_file=/lkp/jobs/scheduled/lkp-bxtm-lenovo1/suspend-stress-10-freeze-debian-x86_64-20180403.cgz-afaa653c564da38c0b34c4baba31e88c46a8764c-20200607-19361-1r8b438-0.yaml&job_state=suspending-5/10
-O /dev/null
Done
Sleep for 10 seconds
Suspend to freeze 6/10:
/usr/bin/wget -q --timeout=1800 --tries=1 --local-encoding=UTF-8
http://inn:80/~lkp/cgi-bin/lkp-jobfile-append-var?job_file=/lkp/jobs/scheduled/lkp-bxtm-lenovo1/suspend-stress-10-freeze-debian-x86_64-20180403.cgz-afaa653c564da38c0b34c4baba31e88c46a8764c-20200607-19361-1r8b438-0.yaml&job_state=suspending-6/10
-O /dev/null
Done
Sleep for 10 seconds
Suspend to freeze 7/10:
/usr/bin/wget -q --timeout=1800 --tries=1 --local-encoding=UTF-8
http://inn:80/~lkp/cgi-bin/lkp-jobfile-append-var?job_file=/lkp/jobs/scheduled/lkp-bxtm-lenovo1/suspend-stress-10-freeze-debian-x86_64-20180403.cgz-afaa653c564da38c0b34c4baba31e88c46a8764c-20200607-19361-1r8b438-0.yaml&job_state=suspending-7/10
-O /dev/null
Done
Sleep for 10 seconds
Suspend to freeze 8/10:
/usr/bin/wget -q --timeout=1800 --tries=1 --local-encoding=UTF-8
http://inn:80/~lkp/cgi-bin/lkp-jobfile-append-var?job_file=/lkp/jobs/scheduled/lkp-bxtm-lenovo1/suspend-stress-10-freeze-debian-x86_64-20180403.cgz-afaa653c564da38c0b34c4baba31e88c46a8764c-20200607-19361-1r8b438-0.yaml&job_state=suspending-8/10
-O /dev/null
Done
Sleep for 10 seconds
Suspend to freeze 9/10:
/usr/bin/wget -q --timeout=1800 --tries=1 --local-encoding=UTF-8
http://inn:80/~lkp/cgi-bin/lkp-jobfile-append-var?job_file=/lkp/jobs/scheduled/lkp-bxtm-lenovo1/suspend-stress-10-freeze-debian-x86_64-20180403.cgz-afaa653c564da38c0b34c4baba31e88c46a8764c-20200607-19361-1r8b438-0.yaml&job_state=suspending-9/10
-O /dev/null
Done
Sleep for 10 seconds
Suspend to freeze 10/10:
/usr/bin/wget -q --timeout=1800 --tries=1 --local-encoding=UTF-8
http://inn:80/~lkp/cgi-bin/lkp-jobfile-append-var?job_file=/lkp/jobs/scheduled/lkp-bxtm-lenovo1/suspend-stress-10-freeze-debian-x86_64-20180403.cgz-afaa653c564da38c0b34c4baba31e88c46a8764c-20200607-19361-1r8b438-0.yaml&job_state=suspending-10/10
-O /dev/null
Done
Sleep for 10 seconds
SUSPEND RESUME TEST SUCCESS



To reproduce:

git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml



Thanks,
Rong Chen


Attachments:
(No filename) (4.65 kB)
config-5.7.0-rc6-00143-gb2a02fc43a1f4 (205.97 kB)
job-script (4.80 kB)
suspend-stress (14.00 B)
job.yaml (4.11 kB)
Download all attachments

2020-06-10 15:40:25

by Peter Zijlstra

[permalink] [raw]
Subject: Re: [smp] b2a02fc43a: suspend-stress.fail

On Wed, Jun 10, 2020 at 04:35:02PM +0800, kernel test robot wrote:
> Greeting,
>
> FYI, we noticed the following commit (built with gcc-9):
>
> commit: b2a02fc43a1f40ef4eb2fb2b06357382608d4d84 ("smp: Optimize send_call_function_single_ipi()")
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
>
> in testcase: suspend-stress
> with following parameters:
>
> mode: freeze
> iterations: 10
>
>
>
> on test machine: 2 threads Broxton with 4G memory
>
> caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
>
>
> If you fix the issue, kindly add following tag
> Reported-by: kernel test robot <[email protected]>
>
>
> the result of this commit:
>
> test started

No dmesg output? No splat?

2020-06-11 08:27:24

by Yu Chen

[permalink] [raw]
Subject: Re: [smp] b2a02fc43a: suspend-stress.fail

Hi Peter,
On Wed, Jun 10, 2020 at 5:52 PM Peter Zijlstra <[email protected]> wrote:
>
> On Wed, Jun 10, 2020 at 04:35:02PM +0800, kernel test robot wrote:
> > Greeting,
> >
> > FYI, we noticed the following commit (built with gcc-9):
> >
> > commit: b2a02fc43a1f40ef4eb2fb2b06357382608d4d84 ("smp: Optimize send_call_function_single_ipi()")
> > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
> >
> > in testcase: suspend-stress
> > with following parameters:
> >
> > mode: freeze
> > iterations: 10
> >
> >
> >
> > on test machine: 2 threads Broxton with 4G memory
> >
> > caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
> >
> >
> > If you fix the issue, kindly add following tag
> > Reported-by: kernel test robot <[email protected]>
> >
> >
> > the result of this commit:
> >
> > test started
>
> No dmesg output? No splat?
This issue was only found on one of the test machines from lkp team.
I've borrowed that machine and will try to narrow down and give feedback later.

thanks,
Chenyu

2020-06-11 16:12:54

by Peter Zijlstra

[permalink] [raw]
Subject: Re: [smp] b2a02fc43a: suspend-stress.fail

On Thu, Jun 11, 2020 at 04:24:53PM +0800, Chen Yu wrote:
> Hi Peter,
> On Wed, Jun 10, 2020 at 5:52 PM Peter Zijlstra <[email protected]> wrote:
> >
> > On Wed, Jun 10, 2020 at 04:35:02PM +0800, kernel test robot wrote:
> > > Greeting,
> > >
> > > FYI, we noticed the following commit (built with gcc-9):
> > >
> > > commit: b2a02fc43a1f40ef4eb2fb2b06357382608d4d84 ("smp: Optimize send_call_function_single_ipi()")
> > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
> > >
> > > in testcase: suspend-stress
> > > with following parameters:
> > >
> > > mode: freeze
> > > iterations: 10
> > >
> > >
> > >
> > > on test machine: 2 threads Broxton with 4G memory
> > >
> > > caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
> > >
> > >
> > > If you fix the issue, kindly add following tag
> > > Reported-by: kernel test robot <[email protected]>
> > >
> > >
> > > the result of this commit:
> > >
> > > test started
> >
> > No dmesg output? No splat?
> This issue was only found on one of the test machines from lkp team.
> I've borrowed that machine and will try to narrow down and give feedback later.

Thanks! One thing to maybe try is hotplug tests. Suspend does hotplugs,
and it might be easier to debug hotplug than it is to debug suspend.