← Back to team overview

tiomap-dev team mailing list archive

[Bug 881362] Re: lava-test powermanagement fails on panda

 

First failure is happening at the cpufreq test suite, where it checks if
it can set cpu0 as ondemand and cpu1 as conservative.

>From the logs:
root@linaro-ubuntu-desktop:~# echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
root@linaro-ubuntu-desktop:~# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
ondemand
root@linaro-ubuntu-desktop:~# cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
ondemand
root@linaro-ubuntu-desktop:~# echo conservative > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
root@linaro-ubuntu-desktop:~# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
conservative
root@linaro-ubuntu-desktop:~# cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
conservative

I don't much much technical details to actually know if this would be
supported by Panda or not. Andy and Amit, would this config be possible
with Panda? This test was executed with the tilt-3.3 branch.

Let me know in case this is related with the config set used, but this
is the CPU_FREQ related ones enabled by this kernel:

root@linaro-ubuntu-desktop:~# grep FREQ /boot/config-3.3.1-39-linaro-lt-omap 
CONFIG_ARCH_HAS_CPUFREQ=y
# CONFIG_ARM_EXYNOS4210_CPUFREQ is not set
CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
CONFIG_CPU_FREQ_GOV_ONDEMAND=m
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=m
CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_STAT_DETAILS is not set
CONFIG_CPU_FREQ_TABLE=y
# CONFIG_DEVFREQ_GOV_PERFORMANCE is not set
# CONFIG_DEVFREQ_GOV_POWERSAVE is not set
# CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND is not set
# CONFIG_DEVFREQ_GOV_USERSPACE is not set
CONFIG_PM_DEVFREQ=y

-- 
You received this bug notification because you are a member of TI OMAP
Developers, which is subscribed to linaro-landing-team-ti.
https://bugs.launchpad.net/bugs/881362

Title:
  lava-test powermanagement fails on panda

Status in Linaro Texas Instruments Landing Team:
  New
Status in Linaro Ubuntu Evaluation Builds:
  Confirmed

Bug description:
  Hwpack: http://snapshots.linaro.org/oneiric/lt-panda-x11-base-
  oneiric/20111023/0/images/hwpack/hwpack_linaro-lt-
  panda-x11-base_20111023-0_armel_supported.tar.gz

  Image: http://snapshots.linaro.org/oneiric/linaro-o-ubuntu-
  desktop/20111023/0/images/tar/linaro-o-ubuntu-desktop-
  tar-20111023-0.tar.gz

  'lava-test run pwrmgmt' generates following log:

  $ cat ~/.local/share/lava_test/results/pwrmgmt.2011-10-24T13\:04\:11Z/testoutput.log 
  make[1]: Entering directory `/home/linaro/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/utils'
  make[1]: Nothing to be done for `check'.
  make[1]: Leaving directory `/home/linaro/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/utils'
  make[1]: Entering directory `/home/linaro/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/cpufreq'
  rm -f cpufreq_01.log cpufreq_02.log cpufreq_03.log cpufreq_04.log cpufreq_05.log cpufreq_06.log cpufreq_07.log cpufreq_08.log cpufreq_09.log
  ###
  ### cpufreq_01:
  ### test the cpufreq framework is available for frequency
  ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_01
  ###
  cpufreq_01.0/cpu0: checking 'scaling_available_frequencies' exists...       pass
  cpufreq_01.1/cpu0: checking 'scaling_cur_freq' exists...                    pass
  cpufreq_01.2/cpu0: checking 'scaling_setspeed' exists...                    pass
  cpufreq_01.0/cpu1: checking 'scaling_available_frequencies' exists...       pass
  cpufreq_01.1/cpu1: checking 'scaling_cur_freq' exists...                    pass
  cpufreq_01.2/cpu1: checking 'scaling_setspeed' exists...                    pass
  ###
  ### cpufreq_02:
  ### test the cpufreq framework is available for governor
  ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_02
  ###
  cpufreq_02.0/cpu0: checking 'scaling_available_governors' exists...         pass
  cpufreq_02.1/cpu0: checking 'scaling_governor' exists...                    pass
  cpufreq_02.0/cpu1: checking 'scaling_available_governors' exists...         pass
  cpufreq_02.1/cpu1: checking 'scaling_governor' exists...                    pass
  ###
  ### cpufreq_03:
  ### test the governor change is effective
  ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_03
  ###
  cpufreq_03.0: run as non-root...                                            skip
  ###
  ### cpufreq_04:
  ### test the change of the frequency is effective in 'userspace' mode
  ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_04
  ###
  cpufreq_04.0: run as non-root...                                            skip
  ###
  ### cpufreq_05:
  ### test 'ondemand' and 'conservative' trigger correctly the configuration directory
  ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_05
  ###
  cpufreq_05.0: run as non-root...                                            skip
  ###
  ### cpufreq_06:
  ### test the change of the frequencies affect the performances of a test program
  ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_06
  ###
  cpufreq_06.0: run as non-root...                                            skip
  ###
  ### cpufreq_07:
  ### test the load of the cpu affects the frequency with 'ondemand'
  ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_07
  ###
  cpufreq_07.0: run as non-root...                                            skip
  ###
  ### cpufreq_08:
  ### test the load of the cpu does not affect the frequency with 'userspace'
  ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_08
  ###
  cpufreq_08.0: run as non-root...                                            skip
  ###
  ### cpufreq_09:
  ### test the load of the cpu does not affect the frequency with 'powersave'
  ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_09
  ###
  cpufreq_09.0: run as non-root...                                            skip
  make[1]: Leaving directory `/home/linaro/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/cpufreq'
  make[1]: Entering directory `/home/linaro/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/cpuhotplug'
  rm -f 1_sanity_check.log cpuhotplug_01.log cpuhotplug_02.log cpuhotplug_03.log cpuhotplug_04.log cpuhotplug_05.log cpuhotplug_06.log cpuhotplug_07.log cpuhotplug_08.log z_sanity_check.log
  ###
  ### 1_sanity_check:
  ### ensure all the cpus are online before the tests
  ### ###
  1_sanity_check.0: checking all cpu are online...                            pass
  ###
  ### cpuhotplug_01:
  ### test the sysfs files are present
  ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_01
  ###
  cpuhotplug_01.0: checking 'online' exists...                                pass
  cpuhotplug_01.1: checking 'offline' exists...                               pass
  cpuhotplug_01.2: checking 'possible' exists...                              pass
  cpuhotplug_01.3: checking 'present' exists...                               pass
  cpuhotplug_01.0/cpu0: checking 'online' exists...                           pass
  cpuhotplug_01.0/cpu1: checking 'online' exists...                           pass
  ###
  ### cpuhotplug_02:
  ### test the cpu state is reflected in sysfs
  ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_02
  ###
  cpuhotplug_02.0/cpu1: checking cpu is offline...                            fail
  ###
  ### cpuhotplug_03:
  ### test the affinity does not work on an offline cpu
  ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_03
  ###
  cpuhotplug_03.0/cpu1: checking setting affinity on cpu fails...             fail
  ###
  ### cpuhotplug_04:
  ### test task is migrated with task affinity
  ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_04
  ###
  cpuhotplug_04.0/cpu1: checking affinity is set...                           fail
  cpuhotplug_04.1/cpu1: checking offlining a cpu with affinity succeed...     fail
  cpuhotplug_04.2/cpu1: checking affinity changed...                          pass
  ###
  ### cpuhotplug_05:
  ### test cpus are reflected on /proc/cpuinfo correctly
  ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_05
  ###
  processor	: 1
  cpuhotplug_05.0/cpu1: checking offline processor not found in cpuinfo...    fail
  ###
  ### cpuhotplug_06:
  ### test interrupts show the right configuration in /proc/interrupts
  ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_06
  ###
             CPU0       CPU1       
  cpuhotplug_06.0/cpu1: checking offline processor not found in interrupts... fail
  ###
  ### cpuhotplug_07:
  ### test userspace notification
  ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_07
  ###
  cpuhotplug_07.0/cpu1: checking offline event was received...                fail
  cpuhotplug_07.1/cpu1: checking online event was received...                 fail
  ###
  ### cpuhotplug_08:
  ### test userspace notification
  ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_08
  ###
  cpuhotplug_08.0: checking cpu1 is offline...                                fail
  cpuhotplug_08.1: checking cpu1 is online...                                 fail
  ###
  ### z_sanity_check:
  ### ensure all the cpus are online when the tests are finished
  ### ###
  z_sanity_check.0: checking all cpu are back online...                       pass
  make[1]: Leaving directory `/home/linaro/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/cpuhotplug'
  make[1]: Entering directory `/home/linaro/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/sched_mc'
  rm -f sched_01.log sched_02.log sched_03.log sched_04.log
  ###
  ### sched_01:
  ### test the presence of the 'sched_mc_power_savings' file
  ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#sched_mc_01
  ###
  sched_01.0: checking 'sched_mc_power_savings' exists...                     fail
  make[1]: Leaving directory `/home/linaro/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/sched_mc'

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-landing-team-ti/+bug/881362/+subscriptions