|FAILURE| pw120540 [PATCH 5/5] eal: deprecate rte thread setname API
0-day Robot
robot at bytheb.org
Wed Dec 7 21:38:55 CET 2022
From: robot at bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/120540/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/3642117982
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-20.04-gcc-abi+doc+tests" failed at step Build and test
"ubuntu-20.04-clang-asan+doc+tests" failed at step Build and test
"ubuntu-20.04-gcc-static-mingw" failed at step Build and test
"fedora:35-gcc" failed at step Build
"fedora:35-clang" failed at step Build
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-abi+doc+tests" at step Build and test
####################################################################################
[1794/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_utils.c.o'.
[1795/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_linux_mlx5_socket.c.o'.
[1796/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_txpp.c.o'.
[1797/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_hws_cnt.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_hws_cnt.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_net_mlx5 at sta -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -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/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 -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pedantic -DPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_hws_cnt.c.o' -MF 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_hws_cnt.c.o.d' -o 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_hws_cnt.c.o' -c ../drivers/net/mlx5/mlx5_hws_cnt.c
../drivers/net/mlx5/mlx5_hws_cnt.c: In function ‘mlx5_hws_cnt_service_thread_create’:
../drivers/net/mlx5/mlx5_hws_cnt.c:468:2: error: ‘rte_thread_setname’ is deprecated [-Werror=deprecated-declarations]
468 | rte_thread_setname(sh->cnt_svc->service_thread, name);
| ^~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/generic/rte_spinlock.h:21,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/x86/include/rte_rwlock.h:13,
from ../lib/eal/include/rte_fbarray.h:39,
from ../lib/eal/include/rte_memory.h:25,
from ../lib/eal/include/rte_malloc.h:16,
from ../drivers/net/mlx5/mlx5_hws_cnt.c:6:
../lib/eal/include/rte_lcore.h:397:5: note: declared here
397 | int rte_thread_setname(pthread_t id, const char *name);
| ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1798/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_verbs.c.o'.
[1799/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_hw.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-abi+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
[1790/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_txpp.c.o'.
[1791/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_mpw.c.o'.
[1792/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_nompw.c.o'.
[1793/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_devx.c.o'.
[1794/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_empw.c.o'.
[1795/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_vlan.c.o'.
[1796/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_utils.c.o'.
[1797/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_linux_mlx5_socket.c.o'.
[1798/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_hws_cnt.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_hws_cnt.c.o
ccache clang -Idrivers/a715181@@tmp_rte_net_mlx5 at sta -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -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/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 -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -Xclang -fcolor-diagnostics -fsanitize=address -fno-omit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pedantic -DPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_hws_cnt.c.o' -MF 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_hws_cnt.c.o.d' -o 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_hws_cnt.c.o' -c ../drivers/net/mlx5/mlx5_hws_cnt.c
../drivers/net/mlx5/mlx5_hws_cnt.c:468:2: error: 'rte_thread_setname' is deprecated [-Werror,-Wdeprecated-declarations]
rte_thread_setname(sh->cnt_svc->service_thread, name);
^
../lib/eal/include/rte_lcore.h:396:1: note: 'rte_thread_setname' has been explicitly marked deprecated here
__rte_deprecated
^
../lib/eal/include/rte_common.h:91:41: note: expanded from macro '__rte_deprecated'
#define __rte_deprecated __attribute__((__deprecated__))
^
1 error generated.
[1799/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_hw.c.o'.
[1800/4279] 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-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
[57/1297] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_windows_fnmatch.c.obj'.
[58/1297] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_windows_getopt.c.obj'.
[59/1297] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_windows_eal_thread.c.obj'.
[60/1297] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_windows_eal_timer.c.obj'.
[61/1297] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_x86_rte_cpuflags.c.obj'.
[62/1297] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_windows_rte_thread.c.obj'.
FAILED: lib/76b5a35@@rte_eal at sta/eal_windows_rte_thread.c.obj
ccache x86_64-w64-mingw32-gcc -Ilib/76b5a35@@rte_eal at sta -Ilib -I../lib -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/windows/include -I../lib/eal/windows/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 -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wextra -Werror -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 -D_WIN32_WINNT=0x0A00 -D__USE_MINGW_ANSI_STDIO -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="23.1"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ 'lib/76b5a35@@rte_eal at sta/eal_windows_rte_thread.c.obj' -MF 'lib/76b5a35@@rte_eal at sta/eal_windows_rte_thread.c.obj.d' -o 'lib/76b5a35@@rte_eal at sta/eal_windows_rte_thread.c.obj' -c ../lib/eal/windows/rte_thread.c
In file included from /usr/share/mingw-w64/include/winbase.h:2506,
from /usr/share/mingw-w64/include/windows.h:70,
from ../lib/eal/windows/include/rte_windows.h:32,
from ../lib/eal/windows/include/pthread.h:21,
from ../lib/eal/include/rte_per_lcore.h:25,
from ../lib/eal/include/rte_eal.h:19,
from ../lib/eal/windows/rte_thread.c:9:
../lib/eal/windows/rte_thread.c: In function ‘rte_thread_set_name’:
../lib/eal/windows/rte_thread.c:336:13: error: implicit declaration of function ‘SetThreadDescription’; did you mean ‘SetThreadDesktop’? [-Werror=implicit-function-declaration]
336 | if (FAILED(SetThreadDescription(thread_handle, wname))) {
| ^~~~~~~~~~~~~~~~~~~~
../lib/eal/windows/rte_thread.c:336:13: error: nested extern declaration of ‘SetThreadDescription’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[63/1297] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_x86_rte_cycles.c.obj'.
[64/1297] Compiling C object 'lib/76b5a35@@rte_cmdline at sta/cmdline_cmdline_parse.c.obj'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "fedora:35-gcc" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:35-gcc" at step Build
####################################################################################
####################################################################################
#### [Begin job log] "fedora:35-clang" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:35-clang" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------
More information about the test-report
mailing list