Red Hat Bugzilla – Bug 447783
cpuscaling test never gets planned
Last modified: 2009-02-24 13:10:54 EST
Description of problem:
The cpuscaling test never gets planned by 'hts plan'; it can be manually added
via "hts plan --add --test cpuscaling --device cpu" though and will execute
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run 'hts plan'
2. run 'hts print'
cpuscaling test won't be listed in the plan.
cpuscaling test shouldb e listed
Appears to be caused by a change along the way in lshal output from a generic
'Computer' info line to now in a processor specific line.
Created attachment 306306 [details]
Proposed patch attached
Changes the check from 'Computer' to 'processor' (which might match Match
Co-Processor) also the listing of 'cpu0' or other #'s depending on what lshal
lists out first might cause some vendor confusion as it only reports the 1st
cpu it finds and there's no guarantee that it'll always be cpu0; might says
cpu5 or something.
Fixed in R14
I just ran across this problem in hts-5.2-16 on an IA64 system. That is the one
where cpuscaling test is not added by hts plan. To be able to
run the test I had to use the workaround listed in the problem description.
[root@max ~]# uname -a
Linux max.sapphirecv.test 2.6.18-92.el5xen #1 SMP Tue Apr 29 13:36:07 EDT 2008 ia64 ia64 ia64 GNU/Linux
[root@max ~]# hts version
HTS version 5.2, release 16
I'll attach the test results because it also includes the output of
the info test in case you need system configuration.
Created attachment 313633 [details]
cpuscaling test result rpm
Note that when I did get the cpuscaling test to run it failed. But I think
that is also a known problem as well
Bouncing back to assigned given above experience with R16.