linaro-pm-wg team mailing list archive
-
linaro-pm-wg team
-
Mailing list archive
-
Message #00222
[Bug 1017021] Re: Sched MC test cases fails even when sched_mc is not enabled at the kernel
This issue is fixed by checking sanity before executing scripts, patch
has been uploaded.
** Changed in: linaro-power-qa
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Linaro
Power Management Working Group, which is the registrant for Linaro PMWG
QA.
https://bugs.launchpad.net/bugs/1017021
Title:
Sched MC test cases fails even when sched_mc is not enabled at the
kernel
Status in Linaro Power Management QA testsuite:
Fix Released
Bug description:
In case SCHED_MC is not available at the kernel, the test suite will
still fail and run the sched_mc related test cases:
make[1]: Entering directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/sched_mc'
###
### 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]: *** [sched_01.log] Error 1
###
### sched_02:
### test the topology is implemented in the kernel
### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#sched_mc_02
###
sched_02.0/cpu0: checking topology is enabled... pass
sched_02.0/cpu1: checking topology is enabled... pass
###
### sched_03:
### test the topology files are present
### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#sched_mc_03
###
sched_03.0/cpu0: checking 'core_id' exists... pass
sched_03.1/cpu0: checking 'core_siblings' exists... pass
sched_03.2/cpu0: checking 'core_siblings_list' exists... pass
sched_03.3/cpu0: checking 'physical_package_id' exists... pass
sched_03.4/cpu0: checking 'thread_siblings' exists... pass
sched_03.5/cpu0: checking 'thread_siblings_list' exists... pass
sched_03.0/cpu1: checking 'core_id' exists... pass
sched_03.1/cpu1: checking 'core_siblings' exists... pass
sched_03.2/cpu1: checking 'core_siblings_list' exists... pass
sched_03.3/cpu1: checking 'physical_package_id' exists... pass
sched_03.4/cpu1: checking 'thread_siblings' exists... pass
sched_03.5/cpu1: checking 'thread_siblings_list' exists... pass
###
### sched_04:
### test the change are effective for the 'sched_mc_power_savings' file
### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#sched_mc_04
###
sched_04.0: checking setting value to 0... fail
sched_04.1: checking setting value to 1... fail
sched_04.2: checking setting value to 2... fail
sched_04.3: checking setting invalid value to 3... pass
sched_04.4: checking setting invalid value to -1... pass
make[1]: *** [sched_04.log] Error 1
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/sched_mc'
make: *** [check] Error 2
This can be the expected behaviour, but I got the wrong impression
from the logs, as it seems it's partially supported. 'Skipped' would
probably be a better description.
Also, I'm confused if one single 'fail' should make 'make -k check' to
get a !0 return code. At LAVA, if the test script returns !0, it'll
think that the test case it self failed to run, and not that it
produced failed results.
To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-power-qa/+bug/1017021/+subscriptions
References