[dpdk-test-report] |FAILURE| pw92410 [dpdk-dev] [PATCH v2] app/crypto-perf: fix dereference of null return

0-day Robot robot at bytheb.org
Thu Apr 29 14:59:34 CEST 2021


From: robot at bytheb.org

Test-Label: github-robot
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/92410/

_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/795942131
Build Logs:
-----------------------Summary of failed steps-----------------------
ubuntu-18.04-gcc-static failed at step "Build and test"
ubuntu-18.04-gcc-shared-abi+doc+tests failed at step "Build and test"
ubuntu-18.04-clang-static failed at step "Build and test"
ubuntu-18.04-clang-shared-doc+tests failed at step "Build and test"
ubuntu-18.04-gcc-static-aarch64 failed at step "Build and test"
ubuntu-18.04-gcc-shared-aarch64 failed at step "Build and test"
----------------------End summary of failed steps--------------------

-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] ubuntu-18.04-gcc-static at step "Build and test"
####################################################################################
[2423/3123] Compiling C object 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o'.
FAILED: app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o 
ccache gcc -Iapp/a172ced@@dpdk-test-crypto-perf at exe -Iapp -I../app -Ilib/cryptodev -I../lib/cryptodev -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 -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/security -I../lib/security -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -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-missing-field-initializers -D_GNU_SOURCE -march=corei7 -DALLOW_EXPERIMENTAL_API  -MD -MQ 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o' -MF 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o.d' -o 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o' -c ../app/test-crypto-perf/cperf_options_parsing.c
In file included from ../lib/eal/include/rte_bus.h:24:0,
                 from ../lib/eal/include/rte_eal.h:21,
                 from ../lib/eal/include/rte_lcore.h:16,
                 from ../lib/eal/include/generic/rte_spinlock.h:21,
                 from ../lib/eal/x86/include/rte_spinlock.h:12,
                 from ../lib/mempool/rte_mempool.h:44,
                 from ../lib/mbuf/rte_mbuf.h:38,
                 from ../lib/cryptodev/rte_crypto.h:20,
                 from ../lib/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 ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘size_t {aka long unsigned int}’ [-Werror=format=]
    strlen(arg) + 3);
    ~~~~~~~~~~~~~~~^
../lib/eal/include/rte_log.h:348:25: note: in definition of macro ‘RTE_LOG’
    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
                         ^
cc1: all warnings being treated as errors
[2424/3123] Linking target app/dpdk-test-acl.
[2425/3123] Linking target app/dpdk-pdump.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] ubuntu-18.04-gcc-static at step "Build and test"
####################################################################################




####################################################################################
#### [Begin job log] ubuntu-18.04-gcc-shared-abi+doc+tests at step "Build and test"
####################################################################################
[2533/3339] Compiling C object 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o'.
FAILED: app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o 
ccache gcc -Iapp/a172ced@@dpdk-test-crypto-perf at exe -Iapp -I../app -Ilib/cryptodev -I../lib/cryptodev -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 -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/security -I../lib/security -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -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-missing-field-initializers -D_GNU_SOURCE -march=corei7 -DALLOW_EXPERIMENTAL_API  -MD -MQ 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o' -MF 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o.d' -o 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o' -c ../app/test-crypto-perf/cperf_options_parsing.c
In file included from ../lib/eal/include/rte_bus.h:24:0,
                 from ../lib/eal/include/rte_eal.h:21,
                 from ../lib/eal/include/rte_lcore.h:16,
                 from ../lib/eal/include/generic/rte_spinlock.h:21,
                 from ../lib/eal/x86/include/rte_spinlock.h:12,
                 from ../lib/mempool/rte_mempool.h:44,
                 from ../lib/mbuf/rte_mbuf.h:38,
                 from ../lib/cryptodev/rte_crypto.h:20,
                 from ../lib/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 ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘size_t {aka long unsigned int}’ [-Werror=format=]
    strlen(arg) + 3);
    ~~~~~~~~~~~~~~~^
../lib/eal/include/rte_log.h:348:25: note: in definition of macro ‘RTE_LOG’
    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
                         ^
cc1: all warnings being treated as errors
[2534/3339] Compiling C object 'app/a172ced@@dpdk-testpmd at exe/test-pmd_icmpecho.c.o'.
[2535/3339] Compiling C object 'app/a172ced@@dpdk-testpmd at exe/test-pmd_rxonly.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] ubuntu-18.04-gcc-shared-abi+doc+tests at step "Build and test"
####################################################################################




####################################################################################
#### [Begin job log] ubuntu-18.04-clang-static at step "Build and test"
####################################################################################
[2462/3125] Compiling C object 'app/a172ced@@dpdk-test-eventdev at exe/test-eventdev_test_pipeline_common.c.o'.
[2463/3125] Compiling C object 'app/a172ced@@dpdk-test-eventdev at exe/test-eventdev_test_pipeline_queue.c.o'.
[2464/3125] Compiling C object 'app/a172ced@@dpdk-test-flow-perf at exe/test-flow-perf_actions_gen.c.o'.
[2465/3125] Compiling C object 'app/a172ced@@dpdk-test-flow-perf at exe/test-flow-perf_items_gen.c.o'.
[2466/3125] Linking target app/dpdk-test-compress-perf.
[2467/3125] Compiling C object 'app/a172ced@@dpdk-test-flow-perf at exe/test-flow-perf_main.c.o'.
[2468/3125] Compiling C object 'app/a172ced@@dpdk-test-fib at exe/test-fib_main.c.o'.
[2469/3125] Compiling C object 'app/a172ced@@dpdk-test-pipeline at exe/test-pipeline_pipeline_acl.c.o'.
[2470/3125] Compiling C object 'app/a172ced@@dpdk-testpmd at exe/test-pmd_cmdline_flow.c.o'.
[2471/3125] Compiling C object 'app/a172ced@@dpdk-testpmd at exe/test-pmd_cmdline_tm.c.o'.
[2472/3125] Compiling C object 'app/a172ced@@dpdk-test-pipeline at exe/test-pipeline_pipeline_hash.c.o'.
[2473/3125] Compiling C object 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o'.
FAILED: app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o 
ccache clang -Iapp/a172ced@@dpdk-test-crypto-perf at exe -Iapp -I../app -Ilib/cryptodev -I../lib/cryptodev -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 -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/security -I../lib/security -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -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-missing-field-initializers -D_GNU_SOURCE -march=corei7 -DALLOW_EXPERIMENTAL_API  -MD -MQ 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o' -MF 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o.d' -o 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o' -c ../app/test-crypto-perf/cperf_options_parsing.c
../app/test-crypto-perf/cperf_options_parsing.c:511:4: error: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Werror,-Wformat]
                        strlen(arg) + 3);
                        ^~~~~~~~~~~~~~~
../lib/eal/include/rte_log.h:348:32: note: expanded from macro 'RTE_LOG'
                 RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
                                             ^~~~~~~~~~~
1 error generated.
[2474/3125] Linking target app/dpdk-test-fib.
[2475/3125] Linking target app/dpdk-test-eventdev.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] ubuntu-18.04-clang-static at step "Build and test"
####################################################################################




####################################################################################
#### [Begin job log] ubuntu-18.04-clang-shared-doc+tests at step "Build and test"
####################################################################################
[2505/3341] Compiling C object 'app/a172ced@@dpdk-test-eventdev at exe/test-eventdev_test_pipeline_queue.c.o'.
[2506/3341] Compiling C object 'app/a172ced@@dpdk-test-flow-perf at exe/test-flow-perf_actions_gen.c.o'.
[2507/3341] Compiling C object 'app/a172ced@@dpdk-test-flow-perf at exe/test-flow-perf_flow_gen.c.o'.
[2508/3341] Compiling C object 'app/a172ced@@dpdk-test-fib at exe/test-fib_main.c.o'.
[2509/3341] Linking target app/dpdk-test-eventdev.
[2510/3341] Compiling C object 'app/a172ced@@dpdk-test-flow-perf at exe/test-flow-perf_items_gen.c.o'.
[2511/3341] Linking target app/dpdk-test-fib.
[2512/3341] Compiling C object 'app/a172ced@@dpdk-test-pipeline at exe/test-pipeline_config.c.o'.
[2513/3341] Compiling C object 'app/a172ced@@dpdk-test-flow-perf at exe/test-flow-perf_main.c.o'.
[2514/3341] Compiling C object 'app/a172ced@@dpdk-test-pipeline at exe/test-pipeline_init.c.o'.
[2515/3341] Compiling C object 'app/a172ced@@dpdk-testpmd at exe/test-pmd_cmdline_mtr.c.o'.
[2516/3341] Compiling C object 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o'.
FAILED: app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o 
ccache clang -Iapp/a172ced@@dpdk-test-crypto-perf at exe -Iapp -I../app -Ilib/cryptodev -I../lib/cryptodev -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 -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/security -I../lib/security -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -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-missing-field-initializers -D_GNU_SOURCE -march=corei7 -DALLOW_EXPERIMENTAL_API  -MD -MQ 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o' -MF 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o.d' -o 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o' -c ../app/test-crypto-perf/cperf_options_parsing.c
../app/test-crypto-perf/cperf_options_parsing.c:511:4: error: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Werror,-Wformat]
                        strlen(arg) + 3);
                        ^~~~~~~~~~~~~~~
../lib/eal/include/rte_log.h:348:32: note: expanded from macro 'RTE_LOG'
                 RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
                                             ^~~~~~~~~~~
1 error generated.
[2517/3341] Linking target app/dpdk-test-flow-perf.
[2518/3341] Compiling C object 'app/a172ced@@dpdk-test-pipeline at exe/test-pipeline_runtime.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] ubuntu-18.04-clang-shared-doc+tests at step "Build and test"
####################################################################################




####################################################################################
#### [Begin job log] ubuntu-18.04-gcc-static-aarch64 at step "Build and test"
####################################################################################
[2426/3123] Compiling C object 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o'.
FAILED: app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o 
ccache gcc -Iapp/a172ced@@dpdk-test-crypto-perf at exe -Iapp -I../app -Ilib/cryptodev -I../lib/cryptodev -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 -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/security -I../lib/security -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -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-missing-field-initializers -D_GNU_SOURCE -march=corei7 -DALLOW_EXPERIMENTAL_API  -MD -MQ 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o' -MF 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o.d' -o 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o' -c ../app/test-crypto-perf/cperf_options_parsing.c
In file included from ../lib/eal/include/rte_bus.h:24:0,
                 from ../lib/eal/include/rte_eal.h:21,
                 from ../lib/eal/include/rte_lcore.h:16,
                 from ../lib/eal/include/generic/rte_spinlock.h:21,
                 from ../lib/eal/x86/include/rte_spinlock.h:12,
                 from ../lib/mempool/rte_mempool.h:44,
                 from ../lib/mbuf/rte_mbuf.h:38,
                 from ../lib/cryptodev/rte_crypto.h:20,
                 from ../lib/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 ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘size_t {aka long unsigned int}’ [-Werror=format=]
    strlen(arg) + 3);
    ~~~~~~~~~~~~~~~^
../lib/eal/include/rte_log.h:348:25: note: in definition of macro ‘RTE_LOG’
    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
                         ^
cc1: all warnings being treated as errors
[2427/3123] Linking target app/dpdk-test-acl.
[2428/3123] Linking target app/dpdk-pdump.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] ubuntu-18.04-gcc-static-aarch64 at step "Build and test"
####################################################################################




####################################################################################
#### [Begin job log] ubuntu-18.04-gcc-shared-aarch64 at step "Build and test"
####################################################################################
[2523/3336] Compiling C object 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o'.
FAILED: app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o 
ccache gcc -Iapp/a172ced@@dpdk-test-crypto-perf at exe -Iapp -I../app -Ilib/cryptodev -I../lib/cryptodev -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 -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/security -I../lib/security -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -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-missing-field-initializers -D_GNU_SOURCE -march=corei7 -DALLOW_EXPERIMENTAL_API  -MD -MQ 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o' -MF 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o.d' -o 'app/a172ced@@dpdk-test-crypto-perf at exe/test-crypto-perf_cperf_options_parsing.c.o' -c ../app/test-crypto-perf/cperf_options_parsing.c
In file included from ../lib/eal/include/rte_bus.h:24:0,
                 from ../lib/eal/include/rte_eal.h:21,
                 from ../lib/eal/include/rte_lcore.h:16,
                 from ../lib/eal/include/generic/rte_spinlock.h:21,
                 from ../lib/eal/x86/include/rte_spinlock.h:12,
                 from ../lib/mempool/rte_mempool.h:44,
                 from ../lib/mbuf/rte_mbuf.h:38,
                 from ../lib/cryptodev/rte_crypto.h:20,
                 from ../lib/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 ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘size_t {aka long unsigned int}’ [-Werror=format=]
    strlen(arg) + 3);
    ~~~~~~~~~~~~~~~^
../lib/eal/include/rte_log.h:348:25: note: in definition of macro ‘RTE_LOG’
    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
                         ^
cc1: all warnings being treated as errors
[2524/3336] Compiling C object 'app/a172ced@@dpdk-testpmd at exe/test-pmd_macswap.c.o'.
[2525/3336] Compiling C object 'app/a172ced@@dpdk-testpmd at exe/test-pmd_ieee1588fwd.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] ubuntu-18.04-gcc-shared-aarch64 at step "Build and test"
####################################################################################
--------------------------------END LOGS-----------------------------


More information about the test-report mailing list