lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 11 Mar 2019 15:56:06 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     William Breathitt Gray <vilhelm.gray@...il.com>
Cc:     linus.walleij@...aro.org, akpm@...ux-foundation.org,
        linux-gpio@...r.kernel.org, linux-arch@...r.kernel.org,
        linux-kernel@...r.kernel.org, andriy.shevchenko@...ux.intel.com,
        linux@...musvillemoes.dk, yamada.masahiro@...ionext.com,
        bgolaszewski@...libre.com, linux-arm-kernel@...ts.infradead.org,
        William Breathitt Gray <vilhelm.gray@...il.com>,
        Andy Shevchenko <andy.shevchenko@...il.com>, lkp@...org
Subject: [LKP] [lib/test_bitmap.c]  ecdc93614a:
 kernel_selftests.lib.bitmap.sh.fail

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

commit: ecdc93614ac2e83d11b08e8b603ebd14e90c39c2 ("[PATCH v9 2/9] lib/test_bitmap.c: Add for_each_set_clump8 test cases")
url: https://github.com/0day-ci/linux/commits/William-Breathitt-Gray/Introduce-the-for_each_set_clump8-macro/20190305-073809
base: https://git.kernel.org/cgit/linux/kernel/git/linusw/linux-gpio.git for-next

in testcase: kernel_selftests
with following parameters:

	group: kselftests-01

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: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 4G

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




KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-7.6-ecdc93614ac2e83d11b08e8b603ebd14e90c39c2
2019-03-08 11:24:52 ln -sf /usr/bin/clang-7 /usr/bin/clang
2019-03-08 11:24:52 ln -sf /usr/bin/llc-7 /usr/bin/llc

2019-03-08 11:28:25 make run_tests -C lib
make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-7.6-ecdc93614ac2e83d11b08e8b603ebd14e90c39c2/tools/testing/selftests/lib'
TAP version 13
selftests: lib: printf.sh
========================================
printf: ok
ok 1..1 selftests: lib: printf.sh [PASS]
selftests: lib: bitmap.sh
========================================
bitmap: [FAIL]
not ok 1..2 selftests: lib: bitmap.sh [FAIL]
selftests: lib: prime_numbers.sh
========================================
prime_numbers: ok
ok 1..3 selftests: lib: prime_numbers.sh [PASS]
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-7.6-ecdc93614ac2e83d11b08e8b603ebd14e90c39c2/tools/testing/selftests/lib'
locking test: not in Makefile



To reproduce:

        # build kernel
	cd linux
	cp config-5.0.0-rc6-00113-gecdc936 .config
	make HOSTCC=gcc-8 CC=gcc-8 ARCH=x86_64 olddefconfig
	make HOSTCC=gcc-8 CC=gcc-8 ARCH=x86_64 prepare
	make HOSTCC=gcc-8 CC=gcc-8 ARCH=x86_64 modules_prepare
	make HOSTCC=gcc-8 CC=gcc-8 ARCH=x86_64 SHELL=/bin/bash
	make HOSTCC=gcc-8 CC=gcc-8 ARCH=x86_64 bzImage


        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email



Thanks,
Rong Chen


View attachment "config-5.0.0-rc6-00113-gecdc936" of type "text/plain" (191869 bytes)

View attachment "job-script" of type "text/plain" (6342 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (38964 bytes)

View attachment "kernel_selftests" of type "text/plain" (64964 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ