|FAILURE| pw153071 [PATCH] net/mlx5: fix out-of-bounds write in Rx s

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Tue Apr 22 18:05:10 CEST 2025


Test-Label: iol-unit-amd64-testing
Test-Status: FAILURE
http://dpdk.org/patch/153071

_Testing issues_

Submitter: patryk ochal <patrykochal at gmail.com>
Date: Tuesday, April 22 2025 06:37:54 
DPDK git baseline: Repo:dpdk
  Branch: master
  CommitID:edd3f4b1265e6da707c46ca9b6c39d332647baea

153071 --> testing issues

Upstream job id: Generic-VM-Unit-Test-DPDK#28114

Test environment and result as below:

+---------------------+----------------+
|     Environment     | dpdk_unit_test |
+=====================+================+
| Debian 12           | WARN           |
+---------------------+----------------+
| CentOS Stream 10    | WARN           |
+---------------------+----------------+
| CentOS Stream 9     | WARN           |
+---------------------+----------------+
| Fedora 40 (Clang)   | PASS           |
+---------------------+----------------+
| Fedora 40           | WARN           |
+---------------------+----------------+
| RHEL8               | WARN           |
+---------------------+----------------+
| RHEL9               | WARN           |
+---------------------+----------------+
| Ubuntu 20.04        | FAIL           |
+---------------------+----------------+
| Fedora 41 (Clang)   | PASS           |
+---------------------+----------------+
| Fedora 41           | WARN           |
+---------------------+----------------+
| Ubuntu 22.04        | WARN           |
+---------------------+----------------+
| Ubuntu 24.04        | WARN           |
+---------------------+----------------+
| Windows Server 2022 | PASS           |
+---------------------+----------------+

==== 20 line log output for Ubuntu 24.04 (dpdk_unit_test): ====
In file included from ../lib/mbuf/rte_mbuf.h:36,
from ../drivers/net/mlx5/mlx5_rxtx_vec.c:10:
../drivers/net/mlx5/mlx5_rxtx_vec.c: In function 'rxq_burst_v':
../lib/eal/include/rte_common.h:765:20: error: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Werror=sign-compare]
765 |                 _a < _b ? _a : _b; \
|                    ^
../drivers/net/mlx5/mlx5_rxtx_vec.c:324:18: note: in expansion of macro 'RTE_MIN'
324 |         pkts_n = RTE_MIN(pkts_n - rcvd_pkt, rxq->rq_ci - rxq->rq_pi);
|                  ^~~~~~~
../lib/eal/include/rte_common.h:765:27: error: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Werror=sign-compare]
765 |                 _a < _b ? _a : _b; \
|                           ^~
../drivers/net/mlx5/mlx5_rxtx_vec.c:324:18: note: in expansion of macro 'RTE_MIN'
324 |         pkts_n = RTE_MIN(pkts_n - rcvd_pkt, rxq->rq_ci - rxq->rq_pi);
|                  ^~~~~~~
cc1: all warnings being treated as errors
[1832/3191] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_ethdev_os.c.o
[1833/3191] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_os.c.o
[1834/3191] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o
ninja: build stopped: subcommand failed.
==== End log output ====

Debian 12
	Kernel: Depends on container host
	Compiler: gcc (Debian 12.2.0-14) 12.2.0

CentOS Stream 10
	Kernel: Depends on container host
	Compiler: gcc 14.2.1 20241104 (Red Hat 14.2.1-6)

CentOS Stream 9
	Kernel: Depends on container host
	Compiler: gcc 11.5.0 20240719 (Red Hat 11.5.0-2)

Fedora 40 (Clang)
	Kernel: Depends on container host
	Compiler: clang 18.1.8 (Fedora 18.1.8-1.fc40)

Fedora 40
	Kernel: Depends on container host
	Compiler: gcc 14.2.1 20240912 (Red Hat 14.2.1-3)

RHEL8
	Kernel: Depends on container host
	Compiler: gcc 8.5.0 20210514 (Red Hat 8.5.0-22)

RHEL9
	Kernel: Depends on container host
	Compiler: gcc 11.5.0 20240719 (Red Hat 11.5.0-2)

Ubuntu 20.04
	Kernel: Depends on container host
	Compiler: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0

Fedora 41 (Clang)
	Kernel: Depends on container host
	Compiler: clang 19.1.5 (Fedora 19.1.5-1.fc41)

Fedora 41
	Kernel: Depends on container host
	Compiler: gcc 14.2.1 20240912 (Red Hat 14.2.1-3)

Ubuntu 22.04
	Kernel: Depends on container host
	Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0

Ubuntu 24.04
	Kernel: Depends on container host
	Compiler: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0

Windows Server 2022
	Kernel: 10.0.20348.2031
	Compiler: clang 15.0.7, gcc 14.1.0 (MinGW), and MSVC VS 19.39.33521

To view detailed results, visit:
https://lab.dpdk.org/results/dashboard/patchsets/33048/

UNH-IOL DPDK Community Lab

To manage your email subscriptions, visit: 
https://lab.dpdk.org/results/dashboard/preferences/subscriptions/


More information about the test-report mailing list