| Summary: | cpuscaling verify traceback when unable to find cpufreq directories | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Hardware Certification Program | Reporter: | Greg Nichols <gnichols> | ||||
| Component: | Test Suite (tests) | Assignee: | Greg Nichols <gnichols> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Guangze Bai <gbai> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 1.2 | CC: | czhang, gbai, rlandry, ykun, yshao | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-05-09 16:11:36 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Created attachment 479248 [details]
cpuscaling patch fixing traceback
This bug does not need a Tech Note because of: 1. A Red Hatter reported it 2. It only happened in an intermediate version. 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-2011-0497.html |
Description of problem: The cpuscaling test will traceback when cpufreq directories are not present: 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 190, in do result = self.commands[self.command]() File "/usr/share/v7/lib/v7/hardwaretest.py", line 807, in doCertify verified = self.__verify(tests) File "/usr/share/v7/lib/v7/hardwaretest.py", line 837, in __verify if test.verify(): File "/usr/share/v7/tests/cpuscaling/cpuscaling.py", line 100, in verify for directory in cpuDirectories: TypeError: 'NoneType' object is not iterable Version-Release number of selected component (if applicable): v7 1.3 R10