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]
Message-ID: <20220527085351.GC11731@xsang-OptiPlex-9020>
Date:   Fri, 27 May 2022 16:53:51 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Lina Wang <lina.wang@...iatek.com>
Cc:     "David S. Miller" <davem@...emloft.net>,
        Maciej enczykowski <maze@...gle.com>,
        LKML <linux-kernel@...r.kernel.org>, netdev@...r.kernel.org,
        bpf@...r.kernel.org, lkp@...ts.01.org, lkp@...el.com,
        rong.a.chen@...el.com
Subject: [selftests net]  edae34a3ed: kernel-selftests.net.make_fail



Greeting,

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

commit: edae34a3ed9293b5077dddf9e51a3d86c95dc76a ("selftests net: add UDP GRO fraglist + bpf self-tests")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: kernel-selftests
version: kernel-selftests-x86_64-8d3977ef-1_20220523
with following parameters:

	group: net
	ucode: 0xec

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-6700 CPU @ 3.40GHz with 28G 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>



clang -O2 -target bpf -c bpf/nat6to4.c -I../../bpf -I../../../../../usr/include/ -o /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-edae34a3ed9293b5077dddf9e51a3d86c95dc76a/tools/testing/selftests/net/bpf/nat6to4.o
bpf/nat6to4.c:43:10: fatal error: 'bpf/bpf_helpers.h' file not found
#include <bpf/bpf_helpers.h>
         ^~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [bpf/Makefile:11: /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-edae34a3ed9293b5077dddf9e51a3d86c95dc76a/tools/testing/selftests/net/bpf/nat6to4.o] Error 1
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-edae34a3ed9293b5077dddf9e51a3d86c95dc76a/tools/testing/selftests/net'



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.18.0-rc5-00120-gedae34a3ed92" of type "text/plain" (167150 bytes)

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

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

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ