|FAILURE| pw123870 [PATCH v5 22/22] hash: convert RTE_LOGTYPE_HASH to dynamic type

0-day Robot robot at bytheb.org
Tue Feb 14 04:59:24 CET 2023


From: robot at bytheb.org

Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/123870/

_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/4169911128
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-aarch64" failed at step Build and test
"ubuntu-20.04-gcc-ppc64le" failed at step Build and test
"ubuntu-20.04-gcc-riscv64" 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
####################################################################################
../lib/port/rte_port_kni.c: In function ‘rte_port_kni_writer_free’:
../lib/eal/include/rte_log.h:337:4: error: ‘RTE_LOGTYPE_PORT’ undeclared (first use in this function); did you mean ‘RTE_LOGTYE_PORT’?
  337 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |    ^~~~~~~~~~~~
../lib/port/rte_port_kni.c:256:3: note: in expansion of macro ‘RTE_LOG’
  256 |   RTE_LOG(ERR, PORT, "%s: Port is NULL\n", __func__);
      |   ^~~~~~~
../lib/port/rte_port_kni.c: In function ‘rte_port_kni_writer_nodrop_create’:
../lib/eal/include/rte_log.h:337:4: error: ‘RTE_LOGTYPE_PORT’ undeclared (first use in this function); did you mean ‘RTE_LOGTYE_PORT’?
  337 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |    ^~~~~~~~~~~~
../lib/port/rte_port_kni.c:321:3: note: in expansion of macro ‘RTE_LOG’
  321 |   RTE_LOG(ERR, PORT, "%s: Invalid input parameters\n", __func__);
      |   ^~~~~~~
../lib/port/rte_port_kni.c: In function ‘rte_port_kni_writer_nodrop_free’:
../lib/eal/include/rte_log.h:337:4: error: ‘RTE_LOGTYPE_PORT’ undeclared (first use in this function); did you mean ‘RTE_LOGTYE_PORT’?
  337 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |    ^~~~~~~~~~~~
../lib/port/rte_port_kni.c:466:3: note: in expansion of macro ‘RTE_LOG’
  466 |   RTE_LOG(ERR, PORT, "%s: Port is NULL\n", __func__);
      |   ^~~~~~~
[452/4296] Compiling C object 'lib/76b5a35@@rte_port at sta/port_rte_swx_port_source_sink.c.o'.
[453/4296] Compiling C object 'lib/76b5a35@@rte_vhost at sta/vhost_virtio_net.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
####################################################################################
RTE_LOGTYPE_PORT
^
../lib/port/rte_port_kni.c:329:3: error: use of undeclared identifier 'RTE_LOGTYPE_PORT'
                RTE_LOG(ERR, PORT, "%s: Failed to allocate port\n", __func__);
                ^
../lib/eal/include/rte_log.h:337:4: note: expanded from macro 'RTE_LOG'
                 RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
                 ^
<scratch space>:5:1: note: expanded from here
RTE_LOGTYPE_PORT
^
../lib/port/rte_port_kni.c:466:3: error: use of undeclared identifier 'RTE_LOGTYPE_PORT'
                RTE_LOG(ERR, PORT, "%s: Port is NULL\n", __func__);
                ^
../lib/eal/include/rte_log.h:337:4: note: expanded from macro 'RTE_LOG'
                 RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
                 ^
<scratch space>:9:1: note: expanded from here
RTE_LOGTYPE_PORT
^
9 errors generated.
[452/4296] Compiling C object 'lib/76b5a35@@rte_port at sta/port_rte_swx_port_source_sink.c.o'.
[453/4296] Compiling C object 'lib/76b5a35@@rte_vhost at sta/vhost_virtio_net.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-aarch64" at step Build and test
####################################################################################
[165/3929] Compiling C object 'lib/76b5a35@@rte_metrics at sta/metrics_rte_metrics.c.o'.
[166/3929] Compiling C object 'lib/76b5a35@@rte_metrics at sta/metrics_rte_metrics_telemetry.c.o'.
[167/3929] Linking static target lib/librte_metrics.a.
[168/3929] Generating cmdline.sym_chk with a meson_exe.py custom command.
[169/3929] Linking target lib/librte_cmdline.so.23.1.
[170/3929] Generating metrics.sym_chk with a meson_exe.py custom command.
[171/3929] Generating symbol file 'lib/76b5a35@@rte_cmdline at sha/librte_cmdline.so.23.1.symbols'.
[172/3929] Compiling C object 'lib/76b5a35@@rte_hash at sta/hash_rte_hash_crc.c.o'.
[173/3929] Compiling C object 'lib/76b5a35@@rte_hash at sta/hash_rte_fbk_hash.c.o'.
FAILED: lib/76b5a35@@rte_hash at sta/hash_rte_fbk_hash.c.o 
ccache aarch64-linux-gnu-gcc -Ilib/76b5a35@@rte_hash at sta -Ilib -I../lib -Ilib/hash -I../lib/hash -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/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/rcu -I../lib/rcu -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=armv8-a+crc -moutline-atomics -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.hash -MD -MQ 'lib/76b5a35@@rte_hash at sta/hash_rte_fbk_hash.c.o' -MF 'lib/76b5a35@@rte_hash at sta/hash_rte_fbk_hash.c.o.d' -o 'lib/76b5a35@@rte_hash at sta/hash_rte_fbk_hash.c.o' -c ../lib/hash/rte_fbk_hash.c
../lib/hash/rte_fbk_hash.c: In function ‘rte_fbk_hash_create’:
../lib/hash/rte_fbk_hash.c:137:6: error: implicit declaration of function ‘rte_cpu_get_flag_enabled’ [-Werror=implicit-function-declaration]
  137 |  if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_CRC32))
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
../lib/hash/rte_fbk_hash.c:137:6: error: nested extern declaration of ‘rte_cpu_get_flag_enabled’ [-Werror=nested-externs]
../lib/hash/rte_fbk_hash.c:137:31: error: ‘RTE_CPUFLAG_CRC32’ undeclared (first use in this function)
  137 |  if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_CRC32))
      |                               ^~~~~~~~~~~~~~~~~
../lib/hash/rte_fbk_hash.c:137:31: note: each undeclared identifier is reported only once for each function it appears in
cc1: all warnings being treated as errors
[174/3929] Generating ethdev.sym_chk with a meson_exe.py custom command.
[175/3929] Compiling C object 'lib/76b5a35@@rte_hash at sta/hash_rte_cuckoo_hash.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-aarch64" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-ppc64le" at step Build and test
####################################################################################
[170/3779] Linking target lib/librte_cmdline.so.23.1.
[171/3779] Generating symbol file 'lib/76b5a35@@rte_cmdline at sha/librte_cmdline.so.23.1.symbols'.
[172/3779] Generating metrics.sym_chk with a meson_exe.py custom command.
[173/3779] Compiling C object 'lib/76b5a35@@rte_hash at sta/hash_rte_hash_crc.c.o'.
[174/3779] Compiling C object 'lib/76b5a35@@rte_hash at sta/hash_rte_fbk_hash.c.o'.
FAILED: lib/76b5a35@@rte_hash at sta/hash_rte_fbk_hash.c.o 
ccache powerpc64le-linux-gnu-gcc -Ilib/76b5a35@@rte_hash at sta -Ilib -I../lib -Ilib/hash -I../lib/hash -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/ppc/include -I../lib/eal/ppc/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/rcu -I../lib/rcu -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 -mcpu=power8 -mtune=power8 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.hash -MD -MQ 'lib/76b5a35@@rte_hash at sta/hash_rte_fbk_hash.c.o' -MF 'lib/76b5a35@@rte_hash at sta/hash_rte_fbk_hash.c.o.d' -o 'lib/76b5a35@@rte_hash at sta/hash_rte_fbk_hash.c.o' -c ../lib/hash/rte_fbk_hash.c
In file included from ../lib/hash/rte_fbk_hash.h:27,
                 from ../lib/hash/rte_fbk_hash.c:19:
../lib/hash/rte_hash_crc.h:32:16: error: ‘crc32_alg’ defined but not used [-Werror=unused-variable]
   32 | static uint8_t crc32_alg = CRC32_SW;
      |                ^~~~~~~~~
cc1: all warnings being treated as errors
[175/3779] Generating ethdev.sym_chk with a meson_exe.py custom command.
[176/3779] Compiling C object 'lib/76b5a35@@rte_hash at sta/hash_rte_cuckoo_hash.c.o'.
FAILED: lib/76b5a35@@rte_hash at sta/hash_rte_cuckoo_hash.c.o 
ccache powerpc64le-linux-gnu-gcc -Ilib/76b5a35@@rte_hash at sta -Ilib -I../lib -Ilib/hash -I../lib/hash -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/ppc/include -I../lib/eal/ppc/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/rcu -I../lib/rcu -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 -mcpu=power8 -mtune=power8 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.hash -MD -MQ 'lib/76b5a35@@rte_hash at sta/hash_rte_cuckoo_hash.c.o' -MF 'lib/76b5a35@@rte_hash at sta/hash_rte_cuckoo_hash.c.o.d' -o 'lib/76b5a35@@rte_hash at sta/hash_rte_cuckoo_hash.c.o' -c ../lib/hash/rte_cuckoo_hash.c
In file included from ../lib/hash/rte_cuckoo_hash.h:43,
                 from ../lib/hash/rte_cuckoo_hash.c:32:
../lib/hash/rte_hash_crc.h:32:16: error: ‘crc32_alg’ defined but not used [-Werror=unused-variable]
   32 | static uint8_t crc32_alg = CRC32_SW;
      |                ^~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-ppc64le" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-riscv64" at step Build and test
####################################################################################
[141/3751] Compiling C object 'lib/76b5a35@@rte_cmdline at sta/cmdline_cmdline_parse_num.c.o'.
[142/3751] Compiling C object 'lib/76b5a35@@rte_cmdline at sta/cmdline_cmdline_parse_portlist.c.o'.
[143/3751] Compiling C object 'lib/76b5a35@@rte_cmdline at sta/cmdline_cmdline_parse_string.c.o'.
[144/3751] Compiling C object 'lib/76b5a35@@rte_cmdline at sta/cmdline_cmdline_rdline.c.o'.
[145/3751] Compiling C object 'lib/76b5a35@@rte_cmdline at sta/cmdline_cmdline_socket.c.o'.
[146/3751] Compiling C object 'lib/76b5a35@@rte_cmdline at sta/cmdline_cmdline_vt100.c.o'.
[147/3751] Compiling C object 'lib/76b5a35@@rte_cmdline at sta/cmdline_cmdline_os_unix.c.o'.
[148/3751] Linking static target lib/librte_cmdline.a.
[149/3751] Generating cmdline.sym_chk with a meson_exe.py custom command.
[150/3751] Compiling C object 'lib/76b5a35@@rte_metrics at sta/metrics_rte_metrics.c.o'.
[151/3751] Compiling C object 'lib/76b5a35@@rte_metrics at sta/metrics_rte_metrics_telemetry.c.o'.
[152/3751] Generating eal.sym_chk with a meson_exe.py custom command.
[153/3751] Compiling C object 'lib/76b5a35@@rte_hash at sta/hash_rte_cuckoo_hash.c.o'.
FAILED: lib/76b5a35@@rte_hash at sta/hash_rte_cuckoo_hash.c.o 
ccache riscv64-linux-gnu-gcc -Ilib/76b5a35@@rte_hash at sta -Ilib -I../lib -Ilib/hash -I../lib/hash -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/riscv/include -I../lib/eal/riscv/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/rcu -I../lib/rcu -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=rv64gc -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.hash -MD -MQ 'lib/76b5a35@@rte_hash at sta/hash_rte_cuckoo_hash.c.o' -MF 'lib/76b5a35@@rte_hash at sta/hash_rte_cuckoo_hash.c.o.d' -o 'lib/76b5a35@@rte_hash at sta/hash_rte_cuckoo_hash.c.o' -c ../lib/hash/rte_cuckoo_hash.c
In file included from ../lib/hash/rte_cuckoo_hash.h:43,
                 from ../lib/hash/rte_cuckoo_hash.c:32:
../lib/hash/rte_hash_crc.h:32:16: error: ‘crc32_alg’ defined but not used [-Werror=unused-variable]
   32 | static uint8_t crc32_alg = CRC32_SW;
      |                ^~~~~~~~~
cc1: all warnings being treated as errors
[154/3751] Linking target lib/librte_eal.so.23.1.
[155/3751] Generating ethdev.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-riscv64" 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