[dpdk-test-report] |FAILURE| pw(92054) app/crypto-perf: fix dereference of null return

sys_stv at intel.com sys_stv at intel.com
Fri Apr 23 12:36:54 CEST 2021


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

_Compilation issues_

Submitter: Min Hu (Connor) <humin29 at huawei.com>
Date: 2021-04-23 07:41:18
Reply_mail: 1619163678-37202-1-git-send-email-humin29 at huawei.com

DPDK git baseline: Repo:dpdk-next-crypto, CommitID: df295be9d4d59261a7de76c4ee16b4ce0408d279


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

+------------------+------------+--------------+------------+------------+-----------+----------+
| os               | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+------------------+------------+--------------+------------+------------+-----------+----------+
| UB2004-64        | pass       | pass         | pass       |            |           | pass     |
| RHEL83-64        | pass       |              |            |            |           |          |
| FC33-64          | pass       | pass         |            |            |           |          |
| CentOsStream8-64 | pass       |              |            |            |           |          |
| UB2010-64        | pass       |              |            |            |           |          |
| WIN10-64         |            | pass         |            |            |           |          |
| UB2004-32        | FAIL       |              |            |            |           |          |
| CENTOS83-64      | pass       | pass         | pass       | 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-240.el8.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+7459+90c24896)
	x86_64-native-linuxapp-gcc

OS: FC33-64
	Kernel Version: 5.8.16-300.fc33.x86_64
	GCC Version: gcc (GCC) 10.2.1 20201005 (Red Hat 10.2.1-5)
	Clang Version: 11.0.0 (Fedora 11.0.0-1.fc33)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: CentOsStream8-64
	Kernel Version: 4.18.0-257.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-0.2.rc2.module_el8.4.0+533+50191577)
	x86_64-native-linuxapp-gcc

OS: UB2010-64
	Kernel Version: 5.8.0-25-generic
	GCC Version: gcc (Ubuntu 10.2.0-13ubuntu1) 10.2.0
	Clang Version: 11.0.0-2
	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
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug

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/dpdk-test-crypto-perf.p/test-crypto-perf_cperf_options_parsing.c.o 
gcc -Iapp/dpdk-test-crypto-perf.p -Iapp -I../app -Ilib/librte_cryptodev -I../lib/librte_cryptodev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_net -I../lib/librte_net -Ilib/librte_security -I../lib/librte_security -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -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 -MD -MQ app/dpdk-test-crypto-perf.p/test-crypto-perf_cperf_options_parsing.c.o -MF app/dpdk-test-crypto-perf.p/test-crypto-perf_cperf_options_parsing.c.o.d -o app/dpdk-test-crypto-perf.p/test-crypto-perf_cperf_options_parsing.c.o -c ../app/test-crypto-perf/cperf_options_parsing.c
In file included from ../lib/librte_eal/include/rte_bus.h:24,
                 from ../lib/librte_eal/include/rte_eal.h:21,
                 from ../lib/librte_eal/include/rte_lcore.h:16,
                 from ../lib/librte_eal/include/generic/rte_spinlock.h:21,
                 from ../lib/librte_eal/x86/include/rte_spinlock.h:12,
                 from ../lib/librte_mempool/rte_mempool.h:44,
                 from ../lib/librte_mbuf/rte_mbuf.h:38,
                 from ../lib/librte_cryptodev/rte_crypto.h:20,
                 from ../lib/librte_cryptodev/rte_cryptodev.h:22,
                 from ../app/test-crypto-perf/cperf_options_parsing.c:8:
../app/test-crypto-perf/cperf_options_parsing.c: In function ‘parse_test_name’:
../app/test-crypto-perf/cperf_options_parsing.c:511:19: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
  511 |    strlen(arg) + 3);
      |    ~~~~~~~~~~~~~~~^
      |                |
      |                size_t {aka unsigned int}
../lib/librte_eal/include/rte_log.h:348:25: note: in definition of macro ‘RTE_LOG’
  348 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                         ^
cc1: all warnings being treated as errors
[1848/2244] Generating rte_baseband_acc100.pmd.c with a custom command
[1849/2244] Compiling C object app/dpdk-test-crypto-perf.p/test-crypto-perf_main.c.o
[1850/2244] Compiling C object app/dpdk-test-crypto-perf.p/test-crypto-perf_cperf_test_vector_parsing.c.o
[1851/2244] Compiling C object app/dpdk-test-pipeline.p/test-pipeline_pipeline_stub.c.o
[1852/2244] Compiling C object app/dpdk-test-crypto-perf.p/test-crypto-perf_cperf_ops.c.o
[1853/2244] Compiling C object app/dpdk-test-compress-perf.p/test-compress-perf_comp_perf_test_cyclecount.c.o
[1854/2244] Compiling C object app/dpdk-test-crypto-perf.p/test-crypto-perf_cperf_test_pmd_cyclecount.c.o
[1855/2244] Compiling C object app/dpdk-test-crypto-perf.p/test-crypto-perf_cperf_test_latency.c.o
[1856/2244] Compiling C object app/dpdk-test-bbdev.p/test-bbdev_test_bbdev_perf.c.o
ninja: build stopped


DPDK STV team


More information about the test-report mailing list