|WARNING| pw154797 [PATCH] test/argparse: fix out of bound memcpy
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Sat Jun 28 02:24:28 CEST 2025
Test-Label: iol-unit-arm64-testing
Test-Status: WARNING
http://dpdk.org/patch/154797
_Testing issues_
Submitter: Stephen Hemminger <stephen at networkplumber.org>
Date: Friday, June 27 2025 16:22:35
DPDK git baseline: Repo:dpdk
Branch: master
CommitID:2c6f1f0a847898732c18c8b37821850f1b48aa9d
154797 --> testing issues
Upstream job id: Generic-Unit-Test-DPDK#350470
Test environment and result as below:
+------------------------------+----------------+--------------+---------------------------+------------------------------+
| Environment | dpdk_unit_test | lpm_autotest | cryptodev_sw_zuc_autotest | cryptodev_sw_snow3g_autotest |
+==============================+================+==============+===========================+==============================+
| CentOS Stream 9 | PASS | SKIPPED | SKIPPED | SKIPPED |
+------------------------------+----------------+--------------+---------------------------+------------------------------+
| CentOS Stream 10 | PASS | SKIPPED | SKIPPED | SKIPPED |
+------------------------------+----------------+--------------+---------------------------+------------------------------+
| Fedora Linux 41 | WARN | SKIPPED | SKIPPED | SKIPPED |
+------------------------------+----------------+--------------+---------------------------+------------------------------+
| Fedora Linux 40 | PASS | SKIPPED | SKIPPED | SKIPPED |
+------------------------------+----------------+--------------+---------------------------+------------------------------+
| Debian GNU/Linux 12 | PASS | SKIPPED | SKIPPED | SKIPPED |
+------------------------------+----------------+--------------+---------------------------+------------------------------+
| Red Hat Enterprise Linux 9.5 | PASS | SKIPPED | SKIPPED | SKIPPED |
+------------------------------+----------------+--------------+---------------------------+------------------------------+
| Ubuntu 20.04 | PASS | PASS | SKIPPED | SKIPPED |
+------------------------------+----------------+--------------+---------------------------+------------------------------+
| Ubuntu 22.04 | PASS | SKIPPED | SKIPPED | SKIPPED |
+------------------------------+----------------+--------------+---------------------------+------------------------------+
| Ubuntu 24.04 | PASS | SKIPPED | SKIPPED | SKIPPED |
+------------------------------+----------------+--------------+---------------------------+------------------------------+
| Debian 12 (arm) | SKIPPED | SKIPPED | PASS | PASS |
+------------------------------+----------------+--------------+---------------------------+------------------------------+
==== 20 line log output for Fedora Linux 41 (dpdk_unit_test): ====
[3526/3719] Linking target app/dpdk-test-sad
[3527/3719] Linking target app/dpdk-test-regex
[3528/3719] Compiling C object app/dpdk-test-security-perf.p/test_test_security_proto.c.o
[3529/3719] Generating test_cfgfile with a custom command (wrapped by meson to capture output)
[3530/3719] Compiling C object app/dpdk-test.p/test_test.c.o
[3531/3719] Compiling C object app/dpdk-test.p/test_commands.c.o
[3532/3719] Compiling C object app/dpdk-test.p/test_packet_burst_generator.c.o
[3533/3719] Compiling C object app/dpdk-test.p/test_test_alarm.c.o
[3534/3719] Compiling C object app/dpdk-test.p/test_sample_packet_forward.c.o
[3535/3719] Compiling C object app/dpdk-test.p/test_test_argparse.c.o
FAILED: app/dpdk-test.p/test_test_argparse.c.o
clang -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/arm/include -I../lib/eal/arm/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/acl -I../lib/acl -Ilib/argparse -I../lib/argparse -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/compressdev -I../lib/compress
dev -Ilib/cryptodev -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/member -I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump -I../lib/pdump -Ilib/pmu -I../lib/pmu -Ilib/power -I../lib/power -Ilib/ptr_compress -I../lib/ptr_compress -Ilib/rawdev -I../lib/rawdev -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Iapp/test/test_cfgfiles -Xclang -fcol
or-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -DWITH_GZFILEOP -march=armv8.1-a+crc+crypto -DALLOW_EXPERIMENTAL_API -Wno-vla -fno-strict-aliasing -Wno-format-truncation -DALLOW_INTERNAL_API -MD -MQ app/dpdk-test.p/test_test_argparse.c.o -MF app/dpdk-test.p/test_test_argparse.c.o.d -o app/dpdk-test.p/test_test_argparse.c.o -c ../app/test/test_argparse.c
../app/test/test_argparse.c:77:23: error: field 'cmd' with variable sized type 'struct rte_argparse' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
77 | struct rte_argparse cmd;
| ^
1 error generated.
[3536/3719] Compiling C object app/dpdk-test.p/test_test_atomic.c.o
[3537/3719] Linking target app/dpdk-test-security-perf
[3538/3719] Compiling C object app/dpdk-test.p/test_test_acl.c.o
ninja: build stopped: subcommand failed.
==== End log output ====
CentOS Stream 9
Kernel: 5.4
Compiler: gcc gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-7)
CentOS Stream 10
Kernel: 5.4
Compiler: gcc gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-8)
Fedora Linux 41
Kernel: 5.4
Compiler: gcc gcc (GCC) 14.3.1 20250523 (Red Hat 14.3.1-1)
Fedora Linux 40
Kernel: 5.4
Compiler: clang gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
Debian GNU/Linux 12
Kernel: 5.4
Compiler: gcc gcc (Debian 12.2.0-14+deb12u1) 12.2.0
Red Hat Enterprise Linux 9.5
Kernel: 5.4
Compiler: gcc gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-2)
Ubuntu 20.04
Kernel: 5.4
Compiler: gcc gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Ubuntu 22.04
Kernel: 5.4
Compiler: gcc gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Ubuntu 24.04
Kernel: 5.4
Compiler: gcc gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Debian 12 (arm)
Kernel: Depends on container host
Compiler: gcc (Debian 12.2.0-14) 12.2.0
To view detailed results, visit:
https://lab.dpdk.org/results/dashboard/patchsets/33529/
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