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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20180424032044.GW5563@yexl-desktop>
Date:   Tue, 24 Apr 2018 11:20:44 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Paolo Bonzini <pbonzini@...hat.com>
Cc:     linux-kernel@...r.kernel.org, lkp@...org
Subject: [lkp-robot] [kvm]  783e9e5126:
 kernel_selftests.kvm.set_sregs_test.fail


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

commit: 783e9e51266ebb7f78c606a53cb0fa41bb7c31a0 ("kvm: selftests: add API testing infrastructure")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

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: 88 threads Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz with 64G memory

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


gcc -O2 -g -I../../../..//usr/include/ -Iinclude -I.    set_sregs_test.c /usr/src/linux-selftests-x86_64-rhel-7.2-783e9e51266ebb7f78c606a53cb0fa41bb7c31a0/tools/testing/selftests/kvm/libkvm.a  -o /usr/src/linux-selftests-x86_64-rhel-7.2-783e9e51266ebb7f78c606a53cb0fa41bb7c31a0/tools/testing/selftests/kvm/set_sregs_test
TAP version 13
selftests: set_sregs_test
========================================
==== Test Assertion Failure ====
  lib/kvm_util.c:95: kvm_fd >= 0
  pid=19892 tid=19892
     1	0x0000000000401a6e: vm_create at kvm_util.c:94
     2	0x0000000000406149: vm_create_default at x86.c:688
     3	0x0000000000400d01: main at set_sregs_test.c:39
     4	0x00007fa0cbf61a86: ?? ??:0
     5	0x0000000000400de9: _start at ??:?
  open /dev/kvm failed, rc: -1 errno: 2
not ok 1..1 selftests:  set_sregs_test [FAIL]
make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-783e9e51266ebb7f78c606a53cb0fa41bb7c31a0/tools/testing/selftests/kvm'


Thanks,
Xiaolong

View attachment "config-4.16.0-rc4-00192-g783e9e5" of type "text/plain" (166026 bytes)

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

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

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

View attachment "job.yaml" of type "text/plain" (5276 bytes)

View attachment "reproduce" of type "text/plain" (885 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ