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:   Fri, 26 Jul 2019 16:37:41 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Jakub Kicinski <jakub.kicinski@...ronome.com>
Cc:     Daniel Borkmann <daniel@...earbox.net>,
        Dirk van der Merwe <dirk.vandermerwe@...ronome.com>,
        LKML <linux-kernel@...r.kernel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [selftests/tls] cf32526c88: kernel_selftests.net.tls.fail

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

commit: cf32526c8842781e32d6652a1e01e83b20490948 ("selftests/tls: add a test for ULP but no keys")
https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next.git pending-fixes

in testcase: kernel_selftests
with following parameters:

	group: kselftests-02

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: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G

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: net: tls
# tls.c:72:tls_basic.base_base:Expected errno (2) == ENOTSUPP (524)
# tls_basic.base_base: Test terminated by assertion
# [==========] Running 35 tests from 3 test cases.
# [ RUN      ] tls_basic.base_base
# [     FAIL ] tls_basic.base_base
# [ RUN      ] tls.sendfile
# [       OK ] tls.sendfile
# [ RUN      ] tls.send_then_sendfile
# [       OK ] tls.send_then_sendfile
# [ RUN      ] tls.recv_max
# [       OK ] tls.recv_max
# [ RUN      ] tls.recv_small
# [       OK ] tls.recv_small
# [ RUN      ] tls.msg_more
# [       OK ] tls.msg_more
# [ RUN      ] tls.sendmsg_single
# [       OK ] tls.sendmsg_single
# [ RUN      ] tls.sendmsg_large
# [       OK ] tls.sendmsg_large
# [ RUN      ] tls.sendmsg_multiple
# [       OK ] tls.sendmsg_multiple
# [ RUN      ] tls.sendmsg_multiple_stress
# [       OK ] tls.sendmsg_multiple_stress
# [ RUN      ] tls.splice_from_pipe
# [       OK ] tls.splice_from_pipe
# [ RUN      ] tls.splice_from_pipe2
# [       OK ] tls.splice_from_pipe2
# [ RUN      ] tls.send_and_splice
# [       OK ] tls.send_and_splice
# [ RUN      ] tls.splice_to_pipe
# [       OK ] tls.splice_to_pipe
# [ RUN      ] tls.recvmsg_single
# [       OK ] tls.recvmsg_single
# [ RUN      ] tls.recvmsg_single_max
# [       OK ] tls.recvmsg_single_max
# [ RUN      ] tls.recvmsg_multiple
# [       OK ] tls.recvmsg_multiple
# [ RUN      ] tls.single_send_multiple_recv
# [       OK ] tls.single_send_multiple_recv
# [ RUN      ] tls.multiple_send_single_recv
# [       OK ] tls.multiple_send_single_recv
# [ RUN      ] tls.single_send_multiple_recv_non_align
# [       OK ] tls.single_send_multiple_recv_non_align
# [ RUN      ] tls.recv_partial
# [       OK ] tls.recv_partial
# [ RUN      ] tls.recv_nonblock
# [       OK ] tls.recv_nonblock
# [ RUN      ] tls.recv_peek
# [       OK ] tls.recv_peek
# [ RUN      ] tls.recv_peek_multiple
# [       OK ] tls.recv_peek_multiple
# [ RUN      ] tls.recv_peek_multiple_records
# [       OK ] tls.recv_peek_multiple_records
# [ RUN      ] tls.recv_peek_large_buf_mult_recs
# [       OK ] tls.recv_peek_large_buf_mult_recs
# [ RUN      ] tls.recv_lowat
# [       OK ] tls.recv_lowat
# [ RUN      ] tls.pollin
# [       OK ] tls.pollin
# [ RUN      ] tls.poll_wait
# [       OK ] tls.poll_wait
# [ RUN      ] tls.poll_wait_split
# [       OK ] tls.poll_wait_split
# [ RUN      ] tls.blocking
# [       OK ] tls.blocking
# [ RUN      ] tls.nonblocking
# [       OK ] tls.nonblocking
# [ RUN      ] tls.control_msg
# [       OK ] tls.control_msg
# [ RUN      ] global.keysizes
# [       OK ] global.keysizes
# [ RUN      ] global.tls12
# [       OK ] global.tls12
# [==========] 34 / 35 tests passed.
# [  FAILED  ]
not ok 6 selftests: net: tls



To reproduce:

        # build kernel
	cd linux
	cp config-5.2.0-08346-gcf32526c884278 .config
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email



Thanks,
Rong Chen


View attachment "config-5.2.0-08346-gcf32526c884278" of type "text/plain" (198863 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ