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: <202209201337.b1efd1e4-oliver.sang@intel.com>
Date:   Tue, 20 Sep 2022 15:02:34 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Anton Protopopov <aspsk@...valent.com>
CC:     <lkp@...ts.01.org>, <lkp@...el.com>, <bpf@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>,
        Alexei Starovoitov <ast@...nel.org>,
        "Daniel Borkmann" <daniel@...earbox.net>,
        Andrii Nakryiko <andrii@...nel.org>,
        Martin KaFai Lau <martin.lau@...ux.dev>,
        Stanislav Fomichev <sdf@...gle.com>,
        John Fastabend <john.fastabend@...il.com>,
        "Martynas Pumputis" <m@...bda.lt>,
        Nikolay Aleksandrov <razor@...ckwall.org>,
        "Anton Protopopov" <aspsk@...valent.com>,
        Eric Torng <torng@....edu>
Subject: [bpf]  692616731b: kernel-selftests.bpf.make_fail


Greeting,

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

commit: 692616731b1a8b24ee1bb4cb63e4cb04893fffee ("[RFC PATCH] bpf: introduce new bpf map type BPF_MAP_TYPE_WILDCARD")
url: https://github.com/intel-lab-lkp/linux/commits/Anton-Protopopov/bpf-introduce-new-bpf-map-type-BPF_MAP_TYPE_WILDCARD/20220907-160629
base: https://git.kernel.org/cgit/linux/kernel/git/bpf/bpf-next.git master
patch link: https://lore.kernel.org/bpf/20220907080140.290413-1-aspsk@isovalent.com

in testcase: kernel-selftests
version: kernel-selftests-x86_64-700a8991-1_20220823
with following parameters:

	group: net
	test: fcnal-test.sh
	atomic_test: ipv4_bind

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 (Skylake) 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>
| Link: https://lore.kernel.org/r/202209201337.b1efd1e4-oliver.sang@intel.com


  CLNG-BPF [test_maps] map_ptr_kern.bpf.o
progs/map_ptr_kern.c:314:26: error: field 'trie_key' with variable sized type 'struct bpf_lpm_trie_key' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
        struct bpf_lpm_trie_key trie_key;
                                ^
1 error generated.
make: *** [Makefile:522: /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-692616731b1a8b24ee1bb4cb63e4cb04893fffee/tools/testing/selftests/bpf/map_ptr_kern.bpf.o] Error 1
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-692616731b1a8b24ee1bb4cb63e4cb04893fffee/tools/testing/selftests/bpf'


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-6.0.0-rc3-00798-g692616731b1a" of type "text/plain" (168281 bytes)

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

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

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ