[dpdk-test-report] |FAILURE| pw(115223) sid(24348) job(PER_PATCH_BUILD3856)[2/2] test/crypto: add ecdh tests

sys_stv at intel.com sys_stv at intel.com
Thu Aug 18 09:32:47 CEST 2022


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

_Compilation issues_

Submitter: Arek Kusztal <arkadiuszx.kusztal at intel.com>
Date: 2022-08-18 06:05:26
Reply_mail: <20220818060526.17343-3-arkadiuszx.kusztal at intel.com>

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


Meson Build Summary: 22 Builds Done, 20 Successful, 2 Failures, 0 Blocked

+--------------+------------+--------------+------------+------------+-----------+----------+------------+
| os           | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+--------------+------------+--------------+------------+------------+-----------+----------+------------+
| FC36-64      | pass       | pass         |            |            |           |          |            |
| FreeBSD13-64 | pass       | pass         |            | pass       | pass      |          |            |
| RHEL86-64    | pass       | pass         |            | pass       | pass      |          |            |
| SUSE15-64    | pass       | pass         |            |            |           |          |            |
| UB2004-32    | fail       |              |            |            |           |          |            |
| UB2004-64    | pass       | pass         |            |            |           | pass     |            |
| UB2204-32    | fail       |              |            |            |           |          |            |
| UB2204-64    | pass       | pass         |            |            |           | pass     | pass       |
| CentOS79-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: FC36-64
	Kernel Version: 5.17.7-300.fc36.x86_64
	GCC Version: gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1)
	Clang Version: 14.0.0 (Fedora 14.0.0-1.fc36)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: FreeBSD13-64
	Kernel Version: 13.1-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 10.3.0
	Clang Version: 13.0.0 (git at github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: RHEL86-64
	Kernel Version: 4.18.0-372.9.1.el8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13)
	Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54)
	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: 5.3.18-57-default
	GCC Version: gcc (SUSE Linux) 7.5.0
	Clang Version: 11.0.1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc

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

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

OS: UB2204-32
	Kernel Version: 5.15.0-25-generic
	GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
	Clang Version: NA
	i686-native-linuxapp-gcc

OS: UB2204-64
	Kernel Version: 5.15.0-25-generic
	GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
	Clang Version: 14.0.0-1ubuntu1
	x86_64-native-linuxapp-gcc+16byte
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-doc

OS: CentOS79-64
	Kernel Version: 3.10.0-1160.el7.x86_64
	GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
	Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final)
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: UB2004-32
Target: i686-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_cryptodev_asym.c.o 
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -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/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/mempool -I../lib/mempool -Ilib/mbuf -I../lib/mbuf -Ilib/net -I../lib/net -Ilib/meter -I../lib/meter -Ilib/ethdev -I../lib/ethdev -Ilib/pci -I../lib/pci -Ilib/cmdline -I../lib/cmdline -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/acl -I../lib/acl -Ilib/bbdev -I../lib/bbdev -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/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/eventdev -I../lib/eventdev -Ilib/gpudev -I../lib/gpudev -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/ip_frag -I../lib/ip_frag -Ilib/jobstats -I../lib/jobstats -Ilib/latencystats -I../lib/latencystats -Ilib/lpm -I../lib/lpm -Ilib/member -I../lib/member -Ilib/pcapng -I../lib/pcapng -Ilib/power -I../lib/power -Ilib/rawdev -I../lib/rawdev -Ilib/regexdev -I../lib/regexdev -Ilib/dmadev -I../lib/dmadev -Ilib/rib -I../lib/rib -Ilib/reorder -I../lib/reorder -Ilib/sched -I../lib/sched -Ilib/security -I../lib/security -Ilib/stack -I../lib/stack -Ilib/vhost -I../lib/vhost -Ilib/ipsec -I../lib/ipsec -Ilib/fib -I../lib/fib -Ilib/port -I../lib/port -Ilib/pdump -I../lib/pdump -Ilib/table -I../lib/table -Ilib/pipeline -I../lib/pipeline -Ilib/flow_classify -I../lib/flow_classify -Ilib/graph -I../lib/graph -Ilib/node -I../lib/node -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev -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 -Idrivers/net/null -I../drivers/net/null -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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_cryptodev_asym.c.o -MF app/test/dpdk-test.p/test_cryptodev_asym.c.o.d -o app/test/dpdk-test.p/test_cryptodev_asym.c.o -c ../app/test/test_cryptodev_asym.c
In file included from ../lib/eal/include/rte_dev.h:24,
                 from ../drivers/bus/vdev/rte_bus_vdev.h:18,
                 from ../app/test/test_cryptodev_asym.c:6:
../app/test/test_cryptodev_asym.c: In function ‘test_ecdh’:
../app/test/test_cryptodev_asym.c:2425:4: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘const unsigned int’} [-Werror=format=]
 2423 |     test_vector->alice_q.x.length,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                           |
      |                           size_t {aka const unsigned int}
 2424 |     alice_op->asym->ecdh.pub_key.x.length
 2425 |    );
      |    ^
../lib/eal/include/rte_log.h:342:25: note: in definition of macro ‘RTE_LOG’
  342 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                         ^
../app/test/test_cryptodev_asym.c:2425:4: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2424 |     alice_op->asym->ecdh.pub_key.x.length
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   |
      |                                   size_t {aka unsigned int}
 2425 |    );
      |    ^
../lib/eal/include/rte_log.h:342:25: note: in definition of macro ‘RTE_LOG’
  342 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                         ^
../app/test/test_cryptodev_asym.c:2434:5: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘const unsigned int’} [-Werror=format=]
 2432 |      test_vector->alice_q.y.length,
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                            |
      |                            size_t {aka const unsigned int}
 2433 |      alice_op->asym->ecdh.pub_key.y.length
 2434 |     );
      |     ^
../lib/eal/include/rte_log.h:342:25: note: in definition of macro ‘RTE_LOG’
  342 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                         ^
../app/test/test_cryptodev_asym.c:2434:5: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2433 |      alice_op->asym->ecdh.pub_key.y.length
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                    |
      |                                    size_t {aka unsigned int}
 2434 |     );
      |     ^
../lib/eal/include/rte_log.h:342:25: note: in definition of macro ‘RTE_LOG’
  342 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                         ^
../app/test/test_cryptodev_asym.c:2485:3: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘const unsigned int’} [-Werror=format=]
 2483 |    test_vector->bob_q.x.length,
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                        |
      |                        size_t {aka const unsigned int}
 2484 |    bob_op->asym->ecdh.pub_key.x.length
 2485 |   );
      |   ^
../lib/eal/include/rte_log.h:342:25: note: in definition of macro ‘RTE_LOG’
  342 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                         ^
../app/test/test_cryptodev_asym.c:2485:3: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2484 |    bob_op->asym->ecdh.pub_key.x.length
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                |
      |                                size_t {aka unsigned int}
 2485 |   );
      |   ^
../lib/eal/include/rte_log.h:342:25: note: in definition of macro ‘RTE_LOG’
  342 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                         ^
../app/test/test_cryptodev_asym.c:2494:3: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘const unsigned int’} [-Werror=format=]
 2492 |    test_vector->bob_q.y.length,
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                        |
      |                        size_t {aka const unsigned int}
 2493 |    bob_op->asym->ecdh.pub_key.y.length
 2494 |   );
      |   ^
../lib/eal/include/rte_log.h:342:25: note: in definition of macro ‘RTE_LOG’
  342 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                         ^
../app/test/test_cryptodev_asym.c:2494:3: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2493 |    bob_op->asym->ecdh.pub_key.y.length
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                |
      |                                size_t {aka unsigned int}
 2494 |   );
      |   ^
../lib/eal/include/rte_log.h:342:25: note: in definition of macro ‘RTE_LOG’
  342 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                         ^
../app/test/test_cryptodev_asym.c:2608:3: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2606 |     alice_op->asym->ecdh.shared_secret.x.length,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                         |
      |                                         size_t {aka unsigned int}
 2607 |     test_vector->Z.x.length
 2608 |   );
      |   ^
../lib/eal/include/rte_log.h:342:25: note: in definition of macro ‘RTE_LOG’
  342 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                         ^
../app/test/test_cryptodev_asym.c:2608:3: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘const unsigned int’} [-Werror=format=]
 2607 |     test_vector->Z.x.length
      |     ~~~~~~~~~~~~~~~~~~~~~~~
      |                     |
      |                     size_t {aka const unsigned int}
 2608 |   );
      |   ^
../lib/eal/include/rte_log.h:342:25: note: in definition of macro ‘RTE_LOG’
  342 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                         ^
../app/test/test_cryptodev_asym.c:2617:3: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2615 |     alice_op->asym->ecdh.shared_secret.y.length,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                         |
      |                                         size_t {aka unsigned int}
 2616 |     test_vector->Z.y.length
 2617 |   );
      |   ^
../lib/eal/include/rte_log.h:342:25: note: in definition of macro ‘RTE_LOG’
  342 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                         ^
../app/test/test_cryptodev_asym.c:2617:3: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘const unsigned int’} [-Werror=format=]
 2616 |     test_vector->Z.y.length
      |     ~~~~~~~~~~~~~~~~~~~~~~~
      |                     |
      |                     size_t {aka const unsigned int}
 2617 |   );
      |   ^
../lib/eal/include/rte_log.h:342:25: note: in definition of macro ‘RTE_LOG’
  342 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                         ^
../app/test/test_cryptodev_asym.c:2671:3: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2669 |     bob_op->asym->ecdh.shared_secret.x.length,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                       |
      |                                       size_t {aka unsigned int}
 2670 |     test_vector->Z.x.length
 2671 |   );
      |   ^
../lib/eal/include/rte_log.h:342:25: note: in definition of macro ‘RTE_LOG’
  342 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                         ^
../app/test/test_cryptodev_asym.c:2671:3: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘const unsigned int’} [-Werror=format=]
 2670 |     test_vector->Z.x.length
      |     ~~~~~~~~~~~~~~~~~~~~~~~
      |                     |
      |                     size_t {aka const unsigned int}
 2671 |   );
      |   ^
../lib/eal/include/rte_log.h:342:25: note: in definition of macro ‘RTE_LOG’
  342 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                         ^
../app/test/test_cryptodev_asym.c:2680:3: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2678 |     bob_op->asym->ecdh.shared_secret.y.length,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                       |
      |                                       size_t {aka unsigned int}
 2679 |     test_vector->Z.y.length
 2680 |   );
      |   ^
../lib/eal/include/rte_log.h:342:25: note: in definition of macro ‘RTE_LOG’
  342 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                         ^
../app/test/test_cryptodev_asym.c:2680:3: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘const unsigned int’} [-Werror=format=]
 2679 |     test_vector->Z.y.length
      |     ~~~~~~~~~~~~~~~~~~~~~~~
      |                     |
      |                     size_t {aka const unsigned int}
 2680 |   );
      |   ^
../lib/eal/include/rte_log.h:342:25: note: in definition of macro ‘RTE_LOG’
  342 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                         ^
cc1: all warnings being treated as errors
[2149/2444] Compiling C object app/test/dpdk-test.p/test_event_eth_rx_adapter.c.o
[2150/2444] Compiling C object app/test/dpdk-test.p/test_external_mem.c.o
[2151/2444] Compiling C object app/test/dpdk-test.p/test_event_crypto_adapter.c.o
[2152/2444] Compiling C object app/test/dpdk-test.p/test_cryptodev_blockcipher.c.o
[2153/2444] Compiling C object app/test/dpdk-test.p/test_eventdev.c.o
[2154/2444] Compiling C object app/test/dpdk-test.p/test_event_ring.c.o
[2155/2444] Compiling C object app/test/dpdk-test.p/test_eal_flags.c.o
[2156/2444] Compiling C object app/test/dpdk-test.p/test_event_timer_adapter.c.o
[2157/2444] Compiling C object app/test/dpdk-test.p/test_cryptodev.c.o
ninja: build stopped




*Build Failed #2:
OS: UB2204-32
Target: i686-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_cryptodev_asym.c.o 
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -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/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/mempool -I../lib/mempool -Ilib/mbuf -I../lib/mbuf -Ilib/net -I../lib/net -Ilib/meter -I../lib/meter -Ilib/ethdev -I../lib/ethdev -Ilib/pci -I../lib/pci -Ilib/cmdline -I../lib/cmdline -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/acl -I../lib/acl -Ilib/bbdev -I../lib/bbdev -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/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/eventdev -I../lib/eventdev -Ilib/gpudev -I../lib/gpudev -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/ip_frag -I../lib/ip_frag -Ilib/jobstats -I../lib/jobstats -Ilib/latencystats -I../lib/latencystats -Ilib/lpm -I../lib/lpm -Ilib/member -I../lib/member -Ilib/pcapng -I../lib/pcapng -Ilib/power -I../lib/power -Ilib/rawdev -I../lib/rawdev -Ilib/regexdev -I../lib/regexdev -Ilib/dmadev -I../lib/dmadev -Ilib/rib -I../lib/rib -Ilib/reorder -I../lib/reorder -Ilib/sched -I../lib/sched -Ilib/security -I../lib/security -Ilib/stack -I../lib/stack -Ilib/vhost -I../lib/vhost -Ilib/ipsec -I../lib/ipsec -Ilib/fib -I../lib/fib -Ilib/port -I../lib/port -Ilib/pdump -I../lib/pdump -Ilib/table -I../lib/table -Ilib/pipeline -I../lib/pipeline -Ilib/flow_classify -I../lib/flow_classify -Ilib/graph -I../lib/graph -Ilib/node -I../lib/node -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev -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 -Idrivers/net/null -I../drivers/net/null -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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_cryptodev_asym.c.o -MF app/test/dpdk-test.p/test_cryptodev_asym.c.o.d -o app/test/dpdk-test.p/test_cryptodev_asym.c.o -c ../app/test/test_cryptodev_asym.c
In file included from ../lib/eal/include/rte_dev.h:24,
                 from ../drivers/bus/vdev/rte_bus_vdev.h:18,
                 from ../app/test/test_cryptodev_asym.c:6:
../app/test/test_cryptodev_asym.c: In function ‘test_ecdh’:
../app/test/test_cryptodev_asym.c:2425:25: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2423 |                                 test_vector->alice_q.x.length,
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                       |
      |                                                       size_t {aka unsigned int}
 2424 |                                 alice_op->asym->ecdh.pub_key.x.length
 2425 |                         );
      |                         ^
../lib/eal/include/rte_log.h:342:39: note: in definition of macro ‘RTE_LOG’
  342 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../app/test/test_cryptodev_asym.c:2425:25: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2424 |                                 alice_op->asym->ecdh.pub_key.x.length
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                               |
      |                                                               size_t {aka unsigned int}
 2425 |                         );
      |                         ^
../lib/eal/include/rte_log.h:342:39: note: in definition of macro ‘RTE_LOG’
  342 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../app/test/test_cryptodev_asym.c:2434:33: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2432 |                                         test_vector->alice_q.y.length,
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                               |
      |                                                               size_t {aka unsigned int}
 2433 |                                         alice_op->asym->ecdh.pub_key.y.length
 2434 |                                 );
      |                                 ^
../lib/eal/include/rte_log.h:342:39: note: in definition of macro ‘RTE_LOG’
  342 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../app/test/test_cryptodev_asym.c:2434:33: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2433 |                                         alice_op->asym->ecdh.pub_key.y.length
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                       |
      |                                                                       size_t {aka unsigned int}
 2434 |                                 );
      |                                 ^
../lib/eal/include/rte_log.h:342:39: note: in definition of macro ‘RTE_LOG’
  342 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../app/test/test_cryptodev_asym.c:2485:17: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2483 |                         test_vector->bob_q.x.length,
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                             |
      |                                             size_t {aka unsigned int}
 2484 |                         bob_op->asym->ecdh.pub_key.x.length
 2485 |                 );
      |                 ^
../lib/eal/include/rte_log.h:342:39: note: in definition of macro ‘RTE_LOG’
  342 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../app/test/test_cryptodev_asym.c:2485:17: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2484 |                         bob_op->asym->ecdh.pub_key.x.length
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                     |
      |                                                     size_t {aka unsigned int}
 2485 |                 );
      |                 ^
../lib/eal/include/rte_log.h:342:39: note: in definition of macro ‘RTE_LOG’
  342 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../app/test/test_cryptodev_asym.c:2494:17: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2492 |                         test_vector->bob_q.y.length,
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                             |
      |                                             size_t {aka unsigned int}
 2493 |                         bob_op->asym->ecdh.pub_key.y.length
 2494 |                 );
      |                 ^
../lib/eal/include/rte_log.h:342:39: note: in definition of macro ‘RTE_LOG’
  342 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../app/test/test_cryptodev_asym.c:2494:17: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2493 |                         bob_op->asym->ecdh.pub_key.y.length
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                     |
      |                                                     size_t {aka unsigned int}
 2494 |                 );
      |                 ^
../lib/eal/include/rte_log.h:342:39: note: in definition of macro ‘RTE_LOG’
  342 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../app/test/test_cryptodev_asym.c:2608:17: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2606 |                                 alice_op->asym->ecdh.shared_secret.x.length,
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                     |
      |                                                                     size_t {aka unsigned int}
 2607 |                                 test_vector->Z.x.length
 2608 |                 );
      |                 ^
../lib/eal/include/rte_log.h:342:39: note: in definition of macro ‘RTE_LOG’
  342 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../app/test/test_cryptodev_asym.c:2608:17: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2607 |                                 test_vector->Z.x.length
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~
      |                                                 |
      |                                                 size_t {aka unsigned int}
 2608 |                 );
      |                 ^
../lib/eal/include/rte_log.h:342:39: note: in definition of macro ‘RTE_LOG’
  342 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../app/test/test_cryptodev_asym.c:2617:17: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2615 |                                 alice_op->asym->ecdh.shared_secret.y.length,
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                     |
      |                                                                     size_t {aka unsigned int}
 2616 |                                 test_vector->Z.y.length
 2617 |                 );
      |                 ^
../lib/eal/include/rte_log.h:342:39: note: in definition of macro ‘RTE_LOG’
  342 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../app/test/test_cryptodev_asym.c:2617:17: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2616 |                                 test_vector->Z.y.length
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~
      |                                                 |
      |                                                 size_t {aka unsigned int}
 2617 |                 );
      |                 ^
../lib/eal/include/rte_log.h:342:39: note: in definition of macro ‘RTE_LOG’
  342 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../app/test/test_cryptodev_asym.c:2671:17: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2669 |                                 bob_op->asym->ecdh.shared_secret.x.length,
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                   |
      |                                                                   size_t {aka unsigned int}
 2670 |                                 test_vector->Z.x.length
 2671 |                 );
      |                 ^
../lib/eal/include/rte_log.h:342:39: note: in definition of macro ‘RTE_LOG’
  342 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../app/test/test_cryptodev_asym.c:2671:17: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2670 |                                 test_vector->Z.x.length
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~
      |                                                 |
      |                                                 size_t {aka unsigned int}
 2671 |                 );
      |                 ^
../lib/eal/include/rte_log.h:342:39: note: in definition of macro ‘RTE_LOG’
  342 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../app/test/test_cryptodev_asym.c:2680:17: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2678 |                                 bob_op->asym->ecdh.shared_secret.y.length,
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                   |
      |                                                                   size_t {aka unsigned int}
 2679 |                                 test_vector->Z.y.length
 2680 |                 );
      |                 ^
../lib/eal/include/rte_log.h:342:39: note: in definition of macro ‘RTE_LOG’
  342 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../app/test/test_cryptodev_asym.c:2680:17: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 2679 |                                 test_vector->Z.y.length
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~
      |                                                 |
      |                                                 size_t {aka unsigned int}
 2680 |                 );
      |                 ^
../lib/eal/include/rte_log.h:342:39: note: in definition of macro ‘RTE_LOG’
  342 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
cc1: all warnings being treated as errors
[2143/2444] Compiling C object app/test/dpdk-test.p/test_cryptodev_security_pdcp.c.o
[2144/2444] Compiling C object app/test/dpdk-test.p/test_cryptodev_blockcipher.c.o
[2145/2444] Compiling C object app/test/dpdk-test.p/test_efd.c.o
[2146/2444] Compiling C object app/test/dpdk-test.p/test_distributor.c.o
[2147/2444] Compiling C object app/test/dpdk-test.p/test_efd_perf.c.o
[2148/2444] Compiling C object app/test/dpdk-test.p/test_ethdev_link.c.o
[2149/2444] Compiling C object app/test/dpdk-test.p/test_eal_flags.c.o
[2150/2444] Compiling C object app/test/dpdk-test.p/test_event_crypto_adapter.c.o
[2151/2444] Compiling C object app/test/dpdk-test.p/test_cryptodev.c.o
ninja: build stopped


DPDK STV team


More information about the test-report mailing list