|FAILURE| pw143061 [PATCH] service: extend service function call statistics
0-day Robot
robot at bytheb.org
Fri Aug 9 23:22:47 CEST 2024
From: robot at bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/143061/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/10325491860
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
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################
| ~~~~~~~~~~^~~~~~~
../lib/eal/common/rte_service.c:409:45: error: passing argument 1 of ‘service_counter_add’ from incompatible pointer type [-Werror=incompatible-pointer-types]
409 | service_counter_add(&cs->cycles, cycles);
| ^~~~~~~~~~~
| |
| _Atomic uint64_t * {aka _Atomic long unsigned int *}
../lib/eal/common/rte_service.c:375:31: note: expected ‘uint64_t *’ {aka ‘long unsigned int *’} but argument is of type ‘_Atomic uint64_t *’ {aka ‘_Atomic long unsigned int *’}
375 | service_counter_add(uint64_t *counter, uint64_t value)
| ~~~~~~~~~~^~~~~~~
../lib/eal/common/rte_service.c:410:45: error: passing argument 1 of ‘service_counter_add’ from incompatible pointer type [-Werror=incompatible-pointer-types]
410 | service_counter_add(&service_stats->cycles, cycles);
| ^~~~~~~~~~~~~~~~~~~~~~
| |
| _Atomic uint64_t * {aka _Atomic long unsigned int *}
../lib/eal/common/rte_service.c:375:31: note: expected ‘uint64_t *’ {aka ‘long unsigned int *’} but argument is of type ‘_Atomic uint64_t *’ {aka ‘_Atomic long unsigned int *’}
375 | service_counter_add(uint64_t *counter, uint64_t value)
| ~~~~~~~~~~^~~~~~~
cc1: all warnings being treated as errors
[58/3028] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_trace.c.o'.
[59/3028] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_trace_ctf.c.o'.
[60/3028] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_proc.c.o'.
[61/3028] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_hotplug_mp.c.o'.
[62/3028] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_trace_utils.c.o'.
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
####################################################################################
service_counter_add(&service_stats->error_calls, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/common/rte_service.c:375:31: note: passing argument to parameter 'counter' here
service_counter_add(uint64_t *counter, uint64_t value)
^
../lib/eal/common/rte_service.c:409:24: error: incompatible pointer types passing '_Atomic(uint64_t) *' to parameter of type 'uint64_t *' (aka 'unsigned long *') [-Werror,-Wincompatible-pointer-types]
service_counter_add(&cs->cycles, cycles);
^~~~~~~~~~~
../lib/eal/common/rte_service.c:375:31: note: passing argument to parameter 'counter' here
service_counter_add(uint64_t *counter, uint64_t value)
^
../lib/eal/common/rte_service.c:410:24: error: incompatible pointer types passing '_Atomic(uint64_t) *' to parameter of type 'uint64_t *' (aka 'unsigned long *') [-Werror,-Wincompatible-pointer-types]
service_counter_add(&service_stats->cycles, cycles);
^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/common/rte_service.c:375:31: note: passing argument to parameter 'counter' here
service_counter_add(uint64_t *counter, uint64_t value)
^
6 errors generated.
[53/3028] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_rte_random.c.o'.
[54/3028] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_dynmem.c.o'.
[55/3028] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_rte_malloc.c.o'.
[56/3028] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_proc.c.o'.
[57/3028] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_trace.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
####################################################################################
--------------------------------END LOGS-----------------------------
More information about the test-report
mailing list