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>] [day] [month] [year] [list]
Date:   Mon, 16 May 2022 21:06:23 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Sidhartha Kumar <sidhartha.kumar@...cle.com>
Cc:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>, lkp@...ts.01.org,
        lkp@...el.com, LKML <linux-kernel@...r.kernel.org>
Subject: [selftest/vm]  e8b9989597: kernel-selftests.vm.make_fail



Greeting,

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

commit: e8b9989597daac896b3400b7005f24bf15233d9a ("selftest/vm: verify mmap addr in mremap_test")
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y

in testcase: kernel-selftests
version: kernel-selftests-x86_64-a6eb654d-1_20220501
with following parameters:

	sc_nr_hugepages: 2
	group: vm
	ucode: 0x28

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 1 sockets Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz with 8G 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 <oliver.sang@...el.com>



gcc -Wall -I ../../../../usr/include -DMADV_PAGEOUT=21 -no-pie    mremap_test.c -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-e8b9989597daac896b3400b7005f24bf15233d9a/tools/testing/selftests/vm/mremap_test
mremap_test.c:123:27: error: redefinition of ‘get_mmap_min_addr’
 static unsigned long long get_mmap_min_addr(void)
                           ^~~~~~~~~~~~~~~~~
mremap_test.c:70:27: note: previous definition of ‘get_mmap_min_addr’ was here
 static unsigned long long get_mmap_min_addr(void)
                           ^~~~~~~~~~~~~~~~~
mremap_test.c:70:27: warning: ‘get_mmap_min_addr’ defined but not used [-Wunused-function]
make: *** [../lib.mk:146: /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-e8b9989597daac896b3400b7005f24bf15233d9a/tools/testing/selftests/vm/mremap_test] Error 1
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-e8b9989597daac896b3400b7005f24bf15233d9a/tools/testing/selftests/vm'
2022-05-14 12:40:16 make run_tests -C vm
make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-e8b9989597daac896b3400b7005f24bf15233d9a/tools/testing/selftests/vm'
make --no-builtin-rules ARCH=x86 -C ../../../.. headers_install
make[1]: Entering directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-e8b9989597daac896b3400b7005f24bf15233d9a'
  INSTALL ./usr/include
make[1]: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-e8b9989597daac896b3400b7005f24bf15233d9a'
gcc -Wall -I ../../../../usr/include -DMADV_PAGEOUT=21 -no-pie    mremap_test.c -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-e8b9989597daac896b3400b7005f24bf15233d9a/tools/testing/selftests/vm/mremap_test
mremap_test.c:123:27: error: redefinition of ‘get_mmap_min_addr’
 static unsigned long long get_mmap_min_addr(void)
                           ^~~~~~~~~~~~~~~~~
mremap_test.c:70:27: note: previous definition of ‘get_mmap_min_addr’ was here
 static unsigned long long get_mmap_min_addr(void)
                           ^~~~~~~~~~~~~~~~~
mremap_test.c:70:27: warning: ‘get_mmap_min_addr’ defined but not used [-Wunused-function]
make: *** [../lib.mk:146: /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-e8b9989597daac896b3400b7005f24bf15233d9a/tools/testing/selftests/vm/mremap_test] Error 1
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-e8b9989597daac896b3400b7005f24bf15233d9a/tools/testing/selftests/vm'



To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        sudo bin/lkp install job.yaml           # job file is attached in this email
        bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
        sudo bin/lkp run generated-yaml-file

        # if come across any failure that blocks the test,
        # please remove ~/.lkp and /lkp dir to run from a clean state.



-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



View attachment "config-5.15.38-00100-ge8b9989597da" of type "text/plain" (163786 bytes)

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

View attachment "kernel-selftests" of type "text/plain" (47433 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ