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: <20220104023935.GB34745@xsang-OptiPlex-9020>
Date:   Tue, 4 Jan 2022 10:39:35 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Andrii Nakryiko <andrii@...nel.org>
Cc:     Alexei Starovoitov <ast@...nel.org>,
        Dave Marchevsky <davemarchevsky@...com>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org,
        lkp@...el.com
Subject: [selftests/bpf]  8fffa0e345: kernel-selftests.net.veth.sh.fail



Greeting,

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

commit: 8fffa0e3451abdd84e4b4e427f7e66040eb24f43 ("selftests/bpf: Normalize XDP section names in selftests")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: kernel-selftests
version: kernel-selftests-x86_64-a1616593-1_20211231
with following parameters:

	group: net
	ucode: 0xe2

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: 4 threads Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz with 32G 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>



# selftests: net: veth.sh
# default - gro flag                                           ok 
#         - peer gro flag                                      ok 
#         - tso flag                                           ok 
#         - peer tso flag                                      ok 
#         - aggregation                                        ok 
#         - aggregation with TSO off                           ok 
# with gro on - gro flag                                       ok 
#         - peer gro flag                                      ok 
#         - tso flag                                           ok 
#         - peer tso flag                                      ok 
#         - aggregation with TSO off                           ok 
# default channels                                             fail rx:1:1 tx:1:1 combined:n/a:0
# with gro enabled on link down - gro flag                     ok 
#         - peer gro flag                                      ok 
#         - tso flag                                           ok 
#         - peer tso flag                                      ok 
#         - aggregation with TSO off                           ok 
# setting tx channels                                          fail rx:1:1 tx:2:2 combined:n/a:0
# setting both rx and tx channels                              fail rx:3:3 tx:3:3 combined:n/a:0
# bad setting: combined channels                               fail rx:3:3 tx:3:3 combined:n/a:0
# setting invalid channels nr                                  fail rx:3:3 tx:3:3 combined:n/a:0
# bad setting: XDP with RX nr less than TX                     ok 
# bad setting: reducing RX nr below peer TX with XDP set      fail - set operation successful ?!?
# bad setting: increasing peer TX nr above RX with XDP set    fail - set operation successful ?!?
# setting invalid channels nr                                  fail rx:2:1 tx:2:2 combined:n/a:0
# with xdp attached - gro flag                                 fail - expected on found off
#         - peer gro flag                                      ok 
#         - tso flag                                           fail - expected off found on
#         - peer tso flag                                      ok 
#         - aggregation                                        ok 
#         - after dev off, flag                                fail - expected on found off
#         - peer flag                                          ok 
#         - after gro on xdp off, gro flag                     ok 
#         - peer gro flag                                      ok 
#         - tso flag                                           ok 
#         - peer tso flag                                      ok 
# decreasing tx channels with device down                      fail rx:2:1 tx:1:1 combined:n/a:0
#         - aggregation                                        ok 
# increasing tx channels with device down                      fail rx:2:1 tx:2:2 combined:n/a:0
# aggregation again with default and TSO off                   ok 
not ok 47 selftests: net: veth.sh # exit=1



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.



---
0DAY/LKP+ Test Infrastructure                   Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org       Intel Corporation

Thanks,
Oliver Sang


Download attachment "config-5.15.0-rc1-00368-g8fffa0e3451a.old" of type "application/x-trash" (176705 bytes)

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

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

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ