|FAILURE| pw130870 [PATCH] vhost: avoid potential null pointer acces

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Wed Aug 30 14:37:12 CEST 2023


Test-Label: iol-unit-amd64-testing
Test-Status: FAILURE
http://dpdk.org/patch/130870

_Testing issues_

Submitter: Li Feng <fengli at smartx.com>
Date: Wednesday, August 30 2023 08:47:08 
DPDK git baseline: Repo:dpdk
  Branch: master
  CommitID:b7b8de26f34d39c8aaded44d8a468da5e68f19da

130870 --> testing fail

Test environment and result as below:

+-----------------+----------------+
|   Environment   | dpdk_unit_test |
+=================+================+
| CentOS Stream 8 | FAIL           |
+-----------------+----------------+
| CentOS Stream 9 | FAIL           |
+-----------------+----------------+

==== 20 line log output for CentOS Stream 9 (dpdk_unit_test): ====
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[396/2709] Compiling C object 'lib/76b5a35@@rte_vhost at sta/vhost_vhost.c.o'.
FAILED: lib/76b5a35@@rte_vhost at sta/vhost_vhost.c.o
ccache cc -Ilib/76b5a35@@rte_vhost at sta -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/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wneste
 d-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 -mrtm -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/76b5a35@@rte_vhost at sta/vhost_vhost.c.o' -MF 'lib/76b5a35@@rte_vhost at sta/vhost_vhost.c.o.d' -o 'lib/76b5a35@@rte_vhost at sta/vhost_vhost.c.o' -c ../lib/vhost/vhost.c
In file included from ../lib/vhost/iotlb.h:10,
from ../lib/vhost/vhost.c:20:
../lib/vhost/vhost.h: In function 'restore_mbuf':
../lib/vhost/vhost.h:1040:16: error: 'return' with a value, in function returning void [-Werror=return-type]
1040 |         return 0;
|                ^
../lib/vhost/vhost.h:1027:1: note: declared here
1027 | restore_mbuf(struct rte_mbuf *m)
| ^~~~~~~~~~~~
../lib/vhost/vhost.h: In function 'vhost_vring_call_packed':
../lib/vhost/vhost.h:1018:1: error: control reaches end of non-void function [-Werror=return-type]
1018 | }
| ^
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
==== End log output ====

CentOS Stream 8
	Kernel: 4.18.0-240.10.1.el8_3.x86_64
	Compiler: gcc 8.4.1 20200928

CentOS Stream 9
	Kernel: 4.18.0-240.10.1.el8_3.x86_64
	Compiler: gcc 11.3.1 20220421

To view detailed results, visit:
https://lab.dpdk.org/results/dashboard/patchsets/27469/

UNH-IOL DPDK Community Lab

To manage your email subscriptions, visit: 
https://lab.dpdk.org/results/dashboard/preferences/subscriptions/


More information about the test-report mailing list