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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202210062117.c7eef1a3-oliver.sang@intel.com>
Date:   Thu, 6 Oct 2022 21:23:50 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Richard Gobert <richardbgobert@...il.com>
CC:     <lkp@...ts.01.org>, <lkp@...el.com>,
        Jakub Kicinski <kuba@...nel.org>,
        David Ahern <dsahern@...nel.org>,
        <linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>
Subject: [net]  0e4d354762: kernel-selftests.net.fcnal-test.sh.fail


Greeting,

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

commit: 0e4d354762cefd3e16b4cff8988ff276e45effc4 ("net-next: Fix IP_UNICAST_IF option behavior for connected sockets")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

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

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

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/202210062117.c7eef1a3-oliver.sang@intel.com



# selftests: net: fcnal-test.sh
# SYSCTL: net.ipv4.udp_early_demux=1
# 
# 
# ###########################################################################
# IPv6/UDP
# ###########################################################################
# 
# 
# #################################################################
# No VRF
# 
# 
# #################################################################
# udp_l3mdev_accept disabled
# 
# SYSCTL: net.ipv4.udp_l3mdev_accept=0
# 
# TEST: Global server - ns-A IPv6                                               [ OK ]
# TEST: Device server - ns-A IPv6                                               [ OK ]
# TEST: Global server - ns-A IPv6 LLA                                           [ OK ]
# TEST: Device server - ns-A IPv6 LLA                                           [ OK ]
# TEST: Global server - ns-A loopback IPv6                                      [ OK ]
# TEST: No server - ns-A IPv6                                                   [ OK ]
# TEST: No server - ns-A loopback IPv6                                          [ OK ]
# TEST: No server - ns-A IPv6 LLA                                               [ OK ]
# TEST: Client - ns-B IPv6                                                      [ OK ]
# TEST: Client, device bind - ns-B IPv6                                         [ OK ]
# TEST: Client, device send via cmsg - ns-B IPv6                                [ OK ]
# TEST: Client, device bind via IPV6_UNICAST_IF - ns-B IPv6                     [ OK ]
# TEST: No server, unbound client - ns-B IPv6                                   [ OK ]
# TEST: No server, device client - ns-B IPv6                                    [ OK ]
# TEST: Client - ns-B loopback IPv6                                             [ OK ]
# TEST: Client, device bind - ns-B loopback IPv6                                [ OK ]
# TEST: Client, device send via cmsg - ns-B loopback IPv6                       [ OK ]
# TEST: Client, device bind via IPV6_UNICAST_IF - ns-B loopback IPv6            [ OK ]
# TEST: No server, unbound client - ns-B loopback IPv6                          [ OK ]
# TEST: No server, device client - ns-B loopback IPv6                           [ OK ]
# TEST: Client - ns-B IPv6 LLA                                                  [ OK ]
# TEST: Client, device bind - ns-B IPv6 LLA                                     [ OK ]
# TEST: Client, device send via cmsg - ns-B IPv6 LLA                            [ OK ]
# TEST: Client, device bind via IPV6_UNICAST_IF - ns-B IPv6 LLA                 [ OK ]
# TEST: No server, unbound client - ns-B IPv6 LLA                               [ OK ]
# TEST: No server, device client - ns-B IPv6 LLA                                [ OK ]
# TEST: Global server, local connection - ns-A IPv6                             [ OK ]
# TEST: Global server, local connection - ns-A loopback IPv6                    [ OK ]
# TEST: Global server, local connection - IPv6 loopback                         [ OK ]
# TEST: Device server, unbound client, local connection - ns-A IPv6             [ OK ]
# TEST: Device server, local connection - ns-A loopback IPv6                    [ OK ]
# TEST: Device server, local connection - IPv6 loopback                         [ OK ]
# TEST: Global server, device client, local connection - ns-A IPv6              [ OK ]
# TEST: Global server, device send via cmsg, local connection - ns-A IPv6       [ OK ]
# TEST: Global server, device client via IPV6_UNICAST_IF, local connection - ns-A IPv6  [ OK ]
# TEST: Global server, device client, local connection - ns-A loopback IPv6     [ OK ]
# TEST: Global server, device send via cmsg, local connection - ns-A loopback IPv6  [ OK ]
# TEST: Global server, device client via IP_UNICAST_IF, local connection - ns-A loopback IPv6  [ OK ]
# TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - ns-A loopback IPv6  [FAIL]
# TEST: Global server, device client, local connection - IPv6 loopback          [ OK ]
# TEST: Global server, device send via cmsg, local connection - IPv6 loopback   [ OK ]
# TEST: Global server, device client via IP_UNICAST_IF, local connection - IPv6 loopback  [ OK ]
# TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - IPv6 loopback  [ OK ]
# TEST: Device server, device client, local conn - ns-A IPv6                    [ OK ]
# TEST: No server, device client, local conn - ns-A IPv6                        [ OK ]
# TEST: UDP in - LLA to GUA                                                     [ OK ]
# 
# #################################################################
# udp_l3mdev_accept enabled
# 
# SYSCTL: net.ipv4.udp_l3mdev_accept=1
# 
# TEST: Global server - ns-A IPv6                                               [ OK ]
# TEST: Device server - ns-A IPv6                                               [ OK ]
# TEST: Global server - ns-A IPv6 LLA                                           [ OK ]
# TEST: Device server - ns-A IPv6 LLA                                           [ OK ]
# TEST: Global server - ns-A loopback IPv6                                      [ OK ]
# TEST: No server - ns-A IPv6                                                   [ OK ]
# TEST: No server - ns-A loopback IPv6                                          [ OK ]
# TEST: No server - ns-A IPv6 LLA                                               [ OK ]
# TEST: Client - ns-B IPv6                                                      [ OK ]
# TEST: Client, device bind - ns-B IPv6                                         [ OK ]
# TEST: Client, device send via cmsg - ns-B IPv6                                [ OK ]
# TEST: Client, device bind via IPV6_UNICAST_IF - ns-B IPv6                     [ OK ]
# TEST: No server, unbound client - ns-B IPv6                                   [ OK ]
# TEST: No server, device client - ns-B IPv6                                    [ OK ]
# TEST: Client - ns-B loopback IPv6                                             [ OK ]
# TEST: Client, device bind - ns-B loopback IPv6                                [ OK ]
# TEST: Client, device send via cmsg - ns-B loopback IPv6                       [ OK ]
# TEST: Client, device bind via IPV6_UNICAST_IF - ns-B loopback IPv6            [ OK ]
# TEST: No server, unbound client - ns-B loopback IPv6                          [ OK ]
# TEST: No server, device client - ns-B loopback IPv6                           [ OK ]
# TEST: Client - ns-B IPv6 LLA                                                  [ OK ]
# TEST: Client, device bind - ns-B IPv6 LLA                                     [ OK ]
# TEST: Client, device send via cmsg - ns-B IPv6 LLA                            [ OK ]
# TEST: Client, device bind via IPV6_UNICAST_IF - ns-B IPv6 LLA                 [ OK ]
# TEST: No server, unbound client - ns-B IPv6 LLA                               [ OK ]
# TEST: No server, device client - ns-B IPv6 LLA                                [ OK ]
# TEST: Global server, local connection - ns-A IPv6                             [ OK ]
# TEST: Global server, local connection - ns-A loopback IPv6                    [ OK ]
# TEST: Global server, local connection - IPv6 loopback                         [ OK ]
# TEST: Device server, unbound client, local connection - ns-A IPv6             [ OK ]
# TEST: Device server, local connection - ns-A loopback IPv6                    [ OK ]
# TEST: Device server, local connection - IPv6 loopback                         [ OK ]
# TEST: Global server, device client, local connection - ns-A IPv6              [ OK ]
# TEST: Global server, device send via cmsg, local connection - ns-A IPv6       [ OK ]
# TEST: Global server, device client via IPV6_UNICAST_IF, local connection - ns-A IPv6  [ OK ]
# TEST: Global server, device client, local connection - ns-A loopback IPv6     [ OK ]
# TEST: Global server, device send via cmsg, local connection - ns-A loopback IPv6  [ OK ]
# TEST: Global server, device client via IP_UNICAST_IF, local connection - ns-A loopback IPv6  [ OK ]
# TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - ns-A loopback IPv6  [FAIL]
# TEST: Global server, device client, local connection - IPv6 loopback          [ OK ]
# TEST: Global server, device send via cmsg, local connection - IPv6 loopback   [ OK ]
# TEST: Global server, device client via IP_UNICAST_IF, local connection - IPv6 loopback  [ OK ]
# TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - IPv6 loopback  [ OK ]
# TEST: Device server, device client, local conn - ns-A IPv6                    [ OK ]
# TEST: No server, device client, local conn - ns-A IPv6                        [ OK ]
# TEST: UDP in - LLA to GUA                                                     [ OK ]
# 
# #################################################################
# With VRF
# 
# 
# #################################################################
# Global server disabled
# 
# SYSCTL: net.ipv4.udp_l3mdev_accept=0
# 
# TEST: Global server - ns-A IPv6                                               [ OK ]
# TEST: Global server - VRF IPv6                                                [ OK ]
# TEST: VRF server - ns-A IPv6                                                  [ OK ]
# TEST: VRF server - VRF IPv6                                                   [ OK ]
# TEST: Enslaved device server - ns-A IPv6                                      [ OK ]
# TEST: Enslaved device server - VRF IPv6                                       [ OK ]
# TEST: No server - ns-A IPv6                                                   [ OK ]
# TEST: No server - VRF IPv6                                                    [ OK ]
# TEST: Global server, VRF client, local conn - ns-A IPv6                       [ OK ]
# TEST: Global server, VRF client, local conn - VRF IPv6                        [ OK ]
# TEST: VRF server, VRF client, local conn - ns-A IPv6                          [ OK ]
# TEST: VRF server, VRF client, local conn - VRF IPv6                           [ OK ]
# TEST: Global server, device client, local conn - ns-A IPv6                    [ OK ]
# TEST: VRF server, device client, local conn - ns-A IPv6                       [ OK ]
# TEST: Enslaved device server, VRF client, local conn - ns-A IPv6              [ OK ]
# TEST: Enslaved device server, device client, local conn - ns-A IPv6           [ OK ]
# 
# #################################################################
# Global server enabled
# 
# SYSCTL: net.ipv4.udp_l3mdev_accept=1
# 
# TEST: Global server - ns-A IPv6                                               [ OK ]
# TEST: Global server - VRF IPv6                                                [ OK ]
# TEST: VRF server - ns-A IPv6                                                  [ OK ]
# TEST: VRF server - VRF IPv6                                                   [ OK ]
# TEST: Enslaved device server - ns-A IPv6                                      [ OK ]
# TEST: Enslaved device server - VRF IPv6                                       [ OK ]
# TEST: No server - ns-A IPv6                                                   [ OK ]
# TEST: No server - VRF IPv6                                                    [ OK ]
# TEST: VRF client                                                              [ OK ]
# TEST: No server, VRF client                                                   [ OK ]
# TEST: Enslaved device client                                                  [ OK ]
# TEST: No server, enslaved device client                                       [ OK ]
# TEST: Global server, VRF client, local conn - ns-A IPv6                       [ OK ]
# TEST: VRF server, VRF client, local conn - ns-A IPv6                          [ OK ]
# TEST: Global server, VRF client, local conn - VRF IPv6                        [ OK ]
# TEST: VRF server, VRF client, local conn - VRF IPv6                           [ OK ]
# TEST: No server, VRF client, local conn - ns-A IPv6                           [ OK ]
# TEST: No server, VRF client, local conn - VRF IPv6                            [ OK ]
# TEST: Global server, device client, local conn - ns-A IPv6                    [ OK ]
# TEST: VRF server, device client, local conn - ns-A IPv6                       [ OK ]
# TEST: Device server, VRF client, local conn - ns-A IPv6                       [ OK ]
# TEST: Device server, device client, local conn - ns-A IPv6                    [ OK ]
# TEST: No server, device client, local conn - ns-A IPv6                        [ OK ]
# TEST: Global server, linklocal IP                                             [ OK ]
# TEST: No server, linklocal IP                                                 [ OK ]
# TEST: Enslaved device client, linklocal IP                                    [ OK ]
# TEST: No server, device client, peer linklocal IP                             [ OK ]
# TEST: Enslaved device client, local conn - linklocal IP                       [ OK ]
# TEST: No server, device client, local conn  - linklocal IP                    [ OK ]
# TEST: UDP in - LLA to GUA                                                     [ OK ]
# 
# Tests passed: 136
# Tests failed:   2
not ok 2 selftests: net: fcnal-test.sh # exit=1
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-0e4d354762cefd3e16b4cff8988ff276e45effc4/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-6.0.0-rc2-00573-g0e4d354762ce" of type "text/plain" (168281 bytes)

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

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

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ