[DPDK/meson Bug 1594] [dpdk-21.11.9-rc1] unit_tests_eal/link_bonding: link_bonding_autotest test failed
bugzilla at dpdk.org
bugzilla at dpdk.org
Wed Dec 11 08:58:37 CET 2024
https://bugs.dpdk.org/show_bug.cgi?id=1594
Bug ID: 1594
Summary: [dpdk-21.11.9-rc1] unit_tests_eal/link_bonding:
link_bonding_autotest test failed
Product: DPDK
Version: 21.11
Hardware: x86
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: meson
Assignee: dev at dpdk.org
Reporter: linglix.chen at intel.com
Target Milestone: ---
Environment
===========
DPDK version: f197f1e13c (version: 21.11.9-rc1)
OS: Red Hat Enterprise Linux 8.4 (Ootpa)/4.18.0-305.19.1.el8_4.x86_64
Compiler: gcc version 8.4.1 20200928
Hardware platform: Intel(R) Xeon(R) Gold 6139 CPU @ 2.30GHz
NIC hardware: Ethernet Controller XXV710 for 25GbE SFP28 158b
NIC firmware:
FW: 8.30 0x8000a485 1.2926.0
Driver: i40e-2.17.4
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/test/dpdk-test -l 1-4 -n 4 -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 e1a999e7ff4cf08e5393ce7c1a7873bc8f7233ff
Author: Stephen Hemminger <stephen at networkplumber.org>
Date: Thu Nov 21 10:23:22 2024 -0800
test/bonding: fix loop on members
[ upstream commit 112ce3917674b7e316776305d7e27778d17eb1b7 ]
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")
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Chengwen Feng <fengchengwen at huawei.com>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20241211/a3f74b43/attachment.htm>
More information about the dev
mailing list