[dpdk-test-report] |FAILURE| pw(109587) sid(22474) job(PER_PATCH_BUILD1983)[RFC, v3, 8/8] vhost: enable lock check

sys_stv at intel.com sys_stv at intel.com
Mon Apr 11 13:25:15 CEST 2022


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

_Compilation issues_

Submitter: David Marchand <david.marchand at redhat.com>
Date: 2022-04-11 11:00:13
Reply_mail: <20220411110013.18624-9-david.marchand at redhat.com>

DPDK git baseline: Repo:dpdk, CommitID: 1e230b9be8866939ef7ce9f7f16b8c8369b7bc28


Meson Build Summary: 21 Builds Done, 17 Successful, 4 Failures, 0 Blocked

+--------------+------------+--------------+------------+------------+-----------+----------+------------+
| os           | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+--------------+------------+--------------+------------+------------+-----------+----------+------------+
| FC35-64      | pass       | fail         |            |            |           |          |            |
| FreeBSD13-64 | pass       | pass         |            | pass       | pass      |          |            |
| RHEL84-64    | pass       | fail         | pass       | pass       | pass      |          |            |
| SUSE15-64    | pass       | fail         |            |            |           |          |            |
| UB2004-32    | pass       |              |            |            |           |          |            |
| UB2004-64    | pass       | fail         | pass       |            |           | pass     | pass       |
| UB2110-64    | pass       |              |            |            |           |          |            |
| RHEL85-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: FC35-64
	Kernel Version: 5.14.16-301.fc35.x86_64
	GCC Version: gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1)
	Clang Version: 13.0.0 (Fedora 13.0.0~rc1-1.fc35)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

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

OS: RHEL84-64
	Kernel Version: 4.18.0-348.7.1.el8_5.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4)
	Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c)
	ICC Version: 19.1.3.304 (gcc version 8.5.0 compatibility)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug
	x86_64-native-linuxapp-icc

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-icc
	x86_64-native-linuxapp-doc
	x86_64-native-linuxapp-gcc+16byte

OS: UB2110-64
	Kernel Version: 5.13.0-19-generic
	GCC Version: gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0
	Clang Version: 13.0.0-2
	x86_64-native-linuxapp-gcc

OS: RHEL85-64
	Kernel Version: 4.18.0-348.7.1.el8_5.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4)
	Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c)
	ICC Version: 19.1.3.304 (gcc version 8.5.0 compatibility)
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: FC35-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_vhost.a.p/vhost_vhost.c.o 
clang -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 -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vhost.c.o -MF lib/librte_vhost.a.p/vhost_vhost.c.o.d -o lib/librte_vhost.a.p/vhost_vhost.c.o -c ../lib/vhost/vhost.c
../lib/vhost/vhost.c:1298:3: error: calling function 'vhost_vring_call_packed' requires holding mutex 'vq->access_lock' exclusively [-Werror,-Wthread-safety-analysis]
                vhost_vring_call_packed(dev, vq);
                ^
../lib/vhost/vhost.c:1300:3: error: calling function 'vhost_vring_call_split' requires holding mutex 'vq->access_lock' exclusively [-Werror,-Wthread-safety-analysis]
                vhost_vring_call_split(dev, vq);
                ^
2 errors generated.
[466/3578] Generating symbol file lib/librte_reorder.so.22.2.p/librte_reorder.so.22.2.symbols
[467/3578] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[468/3578] Generating sched.sym_chk with a custom command (wrapped by meson to capture output)
[469/3578] Generating symbol file lib/librte_stack.so.22.2.p/librte_stack.so.22.2.symbols
[470/3578] Generating security.sym_chk with a custom command (wrapped by meson to capture output)
[471/3578] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[472/3578] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[473/3578] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[474/3578] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
ninja: build stopped




*Build Failed #2:
OS: RHEL84-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_vhost.a.p/vhost_vhost.c.o 
clang -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 -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vhost.c.o -MF lib/librte_vhost.a.p/vhost_vhost.c.o.d -o lib/librte_vhost.a.p/vhost_vhost.c.o -c ../lib/vhost/vhost.c
../lib/vhost/vhost.c:1298:3: error: calling function 'vhost_vring_call_packed' requires holding mutex 'vq->access_lock' exclusively [-Werror,-Wthread-safety-analysis]
                vhost_vring_call_packed(dev, vq);
                ^
../lib/vhost/vhost.c:1300:3: error: calling function 'vhost_vring_call_split' requires holding mutex 'vq->access_lock' exclusively [-Werror,-Wthread-safety-analysis]
                vhost_vring_call_split(dev, vq);
                ^
2 errors generated.
[469/3529] Generating security.sym_chk with a custom command (wrapped by meson to capture output)
[470/3529] Generating symbol file lib/librte_stack.so.22.2.p/librte_stack.so.22.2.symbols
[471/3529] Generating symbol file lib/librte_sched.so.22.2.p/librte_sched.so.22.2.symbols
[472/3529] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[473/3529] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[474/3529] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[475/3529] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[476/3529] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
[477/3529] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped




*Build Failed #3:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_vhost.a.p/vhost_vhost.c.o 
clang -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 -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vhost.c.o -MF lib/librte_vhost.a.p/vhost_vhost.c.o.d -o lib/librte_vhost.a.p/vhost_vhost.c.o -c ../lib/vhost/vhost.c
../lib/vhost/vhost.c:1298:3: error: calling function 'vhost_vring_call_packed' requires holding mutex 'vq->access_lock' exclusively [-Werror,-Wthread-safety-analysis]
                vhost_vring_call_packed(dev, vq);
                ^
../lib/vhost/vhost.c:1300:3: error: calling function 'vhost_vring_call_split' requires holding mutex 'vq->access_lock' exclusively [-Werror,-Wthread-safety-analysis]
                vhost_vring_call_split(dev, vq);
                ^
2 errors generated.
[429/3567] Linking target lib/librte_cmdline.so.22.2
[430/3567] Linking target lib/librte_ethdev.so.22.2
[431/3567] Linking target lib/librte_hash.so.22.2
[432/3567] Generating stack.sym_chk with a custom command (wrapped by meson to capture output)
[433/3567] Generating symbol file lib/librte_bbdev.so.22.2.p/librte_bbdev.so.22.2.symbols
[434/3567] Generating symbol file lib/librte_compressdev.so.22.2.p/librte_compressdev.so.22.2.symbols
[435/3567] Generating symbol file lib/librte_cryptodev.so.22.2.p/librte_cryptodev.so.22.2.symbols
[436/3567] Generating symbol file lib/librte_regexdev.so.22.2.p/librte_regexdev.so.22.2.symbols
[437/3567] Generating sched.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #4:
OS: UB2004-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_vhost.a.p/vhost_vhost.c.o 
clang -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 -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vhost.c.o -MF lib/librte_vhost.a.p/vhost_vhost.c.o.d -o lib/librte_vhost.a.p/vhost_vhost.c.o -c ../lib/vhost/vhost.c
../lib/vhost/vhost.c:1298:3: error: calling function 'vhost_vring_call_packed' requires holding mutex 'vq->access_lock' exclusively [-Werror,-Wthread-safety-analysis]
                vhost_vring_call_packed(dev, vq);
                ^
../lib/vhost/vhost.c:1300:3: error: calling function 'vhost_vring_call_split' requires holding mutex 'vq->access_lock' exclusively [-Werror,-Wthread-safety-analysis]
                vhost_vring_call_split(dev, vq);
                ^
2 errors generated.
[471/3602] Generating symbol file lib/librte_rib.so.22.2.p/librte_rib.so.22.2.symbols
[472/3602] Generating symbol file lib/librte_stack.so.22.2.p/librte_stack.so.22.2.symbols
[473/3602] Generating symbol file lib/librte_security.so.22.2.p/librte_security.so.22.2.symbols
[474/3602] Generating sched.sym_chk with a custom command (wrapped by meson to capture output)
[475/3602] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[476/3602] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[477/3602] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[478/3602] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[479/3602] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
ninja: build stopped


DPDK STV team


More information about the test-report mailing list