|FAILURE| pw143420 [PATCH v1 2/2] net/zxdh: provided zxdh basic init
0-day Robot
robot at bytheb.org
Wed Aug 28 10:03:27 CEST 2024
From: robot at bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/143420/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/10592399730
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-22.04-gcc-stdatomic" failed at step Build and test
"ubuntu-22.04-clang-stdatomic" failed at step Build and test
"ubuntu-22.04-gcc-debug+doc+examples+tests" failed at step Build and test
"ubuntu-22.04-clang-asan+doc+tests" failed at step Build and test
"ubuntu-22.04-gcc-static-i386" failed at step Build and test
"ubuntu-22.04-gcc-shared-aarch64" failed at step Build and test
"ubuntu-22.04-gcc-ppc64le" failed at step Build and test
"ubuntu-22.04-gcc-riscv64" failed at step Build and test
"fedora:39-gcc" failed at step Build
"fedora:39-clang" failed at step Build
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################
../drivers/bus/pci/bus_pci_driver.h:75:23: note: in definition of macro ‘RTE_PCI_DEVICE’
75 | .device_id = (dev), \
| ^~~
../drivers/net/zxdh/zxdh_ethdev.c:1309:44: error: ‘ZXDH_E312_PF_DEVICEID’ undeclared here (not in a function)
1309 | {RTE_PCI_DEVICE(PCI_VENDOR_ID_ZTE, ZXDH_E312_PF_DEVICEID)},
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/bus/pci/bus_pci_driver.h:75:23: note: in definition of macro ‘RTE_PCI_DEVICE’
75 | .device_id = (dev), \
| ^~~
../drivers/net/zxdh/zxdh_ethdev.c:1310:44: error: ‘ZXDH_E312_VF_DEVICEID’ undeclared here (not in a function)
1310 | {RTE_PCI_DEVICE(PCI_VENDOR_ID_ZTE, ZXDH_E312_VF_DEVICEID)},
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/bus/pci/bus_pci_driver.h:75:23: note: in definition of macro ‘RTE_PCI_DEVICE’
75 | .device_id = (dev), \
| ^~~
../drivers/net/zxdh/zxdh_ethdev.c:17:29: error: storage size of ‘g_dtb_data’ isn’t known
17 | struct zxdh_dtb_shared_data g_dtb_data = {0};
| ^~~~~~~~~~
../drivers/net/zxdh/zxdh_ethdev.c: In function ‘zxdh_eth_pci_probe’:
../drivers/net/zxdh/zxdh_ethdev.c:1283:1: error: control reaches end of non-void function [-Werror=return-type]
1283 | }
| ^
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-clang-stdatomic" at step Build and test
####################################################################################
../drivers/net/zxdh/zxdh_logs.h:34:9: note: expanded from macro 'PMD_MSG_LOG'
rte_log(RTE_LOG_ ## level, zxdh_logtype_msg, \
^
../drivers/net/zxdh/zxdh_msg.c:336:37: error: expected ')'
PMD_MSG_LOG(ERR, "read addr: 0x%" PRIu64 " + 0x%" PRIu64 "",
^
../drivers/net/zxdh/zxdh_msg.c:336:3: note: to match this '('
PMD_MSG_LOG(ERR, "read addr: 0x%" PRIu64 " + 0x%" PRIu64 "",
^
../drivers/net/zxdh/zxdh_logs.h:34:9: note: expanded from macro 'PMD_MSG_LOG'
rte_log(RTE_LOG_ ## level, zxdh_logtype_msg, \
^
../drivers/net/zxdh/zxdh_msg.c:523:27: error: expected ')'
"recv buffer's len: %" PRIu64 " is short than mininal 4 bytes\n",
^
../drivers/net/zxdh/zxdh_msg.c:522:3: note: to match this '('
PMD_MSG_LOG(ERR,
^
../drivers/net/zxdh/zxdh_logs.h:34:9: note: expanded from macro 'PMD_MSG_LOG'
rte_log(RTE_LOG_ ## level, zxdh_logtype_msg, \
^
3 errors generated.
[2193/3040] Compiling C object 'drivers/a715181@@tmp_rte_net_zxdh at sta/net_zxdh_zxdh_pci.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-clang-stdatomic" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################
| ^~~
../drivers/net/zxdh/zxdh_ethdev.c:1309:44: error: ‘ZXDH_E312_PF_DEVICEID’ undeclared here (not in a function)
1309 | {RTE_PCI_DEVICE(PCI_VENDOR_ID_ZTE, ZXDH_E312_PF_DEVICEID)},
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/bus/pci/bus_pci_driver.h:75:23: note: in definition of macro ‘RTE_PCI_DEVICE’
75 | .device_id = (dev), \
| ^~~
../drivers/net/zxdh/zxdh_ethdev.c:1310:44: error: ‘ZXDH_E312_VF_DEVICEID’ undeclared here (not in a function)
1310 | {RTE_PCI_DEVICE(PCI_VENDOR_ID_ZTE, ZXDH_E312_VF_DEVICEID)},
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/bus/pci/bus_pci_driver.h:75:23: note: in definition of macro ‘RTE_PCI_DEVICE’
75 | .device_id = (dev), \
| ^~~
../drivers/net/zxdh/zxdh_ethdev.c:17:29: error: storage size of ‘g_dtb_data’ isn’t known
17 | struct zxdh_dtb_shared_data g_dtb_data = {0};
| ^~~~~~~~~~
../drivers/net/zxdh/zxdh_ethdev.c: In function ‘zxdh_eth_pci_probe’:
../drivers/net/zxdh/zxdh_ethdev.c:1283:1: error: control reaches end of non-void function [-Werror=return-type]
1283 | }
| ^
cc1: all warnings being treated as errors
[2196/4125] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_empw.c.o'.
[2197/4125] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_nompw.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-clang-asan+doc+tests" at step Build and test
####################################################################################
RUNNING
../lib/eal/include/rte_launch.h:24:2: note: 'RUNNING' declared here
RUNNING,
^
../drivers/net/zxdh/zxdh_ethdev.c:104:4: error: incomplete definition of type 'struct zxdh_hw'
hw->q_depth = q_depth;
~~^
../drivers/net/zxdh/zxdh_ethdev.c:99:9: note: forward declaration of 'struct zxdh_hw'
struct zxdh_hw *hw = ret_val;
^
../drivers/net/zxdh/zxdh_ethdev.c:108:75: error: declaration of 'struct zxdh_hw' will not be visible outside of this function [-Werror,-Wvisibility]
static int32_t zxdh_dev_devargs_parse(struct rte_devargs *devargs, struct zxdh_hw *hw)
^
../drivers/net/zxdh/zxdh_ethdev.c:118:3: error: implicit declaration of function 'PMD_INIT_LOG' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
PMD_INIT_LOG(ERR, "error when parsing param");
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2195/4125] Compiling C object 'drivers/a715181@@tmp_rte_net_zxdh at sta/net_zxdh_zxdh_pci.c.o'.
[2196/4125] Compiling C object 'drivers/a715181@@tmp_rte_net_vmxnet3 at sta/net_vmxnet3_vmxnet3_rxtx.c.o'.
[2197/4125] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_empw.c.o'.
[2198/4125] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_nompw.c.o'.
[2199/4125] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_txpp.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-clang-asan+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-static-i386" at step Build and test
####################################################################################
../drivers/bus/pci/bus_pci_driver.h:75:23: note: in definition of macro ‘RTE_PCI_DEVICE’
75 | .device_id = (dev), \
| ^~~
../drivers/net/zxdh/zxdh_ethdev.c:1309:44: error: ‘ZXDH_E312_PF_DEVICEID’ undeclared here (not in a function)
1309 | {RTE_PCI_DEVICE(PCI_VENDOR_ID_ZTE, ZXDH_E312_PF_DEVICEID)},
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/bus/pci/bus_pci_driver.h:75:23: note: in definition of macro ‘RTE_PCI_DEVICE’
75 | .device_id = (dev), \
| ^~~
../drivers/net/zxdh/zxdh_ethdev.c:1310:44: error: ‘ZXDH_E312_VF_DEVICEID’ undeclared here (not in a function)
1310 | {RTE_PCI_DEVICE(PCI_VENDOR_ID_ZTE, ZXDH_E312_VF_DEVICEID)},
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/bus/pci/bus_pci_driver.h:75:23: note: in definition of macro ‘RTE_PCI_DEVICE’
75 | .device_id = (dev), \
| ^~~
../drivers/net/zxdh/zxdh_ethdev.c:17:29: error: storage size of ‘g_dtb_data’ isn’t known
17 | struct zxdh_dtb_shared_data g_dtb_data = {0};
| ^~~~~~~~~~
../drivers/net/zxdh/zxdh_ethdev.c: In function ‘zxdh_eth_pci_probe’:
../drivers/net/zxdh/zxdh_ethdev.c:1283:1: error: control reaches end of non-void function [-Werror=return-type]
1283 | }
| ^
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-static-i386" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test
####################################################################################
../drivers/bus/pci/bus_pci_driver.h:75:23: note: in definition of macro ‘RTE_PCI_DEVICE’
75 | .device_id = (dev), \
| ^~~
../drivers/net/zxdh/zxdh_ethdev.c:1309:44: error: ‘ZXDH_E312_PF_DEVICEID’ undeclared here (not in a function)
1309 | {RTE_PCI_DEVICE(PCI_VENDOR_ID_ZTE, ZXDH_E312_PF_DEVICEID)},
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/bus/pci/bus_pci_driver.h:75:23: note: in definition of macro ‘RTE_PCI_DEVICE’
75 | .device_id = (dev), \
| ^~~
../drivers/net/zxdh/zxdh_ethdev.c:1310:44: error: ‘ZXDH_E312_VF_DEVICEID’ undeclared here (not in a function)
1310 | {RTE_PCI_DEVICE(PCI_VENDOR_ID_ZTE, ZXDH_E312_VF_DEVICEID)},
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/bus/pci/bus_pci_driver.h:75:23: note: in definition of macro ‘RTE_PCI_DEVICE’
75 | .device_id = (dev), \
| ^~~
../drivers/net/zxdh/zxdh_ethdev.c:17:29: error: storage size of ‘g_dtb_data’ isn’t known
17 | struct zxdh_dtb_shared_data g_dtb_data = {0};
| ^~~~~~~~~~
../drivers/net/zxdh/zxdh_ethdev.c: In function ‘zxdh_eth_pci_probe’:
../drivers/net/zxdh/zxdh_ethdev.c:1283:1: error: control reaches end of non-void function [-Werror=return-type]
1283 | }
| ^
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-ppc64le" at step Build and test
####################################################################################
../drivers/bus/pci/bus_pci_driver.h:75:23: note: in definition of macro ‘RTE_PCI_DEVICE’
75 | .device_id = (dev), \
| ^~~
../drivers/net/zxdh/zxdh_ethdev.c:1309:44: error: ‘ZXDH_E312_PF_DEVICEID’ undeclared here (not in a function)
1309 | {RTE_PCI_DEVICE(PCI_VENDOR_ID_ZTE, ZXDH_E312_PF_DEVICEID)},
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/bus/pci/bus_pci_driver.h:75:23: note: in definition of macro ‘RTE_PCI_DEVICE’
75 | .device_id = (dev), \
| ^~~
../drivers/net/zxdh/zxdh_ethdev.c:1310:44: error: ‘ZXDH_E312_VF_DEVICEID’ undeclared here (not in a function)
1310 | {RTE_PCI_DEVICE(PCI_VENDOR_ID_ZTE, ZXDH_E312_VF_DEVICEID)},
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/bus/pci/bus_pci_driver.h:75:23: note: in definition of macro ‘RTE_PCI_DEVICE’
75 | .device_id = (dev), \
| ^~~
../drivers/net/zxdh/zxdh_ethdev.c:17:29: error: storage size of ‘g_dtb_data’ isn’t known
17 | struct zxdh_dtb_shared_data g_dtb_data = {0};
| ^~~~~~~~~~
../drivers/net/zxdh/zxdh_ethdev.c: In function ‘zxdh_eth_pci_probe’:
../drivers/net/zxdh/zxdh_ethdev.c:1283:1: error: control reaches end of non-void function [-Werror=return-type]
1283 | }
| ^
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-ppc64le" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-riscv64" at step Build and test
####################################################################################
| ^~~
../drivers/net/zxdh/zxdh_ethdev.c:1309:44: error: ‘ZXDH_E312_PF_DEVICEID’ undeclared here (not in a function)
1309 | {RTE_PCI_DEVICE(PCI_VENDOR_ID_ZTE, ZXDH_E312_PF_DEVICEID)},
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/bus/pci/bus_pci_driver.h:75:23: note: in definition of macro ‘RTE_PCI_DEVICE’
75 | .device_id = (dev), \
| ^~~
../drivers/net/zxdh/zxdh_ethdev.c:1310:44: error: ‘ZXDH_E312_VF_DEVICEID’ undeclared here (not in a function)
1310 | {RTE_PCI_DEVICE(PCI_VENDOR_ID_ZTE, ZXDH_E312_VF_DEVICEID)},
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/bus/pci/bus_pci_driver.h:75:23: note: in definition of macro ‘RTE_PCI_DEVICE’
75 | .device_id = (dev), \
| ^~~
../drivers/net/zxdh/zxdh_ethdev.c:17:29: error: storage size of ‘g_dtb_data’ isn’t known
17 | struct zxdh_dtb_shared_data g_dtb_data = {0};
| ^~~~~~~~~~
../drivers/net/zxdh/zxdh_ethdev.c: In function ‘zxdh_eth_pci_probe’:
../drivers/net/zxdh/zxdh_ethdev.c:1283:1: error: control reaches end of non-void function [-Werror=return-type]
1283 | }
| ^
cc1: all warnings being treated as errors
[1806/3489] Generating rte_net_virtio.pmd.c with a custom command.
[1807/3489] Generating rte_net_txgbe.pmd.c with a custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-riscv64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "fedora:39-gcc" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:39-gcc" at step Build
####################################################################################
####################################################################################
#### [Begin job log] "fedora:39-clang" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:39-clang" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------
More information about the test-report
mailing list