* |FAILURE| pw134061 [PATCH v2 6/6] net/hns3: refactor handle mailbox function
[not found] <20231110061331.3670158-7-haijie1@huawei.com>
` (2 preceding siblings ...)
2023-11-10 6:20 ` |SUCCESS| pw134061 " checkpatch
@ 2023-11-10 6:59 ` 0-day Robot
3 siblings, 0 replies; 4+ messages in thread
From: 0-day Robot @ 2023-11-10 6:59 UTC (permalink / raw)
To: test-report; +Cc: haijie1, robot
From: robot@bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/134061/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/6821624169
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-20.04-gcc-stdatomic" failed at step Build and test
"ubuntu-20.04-clang-stdatomic" failed at step Build and test
"ubuntu-20.04-gcc-debug+doc+examples+tests" failed at step Build and test
"ubuntu-20.04-clang-asan+doc+tests" failed at step Build and test
"ubuntu-20.04-gcc-shared-aarch64" failed at step Build and test
"fedora:37-gcc" failed at step Build
"fedora:37-clang" failed at step Build
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-stdatomic" at step Build and test
####################################################################################
[1440/2842] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_wq.c.o'.
[1441/2842] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_nicio.c.o'.
[1442/2842] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_mbox.c.o'.
[1443/2842] Linking static target drivers/net/hinic/base/libhinic_base.a.
[1444/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_rx.c.o'.
[1445/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_net_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.hns3 -MD -MQ 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o' -MF 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o.d' -o 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o' -c ../drivers/net/hns3/hns3_ethdev_vf.c
../drivers/net/hns3/hns3_ethdev_vf.c: In function ‘hns3vf_update_push_lsc_cap’:
../drivers/net/hns3/hns3_ethdev_vf.c:627:3: error: initialization of ‘uint16_t’ {aka ‘short unsigned int’} from ‘uint16_t *’ {aka ‘short unsigned int *’} makes integer from pointer without a cast [-Werror=int-conversion]
627 | rte_atomic_compare_exchange_strong_explicit(&vf->pf_push_lsc_cap,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/hns3/hns3_ethdev_vf.c: In function ‘hns3vf_get_push_lsc_cap’:
../drivers/net/hns3/hns3_ethdev_vf.c:645:20: error: ‘req’ undeclared (first use in this function)
645 | hns3vf_mbx_setup(&req, HNS3_MBX_GET_LINK_STATUS, 0);
| ^~~
../drivers/net/hns3/hns3_ethdev_vf.c:645:20: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/hns3/hns3_ethdev_vf.c:669:2: error: initialization of ‘uint16_t’ {aka ‘short unsigned int’} from ‘uint16_t *’ {aka ‘short unsigned int *’} makes integer from pointer without a cast [-Werror=int-conversion]
669 | rte_atomic_compare_exchange_strong_explicit(&vf->pf_push_lsc_cap, &exp,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1446/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_flow.c.o'.
[1447/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_tx.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-stdatomic" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-stdatomic" at step Build and test
####################################################################################
#define atomic_store_explicit __c11_atomic_store
^
../drivers/net/hns3/hns3_intr.c:2756:3: error: address argument to atomic operation must be a pointer to _Atomic type ('uint16_t *' (aka 'unsigned short *') invalid)
rte_atomic_store_explicit(&hns->hw.reset.resetting, 0,
^ ~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_stdatomic.h:76:2: note: expanded from macro 'rte_atomic_store_explicit'
atomic_store_explicit(ptr, val, memorder)
^ ~~~
/usr/lib/llvm-11/lib/clang/11.0.0/include/stdatomic.h:118:31: note: expanded from macro 'atomic_store_explicit'
#define atomic_store_explicit __c11_atomic_store
^
../drivers/net/hns3/hns3_intr.c:2819:2: error: address argument to atomic operation must be a pointer to _Atomic type ('uint16_t *' (aka 'unsigned short *') invalid)
rte_atomic_store_explicit(&hns->hw.reset.resetting, 0,
^ ~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_stdatomic.h:76:2: note: expanded from macro 'rte_atomic_store_explicit'
atomic_store_explicit(ptr, val, memorder)
^ ~~~
/usr/lib/llvm-11/lib/clang/11.0.0/include/stdatomic.h:118:31: note: expanded from macro 'atomic_store_explicit'
#define atomic_store_explicit __c11_atomic_store
^
15 errors generated.
[1447/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_flow.c.o'.
[1448/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_tx.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-clang-stdatomic" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################
[1482/3914] Compiling C object 'drivers/a715181@@rte_net_gve@sha/meson-generated_.._rte_net_gve.pmd.c.o'.
[1483/3914] Linking target drivers/librte_net_gve.so.24.0.
[1484/3914] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_hwdev.c.o'.
[1485/3914] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_hwif.c.o'.
[1486/3914] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_mgmt.c.o'.
[1487/3914] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_nicio.c.o'.
[1488/3914] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_niccfg.c.o'.
[1489/3914] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_wq.c.o'.
[1490/3914] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_mbox.c.o'.
[1491/3914] Linking static target drivers/net/hinic/base/libhinic_base.a.
[1492/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_ethdev.c.o'.
[1493/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_rx.c.o'.
[1494/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_tx.c.o'.
[1495/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_net_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -g -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.hns3 -MD -MQ 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o' -MF 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o.d' -o 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o' -c ../drivers/net/hns3/hns3_ethdev_vf.c
../drivers/net/hns3/hns3_ethdev_vf.c: In function ‘hns3vf_get_push_lsc_cap’:
../drivers/net/hns3/hns3_ethdev_vf.c:645:20: error: ‘req’ undeclared (first use in this function)
645 | hns3vf_mbx_setup(&req, HNS3_MBX_GET_LINK_STATUS, 0);
| ^~~
../drivers/net/hns3/hns3_ethdev_vf.c:645:20: note: each undeclared identifier is reported only once for each function it appears in
[1496/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_fdir.c.o'.
[1497/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_flow.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
&exp, &val, rte_memory_order_acquire, rte_memory_order_acquire);
^~~~
../lib/eal/include/rte_stdatomic.h:150:45: note: expanded from macro 'rte_atomic_compare_exchange_strong_explicit'
__atomic_compare_exchange_n(ptr, expected, desired, 0, \
^~~~~~~
../drivers/net/hns3/hns3_ethdev_vf.c:645:20: error: use of undeclared identifier 'req'
hns3vf_mbx_setup(&req, HNS3_MBX_GET_LINK_STATUS, 0);
^
../drivers/net/hns3/hns3_ethdev_vf.c:646:29: error: use of undeclared identifier 'req'
(void)hns3vf_mbx_send(hw, &req, false, NULL, 0);
^
../drivers/net/hns3/hns3_ethdev_vf.c:670:3: error: incompatible pointer to integer conversion passing 'uint16_t *' (aka 'unsigned short *') to parameter of type 'uint16_t' (aka 'unsigned short'); remove & [-Werror,-Wint-conversion]
&val, rte_memory_order_acquire, rte_memory_order_acquire);
^~~~
../lib/eal/include/rte_stdatomic.h:150:45: note: expanded from macro 'rte_atomic_compare_exchange_strong_explicit'
__atomic_compare_exchange_n(ptr, expected, desired, 0, \
^~~~~~~
4 errors generated.
[1487/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_flow.c.o'.
[1488/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_fdir.c.o'.
[1489/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_gve@sta/net_gve_gve_tx.c.o'.
[1490/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev.c.o'.
[1491/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_tx.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-shared-aarch64" at step Build and test
####################################################################################
[1501/4079] Linking target drivers/librte_net_gve.so.24.0.
[1502/4079] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_flow.c.o'.
[1503/4079] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_cmd.c.o'.
[1504/4079] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_ethdev.c.o'.
[1505/4079] Linking static target drivers/libtmp_rte_net_hinic.a.
[1506/4079] Generating rte_net_hinic.pmd.c with a custom command.
[1507/4079] Compiling C object 'drivers/a715181@@rte_net_hinic@sta/meson-generated_.._rte_net_hinic.pmd.c.o'.
[1508/4079] Linking static target drivers/librte_net_hinic.a.
[1509/4079] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_dcb.c.o'.
[1510/4079] Compiling C object 'drivers/a715181@@rte_net_hinic@sha/meson-generated_.._rte_net_hinic.pmd.c.o'.
[1511/4079] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o
ccache aarch64-linux-gnu-gcc -Idrivers/a715181@@tmp_rte_net_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/arm/include -I../lib/eal/arm/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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=armv8-a+crc -moutline-atomics -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.hns3 -MD -MQ 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o' -MF 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o.d' -o 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o' -c ../drivers/net/hns3/hns3_ethdev_vf.c
../drivers/net/hns3/hns3_ethdev_vf.c: In function ‘hns3vf_get_push_lsc_cap’:
../drivers/net/hns3/hns3_ethdev_vf.c:645:20: error: ‘req’ undeclared (first use in this function)
645 | hns3vf_mbx_setup(&req, HNS3_MBX_GET_LINK_STATUS, 0);
| ^~~
../drivers/net/hns3/hns3_ethdev_vf.c:645:20: note: each undeclared identifier is reported only once for each function it appears in
[1512/4079] Linking target drivers/librte_net_hinic.so.24.0.
[1513/4079] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_intr.c.o'.
[1514/4079] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ptp.c.o'.
[1515/4079] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev.c.o'.
[1516/4079] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_tx_cn10k_tx_96_111_vec_mseg.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-shared-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "fedora:37-gcc" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:37-gcc" at step Build
####################################################################################
####################################################################################
#### [Begin job log] "fedora:37-clang" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:37-clang" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread