automatic DPDK test reports
 help / color / mirror / Atom feed
* compilation|FAILURE| pw(158866) sid(36743) job(PER_PATCH_BUILD17329)[v3, 6/6] test: re-enable format-truncation warnings
@ 2025-11-17 18:15 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2025-11-17 18:15 UTC (permalink / raw)
  To: test-report, stephen

[-- Attachment #1: Type: text/plain, Size: 15844 bytes --]


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/158866

_Compilation issues_

Submitter: Stephen Hemminger <stephen@networkplumber.org>
Date: 2025-11-17 17:52:13
Reply_mail: <20251117175332.14014-7-stephen@networkplumber.org>

DPDK git baseline: Repo:dpdk, CommitID: be0112878b4fc3a1b918370ed2fe615c52039d77


Meson Build Summary: 23 Builds Done, 22 Successful, 1 Failures, 0 Blocked

+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os                | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.10-64 | fail       |              |            |            |           |          |            |
| FreeBSD14-64      | pass       | pass         |            | pass       | pass      |          |            |
| RHEL96-64         | pass       | pass         |            | pass       | pass      |          |            |
| SUSE15-64         | pass       | pass         |            |            |           |          |            |
| AzureLinux3.0-64  | pass       |              |            |            |           |          |            |
| UB2404-32         | pass       |              |            |            |           |          |            |
| RHEL10-64         | pass       |              |            |            |           |          |            |
| UB2404-64         | pass       | pass         |            |            |           | pass     | pass       |
| RHEL10-64RT       | pass       |              |            |            |           |          |            |
| UB2504-64         | pass       |              |            |            |           |          |            |
| Fedora42-64       | pass       | pass         |            |            |           |          |            |
| OpenEuler2404-64  | pass       |              |            |            |           |          |            |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+

Comments: 
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. 
 
Test environment and configuration as below:


OS: OpenAnolis8.10-64
	Kernel Version: 5.10.134-18.an8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-24.0.1)
	Clang Version: 18.1.8 (Red Hat 18.1.8-1.0.1.module+an8.9.0+11287+9d0292d3)
	x86_64-native-linuxapp-gcc

OS: FreeBSD14-64
	Kernel Version: 14.3-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 13.3.0
	Clang Version: 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: RHEL96-64
	Kernel Version: 5.14.0-570.12.1.el9_6.x86_64
	GCC Version: gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)
	Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el9)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug

OS: SUSE15-64
	Kernel Version: 6.4.0-150700.51-default
	GCC Version: gcc (SUSE Linux) 14.2.0
	Clang Version: 17.0.6
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc

OS: AzureLinux3.0-64
	Kernel Version: 6.6.47.1-1.azl3
	GCC Version: gcc (GCC) 13.2.0
	Clang Version: 18.1.2
	x86_64-native-linuxapp-gcc

OS: UB2404-32
	Kernel Version: 6.8.0-41-generic
	GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
	Clang Version: NA
	i686-native-linuxapp-gcc

OS: RHEL10-64
	Kernel Version: 6.12.0-55.9.1.el10_0.x86_64
	GCC Version: gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
	Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el10)
	x86_64-native-linuxapp-gcc

OS: UB2404-64
	Kernel Version: 6.8.0-41-generic
	GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
	Clang Version: 18.1.3 (1ubuntu1)
	x86_64-native-linuxapp-gcc+16byte
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-doc

OS: RHEL10-64RT
	Kernel Version: 6.12.0-55.9.1.el10_0.x86_64+rt
	GCC Version: gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
	Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el10)
	x86_64-native-linuxapp-gcc

OS: UB2504-64
	Kernel Version: 6.14.0-15-generic
	GCC Version: gcc (Ubuntu 14.2.0-19ubuntu2) 14.2.0
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: Fedora42-64
	Kernel Version: 6.14.0-63.fc42.x86_64
	GCC Version: gcc (GCC) 15.0.1 20250329 (Red Hat 15.0.1-0)
	Clang Version: 20.1.3 (Fedora 20.1.3-1.fc42)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: OpenEuler2404-64
	Kernel Version: 6.6.0-98.0.0.103.oe2403sp2.x86_64
	GCC Version: gcc (GCC) 12.3.1 (openEuler 12.3.1-98.oe2403sp2)
	Clang Version: 17.0.6 ( 17.0.6-45.oe2403sp2)
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: OpenAnolis8.10-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/dpdk-test.p/test_test_eal_flags.c.o 
gcc -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/x86/include -I../lib/eal/x86/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/argparse -I../lib/argparse -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/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/compressdev -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 -Idrivers/power/acpi -I../drivers/power/acpi -Idrivers/power/kvm_vm -I../drivers/power/kvm_vm -Idrivers/power/intel_pstate -I../drivers/power/intel_pstate -Idrivers/power/amd_pstate -I../drivers/power/amd_pstate -Idrivers/power/cppc -I../drivers/power/cppc -Idrivers/power/intel_uncore -I../drivers/power/intel_uncore -Ilib/ptr_compress -I../lib/ptr_compress -Ilib/rawdev -I../lib/rawdev -Idrivers/raw/skeleton -I../drivers/raw/skeleton -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Iapp/test/test_cfgfiles -fdiagnostics-color=always -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-vla -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/dpdk-test.p/test_test_eal_flags.c.o -MF app/dpdk-test.p/test_test_eal_flags.c.o.d -o app/dpdk-test.p/test_test_eal_flags.c.o -c ../app/test/test_eal_flags.c
../app/test/test_eal_flags.c: In function ‘test_misc_flags’:
../app/test/test_eal_flags.c:927:50: error: ‘/dpdk.missing’ directive output may be truncated writing 13 bytes into a region of size between 1 and 4096 [-Werror=format-truncation=]
  snprintf(hugepath_dir, sizeof(hugepath_dir), "%s/dpdk.missing", hugepath);
                                                  ^~~~~~~~~~~~~
../app/test/test_eal_flags.c:927:2: note: ‘snprintf’ output between 14 and 4109 bytes into a destination of size 4096
  snprintf(hugepath_dir, sizeof(hugepath_dir), "%s/dpdk.missing", hugepath);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_eal_flags.c:928:52: error: ‘/dpdk.dir’ directive output may be truncated writing 9 bytes into a region of size between 1 and 4096 [-Werror=format-truncation=]
  snprintf(hugepath_dir2, sizeof(hugepath_dir2), "%s/dpdk.dir", hugepath);
                                                    ^~~~~~~~~
../app/test/test_eal_flags.c:928:2: note: ‘snprintf’ output between 10 and 4105 bytes into a destination of size 4096
  snprintf(hugepath_dir2, sizeof(hugepath_dir2), "%s/dpdk.dir", hugepath);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_eal_flags.c:935:52: error: ‘/dpdk.dir/sub’ directive output may be truncated writing 13 bytes into a region of size between 1 and 4096 [-Werror=format-truncation=]
  snprintf(hugepath_dir3, sizeof(hugepath_dir3), "%s/dpdk.dir/sub", hugepath);
                                                    ^~~~~~~~~~~~~
../app/test/test_eal_flags.c:935:2: note: ‘snprintf’ output between 14 and 4109 bytes into a destination of size 4096
  snprintf(hugepath_dir3, sizeof(hugepath_dir3), "%s/dpdk.dir/sub", hugepath);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_eal_flags.c: In function ‘process_hugefiles’:
../app/test/test_eal_flags.c:228:11: error: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Werror=format-truncation=]
       "%s/%s", hugedir, dirent->d_name);
           ^~
../app/test/test_eal_flags.c:227:6: note: ‘snprintf’ output between 2 and 4352 bytes into a destination of size 4096
      snprintf(file_path, sizeof(file_path),
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       "%s/%s", hugedir, dirent->d_name);
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[3380/3699] Compiling C object app/dpdk-test.p/test_test_event_vector_adapter.c.o
[3381/3699] Compiling C object app/dpdk-test.p/test_test_dmadev.c.o
[3382/3699] Compiling C object app/dpdk-test.p/test_test_event_crypto_adapter.c.o
[3383/3699] Compiling C object app/dpdk-test.p/test_test_event_dma_adapter.c.o
[3384/3699] Compiling C object app/dpdk-test.p/test_test_event_eth_rx_adapter.c.o
[3385/3699] Compiling C object app/dpdk-test.p/test_test_event_eth_tx_adapter.c.o
[3386/3699] Compiling C object app/dpdk-test.p/test_test_event_ring.c.o
[3387/3699] Compiling C object app/dpdk-test.p/test_test_event_timer_adapter.c.o
[3388/3699] Compiling C object app/dpdk-test.p/test_test_cryptodev.c.o
FAILED: app/dpdk-test.p/test_test_cryptodev.c.o 
gcc -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/x86/include -I../lib/eal/x86/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/argparse -I../lib/argparse -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/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/compressdev -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 -Idrivers/power/acpi -I../drivers/power/acpi -Idrivers/power/kvm_vm -I../drivers/power/kvm_vm -Idrivers/power/intel_pstate -I../drivers/power/intel_pstate -Idrivers/power/amd_pstate -I../drivers/power/amd_pstate -Idrivers/power/cppc -I../drivers/power/cppc -Idrivers/power/intel_uncore -I../drivers/power/intel_uncore -Ilib/ptr_compress -I../lib/ptr_compress -Ilib/rawdev -I../lib/rawdev -Idrivers/raw/skeleton -I../drivers/raw/skeleton -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Iapp/test/test_cfgfiles -fdiagnostics-color=always -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-vla -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/dpdk-test.p/test_test_cryptodev.c.o -MF app/dpdk-test.p/test_test_cryptodev.c.o.d -o app/dpdk-test.p/test_test_cryptodev.c.o -c ../app/test/test_cryptodev.c
../app/test/test_cryptodev.c: In function ‘scheduler_testsuite_setup’:
../app/test/test_cryptodev.c:17705:11: error: ‘snprintf’ output may be truncated before the last format character [-Werror=format-truncation=]
      "%s%d", temp_str, i);
           ^
../app/test/test_cryptodev.c:17704:4: note: ‘snprintf’ output between 2 and 111 bytes into a destination of size 100
    snprintf(vdev_args, sizeof(vdev_args),
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      "%s%d", temp_str, i);
      ~~~~~~~~~~~~~~~~~~~~
../app/test/test_cryptodev.c:17719:45: error: ‘,socket_id=’ directive output may be truncated writing 11 bytes into a region of size between 1 and 100 [-Werror=format-truncation=]
   snprintf(vdev_args, sizeof(vdev_args), "%s,socket_id=%d",
                                             ^~~~~~~~~~~
../app/test/test_cryptodev.c:17719:42: note: directive argument in the range [0, 65535]
   snprintf(vdev_args, sizeof(vdev_args), "%s,socket_id=%d",
                                          ^~~~~~~~~~~~~~~~~
../app/test/test_cryptodev.c:17719:3: note: ‘snprintf’ output between 13 and 116 bytes into a destination of size 100
   snprintf(vdev_args, sizeof(vdev_args), "%s,socket_id=%d",
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     temp_str, socket_id);
     ~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped


DPDK STV team

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-11-17 18:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-17 18:15 compilation|FAILURE| pw(158866) sid(36743) job(PER_PATCH_BUILD17329)[v3, 6/6] test: re-enable format-truncation warnings sys_stv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).