|FAILURE| pw133791 [PATCH] eal: add const to init function parameter

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Thu Nov 2 23:20:53 CET 2023


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

_Testing issues_

Submitter: Bruce Richardson <bruce.richardson at intel.com>
Date: Thursday, November 02 2023 18:11:48 
DPDK git baseline: Repo:dpdk
  Branch: master
  CommitID:1025bd1c24b1be70e028c7ba0595782bce75fcc6

133791 --> testing fail

Test environment and result as below:

+---------------------+----------------+
|     Environment     | dpdk_unit_test |
+=====================+================+
| Windows Server 2019 | FAIL           |
+---------------------+----------------+
| CentOS Stream 9     | FAIL           |
+---------------------+----------------+
| Debian Buster       | FAIL           |
+---------------------+----------------+
| Fedora 37           | FAIL           |
+---------------------+----------------+
| Debian Bullseye     | FAIL           |
+---------------------+----------------+
| RHEL8               | FAIL           |
+---------------------+----------------+
| Fedora 38           | FAIL           |
+---------------------+----------------+
| Ubuntu 20.04        | FAIL           |
+---------------------+----------------+
| openSUSE Leap 15    | FAIL           |
+---------------------+----------------+
| Ubuntu 22.04        | FAIL           |
+---------------------+----------------+
| CentOS Stream 8     | FAIL           |
+---------------------+----------------+

==== 20 line log output for CentOS Stream 8 (dpdk_unit_test): ====
[70/2742] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_linux_eal_dev.c.o'.
[71/2742] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_linux_eal.c.o'.
FAILED: lib/76b5a35@@rte_eal at sta/eal_linux_eal.c.o
ccache cc -Ilib/76b5a35@@rte_eal at sta -Ilib -I../lib -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 -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 -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=li
 b.eal -MD -MQ 'lib/76b5a35@@rte_eal at sta/eal_linux_eal.c.o' -MF 'lib/76b5a35@@rte_eal at sta/eal_linux_eal.c.o.d' -o 'lib/76b5a35@@rte_eal at sta/eal_linux_eal.c.o' -c ../lib/eal/linux/eal.c
../lib/eal/linux/eal.c: In function 'eal_log_level_parse':
../lib/eal/linux/eal.c:562:10: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
argvopt = argv;
^
../lib/eal/linux/eal.c: In function 'rte_eal_init':
../lib/eal/linux/eal.c:1007:32: error: passing argument 2 of 'eal_parse_args' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
fctret = eal_parse_args(argc, argv);
^~~~
../lib/eal/linux/eal.c:627:33: note: expected 'char **' but argument is of type 'char * const*'
eal_parse_args(int argc, char **argv)
~~~~~~~^~~~
cc1: all warnings being treated as errors
[72/2742] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_linux_eal_interrupts.c.o'.
[73/2742] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_linux_eal_lcore.c.o'.
[74/2742] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_linux_eal_memalloc.c.o'.
ninja: build stopped: subcommand failed.
==== End log output ====

Windows Server 2019
	Kernel: 10.0
	Compiler: clang 14.0 and gcc 8.1.0 (MinGW)

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

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

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

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

RHEL8
	Kernel: 4.18.0-240.10.1.el8_3.x86_64
	Compiler: gcc 8.3.1 20191121 (Red Hat 8.3.1-5)

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

Ubuntu 20.04
	Kernel: 5.4.0-153-generic
	Compiler: gcc 9.4.0-1ubuntu1~20.04.1

openSUSE Leap 15
	Kernel: 4.18.0-240.10.1.el8_3.x86_64
	Compiler: gcc 7.5.0

Ubuntu 22.04
	Kernel: 4.18.0-240.10.1.el8_3.x86_64
	Compiler: gcc 11.3.0

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

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

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