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: <20200106095627.GJ25360@shao2-debian>
Date:   Mon, 6 Jan 2020 17:56:28 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Mat Martineau <mathew.j.martineau@...ux.intel.com>
Cc:     0day robot <lkp@...el.com>, Paolo Abeni <pabeni@...hat.com>,
        Matthieu Baerts <matthieu.baerts@...sares.net>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org,
        bpf@...r.kernel.org
Subject: [sock] 7c68c878c9: kernel_selftests.bpf.test_sock_fields.fail

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

commit: 7c68c878c9fb0edb23adbcf43cdf215aa4d06550 ("sock: Make sk_protocol a 16-bit value")
https://github.com/0day-ci/linux/commits/Mat-Martineau/Multipath-TCP-Prerequisites/20191221-043618

in testcase: kernel_selftests
with following parameters:

	group: kselftests-00
	ucode: 0x500002c

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: 192 threads Intel(R) Xeon(R) Platinum 9242 CPU @ 2.30GHz with 192G 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 <rong.a.chen@...el.com>



# selftests: bpf: test_select_reuseport
# libbpf: failed to guess program type from ELF section 'select_by_skb_data'
# libbpf: supported section(type) names are: socket kprobe/ uprobe/ kretprobe/ uretprobe/ classifier action tracepoint/ tp/ raw_tracepoint/ raw_tp/ tp_btf/ fentry/ fexit/ xdp perf_event lwt_in lwt_out lwt_xmit lwt_seg6local cgroup_skb/ingress cgroup_skb/egress cgroup/skb cgroup/sock cgroup/post_bind4 cgroup/post_bind6 cgroup/dev sockops sk_skb/stream_parser sk_skb/stream_verdict sk_skb sk_msg lirc_mode2 flow_dissector cgroup/bind4 cgroup/bind6 cgroup/connect4 cgroup/connect6 cgroup/sendmsg4 cgroup/sendmsg6 cgroup/recvmsg4 cgroup/recvmsg6 cgroup/sysctl cgroup/getsockopt cgroup/setsockopt
# ######## IPv6/TCP LOOPBACK ########
# test_err_inner_map: unexpected result
#  result: [0, 0, 0, 1, 0, 0]
# expected: [1, 0, 0, 0, 0, 0]
# check_results(343):FAIL:unexpected result expected_results[0] != results[0] bpf_prog_linum:142
not ok 17 selftests: bpf: test_select_reuseport # exit=255
# selftests: bpf: test_netcnt
# test_netcnt:PASS
ok 18 selftests: bpf: test_netcnt
# selftests: bpf: test_tcpnotify_user
# PASSED!
ok 19 selftests: bpf: test_tcpnotify_user
# selftests: bpf: test_sock_fields
# srv_sa6.sin6_port:52925 cli_sa6.sin6_port:49969
# 
# check_sk_pkt_out_cnt(269):FAIL:bpf_map_lookup_elem(sk_pkt_out_cnt, &accept_fd) err:0 errno:115 pkt_out_cnt:2 pkt_out_cnt10:20
not ok 20 selftests: bpf: test_sock_fields # exit=255


To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Rong Chen


View attachment "config-5.5.0-rc1-00182-g7c68c878c9fb0" of type "text/plain" (202573 bytes)

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

Download attachment "kmsg.xz" of type "application/x-xz" (55016 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ