[dpdk-test-report] |FAILURE| pw(84304) net/virtio: improve logs in Vhost-vDPA DMA mapping

sys_stv at intel.com sys_stv at intel.com
Wed Nov 18 10:12:03 CET 2020


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

_Compilation issues_

Submitter: Maxime Coquelin <maxime.coquelin at redhat.com>
Date: 2020-11-18 08:08:17
Reply_mail: 20201118080817.669343-1-maxime.coquelin at redhat.com

DPDK git baseline: Repo:dpdk-next-virtio, CommitID: ef10fa0c3a0c522fa9101fbb94353ce02a5b2a82


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

+----------------+------------+--------------+------------+------------+-----------+----------+
| os             | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+----------------+------------+--------------+------------+------------+-----------+----------+
| CENTOS82-64    | pass       | pass         | pass       | pass       | pass      |          |
| RHEL82-64      | pass       |              |            |            |           |          |
| UB1804-64      | pass       |              |            |            |           |          |
| FC33-64        | pass       | pass         |            |            |           |          |
| UB2010-64      | pass       |              |            |            |           |          |
| UB2004-64      | pass       | pass         | pass       |            |           | pass     |
| WIN10-64       |            | pass         |            |            |           |          |
| UB2004-32      | FAIL       |              |            |            |           |          |
| FreeBSD1201-64 | pass       | pass         |            | pass       | pass      |          |
| SUSE15-64      | pass       | pass         |            |            |           |          |
+----------------+------------+--------------+------------+------------+-----------+----------+
Test environment and configuration as below:


OS: CENTOS82-64
	Kernel Version: 4.18.0-193.14.2.el8_2.x86_64
	CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 9.0.1 (Red Hat 9.0.1-2.module_el8.2.0+309+0c7b6b03)
	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: RHEL82-64
	Kernel Version: 4.18.0-193.el8.x86_64
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 8.0.1 (Red Hat 8.0.1-1.module_el8.1.0+215+a01033fb)
	x86_64-native-linuxapp-gcc

OS: UB1804-64
	Kernel Version: 5.3.0-59-generic
	CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
	GCC Version: gcc (Ubuntu 8.4.0-1ubuntu1~18.04) 8.4.0
	Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
	x86_64-native-linuxapp-gcc

OS: FC33-64
	Kernel Version: 5.8.16-300.fc33.x86_64
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	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: UB2010-64
	Kernel Version: 5.8.0-25-generic
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (Ubuntu 10.2.0-13ubuntu1) 10.2.0
	Clang Version: 11.0.0-2
	x86_64-native-linuxapp-gcc

OS: UB2004-64
	Kernel Version: 5.4.0-47-generic
	CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
	GCC Version: gcc (Ubuntu 10-20200416-0ubuntu1) 10.0.1 20200416 (experimental) [master revision 3c3f12e2a76:dcee354ce56:44b326839d864fc10c459916abcc97f35a9ac3de]
	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: WIN10-64
	Kernel Version: N/A
	CPU info: N/A
	GCC Version: N/A
	Clang Version: Clang 8.0.0
	x86_64-windows-clang

OS: UB2004-32
	Kernel Version: 5.4.0-47-generic
	CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
	GCC Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
	Clang Version: 10.0.0-4ubuntu1
	i686-native-linuxapp-gcc

OS: FreeBSD1201-64
	Kernel Version: 12.1-RELEASE
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz (2294.74-MHz K8-class CPU)
	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: 4.12.14-lp150.11-default
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812]
	Clang Version: 5.0.1 (tags/RELEASE_501/final 312548)
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: UB2004-32
Target: i686-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_user_vhost_vdpa.c.o 
gcc -Idrivers/libtmp_rte_net_virtio.a.p -Idrivers -I../drivers -Idrivers/net/virtio -I../drivers/net/virtio -Ilib/librte_ethdev -I../lib/librte_ethdev -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_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -DVHOST_GCC_UNROLL_PRAGMA -MD -MQ drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_user_vhost_vdpa.c.o -MF drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_user_vhost_vdpa.c.o.d -o drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_user_vhost_vdpa.c.o -c ../drivers/net/virtio/virtio_user/vhost_vdpa.c
In file included from ../drivers/net/virtio/virtio_user/vhost.h:13,
                 from ../drivers/net/virtio/virtio_user/vhost_vdpa.c:13:
../drivers/net/virtio/virtio_user/vhost_vdpa.c: In function ‘vhost_vdpa_dma_map’:
../drivers/net/virtio/virtio_user/../virtio_logs.h:34:3: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 8 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
   34 |   "%s(): " fmt "\n", __func__, ## args)
      |   ^~~~~~~~
../drivers/net/virtio/virtio_user/vhost_vdpa.c:96:2: note: in expansion of macro ‘PMD_DRV_LOG’
   96 |  PMD_DRV_LOG(DEBUG, "%s: iova: 0x%" PRIx64 ", addr: %p, len: 0x%" PRIx64,
      |  ^~~~~~~~~~~
In file included from ../lib/librte_pci/rte_pci.h:22,
                 from ../drivers/net/virtio/virtio_user/../virtio_pci.h:11,
                 from ../drivers/net/virtio/virtio_user/vhost.h:12,
                 from ../drivers/net/virtio/virtio_user/vhost_vdpa.c:13:
/usr/include/inttypes.h:121:34: note: format string is defined here
  121 | # define PRIx64  __PRI64_PREFIX "x"
In file included from ../drivers/net/virtio/virtio_user/vhost.h:13,
                 from ../drivers/net/virtio/virtio_user/vhost_vdpa.c:13:
../drivers/net/virtio/virtio_user/vhost_vdpa.c: In function ‘vhost_vdpa_dma_unmap’:
../drivers/net/virtio/virtio_user/../virtio_logs.h:34:3: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 7 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
   34 |   "%s(): " fmt "\n", __func__, ## args)
      |   ^~~~~~~~
../drivers/net/virtio/virtio_user/vhost_vdpa.c:119:2: note: in expansion of macro ‘PMD_DRV_LOG’
  119 |  PMD_DRV_LOG(DEBUG, "%s: iova: 0x%" PRIx64 ", len: 0x%" PRIx64,
      |  ^~~~~~~~~~~
In file included from ../lib/librte_pci/rte_pci.h:22,
                 from ../drivers/net/virtio/virtio_user/../virtio_pci.h:11,
                 from ../drivers/net/virtio/virtio_user/vhost.h:12,
                 from ../drivers/net/virtio/virtio_user/vhost_vdpa.c:13:
/usr/include/inttypes.h:121:34: note: format string is defined here
  121 | # define PRIx64  __PRI64_PREFIX "x"
cc1: all warnings being treated as errors
[1500/2296] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_user_ethdev.c.o
[1501/2296] Generating rte_raw_dpaa2_cmdif_def with a custom command
[1502/2296] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_user_vhost_user.c.o
[1503/2296] Compiling C object drivers/libtmp_rte_raw_dpaa2_cmdif.a.p/raw_dpaa2_cmdif_dpaa2_cmdif.c.o
[1504/2296] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_user_virtio_user_dev.c.o
[1505/2296] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o
[1506/2296] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
[1507/2296] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
[1508/2296] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
ninja: build stopped: subcommand failed


DPDK STV team


More information about the test-report mailing list