From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id A021BA00C2;
	Mon, 22 Aug 2022 11:13:08 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 8E51742B76;
	Mon, 22 Aug 2022 11:13:08 +0200 (CEST)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
 by mails.dpdk.org (Postfix) with ESMTP id 7379240694
 for <dev@dpdk.org>; Mon, 22 Aug 2022 11:13:07 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
 id 6457CA04FD; Mon, 22 Aug 2022 11:13:07 +0200 (CEST)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1070] [dpdk-20.11.6-rc1] unit_tests_eal/link_bonding_rssconf:
 link_bonding_rssconf_autotest test failed
Date: Mon, 22 Aug 2022 09:13:07 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: testpmd
X-Bugzilla-Version: 20.11
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: normal
X-Bugzilla-Who: linglix.chen@intel.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter
 target_milestone
Message-ID: <bug-1070-3@http.bugs.dpdk.org/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

https://bugs.dpdk.org/show_bug.cgi?id=3D1070

            Bug ID: 1070
           Summary: [dpdk-20.11.6-rc1]
                    unit_tests_eal/link_bonding_rssconf:
                    link_bonding_rssconf_autotest test failed
           Product: DPDK
           Version: 20.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: testpmd
          Assignee: dev@dpdk.org
          Reporter: linglix.chen@intel.com
  Target Milestone: ---

Environment

OS: Ubuntu 18.04.3 LTS/4.15.0-55-generic
Compiler: gcc version (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Hardware platform: Intel(R) Xeon(R) Gold 6139 CPU @ 2.30GHz
NIC hardware: Ethernet Controller XXV710 for 25GbE SFP28 158b
NIC firmware: 8.00 0x80008c1a 1.2766.0
driver: vfio-pci
kdriver: i40e-2.14.13


Test Setup

1. launch testpmd
x86_64-native-linuxapp-gcc/app/test/dpdk-test -l 1,2,3,4 -n 4
2.start autotest
RTE>>link_bonding_rssconf_autotest


Show the output from the previous commands.

 + ------------------------------------------------------- +
 + Test Suite : RSS Dynamic Configuration for Bonding Unit Test Suite
 + ------------------------------------------------------- +
 + TestCase [ 0] : test_setup succeeded
Device with port_id=3D0 already stopped
Device with port_id=3D1 already stopped
Device with port_id=3D2 already stopped
Device with port_id=3D3 already stopped
bond_ethdev_promiscuous_disable(2669) - Failed to disable promiscuous mode =
for
port 0: Operation not supported
bond_ethdev_promiscuous_disable(2669) - Failed to disable promiscuous mode =
for
port 1: Operation not supported
bond_ethdev_promiscuous_disable(2669) - Failed to disable promiscuous mode =
for
port 2: Operation not supported
bond_ethdev_promiscuous_disable(2669) - Failed to disable promiscuous mode =
for
port 3: Operation not supported
bond_ethdev_allmulticast_disable(2815) - Failed to disable allmulti mode for
port 0: Operation not supported
bond_ethdev_allmulticast_disable(2815) - Failed to disable allmulti mode for
port 1: Operation not supported
bond_ethdev_allmulticast_disable(2815) - Failed to disable allmulti mode for
port 2: Operation not supported
bond_ethdev_allmulticast_disable(2815) - Failed to disable allmulti mode for
port 3: Operation not supported
bond_ethdev_rss_hash_update(3124) - rss_key will be truncated
bond_ethdev_rss_hash_update(3124) - rss_key will be truncated
bond_ethdev_rss_hash_update(3124) - rss_key will be truncated
bond_ethdev_rss_hash_update(3124) - rss_key will be truncated
bond_ethdev_rss_hash_update(3124) - rss_key will be truncated
bond_ethdev_rss_hash_update(3124) - rss_key will be truncated
bond_ethdev_rss_hash_update(3124) - rss_key will be truncated
bond_ethdev_rss_hash_update(3124) - rss_key will be truncated
bond_ethdev_rss_hash_update(3124) - rss_key will be truncated
Port 0 must be stopped to allow reset
Port 0 must be stopped to allow reset
Port 1 must be stopped to allow reset
Port 2 must be stopped to allow reset
Port 3 must be stopped to allow reset
 + TestCase [ 1] : test_rss succeeded
bond_ethdev_promiscuous_disable(2669) - Failed to disable promiscuous mode =
for
port 0: Operation not supported
bond_ethdev_promiscuous_disable(2669) - Failed to disable promiscuous mode =
for
port 1: Operation not supported
bond_ethdev_promiscuous_disable(2669) - Failed to disable promiscuous mode =
for
port 2: Operation not supported
bond_ethdev_promiscuous_disable(2669) - Failed to disable promiscuous mode =
for
port 3: Operation not supported
bond_ethdev_allmulticast_disable(2815) - Failed to disable allmulti mode for
port 0: Operation not supported
bond_ethdev_allmulticast_disable(2815) - Failed to disable allmulti mode for
port 1: Operation not supported
bond_ethdev_allmulticast_disable(2815) - Failed to disable allmulti mode for
port 2: Operation not supported
bond_ethdev_allmulticast_disable(2815) - Failed to disable allmulti mode for
port 3: Operation not supported
EAL: Test assert test_rss_config_lazy line 502 failed: Succeeded in setting
bonded port hash function
EAL: Test assert test_rss_lazy line 568 failed: Succeeded in setting RSS ha=
sh
when RX_RSS mq_mode is turned off
Port 0 must be stopped to allow reset
Port 1 must be stopped to allow reset
Port 2 must be stopped to allow reset
Port 3 must be stopped to allow reset
 + TestCase [ 2] : test_rss_lazy failed
Device with port_id=3D4 already stopped
 + ------------------------------------------------------- +
 + Test Suite Summary=20
 + Tests Total :        3
 + Tests Skipped :      0
 + Tests Executed :     3
 + Tests Unsupported:   0
 + Tests Passed :       2
 + Tests Failed :       1
 + ------------------------------------------------------- +
Test Failed

Expected Result

 + ------------------------------------------------------- +
 + Test Suite Summary : RSS Dynamic Configuration for Bonding Unit Test Sui=
te
 + ------------------------------------------------------- +
 + Tests Total :        3
 + Tests Skipped :      0
 + Tests Executed :     3
 + Tests Unsupported:   0
 + Tests Passed :       3
 + Tests Failed :       0
 + ------------------------------------------------------- +
Test OK

Regression
Is this issue a regression: (Y/N)Y

Version the regression was introduced: Specify git id if known.
commit 1adbdac76c2277546bedfb664a37d6e7e5339721
Author: Huisong Li <lihuisong@huawei.com>
Date:   Wed Jun 8 19:45:48 2022 +0800

    test/bonding: fix RSS test when disable RSS

    [ upstream commit 6496922368fe03be9ab4137f2d615dba1a766f39 ]

    The "test_rss_lazy" test is used for testing bonding RSS functions
    when bonded port disable RSS. Currently, this test case can update
    RSS functions of bonded and slave port if bonded port turns off RSS.
    It is unreasonable and has been adjusted to be non-updateable in
    following patch:
    "93e1ea6dfa99 ethdev: fix RSS update when RSS is disabled"

    So this patch fixes this test code.

    Fixes: 43b630244e7e ("app/test: add dynamic bonding RSS configuration")

    Signed-off-by: Huisong Li <lihuisong@huawei.com>
    Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>

--=20
You are receiving this mail because:
You are the assignee for the bug.=