Bug 678180 - cpuscaling verify traceback when unable to find cpufreq directories
Summary: cpuscaling verify traceback when unable to find cpufreq directories
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (tests)
Version: 1.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Greg Nichols
QA Contact: Guangze Bai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-17 01:40 UTC by Greg Nichols
Modified: 2015-02-08 21:36 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-09 16:11:36 UTC


Attachments (Terms of Use)
cpuscaling patch fixing traceback (766 bytes, patch)
2011-02-17 01:43 UTC, Greg Nichols
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0497 0 normal SHIPPED_LIVE v7 bug fix and enhancement update 2011-05-09 16:11:16 UTC

Description Greg Nichols 2011-02-17 01:40:33 UTC
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

Comment 1 Greg Nichols 2011-02-17 01:43:22 UTC
Created attachment 479248 [details]
cpuscaling patch fixing traceback

Comment 5 Caspar Zhang 2011-05-01 10:30:39 UTC
This bug does not need a Tech Note because of:

1. A Red Hatter reported it
2. It only happened in an intermediate version.

Comment 6 errata-xmlrpc 2011-05-09 16:11:36 UTC
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


Note You need to log in before you can comment on or make changes to this bug.