Test-Name: DPDK Fast test suite Test-Label: aws-unit-testing Test-Status: FAILURE _Unit Testing Build error encountered_ http://dpdk.org/patch/155847 Test Status Summary: +--------------+------------------+ | Architecture | DPDK Unit Test | +--------------+------------------+ | x86_64 | FAILURE | +--------------+------------------+ | arm64 | FAILURE | +--------------+------------------+ Test environment (aarch64): Description: Build error encountered OS : Ubuntu 24.04.1 LTS Kernel : 6.8.0-1030-aws NIC : Elastic Network Adapter GCC : 13.3.0-6ubuntu2~24.04 Test last 100 lines (aarch64) 388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \ | ^~~~~~~ ../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’ 389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \ | ^~~~~~~~~~~~ ../drivers/common/cnxk/roc_platform.h:299:23: note: in expansion of macro ‘RTE_LOG_LINE’ 299 | #define plt_info(...) RTE_LOG_LINE(INFO, CNXK, __VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_link.c:126:17: note: in expansion of macro ‘plt_info’ 126 | plt_info("Port %d: Link Down - %s", (int)(eth_dev->data->port_id), | ^~~~~~~~ ../drivers/net/cnxk/cnxk_link.c: In function ‘cnxk_eth_dev_link_status_cb’: ../drivers/net/cnxk/cnxk_link.c:176:17: error: ‘struct rte_eth_link’ has no member named ‘link_type’ 176 | eth_link.link_type = dev->link_type; | ^ ../drivers/net/cnxk/cnxk_link.c: In function ‘cnxk_nix_link_update’: ../drivers/net/cnxk/cnxk_link.c:216:21: error: ‘struct rte_eth_link’ has no member named ‘link_type’ 216 | link.link_type = dev->link_type; | ^ [1293/3480] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o [1294/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o [1295/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o [1296/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mcs.c.o [1297/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o cc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/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/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -include rte_config.h -Wvla -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 -mcpu=neoverse-n1 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c ../drivers/net/cnxk/cnxk_ethdev.c:66:25: error: ‘RTE_ETH_LINK_TYPE_TP’ undeclared here (not in a function); did you mean ‘RTE_ETH_VLAN_TYPE_MAX’? 66 | [CGX_PORT_TP] = RTE_ETH_LINK_TYPE_TP, | ^~~~~~~~~~~~~~~~~~~~ | RTE_ETH_VLAN_TYPE_MAX ../drivers/net/cnxk/cnxk_ethdev.c:67:26: error: ‘RTE_ETH_LINK_TYPE_AUI’ undeclared here (not in a function); did you mean ‘RTE_ETH_VLAN_TYPE_MAX’? 67 | [CGX_PORT_AUI] = RTE_ETH_LINK_TYPE_AUI, | ^~~~~~~~~~~~~~~~~~~~~ | RTE_ETH_VLAN_TYPE_MAX ../drivers/net/cnxk/cnxk_ethdev.c:68:26: error: ‘RTE_ETH_LINK_TYPE_MII’ undeclared here (not in a function); did you mean ‘RTE_ETH_VLAN_TYPE_MAX’? 68 | [CGX_PORT_MII] = RTE_ETH_LINK_TYPE_MII, | ^~~~~~~~~~~~~~~~~~~~~ | RTE_ETH_VLAN_TYPE_MAX ../drivers/net/cnxk/cnxk_ethdev.c:69:28: error: ‘RTE_ETH_LINK_TYPE_FIBRE’ undeclared here (not in a function); did you mean ‘RTE_ETH_VLAN_TYPE_OUTER’? 69 | [CGX_PORT_FIBRE] = RTE_ETH_LINK_TYPE_FIBRE, | ^~~~~~~~~~~~~~~~~~~~~~~ | RTE_ETH_VLAN_TYPE_OUTER ../drivers/net/cnxk/cnxk_ethdev.c:70:26: error: ‘RTE_ETH_LINK_TYPE_BNC’ undeclared here (not in a function); did you mean ‘RTE_ETH_VLAN_TYPE_MAX’? 70 | [CGX_PORT_BNC] = RTE_ETH_LINK_TYPE_BNC, | ^~~~~~~~~~~~~~~~~~~~~ | RTE_ETH_VLAN_TYPE_MAX ../drivers/net/cnxk/cnxk_ethdev.c:71:25: error: ‘RTE_ETH_LINK_TYPE_DA’ undeclared here (not in a function); did you mean ‘RTE_ETH_VLAN_TYPE_MAX’? 71 | [CGX_PORT_DA] = RTE_ETH_LINK_TYPE_DA, | ^~~~~~~~~~~~~~~~~~~~ | RTE_ETH_VLAN_TYPE_MAX ../drivers/net/cnxk/cnxk_ethdev.c:72:27: error: ‘RTE_ETH_LINK_TYPE_NONE’ undeclared here (not in a function); did you mean ‘RTE_ETH_TUNNEL_TYPE_NONE’? 72 | [CGX_PORT_NONE] = RTE_ETH_LINK_TYPE_NONE, | ^~~~~~~~~~~~~~~~~~~~~~ | RTE_ETH_TUNNEL_TYPE_NONE ../drivers/net/cnxk/cnxk_ethdev.c:73:28: error: ‘RTE_ETH_LINK_TYPE_OTHER’ undeclared here (not in a function); did you mean ‘RTE_ETH_VLAN_TYPE_OUTER’? 73 | [CGX_PORT_OTHER] = RTE_ETH_LINK_TYPE_OTHER, | ^~~~~~~~~~~~~~~~~~~~~~~ | RTE_ETH_VLAN_TYPE_OUTER ../drivers/net/cnxk/cnxk_ethdev.c: In function ‘nix_get_speed_capa’: ../drivers/net/cnxk/cnxk_ethdev.c:139:21: error: ‘struct rte_eth_link’ has no member named ‘link_type’ 139 | link.link_type = dev->link_type; | ^ ../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_nix_dev_stop’: ../drivers/net/cnxk/cnxk_ethdev.c:1808:13: error: ‘struct rte_eth_link’ has no member named ‘link_type’ 1808 | link.link_type = dev->link_type; | ^ [1298/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_flow_common.c.o [1299/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ptp.c.o [1300/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o [1301/3480] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_v3_tfc_tbl_scope.c.o [1302/3480] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_ulp_ulp_rte_parser.c.o [1303/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_eswitch_devargs.c.o [1304/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o [1305/3480] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output) [1306/3480] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_neon.c.o [1307/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_eswitch_rxtx.c.o [1308/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_stats.c.o [1309/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_eswitch_flow.c.o [1310/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_tm.c.o [1311/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o [1312/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_eswitch.c.o [1313/3480] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_ulp_ulp_mapper.c.o [1314/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_rep.c.o [1315/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_rep_msg.c.o [1316/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_rep_ops.c.o [1317/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_flow.c.o [1318/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_rep_flow.c.o [1319/3480] Generating lib/pipeline.sym_chk with a custom command (wrapped by meson to capture output) [1320/3480] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn9k_ethdev.c.o [1321/3480] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o [1322/3480] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o [1323/3480] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_hwrm.c.o [1324/3480] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) [1325/3480] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o ninja: build stopped: subcommand failed. Test build failed. FAILURE Test environment (x86_64): Description: Build error encountered OS : Ubuntu 24.04.1 LTS Kernel : 6.8.0-1030-aws NIC : Elastic Network Adapter GCC : 13.3.0-6ubuntu2~24.04 Test last 100 lines (x86_64) from ../lib/eal/include/dev_driver.h:9, from ../lib/ethdev/ethdev_driver.h:19, from ../drivers/net/cnxk/cnxk_ethdev.h:10, from ../drivers/net/cnxk/cnxk_link.c:5: ../drivers/net/cnxk/cnxk_link.c: In function ‘nix_link_status_print’: ../drivers/net/cnxk/cnxk_link.c:124:34: warning: implicit declaration of function ‘rte_eth_link_type_to_str’; did you mean ‘rte_eth_link_speed_to_str’? [-Wimplicit-function-declaration] 124 | rte_eth_link_type_to_str(link->link_type)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’ 334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^~~~~~~~~~~ ../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’ 388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \ | ^~~~~~~ ../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’ 389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \ | ^~~~~~~~~~~~ ../drivers/common/cnxk/roc_platform.h:299:23: note: in expansion of macro ‘RTE_LOG_LINE’ 299 | #define plt_info(...) RTE_LOG_LINE(INFO, CNXK, __VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_link.c:118:17: note: in expansion of macro ‘plt_info’ 118 | plt_info("Port %d: Link Up - speed %u Mbps - %s - %s", | ^~~~~~~~ ../drivers/net/cnxk/cnxk_link.c:124:34: warning: nested extern declaration of ‘rte_eth_link_type_to_str’ [-Wnested-externs] 124 | rte_eth_link_type_to_str(link->link_type)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’ 334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^~~~~~~~~~~ ../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’ 388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \ | ^~~~~~~ ../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’ 389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \ | ^~~~~~~~~~~~ ../drivers/common/cnxk/roc_platform.h:299:23: note: in expansion of macro ‘RTE_LOG_LINE’ 299 | #define plt_info(...) RTE_LOG_LINE(INFO, CNXK, __VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_link.c:118:17: note: in expansion of macro ‘plt_info’ 118 | plt_info("Port %d: Link Up - speed %u Mbps - %s - %s", | ^~~~~~~~ ../drivers/net/cnxk/cnxk_link.c:124:63: error: ‘struct rte_eth_link’ has no member named ‘link_type’ 124 | rte_eth_link_type_to_str(link->link_type)); | ^~ ../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’ 334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^~~~~~~~~~~ ../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’ 388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \ | ^~~~~~~ ../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’ 389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \ | ^~~~~~~~~~~~ ../drivers/common/cnxk/roc_platform.h:299:23: note: in expansion of macro ‘RTE_LOG_LINE’ 299 | #define plt_info(...) RTE_LOG_LINE(INFO, CNXK, __VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_link.c:118:17: note: in expansion of macro ‘plt_info’ 118 | plt_info("Port %d: Link Up - speed %u Mbps - %s - %s", | ^~~~~~~~ ../drivers/net/cnxk/cnxk_link.c:127:55: error: ‘struct rte_eth_link’ has no member named ‘link_type’ 127 | rte_eth_link_type_to_str(link->link_type)); | ^~ ../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’ 334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^~~~~~~~~~~ ../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’ 388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \ | ^~~~~~~ ../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’ 389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \ | ^~~~~~~~~~~~ ../drivers/common/cnxk/roc_platform.h:299:23: note: in expansion of macro ‘RTE_LOG_LINE’ 299 | #define plt_info(...) RTE_LOG_LINE(INFO, CNXK, __VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_link.c:126:17: note: in expansion of macro ‘plt_info’ 126 | plt_info("Port %d: Link Down - %s", (int)(eth_dev->data->port_id), | ^~~~~~~~ ../drivers/net/cnxk/cnxk_link.c: In function ‘cnxk_eth_dev_link_status_cb’: ../drivers/net/cnxk/cnxk_link.c:176:17: error: ‘struct rte_eth_link’ has no member named ‘link_type’ 176 | eth_link.link_type = dev->link_type; | ^ ../drivers/net/cnxk/cnxk_link.c: In function ‘cnxk_nix_link_update’: ../drivers/net/cnxk/cnxk_link.c:216:21: error: ‘struct rte_eth_link’ has no member named ‘link_type’ 216 | link.link_type = dev->link_type; | ^ [1362/3290] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o [1363/3290] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ptp.c.o [1364/3290] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o [1365/3290] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o [1366/3290] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_rep.c.o [1367/3290] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o [1368/3290] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_rep_msg.c.o [1369/3290] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_flow.c.o [1370/3290] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o ninja: build stopped: subcommand failed. Test build failed. FAILURE