* [dpdk-test-report] |FAILURE| pw94805 [dpdk-dev] [PATCH v5 2/2] test/power: round cpuinfo cur freq only when using CPPC cpufreq
[not found] <20210625020206.42284-3-richael.zhuang@arm.com>
2021-06-25 2:04 ` [dpdk-test-report] |SUCCESS| pw94805 [PATCH v5 2/2] test/power: round cpuinfo cur freq only when using CPPC cpufreq checkpatch
@ 2021-06-25 4:01 ` 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: 0-day Robot @ 2021-06-25 4:01 UTC (permalink / raw)
To: test-report; +Cc: richael.zhuang, robot
From: robot@bytheb.org
Test-Label: github-robot
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/94805/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/970094693
Build Logs:
-----------------------Summary of failed steps-----------------------
ubuntu-18.04-gcc-static failed at step "Build and test"
ubuntu-18.04-gcc-shared-abi+doc+tests failed at step "Build and test"
ubuntu-18.04-clang-static failed at step "Build and test"
ubuntu-18.04-clang-shared-doc+tests failed at step "Build and test"
ubuntu-18.04-gcc-static-i386 failed at step "Build and test"
ubuntu-18.04-gcc-static-aarch64 failed at step "Build and test"
ubuntu-18.04-gcc-shared-aarch64 failed at step "Build and test"
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] ubuntu-18.04-gcc-static at step "Build and test"
####################################################################################
../lib/power/power_cppc_cpufreq.c:109:9: error: implicit declaration of function ‘power_set_governor’; did you mean ‘timer_getoverrun’? [-Werror=implicit-function-declaration]
return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
^~~~~~~~~~~~~~~~~~
timer_getoverrun
../lib/power/power_cppc_cpufreq.c:109:9: error: nested extern declaration of ‘power_set_governor’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_check_turbo’:
../lib/power/power_cppc_cpufreq.c:120:2: error: implicit declaration of function ‘open_core_sysfs_file’; did you mean ‘rte_lcore_has_role’? [-Werror=implicit-function-declaration]
open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
^~~~~~~~~~~~~~~~~~~~
rte_lcore_has_role
../lib/power/power_cppc_cpufreq.c:120:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:144:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
ret = read_core_sysfs_u32(f_max, &highest_perf);
^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:144:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:292:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
ret = read_core_sysfs_s(f, buf, sizeof(buf));
^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:292:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[351/3094] Generating rte_regexdev_mingw with a custom command.
[352/3094] Generating symbol file 'lib/76b5a35@@rte_rawdev@sha/librte_rawdev.so.21.3.symbols'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] ubuntu-18.04-gcc-static at step "Build and test"
####################################################################################
####################################################################################
#### [Begin job log] ubuntu-18.04-gcc-shared-abi+doc+tests at step "Build and test"
####################################################################################
../lib/power/power_cppc_cpufreq.c:109:9: error: implicit declaration of function ‘power_set_governor’; did you mean ‘timer_getoverrun’? [-Werror=implicit-function-declaration]
return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
^~~~~~~~~~~~~~~~~~
timer_getoverrun
../lib/power/power_cppc_cpufreq.c:109:9: error: nested extern declaration of ‘power_set_governor’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_check_turbo’:
../lib/power/power_cppc_cpufreq.c:120:2: error: implicit declaration of function ‘open_core_sysfs_file’; did you mean ‘rte_lcore_has_role’? [-Werror=implicit-function-declaration]
open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
^~~~~~~~~~~~~~~~~~~~
rte_lcore_has_role
../lib/power/power_cppc_cpufreq.c:120:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:144:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
ret = read_core_sysfs_u32(f_max, &highest_perf);
^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:144:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:292:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
ret = read_core_sysfs_s(f, buf, sizeof(buf));
^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:292:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[358/3310] Generating symbol file 'lib/76b5a35@@rte_pdump@sha/librte_pdump.so.21.3.symbols'.
[359/3310] Generating symbol file 'lib/76b5a35@@rte_rawdev@sha/librte_rawdev.so.21.3.symbols'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] ubuntu-18.04-gcc-shared-abi+doc+tests at step "Build and test"
####################################################################################
####################################################################################
#### [Begin job log] ubuntu-18.04-clang-static at step "Build and test"
####################################################################################
^~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:265:6: note: uninitialized use occurs here
if (f_min != NULL)
^~~~~
../lib/power/power_cppc_cpufreq.c:209:2: note: remove the 'if' if its condition is always false
if (f_max == NULL) {
^~~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:202:13: note: initialize the variable 'f_min' to silence this warning
FILE *f_min, *f_max;
^
= NULL
../lib/power/power_cppc_cpufreq.c:284:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
open_core_sysfs_file(POWER_SYSFILE_SETSPEED, pi->lcore_id, "rw+",
^
../lib/power/power_cppc_cpufreq.c:292:8: error: implicit declaration of function 'read_core_sysfs_s' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = read_core_sysfs_s(f, buf, sizeof(buf));
^
../lib/power/power_cppc_cpufreq.c:407:9: error: implicit declaration of function 'power_set_governor' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
return power_set_governor(pi->lcore_id, pi->governor_ori, NULL, 0);
^
16 errors generated.
[346/3096] Compiling C object 'lib/76b5a35@@rte_regexdev@sta/regexdev_rte_regexdev.c.o'.
[347/3096] Generating rte_rawdev_mingw with a custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] ubuntu-18.04-clang-static at step "Build and test"
####################################################################################
####################################################################################
#### [Begin job log] ubuntu-18.04-clang-shared-doc+tests at step "Build and test"
####################################################################################
^~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:265:6: note: uninitialized use occurs here
if (f_min != NULL)
^~~~~
../lib/power/power_cppc_cpufreq.c:209:2: note: remove the 'if' if its condition is always false
if (f_max == NULL) {
^~~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:202:13: note: initialize the variable 'f_min' to silence this warning
FILE *f_min, *f_max;
^
= NULL
../lib/power/power_cppc_cpufreq.c:284:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
open_core_sysfs_file(POWER_SYSFILE_SETSPEED, pi->lcore_id, "rw+",
^
../lib/power/power_cppc_cpufreq.c:292:8: error: implicit declaration of function 'read_core_sysfs_s' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = read_core_sysfs_s(f, buf, sizeof(buf));
^
../lib/power/power_cppc_cpufreq.c:407:9: error: implicit declaration of function 'power_set_governor' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
return power_set_governor(pi->lcore_id, pi->governor_ori, NULL, 0);
^
16 errors generated.
[354/3312] Generating rte_rawdev_def with a custom command.
[355/3312] Generating symbol file 'lib/76b5a35@@rte_pdump@sha/librte_pdump.so.21.3.symbols'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] ubuntu-18.04-clang-shared-doc+tests at step "Build and test"
####################################################################################
####################################################################################
#### [Begin job log] ubuntu-18.04-gcc-static-i386 at step "Build and test"
####################################################################################
../lib/power/power_cppc_cpufreq.c:109:9: error: implicit declaration of function ‘power_set_governor’; did you mean ‘timer_getoverrun’? [-Werror=implicit-function-declaration]
return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
^~~~~~~~~~~~~~~~~~
timer_getoverrun
../lib/power/power_cppc_cpufreq.c:109:9: error: nested extern declaration of ‘power_set_governor’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_check_turbo’:
../lib/power/power_cppc_cpufreq.c:120:2: error: implicit declaration of function ‘open_core_sysfs_file’; did you mean ‘rte_lcore_has_role’? [-Werror=implicit-function-declaration]
open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
^~~~~~~~~~~~~~~~~~~~
rte_lcore_has_role
../lib/power/power_cppc_cpufreq.c:120:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:144:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
ret = read_core_sysfs_u32(f_max, &highest_perf);
^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:144:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:292:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
ret = read_core_sysfs_s(f, buf, sizeof(buf));
^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:292:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[339/2461] Generating symbol file 'lib/76b5a35@@rte_rawdev@sha/librte_rawdev.so.21.3.symbols'.
[340/2461] Compiling C object 'lib/76b5a35@@rte_rib@sta/rib_rte_rib6.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] ubuntu-18.04-gcc-static-i386 at step "Build and test"
####################################################################################
####################################################################################
#### [Begin job log] ubuntu-18.04-gcc-static-aarch64 at step "Build and test"
####################################################################################
../lib/power/power_cppc_cpufreq.c:109:9: error: implicit declaration of function ‘power_set_governor’; did you mean ‘timer_getoverrun’? [-Werror=implicit-function-declaration]
return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
^~~~~~~~~~~~~~~~~~
timer_getoverrun
../lib/power/power_cppc_cpufreq.c:109:9: error: nested extern declaration of ‘power_set_governor’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_check_turbo’:
../lib/power/power_cppc_cpufreq.c:120:2: error: implicit declaration of function ‘open_core_sysfs_file’; did you mean ‘rte_lcore_has_role’? [-Werror=implicit-function-declaration]
open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
^~~~~~~~~~~~~~~~~~~~
rte_lcore_has_role
../lib/power/power_cppc_cpufreq.c:120:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:144:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
ret = read_core_sysfs_u32(f_max, &highest_perf);
^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:144:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:292:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
ret = read_core_sysfs_s(f, buf, sizeof(buf));
^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:292:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[352/3094] Generating symbol file 'lib/76b5a35@@rte_rawdev@sha/librte_rawdev.so.21.3.symbols'.
[353/3094] Compiling C object 'lib/76b5a35@@rte_rib@sta/rib_rte_rib6.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] ubuntu-18.04-gcc-static-aarch64 at step "Build and test"
####################################################################################
####################################################################################
#### [Begin job log] ubuntu-18.04-gcc-shared-aarch64 at step "Build and test"
####################################################################################
../lib/power/power_cppc_cpufreq.c:109:9: error: implicit declaration of function ‘power_set_governor’; did you mean ‘timer_getoverrun’? [-Werror=implicit-function-declaration]
return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
^~~~~~~~~~~~~~~~~~
timer_getoverrun
../lib/power/power_cppc_cpufreq.c:109:9: error: nested extern declaration of ‘power_set_governor’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_check_turbo’:
../lib/power/power_cppc_cpufreq.c:120:2: error: implicit declaration of function ‘open_core_sysfs_file’; did you mean ‘rte_lcore_has_role’? [-Werror=implicit-function-declaration]
open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
^~~~~~~~~~~~~~~~~~~~
rte_lcore_has_role
../lib/power/power_cppc_cpufreq.c:120:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:144:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
ret = read_core_sysfs_u32(f_max, &highest_perf);
^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:144:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:292:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
ret = read_core_sysfs_s(f, buf, sizeof(buf));
^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:292:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[354/3307] Generating rte_rawdev_mingw with a custom command.
[355/3307] Generating symbol file 'lib/76b5a35@@rte_pdump@sha/librte_pdump.so.21.3.symbols'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] ubuntu-18.04-gcc-shared-aarch64 at step "Build and test"
####################################################################################
--------------------------------END LOGS-----------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread