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

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Wed Aug 30 14:39:19 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           |
+-----------------+----------------+
| Fedora 38       | FAIL           |
+-----------------+----------------+
| Fedora 37       | FAIL           |
+-----------------+----------------+
| Debian Buster   | FAIL           |
+-----------------+----------------+
| Debian Bullseye | FAIL           |
+-----------------+----------------+

==== 20 line log output for Debian Bullseye (dpdk_unit_test): ====
../lib/vhost/vhost.h:1027:1: note: declared here
1027 | restore_mbuf(struct rte_mbuf *m)
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[391/2704] Generating sched.sym_chk with a meson_exe.py custom command.
[392/2704] Generating security.sym_chk with a meson_exe.py custom command.
[393/2704] Compiling C object 'lib/76b5a35@@rte_vhost at sta/vhost_socket.c.o'.
FAILED: lib/76b5a35@@rte_vhost at sta/vhost_socket.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_socket.c.o' -MF 'lib/76b5a35@@rte_vhost at sta/vhost_socket.c.o.d' -o 'lib/76b5a35@@rte_vhost at sta/vhost_socket.c.o' -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
from ../lib/vhost/socket.c:21:
../lib/vhost/vhost.h: In function 'restore_mbuf':
../lib/vhost/vhost.h:1040:9: 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)
| ^~~~~~~~~~~~
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

Fedora 38
	Kernel: Depends on container host
	Compiler: gcc 13.1.1

Fedora 37
	Kernel: Depends on container host system
	Compiler: gcc 12.3.1

Debian Buster
	Kernel: 5.4.0-122-generic
	Compiler: gcc 8.3.0-6

Debian Bullseye
	Kernel: 5.4.0-122-generic
	Compiler: gcc 10.2.1-6

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