2015-12-29 03:16:28

by kernel test robot

[permalink] [raw]
Subject: [lkp] [x86,vdso] 6c5548f6d7: autotest.signaltest.fail

FYI, we noticed the below changes on

https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/vdso
commit 6c5548f6d716edd2e88add5e7826d15acae30108 ("x86,vdso: Use .fault instead of remap_pfn_range for the vvar mapping")


2015-12-28 18:41:40 client/autotest-local run signaltest
18:41:40 INFO | Writing results to /lkp/benchmarks/autotest/client/results/default
18:41:40 ERROR| Could not determine initlevel, assuming 2
18:41:40 INFO | START ---- ---- timestamp=1451299300 localtime=Dec 28 18:41:40
18:41:40 INFO | START signaltest signaltest timestamp=1451299300 localtime=Dec 28 18:41:40
18:41:41 WARNI| Could not find GDB installed. Crash handling will operate with limited functionality
18:41:41 ERROR| [stderr] signaltest.c: In function 'signalthread':
18:41:41 ERROR| [stderr] signaltest.c:133:27: warning: null argument where non-null required (argument 1) [-Wnonnull]
18:41:41 ERROR| [stderr] gettimeofday(0,(struct timezone *)1);
18:41:41 ERROR| [stderr] ^
18:41:41 ERROR| [stderr] signaltest.c:179:5: warning: null argument where non-null required (argument 1) [-Wnonnull]
18:41:41 ERROR| [stderr] gettimeofday(0,0);
18:41:41 ERROR| [stderr] ^
18:41:41 ERROR| Exception escaping from test:
Traceback (most recent call last):
File "/lkp/benchmarks/autotest/client/shared/test.py", line 411, in _exec
_call_test_function(self.execute, *p_args, **p_dargs)
File "/lkp/benchmarks/autotest/client/shared/test.py", line 823, in _call_test_function
return func(*args, **dargs)
File "/lkp/benchmarks/autotest/client/tests/signaltest/signaltest.py", line 19, in execute
utils.system(self.srcdir + '/signaltest ' + args)
File "/lkp/benchmarks/autotest/client/shared/utils.py", line 1230, in system
verbose=verbose).exit_status
File "/lkp/benchmarks/autotest/client/shared/utils.py", line 916, in run
"Command returned non-zero exit status")
CmdError: Command </lkp/benchmarks/autotest/client/tmp/signaltest/src/signaltest -t 10 -l 100000> failed, rc=-7, Command returned non-zero exit status
* Command:
/lkp/benchmarks/autotest/client/tmp/signaltest/src/signaltest -t 10 -l
100000
Exit status: -7
Duration: 0.0431470870972

18:41:41 WARNI| Programs crashed during test execution
18:41:41 WARNI| Please verify /lkp/benchmarks/autotest/client/results/default/signaltest/debug/crash.signaltest.814 for more info
18:41:41 INFO | System log file not found (looked for ['/var/log/messages', '/var/log/syslog'])
18:41:41 ERROR| child process failed
18:41:41 INFO | ERROR signaltest signaltest timestamp=1451299301 localtime=Dec 28 18:41:41 Command </lkp/benchmarks/autotest/client/tmp/signaltest/src/signaltest -t 10 -l 100000> failed, rc=-7, Command returned non-zero exit status
* Command:
/lkp/benchmarks/autotest/client/tmp/signaltest/src/signaltest -t 10 -l
100000
Exit status: -7
Duration: 0.0431470870972

18:41:41 INFO | END ERROR signaltest signaltest timestamp=1451299301 localtime=Dec 28 18:41:41
18:41:41 INFO | END GOOD ---- ---- timestamp=1451299301 localtime=Dec 28 18:41:41
18:41:41 INFO | Report successfully generated at /lkp/benchmarks/autotest/client/results/default/job_report.html



To reproduce:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml



Thanks,
Ying Huang


Attachments:
(No filename) (3.38 kB)
config-4.4.0-rc2-00023-g6c5548f (139.70 kB)
kmsg.xz (20.13 kB)
job.yaml (3.39 kB)
reproduce.sh (429.00 B)
Download all attachments

2015-12-29 13:16:19

by Andy Lutomirski

[permalink] [raw]
Subject: Re: [lkp] [x86,vdso] 6c5548f6d7: autotest.signaltest.fail

On Mon, Dec 28, 2015 at 7:16 PM, kernel test robot
<[email protected]> wrote:
> FYI, we noticed the below changes on
>
> https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/vdso
> commit 6c5548f6d716edd2e88add5e7826d15acae30108 ("x86,vdso: Use .fault instead of remap_pfn_range for the vvar mapping")

Nice catch!

I haven't reproduced this, but I think it's a race, and I updated the
branch with a fix.

--Andy

>
>
> 2015-12-28 18:41:40 client/autotest-local run signaltest
> 18:41:40 INFO | Writing results to /lkp/benchmarks/autotest/client/results/default
> 18:41:40 ERROR| Could not determine initlevel, assuming 2
> 18:41:40 INFO | START ---- ---- timestamp=1451299300 localtime=Dec 28 18:41:40
> 18:41:40 INFO | START signaltest signaltest timestamp=1451299300 localtime=Dec 28 18:41:40
> 18:41:41 WARNI| Could not find GDB installed. Crash handling will operate with limited functionality
> 18:41:41 ERROR| [stderr] signaltest.c: In function 'signalthread':
> 18:41:41 ERROR| [stderr] signaltest.c:133:27: warning: null argument where non-null required (argument 1) [-Wnonnull]
> 18:41:41 ERROR| [stderr] gettimeofday(0,(struct timezone *)1);
> 18:41:41 ERROR| [stderr] ^
> 18:41:41 ERROR| [stderr] signaltest.c:179:5: warning: null argument where non-null required (argument 1) [-Wnonnull]
> 18:41:41 ERROR| [stderr] gettimeofday(0,0);
> 18:41:41 ERROR| [stderr] ^
> 18:41:41 ERROR| Exception escaping from test:
> Traceback (most recent call last):
> File "/lkp/benchmarks/autotest/client/shared/test.py", line 411, in _exec
> _call_test_function(self.execute, *p_args, **p_dargs)
> File "/lkp/benchmarks/autotest/client/shared/test.py", line 823, in _call_test_function
> return func(*args, **dargs)
> File "/lkp/benchmarks/autotest/client/tests/signaltest/signaltest.py", line 19, in execute
> utils.system(self.srcdir + '/signaltest ' + args)
> File "/lkp/benchmarks/autotest/client/shared/utils.py", line 1230, in system
> verbose=verbose).exit_status
> File "/lkp/benchmarks/autotest/client/shared/utils.py", line 916, in run
> "Command returned non-zero exit status")
> CmdError: Command </lkp/benchmarks/autotest/client/tmp/signaltest/src/signaltest -t 10 -l 100000> failed, rc=-7, Command returned non-zero exit status
> * Command:
> /lkp/benchmarks/autotest/client/tmp/signaltest/src/signaltest -t 10 -l
> 100000
> Exit status: -7
> Duration: 0.0431470870972
>
> 18:41:41 WARNI| Programs crashed during test execution
> 18:41:41 WARNI| Please verify /lkp/benchmarks/autotest/client/results/default/signaltest/debug/crash.signaltest.814 for more info
> 18:41:41 INFO | System log file not found (looked for ['/var/log/messages', '/var/log/syslog'])
> 18:41:41 ERROR| child process failed
> 18:41:41 INFO | ERROR signaltest signaltest timestamp=1451299301 localtime=Dec 28 18:41:41 Command </lkp/benchmarks/autotest/client/tmp/signaltest/src/signaltest -t 10 -l 100000> failed, rc=-7, Command returned non-zero exit status
> * Command:
> /lkp/benchmarks/autotest/client/tmp/signaltest/src/signaltest -t 10 -l
> 100000
> Exit status: -7
> Duration: 0.0431470870972
>
> 18:41:41 INFO | END ERROR signaltest signaltest timestamp=1451299301 localtime=Dec 28 18:41:41
> 18:41:41 INFO | END GOOD ---- ---- timestamp=1451299301 localtime=Dec 28 18:41:41
> 18:41:41 INFO | Report successfully generated at /lkp/benchmarks/autotest/client/results/default/job_report.html
>
>
>
> To reproduce:
>
> git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
> cd lkp-tests
> bin/lkp install job.yaml # job file is attached in this email
> bin/lkp run job.yaml
>
>
>
> Thanks,
> Ying Huang



--
Andy Lutomirski
AMA Capital Management, LLC