Bug ID 1589
Summary meson_tests/driver link_bonding_autotest test failed
Product DPDK
Version 24.11
Hardware x86
OS All
Status UNCONFIRMED
Severity normal
Priority Normal
Component meson
Assignee dev@dpdk.org
Reporter hailinx.xu@intel.com
Target Milestone ---

Environment
===========
DPDK version: 24.11.0-rc4 a4f455560f747af8cd7fa99db86e757b7ff2fe79
OS: Red Hat Enterprise Linux 9.4 (Plow)/5.14.0-427.13.1.el9_4.x86_64
Compiler:  gcc version 11.4.1 20231218 (Red Hat 11.4.1-3)
Hardware platform: Intel(R) Xeon(R) Gold 6140M CPU @ 2.30GHz
NIC hardware: Ethernet Controller XXV710 for 25GbE SFP28 158b
NIC firmware: 
  FW: 9.50 0x8000f49c 255.65535.255
  Driver: 5.14.0-427.13.1.el9_4.x86_64

Test Setup
Steps to reproduce
==================
1. Bind ports to vfio-pci
./usertools/dpdk-devbind.py -b vfio-pci 0000:af:00.0 0000:af:00.1

2. Launch dpdk-test
./x86_64-native-linuxapp-gcc/app/dpdk-test -c 0xff -a 0000:af:00.0 -a
0000:af:00.1

3. Start link_bonding_autotest test
RTE>>link_bonding_autotest

Show the output from the previous commands.
===========================================
 + ------------------------------------------------------- +
 + Test Suite Summary : Link Bonding Unit Test Suite
 + ------------------------------------------------------- +
 + Tests Total :       65
 + Tests Skipped :      0
 + Tests Executed :    65
 + Tests Unsupported:   0
 + Tests Passed :      27
 + Tests Failed :      38
 + ------------------------------------------------------- +
Test Failed 

Expected Result
===============
 + ------------------------------------------------------- +
 + Test Suite Summary : Link Bonding Unit Test Suite
 + ------------------------------------------------------- +
 + Tests Total :       65
 + Tests Skipped :      0
 + Tests Executed :    65
 + Tests Unsupported:   0
 + Tests Passed :      65
 + Tests Failed :       0
 + ------------------------------------------------------- +
Test OK 

bad commit
**********
commit 112ce3917674b7e316776305d7e27778d17eb1b7 (HEAD)
Author: Stephen Hemminger <stephen@networkplumber.org>
Date:   Thu Nov 21 10:23:22 2024 -0800

    test/bonding: fix loop on members

    Do not use same variable for outer and inner loop in bonding test.
    Since the loop is just freeing the resulting burst use bulk free.

    Link: https://pvs-studio.com/en/blog/posts/cpp/1179/
    Fixes: 92073ef961ee ("bond: unit tests")
    Cc: stable@dpdk.org

    Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
    Acked-by: Bruce Richardson <bruce.richardson@intel.com>
    Acked-by: Chengwen Feng <fengchengwen@huawei.com>
          


You are receiving this mail because: