* [dpdk-test-report] |FAILURE| pw99130 [dpdk-dev] [PATCH 20/20] net/ice/base: add API for parser profile initialization
[not found] <20210917110242.3127658-21-qi.z.zhang@intel.com>
2021-09-17 11:03 ` [dpdk-test-report] |WARNING| pw99130 [PATCH 20/20] net/ice/base: add API for parser profile initialization checkpatch
@ 2021-09-17 11:40 ` 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: 0-day Robot @ 2021-09-17 11:40 UTC (permalink / raw)
To: test-report; +Cc: qi.z.zhang, robot
From: robot@bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/99130/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/1245267804
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-18.04-clang-static" failed at step Build and test
"ubuntu-18.04-clang-shared-doc+tests" failed at step Build and test
"ubuntu-18.04-gcc-static-i386" failed at step Build and test
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-18.04-clang-static" at step Build and test
####################################################################################
In file included from ../drivers/net/ice/base/ice_common.h:11:
../drivers/net/ice/base/ice_parser.h:5:9: error: '_ICE_PARSER_H_' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard]
#ifndef _ICE_PARSER_H_
^~~~~~~~~~~~~~
../drivers/net/ice/base/ice_parser.h:6:9: note: '_ICE_PARSRR_H_' is defined here; did you mean '_ICE_PARSER_H_'?
#define _ICE_PARSRR_H_
^~~~~~~~~~~~~~
_ICE_PARSER_H_
1 error generated.
[694/3272] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_ptype_mk.c.o'.
FAILED: drivers/net/ice/base/39545a2@@ice_base@sta/ice_ptype_mk.c.o
ccache clang -Idrivers/net/ice/base/39545a2@@ice_base@sta -Idrivers/net/ice/base -I../drivers/net/ice/base -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/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -MD -MQ 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_ptype_mk.c.o' -MF 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_ptype_mk.c.o.d' -o 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_ptype_mk.c.o' -c ../drivers/net/ice/base/ice_ptype_mk.c
In file included from ../drivers/net/ice/base/ice_ptype_mk.c:5:
In file included from ../drivers/net/ice/base/ice_common.h:11:
../drivers/net/ice/base/ice_parser.h:5:9: error: '_ICE_PARSER_H_' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard]
#ifndef _ICE_PARSER_H_
^~~~~~~~~~~~~~
../drivers/net/ice/base/ice_parser.h:6:9: note: '_ICE_PARSRR_H_' is defined here; did you mean '_ICE_PARSER_H_'?
#define _ICE_PARSRR_H_
^~~~~~~~~~~~~~
_ICE_PARSER_H_
1 error generated.
[695/3272] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/pipeline_rte_table_action.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-clang-static" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-clang-shared-doc+tests" at step Build and test
####################################################################################
In file included from ../drivers/net/ice/base/ice_common.h:11:
../drivers/net/ice/base/ice_parser.h:5:9: error: '_ICE_PARSER_H_' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard]
#ifndef _ICE_PARSER_H_
^~~~~~~~~~~~~~
../drivers/net/ice/base/ice_parser.h:6:9: note: '_ICE_PARSRR_H_' is defined here; did you mean '_ICE_PARSER_H_'?
#define _ICE_PARSRR_H_
^~~~~~~~~~~~~~
_ICE_PARSER_H_
1 error generated.
[710/3488] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_ptype_mk.c.o'.
FAILED: drivers/net/ice/base/39545a2@@ice_base@sta/ice_ptype_mk.c.o
ccache clang -Idrivers/net/ice/base/39545a2@@ice_base@sta -Idrivers/net/ice/base -I../drivers/net/ice/base -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/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -MD -MQ 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_ptype_mk.c.o' -MF 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_ptype_mk.c.o.d' -o 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_ptype_mk.c.o' -c ../drivers/net/ice/base/ice_ptype_mk.c
In file included from ../drivers/net/ice/base/ice_ptype_mk.c:5:
In file included from ../drivers/net/ice/base/ice_common.h:11:
../drivers/net/ice/base/ice_parser.h:5:9: error: '_ICE_PARSER_H_' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard]
#ifndef _ICE_PARSER_H_
^~~~~~~~~~~~~~
../drivers/net/ice/base/ice_parser.h:6:9: note: '_ICE_PARSRR_H_' is defined here; did you mean '_ICE_PARSER_H_'?
#define _ICE_PARSRR_H_
^~~~~~~~~~~~~~
_ICE_PARSER_H_
1 error generated.
[711/3488] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/pipeline_rte_table_action.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-clang-shared-doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-static-i386" at step Build and test
####################################################################################
[1139/2520] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_nvm.c.o'.
[1140/2520] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_common.c.o'.
[1141/2520] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_dcb.c.o'.
[1142/2520] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_flow.c.o'.
[1143/2520] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_flex_pipe.c.o'.
[1144/2520] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_acl.c.o'.
[1145/2520] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_acl_ctrl.c.o'.
[1146/2520] Compiling C object 'drivers/net/ice/6ab06a9@@ice_avx512_lib@sta/ice_rxtx_vec_avx512.c.o'.
[1147/2520] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_vlan_mode.c.o'.
[1148/2520] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_parser.c.o'.
FAILED: drivers/net/ice/base/39545a2@@ice_base@sta/ice_parser.c.o
ccache gcc -Idrivers/net/ice/base/39545a2@@ice_base@sta -Idrivers/net/ice/base -I../drivers/net/ice/base -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/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -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-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-unused-value -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-parameter -MD -MQ 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_parser.c.o' -MF 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_parser.c.o.d' -o 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_parser.c.o' -c ../drivers/net/ice/base/ice_parser.c
../drivers/net/ice/base/ice_parser.c: In function ‘ice_parser_sect_item_get’:
../drivers/net/ice/base/ice_parser.c:99:9: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
return (void *)((u64)section + data_off + index * size);
^
../drivers/net/ice/base/ice_parser.c: In function ‘ice_parser_create_table’:
../drivers/net/ice/base/ice_parser.c:151:8: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
(void *)((u64)table + idx * item_size),
^
cc1: all warnings being treated as errors
[1149/2520] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_ptp_hw.c.o'.
[1150/2520] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_fdir.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-static-i386" at step Build and test
####################################################################################
--------------------------------END LOGS-----------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread