2018-04-17 02:58:55

by kernel test robot

[permalink] [raw]
Subject: [lkp-robot] [proc] 89d98ff979: kernel_selftests.proc.proc-loadavg-001.fail


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

commit: 89d98ff9795717225187dd20c5c557ef16c37372 ("proc: add selftest for last field of /proc/loadavg")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

in testcase: kernel_selftests
with following parameters:

group: kselftests-02

test-description: The kernel contains a set of "self tests" under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths in the kernel.
test-url: https://www.kernel.org/doc/Documentation/kselftest.txt


on test machine: 8 threads Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz with 8G memory

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



2018-04-11 00:11:20 make run_tests -C proc
make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-89d98ff9795717225187dd20c5c557ef16c37372/tools/testing/selftests/proc'
gcc -Wall -O2 proc-loadavg-001.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-89d98ff9795717225187dd20c5c557ef16c37372/tools/testing/selftests/proc/proc-loadavg-001
gcc -Wall -O2 proc-self-map-files-001.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-89d98ff9795717225187dd20c5c557ef16c37372/tools/testing/selftests/proc/proc-self-map-files-001
gcc -Wall -O2 proc-self-map-files-002.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-89d98ff9795717225187dd20c5c557ef16c37372/tools/testing/selftests/proc/proc-self-map-files-002
gcc -Wall -O2 proc-self-syscall.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-89d98ff9795717225187dd20c5c557ef16c37372/tools/testing/selftests/proc/proc-self-syscall
gcc -Wall -O2 proc-self-wchan.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-89d98ff9795717225187dd20c5c557ef16c37372/tools/testing/selftests/proc/proc-self-wchan
TAP version 13
selftests: proc-loadavg-001
========================================
not ok 1..1 selftests: proc-loadavg-001 [FAIL]
selftests: proc-self-map-files-001
========================================
ok 1..2 selftests: proc-self-map-files-001 [PASS]
selftests: proc-self-map-files-002
========================================
ok 1..3 selftests: proc-self-map-files-002 [PASS]
selftests: proc-self-syscall
========================================
ok 1..4 selftests: proc-self-syscall [PASS]
selftests: proc-self-wchan
========================================
ok 1..5 selftests: proc-self-wchan [PASS]
make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-89d98ff9795717225187dd20c5c557ef16c37372/tools/testing/selftests/proc'



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,
Xiaolong


Attachments:
(No filename) (2.76 kB)
config-4.16.0-rc7-00249-g89d98ff (168.69 kB)
job-script (5.93 kB)
dmesg.xz (43.05 kB)
kernel_selftests (66.67 kB)
job.yaml (5.32 kB)
reproduce (889.00 B)
Download all attachments

2018-04-17 18:42:59

by Alexey Dobriyan

[permalink] [raw]
Subject: Re: [lkp-robot] [proc] 89d98ff979: kernel_selftests.proc.proc-loadavg-001.fail

On Tue, Apr 17, 2018 at 10:54:26AM +0800, kernel test robot wrote:
>
> FYI, we noticed the following commit (built with gcc-7):
>
> commit: 89d98ff9795717225187dd20c5c557ef16c37372 ("proc: add selftest for last field of /proc/loadavg")

Fixed by https://marc.info/?l=linux-kernel&m=152364205819862&w=4
[PATCH] proc: fix /proc/loadavg regression