Description of problem: On servers s390x and ppc64 with RHEL6 os, the v7 test can not work. I have installed v7-1.1-24 and v7-1.2-13 to have a try. But they both failed to work. Version-Release number of selected component (if applicable): # rpm -q v7 v7-1.2-13.el6.noarch # uname -a Linux ibm-z10-14.rhts.eng.bos.redhat.com 2.6.32-52.el6.s390x #1 SMP Wed Jul 21 11:39:55 EDT 2010 s390x s390x s390x GNU/Linux # more /etc/redhat-release Red Hat Enterprise Linux Server release 6.0 Beta (Santiago) How reproducible: Always Steps to Reproduce: 1. Install v7-1.2-13. 2. # v7 3. # v7 plan Actual results: [root@ibm-z10-14 test]# v7 Usage: v7 <command> [options] command: plan - plan certification testing certify - execute the remaining tests from the certification test plan print - print certification test results ****************************** [root@ibm-z10-14 tests]# v7 plan Error: v7 is already running (lock file /var/lock/subsys/v7 found) Override? (y|n) y response: y Tested OS: Red Hat Enterprise Linux Server 6 (Santiago) Kernel RPM: kernel-2.6.32-52.el6 v7 version 1.2, release 13 the controller /org/freedesktop/Hal/devices/computer is already in testplan, will skip the block device /dev/dasdc the controller /org/freedesktop/Hal/devices/computer is already in testplan, will skip the block device /dev/dasdb the controller /org/freedesktop/Hal/devices/computer is already in testplan, will skip the block device /dev/dasda Error: cpu 0 has no cpufreq directory /sys/devices/system/cpu/cpu0/cpufreq Traceback (most recent call last): File "/usr/bin/v7", line 45, in <module> success = v7.do(args) File "/usr/share/v7/lib/v7/hardwaretest.py", line 179, in do self.commands[self.command]() File "/usr/share/v7/lib/v7/hardwaretest.py", line 280, in doPlan tests = self.planner.plan() File "/usr/share/v7/lib/v7/planner.py", line 113, in plan self.tests = self.__plan(self.devices) File "/usr/share/v7/lib/v7/planner.py", line 96, in __plan someTests = test.plan(self.devices) File "/usr/share/v7/tests/cpuscaling/cpuscaling.py", line 62, in plan for directory in self.getCPUFreqDirectories(): TypeError: 'NoneType' object is not iterable Additional info: v7 run --test *** also failed.
Created attachment 435505 [details] v7-1.2-13.el6 on server s390x
Created attachment 435507 [details] v7-1.1-24.el6 on server s390x
Created attachment 435511 [details] v7-1.2-13.el6 on server ppc64
Created attachment 435512 [details] v7-1.1-24.el6 on server ppc64
Created attachment 435552 [details] cpuscaling test patch fixing tracback for non-cpuscaled systems This patch is on R13
It seemed that V7 plan traceback in cpuscaling come back for ppc64 RHEL6 on v7 R15.
Created attachment 438378 [details] v7-1.2-15.el6 on server ppc64
Created attachment 438414 [details] cpuscaling test patch (additional on R15) fixing traceback
Verified it with R20 and R21.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0702.html
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: The CPU scaling test no longer fails with "TypeError" on Red Hat Enterprise Linux 6 for 64-Bit PowerPC and IBM System z.