origen: lava-test powermanagement fails in most of the tests

Bug #894256 reported by Ricardo Salveti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Ubuntu
Fix Released
Medium
Ricardo Salveti
linaro-landing-team-samsung
Fix Released
Medium
Inderpal Singh

Bug Description

With 11.11:

Hwpack: hwpack_linaro-lt-origen_20111122-2_armel_supported.tar.gz

root@linaro-ubuntu-desktop:~# lava-test run pwrmgmt
LAVA: Running shell command: 'cd pm-qa && make check '
LAVA: (stdout) make[1]: Entering directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/utils'
LAVA: (stdout) make[1]: Nothing to be done for `check'.
LAVA: (stdout) make[1]: Leaving directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/utils'
LAVA: (stdout) make[1]: Entering directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/cpufreq'
LAVA: (stdout) ###
LAVA: (stdout) ### cpufreq_01:
LAVA: (stdout) ### test the cpufreq framework is available for frequency
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_01
LAVA: (stdout) ###
LAVA: (stdout) cpufreq_01.0/cpu0: checking 'scaling_available_frequencies' exists... fail
LAVA: (stdout) cpufreq_01.0/cpu1: checking 'scaling_available_frequencies' exists... fail
LAVA: (stdout) ###
LAVA: (stdout) ### cpufreq_02:
LAVA: (stdout) ### test the cpufreq framework is available for governor
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_02
LAVA: (stdout) ###
LAVA: (stdout) cpufreq_02.0/cpu0: checking 'scaling_available_governors' exists... pass
LAVA: (stdout) cpufreq_02.1/cpu0: checking 'scaling_governor' exists... pass
LAVA: (stdout) cpufreq_02.0/cpu1: checking 'scaling_available_governors' exists... pass
LAVA: (stdout) cpufreq_02.1/cpu1: checking 'scaling_governor' exists... pass
LAVA: (stdout) ###
LAVA: (stdout) ### cpufreq_03:
LAVA: (stdout) ### test the governor change is effective
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_03
LAVA: (stdout) ###
LAVA: (stdout) cpufreq_03.0/cpu0: checking governor change to 'performance'... pass
LAVA: (stdout) cpufreq_03.0/cpu1: checking governor change to 'performance'... pass
LAVA: (stdout) ###
LAVA: (stdout) ### cpufreq_04:
LAVA: (stdout) ### test the change of the frequency is effective in 'userspace' mode
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_04
LAVA: (stdout) ###
LAVA: (stdout) ###
LAVA: (stdout) ### cpufreq_05:
LAVA: (stdout) ### test 'ondemand' and 'conservative' trigger correctly the configuration directory
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_05
LAVA: (stdout) ###
LAVA: (stdout) cpufreq_05.0: checking 'ondemand' directory exists... fail
LAVA: (stdout) cpufreq_05.1: checking 'conservative' directory exists... fail
LAVA: (stdout) cpufreq_05.2: checking 'ondemand' directory is not there... pass
LAVA: (stdout) cpufreq_05.3: checking 'conservative' directory is not there... pass
LAVA: (stdout) cpufreq_05.4: checking 'ondemand' directory exists... fail
LAVA: (stdout) cpufreq_05.5: checking 'conservative' directory exists... fail
LAVA: (stdout) ###
LAVA: (stdout) ### cpufreq_06:
LAVA: (stdout) ### test the change of the frequencies affect the performances of a test program
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_06
LAVA: (stdout) ###
LAVA: (stdout) ###
LAVA: (stdout) ### cpufreq_07:
LAVA: (stdout) ### test the load of the cpu affects the frequency with 'ondemand'
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_07
LAVA: (stdout) ###
LAVA: (stdout) cpufreq_07.0/cpu0: can not reach a quescient point for 'ondemand'... skip
LAVA: (stdout) cpufreq_07.0/cpu1: can not reach a quescient point for 'ondemand'... skip
LAVA: (stdout) ###
LAVA: (stdout) ### cpufreq_08:
LAVA: (stdout) ### test the load of the cpu does not affect the frequency with 'userspace'
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_08
LAVA: (stdout) ###
LAVA: (stdout) ###
LAVA: (stdout) ### cpufreq_09:
LAVA: (stdout) ### test the load of the cpu does not affect the frequency with 'powersave'
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_09
LAVA: (stdout) ###
LAVA: (stdout) cpufreq_09.0/cpu0: checking 'powersave' sets frequency to 200.0 MHz... fail
LAVA: (stdout) cpufreq_09.0/cpu1: checking 'powersave' sets frequency to 200.0 MHz... fail
LAVA: (stdout) make[1]: Leaving directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/cpufreq'
LAVA: (stdout) make[1]: Entering directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/cpuhotplug'
LAVA: (stdout) ###
LAVA: (stdout) ### 1_sanity_check:
LAVA: (stdout) ### ensure all the cpus are online before the tests
LAVA: (stdout) ### ###
LAVA: (stdout) 1_sanity_check.0: checking all cpu are online... pass
LAVA: (stdout) ###
LAVA: (stdout) ### cpuhotplug_01:
LAVA: (stdout) ### test the sysfs files are present
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_01
LAVA: (stdout) ###
LAVA: (stdout) cpuhotplug_01.0: checking 'online' exists... pass
LAVA: (stdout) cpuhotplug_01.1: checking 'offline' exists... pass
LAVA: (stdout) cpuhotplug_01.2: checking 'possible' exists... pass
LAVA: (stdout) cpuhotplug_01.3: checking 'present' exists... pass
LAVA: (stdout) cpuhotplug_01.0/cpu0: checking 'online' exists... pass
LAVA: (stdout) cpuhotplug_01.0/cpu1: checking 'online' exists... pass
LAVA: (stdout) ###
LAVA: (stdout) ### cpuhotplug_02:
LAVA: (stdout) ### test the cpu state is reflected in sysfs
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_02
LAVA: (stdout) ###
LAVA: (stdout) cpuhotplug_02.0/cpu1: checking cpu is offline... pass
LAVA: (stdout) cpuhotplug_02.1/cpu1: checking cpu is online... pass
LAVA: (stdout) ###
LAVA: (stdout) ### cpuhotplug_03:
LAVA: (stdout) ### test the affinity does not work on an offline cpu
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_03
LAVA: (stdout) ###
LAVA: (stdout) cpuhotplug_03.0/cpu1: checking setting affinity on cpu fails... pass
LAVA: (stdout) ###
LAVA: (stdout) ### cpuhotplug_04:
LAVA: (stdout) ### test task is migrated with task affinity
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_04
LAVA: (stdout) ###
LAVA: (stdout) cpuhotplug_04.0/cpu1: checking affinity is set... pass
LAVA: (stdout) cpuhotplug_04.1/cpu1: checking offlining a cpu with affinity succeed... pass
LAVA: (stdout) cpuhotplug_04.2/cpu1: checking affinity changed... pass
LAVA: (stdout) ###
LAVA: (stdout) ### cpuhotplug_05:
LAVA: (stdout) ### test cpus are reflected on /proc/cpuinfo correctly
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_05
LAVA: (stdout) ###
LAVA: (stdout) cpuhotplug_05.0/cpu1: checking offline processor not found in cpuinfo... pass
LAVA: (stdout) ###
LAVA: (stdout) ### cpuhotplug_06:
LAVA: (stdout) ### test interrupts show the right configuration in /proc/interrupts
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_06
LAVA: (stdout) ###
LAVA: (stdout) cpuhotplug_06.0/cpu1: checking offline processor not found in interrupts... pass
LAVA: (stdout) ###
LAVA: (stdout) ### cpuhotplug_07:
LAVA: (stdout) ### test userspace notification
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_07
LAVA: (stdout) ###
LAVA: (stdout) cpuhotplug_07.0/cpu1: checking offline event was received... pass
LAVA: (stdout) cpuhotplug_07.1/cpu1: checking online event was received... pass
LAVA: (stdout) ###
LAVA: (stdout) ### cpuhotplug_08:
LAVA: (stdout) ### test userspace notification
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_08
LAVA: (stdout) ###
LAVA: (stdout) cpuhotplug_08.0: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.1: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.2: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.3: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.4: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.5: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.6: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.7: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.8: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.9: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.10: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.11: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.12: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.13: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.14: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.15: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.16: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.17: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.18: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.19: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.20: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.21: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.22: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.23: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.24: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.25: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.26: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.27: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.28: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.29: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.30: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.31: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.32: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.33: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.34: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.35: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.36: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.37: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.38: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.39: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.40: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.41: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.42: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.43: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.44: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.45: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.46: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.47: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.48: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.49: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.50: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.51: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.52: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.53: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.54: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.55: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.56: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.57: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.58: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.59: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.60: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.61: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.62: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.63: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.64: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.65: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.66: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.67: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.68: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.69: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.70: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.71: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.72: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.73: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.74: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.75: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.76: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.77: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.78: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.79: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.80: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.81: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.82: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.83: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.84: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.85: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.86: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.87: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.88: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.89: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.90: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.91: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.92: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.93: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.94: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.95: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.96: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.97: checking cpu1 is online... pass
LAVA: (stdout) cpuhotplug_08.98: checking cpu1 is offline... pass
LAVA: (stdout) cpuhotplug_08.99: checking cpu1 is online... pass
LAVA: (stdout) ###
LAVA: (stdout) ### z_sanity_check:
LAVA: (stdout) ### ensure all the cpus are online when the tests are finished
LAVA: (stdout) ### ###
LAVA: (stdout) z_sanity_check.0: checking all cpu are back online... pass
LAVA: (stdout) make[1]: Leaving directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/cpuhotplug'
LAVA: (stdout) make[1]: Entering directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/cpuidle'
LAVA: (stdout) ###
LAVA: (stdout) ### cpuidle_01:
LAVA: (stdout) ### test the cpuidle files are present in the sysfs
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuidle_01
LAVA: (stdout) ###
LAVA: (stdout) cpuidle_01.0: checking 'current_driver' exists... pass
LAVA: (stdout) cpuidle_01.1: checking 'current_governor_ro' exists... pass
LAVA: (stdout) cpuidle_01.0/cpu0: checking 'desc' exists... pass
LAVA: (stdout) cpuidle_01.1/cpu0: checking 'latency' exists... pass
LAVA: (stdout) cpuidle_01.2/cpu0: checking 'name' exists... pass
LAVA: (stdout) cpuidle_01.3/cpu0: checking 'power' exists... pass
LAVA: (stdout) cpuidle_01.4/cpu0: checking 'time' exists... pass
LAVA: (stdout) cpuidle_01.5/cpu0: checking 'usage' exists... pass
LAVA: (stdout) cpuidle_01.0/cpu1: checking 'desc' exists... pass
LAVA: (stdout) cpuidle_01.1/cpu1: checking 'latency' exists... pass
LAVA: (stdout) cpuidle_01.2/cpu1: checking 'name' exists... pass
LAVA: (stdout) cpuidle_01.3/cpu1: checking 'power' exists... pass
LAVA: (stdout) cpuidle_01.4/cpu1: checking 'time' exists... pass
LAVA: (stdout) cpuidle_01.5/cpu1: checking 'usage' exists... pass
LAVA: (stdout) make[1]: Leaving directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/cpuidle'
LAVA: (stdout) make[1]: Entering directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/sched_mc'
LAVA: (stdout) ###
LAVA: (stdout) ### sched_01:
LAVA: (stdout) ### test the presence of the 'sched_mc_power_savings' file
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#sched_mc_01
LAVA: (stdout) ###
LAVA: (stdout) sched_01.0: checking 'sched_mc_power_savings' exists... fail
LAVA: (stderr) make[1]: *** [sched_01.log] Error 1
LAVA: (stderr) make: *** [check] Error 2
LAVA: (stdout) make[1]: Leaving directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/sched_mc'
LAVA: Command 'cd pm-qa && make check ' returned non-zero exit status 2
LAVA: run complete, result_id is 'pwrmgmt.2011-11-24T06:17:41Z'
ERROR: Some of test steps returned non-zero exit code

tags: added: linaro-ubuntu lt-origen powermanagement
Changed in linaro-ubuntu:
status: New → Confirmed
importance: Undecided → Medium
Changed in linaro-landing-team-samsung:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Inderpal Singh (ips)
milestone: none → 2011.12
Revision history for this message
Inderpal Singh (ips) wrote :

The fix has been pused to [1]. Attached is the test report.

The test cpufreq_05.4 & cpufreq_05.5 are invalid because both CPUs can not run at different frequencies.

Angus, please enable the CONFIG_SCHED_MC for the hwpack for sched_mc related tests. They are passing with this config enabled. Refer to test report.

[1] git://git.linaro.org/people/tushar/linux-linaro-samsung.git lt/cpufreq-cpuidle

Changed in linaro-ubuntu:
milestone: none → 11.12
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Testing again with 11.12 RC for Origen (Ubuntu), showing the failed ones:
LAVA: (stdout) cpufreq_05.4: checking 'ondemand' directory exists... fail
...
LAVA: (stdout) cpuhotplug_07.0/cpu1: checking offline event was received... fail
...
LAVA: (stdout) sched_01.0: checking 'sched_mc_power_savings' exists... fail

Guess we'd need to enable sched_mc to be able to run the last one, as it's currently not enabled:
root@linaro-ubuntu-desktop:~# grep SCHED_MC /boot/config-3.2.0-1000-origen
# CONFIG_SCHED_MC is not set

Changed in linaro-ubuntu:
assignee: nobody → Ricardo Salveti (rsalveti)
Changed in linaro-landing-team-samsung:
status: Confirmed → In Progress
Changed in linaro-ubuntu:
status: Confirmed → In Progress
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Moving to 12.01 because we should test sched_mc better before releasing it.

Changed in linaro-ubuntu:
milestone: 11.12 → 12.01
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

12.01 is still producing a few fails:
LAVA: (stdout) ###
LAVA: (stdout) ### cpufreq_05:
LAVA: (stdout) ### test 'ondemand' and 'conservative' trigger correctly the configuration directory
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_05
LAVA: (stdout) ###
LAVA: (stdout) cpufreq_05.0: checking 'ondemand' directory exists... fail
LAVA: (stdout) cpufreq_05.1: checking 'conservative' directory exists... pass
LAVA: (stdout) cpufreq_05.2: checking 'ondemand' directory is not there... pass
LAVA: (stdout) cpufreq_05.3: checking 'conservative' directory is not there... pass
LAVA: (stdout) cpufreq_05.4: checking 'ondemand' directory exists... fail
LAVA: (stdout) cpufreq_05.5: checking 'conservative' directory exists... pass

LAVA: (stdout) ###
LAVA: (stdout) ### cpuhotplug_07:
LAVA: (stdout) ### test userspace notification
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_07
LAVA: (stdout) ###
LAVA: (stdout) cpuhotplug_07.0/cpu1: checking offline event was received... fail
LAVA: (stdout) cpuhotplug_07.1/cpu1: checking online event was received... fail

Hwpack: hwpack_linaro-leb-origen_20120123-1_armel_supported.tar.gz
Image: linaro-o-ubuntu-desktop-tar-20120123-1.tar.gz

But seems it's a lot better than on previous cycle.

Changed in linaro-ubuntu:
milestone: 12.01 → 12.02
Revision history for this message
Scott Bambrough (scottb) wrote :

Ok, from what I see there are still two issues:

1) A problem with the ondemand governor, the directory never appears.
2) CPU hotplug events are not received by userspace.

For the CPU hotplug problem, if the test is running on CPU1 when disabled, will it switch to CPU2 if sched_mc is not enabled?

Revision history for this message
Inderpal Singh (ips) wrote :

Test Case cpufreq_05.0 does not fail for me. Please see the attached logs.
Regarding the case cpufreq_05.4 failure, as i mentioned at msg #1, Its an invalid test because both cpus can not run at different frequencies and hence different governors can not be set.

The hotplug problem looks to be itermittent. Attached is the log.
Ricardo, is it consistent for you ?

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Which kernel are you using while running the test cases? Also, which config?

With the kernel package provided by the LT the ondemand gov is option is disabled from the config:
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set

And from the changelog:
linux-origen (3.2.0-1000.0samsung14) oneiric; urgency=high

  * Disable ondemand govenor as it breaks softreboot

About the hotplug issue, here's the only fail I'm currently getting:
LAVA: (stdout) ###
LAVA: (stdout) ### cpuhotplug_07:
LAVA: (stdout) ### test userspace notification
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_07
LAVA: (stdout) ###
LAVA: (stdout) cpuhotplug_07.0/cpu1: checking offline event was received... fail
LAVA: (stdout) cpuhotplug_07.1/cpu1: checking online event was received... pass

Revision history for this message
Inderpal Singh (ips) wrote : Re: [Bug 894256] Re: origen: lava-test powermanagement fails in most of the tests
Download full text (23.0 KiB)

On 22 February 2012 14:55, Ricardo Salveti <email address hidden> wrote:
> Which kernel are you using while running the test cases? Also, which
> config?
>
> With the kernel package provided by the LT the ondemand gov is option is disabled from the config:
> # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
> # CONFIG_CPU_FREQ_GOV_ONDEMAND is not set
>
> And from the changelog:
> linux-origen (3.2.0-1000.0samsung14) oneiric; urgency=high
>
>  * Disable ondemand govenor as it breaks softreboot

This issue has been fixed. The on demand governor can now be enabled
and cpufreq_05.0 issue won't come.
Looks like the patch got missed in LT kernel package used for hwpacks.

Tushar, can you please check how it got missed ?

>
> About the hotplug issue, here's the only fail I'm currently getting:
> LAVA: (stdout) ###
> LAVA: (stdout) ### cpuhotplug_07:
> LAVA: (stdout) ### test userspace notification
> LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_07
> LAVA: (stdout) ###
> LAVA: (stdout) cpuhotplug_07.0/cpu1: checking offline event was received...                fail
> LAVA: (stdout) cpuhotplug_07.1/cpu1: checking online event was received...                 pass
>

> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/894256
>
> Title:
>  origen: lava-test powermanagement fails in most of the tests
>
> Status in Linaro Samsung Landing Team Project:
>  In Progress
> Status in Linaro Ubuntu Evaluation Builds:
>  In Progress
>
> Bug description:
>  With 11.11:
>
>  Hwpack: hwpack_linaro-lt-origen_20111122-2_armel_supported.tar.gz
>
>  root@linaro-ubuntu-desktop:~# lava-test run pwrmgmt
>  LAVA: Running shell command: 'cd pm-qa && make check '
>  LAVA: (stdout) make[1]: Entering directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/utils'
>  LAVA: (stdout) make[1]: Nothing to be done for `check'.
>  LAVA: (stdout) make[1]: Leaving directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/utils'
>  LAVA: (stdout) make[1]: Entering directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/cpufreq'
>  LAVA: (stdout) ###
>  LAVA: (stdout) ### cpufreq_01:
>  LAVA: (stdout) ### test the cpufreq framework is available for frequency
>  LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_01
>  LAVA: (stdout) ###
>  LAVA: (stdout) cpufreq_01.0/cpu0: checking 'scaling_available_frequencies' exists...       fail
>  LAVA: (stdout) cpufreq_01.0/cpu1: checking 'scaling_available_frequencies' exists...       fail
>  LAVA: (stdout) ###
>  LAVA: (stdout) ### cpufreq_02:
>  LAVA: (stdout) ### test the cpufreq framework is available for governor
>  LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_02
>  LAVA: (stdout) ###
>  LAVA: (stdout) cpufreq_02.0/cpu0: checking 'scaling_available_governors' exists...         pass
>  LAVA: (stdout) cpufreq_02.1/cpu0: checking 'scaling_governor' exists...                    pass
>  LAVA: (stdout) cpufreq_02.0/cpu1: checking 'scaling_available_governors' exists...         pass
>  LAVA: (stdout) cpufreq_02...

Changed in linaro-ubuntu:
milestone: 12.02 → 12.03
Revision history for this message
Inderpal Singh (ips) wrote :

Hi,

There were only 2 issues pending. cpufreq_05.0 and cpuhotplug_07.

The cpufreq issue was coming because on demand governor was not included in the hwpack. It can be included now, hence cpufreq_05.0 issue wont come once our latest code enabling ondemand governor gets merged into the tracking branch.

The cpuhotplug_07 issue: The user notification happens properly, it can be seen by running following command before running cpuhotplug_07.sh script.

command: udevadm monitor --kernel --subsystem-match=cpu &

The actual issue is that sometimes the notifications are not getting recorded to cpuhotplug_07.tmp file and hence it shows intermittent failures. This issue can be avoided if I put a "sleep 1" before plugging out the cpu as below:

   rm -f $TMPFILE
   udevadm monitor --kernel --subsystem-match=cpu > $TMPFILE &
   pid=$!

   sleep 1 // Added Sleep

   set_offline $cpu
   set_online $cpu

PFA the logs with this modification. The test is passing consistently.

Thanks,
Inder

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Seems it's working fine with 12.03 RC, closing it down.

Changed in linaro-ubuntu:
status: In Progress → Fix Released
Changed in linaro-landing-team-samsung:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.