[dpdk-test-report] |FAILURE| pw94695 [dpdk-dev] [PATCH v4 2/2] test/power: round cpuinfo cur freq only when using CPPC cpufreq

0-day Robot robot at bytheb.org
Wed Jun 23 07:01:45 CEST 2021


From: robot at bytheb.org

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

_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/963000822
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:132:2: error: nested extern declaration of ‘FOPS_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:159:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_get_available_freqs’:
../lib/power/power_cppc_cpufreq.c:184:27: error: ‘out’ undeclared (first use in this function)
  FOPEN_OR_ERR_GOTO(f_max, out);
                           ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:245:23: error: ‘err’ undeclared (first use in this function); did you mean ‘errno’?
  FOPEN_OR_ERR_GOTO(f, err);
                       ^~~
                       errno
../lib/power/power_cppc_cpufreq.c:247: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:247:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:269:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
cc1: all warnings being treated as errors
[344/3094] Generating rte_rawdev_def with a custom command.
[345/3094] 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-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:132:2: error: nested extern declaration of ‘FOPS_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:159:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_get_available_freqs’:
../lib/power/power_cppc_cpufreq.c:184:27: error: ‘out’ undeclared (first use in this function)
  FOPEN_OR_ERR_GOTO(f_max, out);
                           ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:245:23: error: ‘err’ undeclared (first use in this function); did you mean ‘errno’?
  FOPEN_OR_ERR_GOTO(f, err);
                       ^~~
                       errno
../lib/power/power_cppc_cpufreq.c:247: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:247:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:269:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
cc1: all warnings being treated as errors
[353/3310] Generating rte_rawdev_def with a custom command.
[354/3310] Generating symbol file 'lib/76b5a35@@rte_pdump at 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-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:154:3: error: implicit declaration of function 'POWER_DEBUG_TRACE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                POWER_DEBUG_TRACE("Lcore %u Turbo not available! highest perf %u, "
                ^
../lib/power/power_cppc_cpufreq.c:182:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(POWER_SYSFILE_SCALING_MAX_FREQ, pi->lcore_id, "r",
        ^
../lib/power/power_cppc_cpufreq.c:184:2: error: implicit declaration of function 'FOPEN_OR_ERR_GOTO' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        FOPEN_OR_ERR_GOTO(f_max, out);
        ^
../lib/power/power_cppc_cpufreq.c:184:27: error: use of undeclared identifier 'out'
        FOPEN_OR_ERR_GOTO(f_max, out);
                                 ^
../lib/power/power_cppc_cpufreq.c:188:27: error: use of undeclared identifier 'out'
        FOPEN_OR_ERR_GOTO(f_min, out);
                                 ^
../lib/power/power_cppc_cpufreq.c:190:8: error: implicit declaration of function 'read_core_sysfs_u32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = read_core_sysfs_u32(f_max, &scaling_max_freq);
              ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[344/3096] Generating rte_rawdev_def with a custom command.
[345/3096] Linking target lib/librte_pdump.so.21.3.
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:154:3: error: implicit declaration of function 'POWER_DEBUG_TRACE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                POWER_DEBUG_TRACE("Lcore %u Turbo not available! highest perf %u, "
                ^
../lib/power/power_cppc_cpufreq.c:182:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(POWER_SYSFILE_SCALING_MAX_FREQ, pi->lcore_id, "r",
        ^
../lib/power/power_cppc_cpufreq.c:184:2: error: implicit declaration of function 'FOPEN_OR_ERR_GOTO' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        FOPEN_OR_ERR_GOTO(f_max, out);
        ^
../lib/power/power_cppc_cpufreq.c:184:27: error: use of undeclared identifier 'out'
        FOPEN_OR_ERR_GOTO(f_max, out);
                                 ^
../lib/power/power_cppc_cpufreq.c:188:27: error: use of undeclared identifier 'out'
        FOPEN_OR_ERR_GOTO(f_min, out);
                                 ^
../lib/power/power_cppc_cpufreq.c:190:8: error: implicit declaration of function 'read_core_sysfs_u32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = read_core_sysfs_u32(f_max, &scaling_max_freq);
              ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[345/3312] Generating rte_power_mingw with a custom command.
[346/3312] 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-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:132:2: error: nested extern declaration of ‘FOPS_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:159:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_get_available_freqs’:
../lib/power/power_cppc_cpufreq.c:184:27: error: ‘out’ undeclared (first use in this function)
  FOPEN_OR_ERR_GOTO(f_max, out);
                           ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:245:23: error: ‘err’ undeclared (first use in this function); did you mean ‘errno’?
  FOPEN_OR_ERR_GOTO(f, err);
                       ^~~
                       errno
../lib/power/power_cppc_cpufreq.c:247: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:247:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:269:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
cc1: all warnings being treated as errors
[326/2461] Compiling C object 'lib/76b5a35@@rte_power at sta/power_rte_power_pmd_mgmt.c.o'.
[327/2461] Linking target lib/librte_pdump.so.21.3.
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:132:2: error: nested extern declaration of ‘FOPS_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:159:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_get_available_freqs’:
../lib/power/power_cppc_cpufreq.c:184:27: error: ‘out’ undeclared (first use in this function)
  FOPEN_OR_ERR_GOTO(f_max, out);
                           ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:245:23: error: ‘err’ undeclared (first use in this function); did you mean ‘errno’?
  FOPEN_OR_ERR_GOTO(f, err);
                       ^~~
                       errno
../lib/power/power_cppc_cpufreq.c:247: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:247:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:269:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
cc1: all warnings being treated as errors
[345/3094] Compiling C object 'lib/76b5a35@@rte_regexdev at sta/regexdev_rte_regexdev.c.o'.
[346/3094] 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-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:132:2: error: nested extern declaration of ‘FOPS_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:159:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_get_available_freqs’:
../lib/power/power_cppc_cpufreq.c:184:27: error: ‘out’ undeclared (first use in this function)
  FOPEN_OR_ERR_GOTO(f_max, out);
                           ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:245:23: error: ‘err’ undeclared (first use in this function); did you mean ‘errno’?
  FOPEN_OR_ERR_GOTO(f, err);
                       ^~~
                       errno
../lib/power/power_cppc_cpufreq.c:247: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:247:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:269:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
cc1: all warnings being treated as errors
[352/3307] Compiling C object 'lib/76b5a35@@rte_power at sta/power_rte_power_pmd_mgmt.c.o'.
[353/3307] Generating symbol file 'lib/76b5a35@@rte_pdump at 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-----------------------------


More information about the test-report mailing list