[dpdk-test-report] |FAILURE| pw95523 [dpdk-dev] [PATCH v6 2/2] test/power: round cpuinfo cur freq only in CPPC cpufreq
0-day Robot
robot at bytheb.org
Thu Jul 8 05:00:02 CEST 2021
From: robot at bytheb.org
Test-Label: github-robot
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/95523/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/1010184547
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
[340/3162] Compiling C object 'lib/76b5a35@@rte_pdump at sta/pdump_rte_pdump.c.o'.
[341/3162] Compiling C object 'lib/76b5a35@@rte_rawdev at sta/rawdev_rte_rawdev.c.o'.
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
[349/3378] Compiling C object 'lib/76b5a35@@rte_rawdev at sta/rawdev_rte_rawdev.c.o'.
[350/3378] Compiling C object 'lib/76b5a35@@rte_pdump at sta/pdump_rte_pdump.c.o'.
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.
[337/3164] Generating rte_power_mingw with a custom command.
[338/3164] Compiling C object 'lib/76b5a35@@rte_power at sta/power_rte_power_pmd_mgmt.c.o'.
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.
[350/3380] Compiling C object 'drivers/raw/ifpga/base/422485f@@ifpga_rawdev_base at sta/ifpga_feature_dev.c.o'.
[351/3380] Compiling C object 'lib/76b5a35@@rte_pdump at sta/pdump_rte_pdump.c.o'.
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
[327/2476] Compiling C object 'drivers/a715181@@tmp_rte_mempool_stack at sta/mempool_stack_rte_mempool_stack.c.o'.
[328/2476] Compiling C object 'lib/76b5a35@@rte_rawdev at sta/rawdev_rte_rawdev.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
[343/3162] Generating rte_rawdev_def with a custom command.
[344/3162] Compiling C object 'lib/76b5a35@@rte_rawdev at sta/rawdev_rte_rawdev.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
[349/3375] Compiling C object 'lib/76b5a35@@rte_pdump at sta/pdump_rte_pdump.c.o'.
[350/3375] Compiling C object 'lib/76b5a35@@rte_rawdev at sta/rawdev_rte_rawdev.c.o'.
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-----------------------------
More information about the test-report
mailing list