[dpdk-test-report] |FAILURE| pw(98523) sid(18811) job(PER_PATCH_BUILD7715)Enable AddressSanitizer feature on DPDK

sys_stv at intel.com sys_stv at intel.com
Fri Sep 10 05:17:23 CEST 2021


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

_Compilation issues_

Submitter: Peng, ZhihongX <zhihongx.peng at intel.com>
Date: 2021-09-10 02:01:47
Reply_mail: 20210910020147.148019-1-zhihongx.peng at intel.com

DPDK git baseline: Repo:dpdk, CommitID: b344eb5d941a7522ff27b6b7b5419f68c3fea9a0


Meson Build Summary: 22 Builds Done, 17 Successful, 5 Failures, 0 Blocked

+----------------+------------+--------------+------------+------------+-----------+----------+
| os             | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+----------------+------------+--------------+------------+------------+-----------+----------+
| UB2004-64      | fail       | pass         | pass       |            |           | fail     |
| RHEL83-64      | pass       | pass         | pass       | pass       | pass      |          |
| FC34-64        | fail       | pass         |            |            |           |          |
| UB2104-64      | fail       |              |            |            |           |          |
| WIN10-64       |            | pass         |            |            |           |          |
| UB2004-32      | fail       |              |            |            |           |          |
| CENTOS83-64    | pass       | pass         |            |            |           |          |
| FreeBSD1201-64 | pass       | pass         |            | pass       | pass      |          |
| SUSE15-64      | pass       | pass         |            |            |           |          |
+----------------+------------+--------------+------------+------------+-----------+----------+
Test environment and configuration as below:


OS: UB2004-64
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-doc

OS: RHEL83-64
	Kernel Version: 4.18.0-305.3.1.el8.x86_64
	GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1)
	Clang Version: 11.0.0 (Red Hat 11.0.0-1.module_el8.4.0+587+5187cac0)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug
	x86_64-native-linuxapp-icc

OS: FC34-64
	Kernel Version: 5.11.15-300.fc34.x86_64
	GCC Version: gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0)
	Clang Version: 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: UB2104-64
	Kernel Version: 5.11.0-16-generic
	GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0
	Clang Version: 12.0.0-1ubuntu1
	x86_64-native-linuxapp-gcc

OS: WIN10-64
	Kernel Version: N/A
	GCC Version: N/A
	Clang Version: Clang 8.0.0
	x86_64-windows-clang

OS: UB2004-32
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0
	Clang Version: 10.0.0-4ubuntu1
	i686-native-linuxapp-gcc

OS: CENTOS83-64
	Kernel Version: 4.18.0-240.1.1.el8_3.x86_64
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: FreeBSD1201-64
	Kernel Version: 12.1-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 9.2.0
	Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: SUSE15-64
	Kernel Version: 5.3.18-lp152.57-default
	GCC Version: gcc (SUSE Linux) 7.5.0
	Clang Version: 9.0.1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: UB2004-32
Target: i686-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o 
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/bitratestats -I../lib/bitratestats -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -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/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/latencystats -I../lib/latencystats -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/power -I../lib/power -Ilib/pdump -I../lib/pdump -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o -MF app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o.d -o app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o -c ../app/test/test_asan_heap_buffer_overflow.c
../app/test/test_asan_heap_buffer_overflow.c: In function ‘asan_heap_buffer_overflow’:
../app/test/test_asan_heap_buffer_overflow.c:25:7: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
   25 |  p[9] = 'a';
      |  ~~~~~^~~~~
../app/test/test_asan_heap_buffer_overflow.c:20:12: note: at offset 9 to an object with size 9 allocated by ‘rte_zmalloc’ here
   20 |  char *p = rte_zmalloc(NULL, 9, 0);
      |            ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2246/2440] Compiling C object app/test/dpdk-test.p/test_asan_use_after_free.c.o
[2247/2440] Compiling C object app/test/dpdk-test.p/test_trace.c.o
[2248/2440] Compiling C object app/test/dpdk-test.p/test_timer_secondary.c.o
[2249/2440] Compiling C object app/test/dpdk-test.p/test_table_combined.c.o
[2250/2440] Compiling C object app/test/dpdk-test.p/virtual_pmd.c.o
[2251/2440] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2252/2440] Compiling C object app/test/dpdk-test.p/test_trace_perf.c.o
[2253/2440] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2254/2440] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped




*Build Failed #2:
OS: UB2004-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o 
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/bitratestats -I../lib/bitratestats -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/latencystats -I../lib/latencystats -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/power -I../lib/power -Ilib/pdump -I../lib/pdump -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o -MF app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o.d -o app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o -c ../app/test/test_asan_heap_buffer_overflow.c
../app/test/test_asan_heap_buffer_overflow.c: In function ‘asan_heap_buffer_overflow’:
../app/test/test_asan_heap_buffer_overflow.c:25:7: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
   25 |  p[9] = 'a';
      |  ~~~~~^~~~~
../app/test/test_asan_heap_buffer_overflow.c:20:12: note: at offset 9 to an object with size 9 allocated by ‘rte_zmalloc’ here
   20 |  char *p = rte_zmalloc(NULL, 9, 0);
      |            ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2822/3060] Compiling C object app/test/dpdk-test.p/test_asan_use_after_free.c.o
[2823/3060] Compiling C object app/test/dpdk-test.p/test_timer_secondary.c.o
[2824/3060] Compiling C object app/test/dpdk-test.p/test_table_combined.c.o
[2825/3060] Compiling C object app/test/dpdk-test.p/virtual_pmd.c.o
[2826/3060] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2827/3060] Compiling C object app/test/dpdk-test.p/test_trace_perf.c.o
[2828/3060] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2829/3060] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2830/3060] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped




*Build Failed #3:
OS: UB2104-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o 
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/bitratestats -I../lib/bitratestats -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/latencystats -I../lib/latencystats -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/power -I../lib/power -Ilib/pdump -I../lib/pdump -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o -MF app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o.d -o app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o -c ../app/test/test_asan_heap_buffer_overflow.c
../app/test/test_asan_heap_buffer_overflow.c: In function ‘asan_heap_buffer_overflow’:
../app/test/test_asan_heap_buffer_overflow.c:25:7: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
   25 |  p[9] = 'a';
      |  ~~~~~^~~~~
../app/test/test_asan_heap_buffer_overflow.c:20:12: note: at offset 9 to an object with size 9 allocated by ‘rte_zmalloc’ here
   20 |  char *p = rte_zmalloc(NULL, 9, 0);
      |            ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2837/3074] Compiling C object app/test/dpdk-test.p/test_version.c.o
[2838/3074] Compiling C object app/test/dpdk-test.p/test_table_combined.c.o
[2839/3074] Compiling C object app/test/dpdk-test.p/test_timer_secondary.c.o
[2840/3074] Compiling C object app/test/dpdk-test.p/virtual_pmd.c.o
[2841/3074] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2842/3074] Compiling C object app/test/dpdk-test.p/test_trace_perf.c.o
[2843/3074] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2844/3074] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2845/3074] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped




*Build Failed #4:
OS: UB2004-64
Target: x86_64-native-linuxapp-doc
FAILED: app/test/3062f5d@@dpdk-test at exe/test_asan_heap_buffer_overflow.c.o 
gcc -Iapp/test/3062f5d@@dpdk-test at exe -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -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/bitratestats -I../lib/bitratestats -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/metrics -I../lib/metrics -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/latencystats -I../lib/latencystats -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/power -I../lib/power -Ilib/pdump -I../lib/pdump -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ 'app/test/3062f5d@@dpdk-test at exe/test_asan_heap_buffer_overflow.c.o' -MF 'app/test/3062f5d@@dpdk-test at exe/test_asan_heap_buffer_overflow.c.o.d' -o 'app/test/3062f5d@@dpdk-test at exe/test_asan_heap_buffer_overflow.c.o' -c ../app/test/test_asan_heap_buffer_overflow.c
../app/test/test_asan_heap_buffer_overflow.c: In function ‘asan_heap_buffer_overflow’:
../app/test/test_asan_heap_buffer_overflow.c:25:7: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
   25 |  p[9] = 'a';
      |  ~~~~~^~~~~
../app/test/test_asan_heap_buffer_overflow.c:20:12: note: at offset 9 to an object with size 9 allocated by ‘rte_zmalloc’ here
   20 |  char *p = rte_zmalloc(NULL, 9, 0);
      |            ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2606/2652] Compiling C object 'app/test/3062f5d@@dpdk-test at exe/test_asan_use_after_free.c.o'.
[2607/2652] Compiling C object 'app/test/3062f5d@@dpdk-test at exe/test_telemetry_json.c.o'.
[2608/2652] Compiling C object 'app/test/3062f5d@@dpdk-test at exe/test_timer_secondary.c.o'.
[2609/2652] Compiling C object 'app/test/3062f5d@@dpdk-test at exe/virtual_pmd.c.o'.
[2610/2652] Compiling C object 'app/test/3062f5d@@dpdk-test at exe/test_ring_perf.c.o'.
[2611/2652] Compiling C object 'app/test/3062f5d@@dpdk-test at exe/test_trace_perf.c.o'.
[2612/2652] Compiling C object 'app/test/3062f5d@@dpdk-test at exe/test_ring.c.o'.
[2613/2652] Compiling C object 'drivers/a715181@@tmp_rte_event_octeontx2 at sta/event_octeontx2_otx2_worker.c.o'.
[2614/2652] Compiling C object 'drivers/a715181@@tmp_rte_event_octeontx2 at sta/event_octeontx2_otx2_worker_dual.c.o'.
ninja: build stopped




*Build Failed #5:
OS: FC34-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o 
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/bitratestats -I../lib/bitratestats -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/latencystats -I../lib/latencystats -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/power -I../lib/power -Ilib/pdump -I../lib/pdump -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o -MF app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o.d -o app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o -c ../app/test/test_asan_heap_buffer_overflow.c
../app/test/test_asan_heap_buffer_overflow.c: In function ‘asan_heap_buffer_overflow’:
../app/test/test_asan_heap_buffer_overflow.c:25:10: error: array subscript 9 is outside array bounds of ‘char[9]’ [-Werror=array-bounds]
   25 |         p[9] = 'a';
      |         ~^~~
../app/test/test_asan_heap_buffer_overflow.c:20:19: note: referencing an object of size 9 allocated by ‘rte_zmalloc’
   20 |         char *p = rte_zmalloc(NULL, 9, 0);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2801/3039] Compiling C object app/test/dpdk-test.p/test_asan_use_after_free.c.o
[2802/3039] Compiling C object app/test/dpdk-test.p/test_telemetry_json.c.o
[2803/3039] Compiling C object app/test/dpdk-test.p/test_timer_secondary.c.o
[2804/3039] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2805/3039] Compiling C object app/test/dpdk-test.p/test_table_combined.c.o
[2806/3039] Compiling C object app/test/dpdk-test.p/virtual_pmd.c.o
[2807/3039] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2808/3039] Compiling C object app/test/dpdk-test.p/test_trace_perf.c.o
[2809/3039] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2810/3039] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2811/3039] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped


DPDK STV team


More information about the test-report mailing list