From: sys_stv@intel.com
To: test-report@dpdk.org
Subject: [dpdk-test-report] |FAILURE| pw(94352) sid(17373) [7/7] vhost: convert inflight data to DPDK allocation API
Date: 17 Jun 2021 05:10:51 -0700 [thread overview]
Message-ID: <f381f8$eep9jh@orsmga001-auth.jf.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 18128 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/94352
_Compilation issues_
Submitter: Maxime Coquelin <maxime.coquelin@redhat.com>
Date: 2021-06-17 10:58:45
Reply_mail: 20210617105845.125472-8-maxime.coquelin@redhat.com
DPDK git baseline: Repo:dpdk-next-virtio, CommitID: 175af25734f295874e31b33ccd0879e69fd152a9
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 | | | | | |
| FC34-64 | fail | pass | | | | |
| CentOsStream8-64 | pass | | | | | |
| UB2104-64 | pass | | | | | |
| WIN10-64 | | pass | | | | |
| UB2004-32 | pass | | | | | |
| 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: 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: 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: 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
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: FC34-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_vhost_user.c.o
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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 -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/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost_user.c.o -MF lib/librte_vhost.a.p/vhost_vhost_user.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_user.c.o -c ../lib/vhost/vhost_user.c
../lib/vhost/vhost_user.c: In function ‘numa_realloc’:
../lib/vhost/vhost_user.c:536:67: error: array subscript 0 is outside array bounds of ‘struct vhost_virtqueue[0]’ [-Werror=array-bounds]
536 | sus = rte_realloc_socket(vq->shadow_used_split, vq->size * sizeof(*sus),
| ^~
../lib/vhost/vhost_user.c:509:14: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
509 | vq = rte_realloc_socket(vq, sizeof(*vq), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:536:44: error: array subscript 0 is outside array bounds of ‘struct vhost_virtqueue[0]’ [-Werror=array-bounds]
536 | sus = rte_realloc_socket(vq->shadow_used_split, vq->size * sizeof(*sus),
| ^~
../lib/vhost/vhost_user.c:509:14: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
509 | vq = rte_realloc_socket(vq, sizeof(*vq), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:542:19: error: array subscript 0 is outside array bounds of ‘struct vhost_virtqueue[0]’ [-Werror=array-bounds]
542 | vq->shadow_used_split = sus;
| ^~
../lib/vhost/vhost_user.c:509:14: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
509 | vq = rte_realloc_socket(vq, sizeof(*vq), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:525:68: error: array subscript 0 is outside array bounds of ‘struct vhost_virtqueue[0]’ [-Werror=array-bounds]
525 | sup = rte_realloc_socket(vq->shadow_used_packed, vq->size * sizeof(*sup),
| ^~
../lib/vhost/vhost_user.c:509:14: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
509 | vq = rte_realloc_socket(vq, sizeof(*vq), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:525:44: error: array subscript 0 is outside array bounds of ‘struct vhost_virtqueue[0]’ [-Werror=array-bounds]
525 | sup = rte_realloc_socket(vq->shadow_used_packed, vq->size * sizeof(*sup),
| ^~
../lib/vhost/vhost_user.c:509:14: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
509 | vq = rte_realloc_socket(vq, sizeof(*vq), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:531:19: error: array subscript 0 is outside array bounds of ‘struct vhost_virtqueue[0]’ [-Werror=array-bounds]
531 | vq->shadow_used_packed = sup;
| ^~
../lib/vhost/vhost_user.c:509:14: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
509 | vq = rte_realloc_socket(vq, sizeof(*vq), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:545:58: error: array subscript 0 is outside array bounds of ‘struct vhost_virtqueue[0]’ [-Werror=array-bounds]
545 | bce = rte_realloc_socket(vq->batch_copy_elems, vq->size * sizeof(*bce),
| ^~
../lib/vhost/vhost_user.c:509:14: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
509 | vq = rte_realloc_socket(vq, sizeof(*vq), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:545:36: error: array subscript 0 is outside array bounds of ‘struct vhost_virtqueue[0]’ [-Werror=array-bounds]
545 | bce = rte_realloc_socket(vq->batch_copy_elems, vq->size * sizeof(*bce),
| ^~
../lib/vhost/vhost_user.c:509:14: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
509 | vq = rte_realloc_socket(vq, sizeof(*vq), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:551:11: error: array subscript 0 is outside array bounds of ‘struct vhost_virtqueue[0]’ [-Werror=array-bounds]
551 | vq->batch_copy_elems = bce;
| ^~
../lib/vhost/vhost_user.c:509:14: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
509 | vq = rte_realloc_socket(vq, sizeof(*vq), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:553:15: error: array subscript 0 is outside array bounds of ‘struct vhost_virtqueue[0]’ [-Werror=array-bounds]
553 | if (vq->log_cache) {
| ^~
../lib/vhost/vhost_user.c:509:14: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
509 | vq = rte_realloc_socket(vq, sizeof(*vq), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:561:19: error: array subscript 0 is outside array bounds of ‘struct vhost_virtqueue[0]’ [-Werror=array-bounds]
561 | vq->log_cache = lc;
| ^~
../lib/vhost/vhost_user.c:509:14: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
509 | vq = rte_realloc_socket(vq, sizeof(*vq), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:564:15: error: array subscript 0 is outside array bounds of ‘struct vhost_virtqueue[0]’ [-Werror=array-bounds]
564 | if (vq->resubmit_inflight) {
| ^~
../lib/vhost/vhost_user.c:509:14: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
509 | vq = rte_realloc_socket(vq, sizeof(*vq), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:573:19: error: array subscript 0 is outside array bounds of ‘struct vhost_virtqueue[0]’ [-Werror=array-bounds]
573 | vq->resubmit_inflight = ri;
| ^~
../lib/vhost/vhost_user.c:509:14: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
509 | vq = rte_realloc_socket(vq, sizeof(*vq), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:575:23: error: array subscript 0 is outside array bounds of ‘struct rte_vhost_resubmit_info[0]’ [-Werror=array-bounds]
575 | if (ri->resubmit_list) {
| ^~
../lib/vhost/vhost_user.c:567:22: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
567 | ri = rte_realloc_socket(vq->resubmit_inflight, sizeof(*ri), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:578:84: error: array subscript 0 is outside array bounds of ‘struct rte_vhost_resubmit_info[0]’ [-Werror=array-bounds]
578 | rd = rte_realloc_socket(ri->resubmit_list, sizeof(*rd) * ri->resubmit_num,
| ^~
../lib/vhost/vhost_user.c:567:22: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
567 | ri = rte_realloc_socket(vq->resubmit_inflight, sizeof(*ri), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:585:27: error: array subscript 0 is outside array bounds of ‘struct rte_vhost_resubmit_info[0]’ [-Werror=array-bounds]
585 | ri->resubmit_list = rd;
| ^~
../lib/vhost/vhost_user.c:567:22: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
567 | ri = rte_realloc_socket(vq->resubmit_inflight, sizeof(*ri), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:589:11: error: array subscript 0 is outside array bounds of ‘struct vhost_virtqueue[0]’ [-Werror=array-bounds]
589 | vq->numa_node = node;
| ^~
../lib/vhost/vhost_user.c:509:14: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
509 | vq = rte_realloc_socket(vq, sizeof(*vq), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:604:34: error: array subscript 0 is outside array bounds of ‘struct virtio_net[0]’ [-Werror=array-bounds]
604 | vhost_devices[dev->vid] = dev;
| ^~
../lib/vhost/vhost_user.c:596:15: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
596 | dev = rte_realloc_socket(old_dev, sizeof(*dev), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:608:58: error: array subscript 0 is outside array bounds of ‘struct virtio_net[0]’ [-Werror=array-bounds]
608 | sizeof(struct rte_vhost_mem_region) * dev->mem->nregions;
| ^~
../lib/vhost/vhost_user.c:596:15: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
596 | dev = rte_realloc_socket(old_dev, sizeof(*dev), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:614:12: error: array subscript 0 is outside array bounds of ‘struct virtio_net[0]’ [-Werror=array-bounds]
614 | dev->mem = mem;
| ^~
../lib/vhost/vhost_user.c:596:15: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
596 | dev = rte_realloc_socket(old_dev, sizeof(*dev), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:616:54: error: array subscript 0 is outside array bounds of ‘struct virtio_net[0]’ [-Werror=array-bounds]
616 | gp = rte_realloc_socket(dev->guest_pages, dev->max_guest_pages * sizeof(*gp),
| ^~
../lib/vhost/vhost_user.c:596:15: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
596 | dev = rte_realloc_socket(old_dev, sizeof(*dev), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:616:36: error: array subscript 0 is outside array bounds of ‘struct virtio_net[0]’ [-Werror=array-bounds]
616 | gp = rte_realloc_socket(dev->guest_pages, dev->max_guest_pages * sizeof(*gp),
| ^~
../lib/vhost/vhost_user.c:596:15: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
596 | dev = rte_realloc_socket(old_dev, sizeof(*dev), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_user.c:622:12: error: array subscript 0 is outside array bounds of ‘struct virtio_net[0]’ [-Werror=array-bounds]
622 | dev->guest_pages = gp;
| ^~
../lib/vhost/vhost_user.c:596:15: note: referencing an object of size 0 allocated by ‘rte_realloc_socket’
596 | dev = rte_realloc_socket(old_dev, sizeof(*dev), 0, node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[408/2751] Compiling C object lib/librte_fib.a.p/fib_rte_fib6.c.o
[409/2751] Generating symbol file lib/librte_sched.so.21.2.p/librte_sched.so.21.2.symbols
[410/2751] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[411/2751] Compiling C object lib/librte_port.a.p/port_rte_port_frag.c.o
[412/2751] Compiling C object lib/librte_port.a.p/port_rte_port_fd.c.o
[413/2751] Compiling C object lib/librte_fib.a.p/fib_trie.c.o
[414/2751] Compiling C object lib/librte_port.a.p/port_rte_port_ethdev.c.o
[415/2751] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[416/2751] Compiling C object lib/librte_fib.a.p/fib_dir24_8.c.o
[417/2751] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[418/2751] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
ninja: build stopped
DPDK STV team
reply other threads:[~2021-06-17 12:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='f381f8$eep9jh@orsmga001-auth.jf.intel.com' \
--to=sys_stv@intel.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).