Bug 798321 - v7 plan UnboundLocalError: local variable 'controllers' referenced before assignment
Summary: v7 plan UnboundLocalError: local variable 'controllers' referenced before ass...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (harness)
Version: 6.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Greg Nichols
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks: 767775
TreeView+ depends on / blocked
 
Reported: 2012-02-28 16:07 UTC by Petr Beňas
Modified: 2015-01-04 23:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
no tech note needed.
Clone Of:
Environment:
Last Closed: 2012-06-05 21:37:09 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0711 0 normal SHIPPED_LIVE v7 bug fix and enhancement update 2012-06-06 01:26:37 UTC

Description Petr Beňas 2012-02-28 16:07:12 UTC
Description of problem:
unable to v7 plan in v7 1.5-1

Version-Release number of selected component (if applicable):
v7-1.5-1.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. v7 plan

  
Actual results:
found interface for udisks
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 194, in do
    result = self.commands[self.command]()
  File "/usr/share/v7/lib/v7/hardwaretest.py", line 296, in doPlan
    tests = self.planner.plan() 
  File "/usr/share/v7/lib/v7/planner.py", line 115, in plan
    self.plannedTests = self.__plan(self.devices)
  File "/usr/share/v7/lib/v7/planner.py", line 99, in __plan
    someTests = test.plan(self.devices)
  File "/usr/share/v7/tests/storage/storage.py", line 53, in plan
    disk = self.planHAL(device, devices)
  File "/usr/share/v7/tests/storage/storage.py", line 91, in planHAL
    if controllerId in controllers:
UnboundLocalError: local variable 'controllers' referenced before assignment


Expected results:
Please verify the vendor, make, and model:
Vendor: Hewlett-Packard
Make: HP
Model: HP xw6400 Workstation
Hardware: Hewlett-Packard HP HP xw6400 Workstation
OS: Santiago 6.2
saved configuration to /var/v7/results.xml
Created a new plan with 22 tests on 131 devices
Checking for additional required packages based on the test plan:
... and so on

Additional info:
Possibly regression, works in v7-1.4-38.el6.noarch.

Comment 2 Greg Nichols 2012-03-02 13:54:31 UTC
Fix committed to v7 1.5 R2.

Comment 7 Petr Beňas 2012-03-29 08:49:50 UTC
Verified in R3.

Comment 8 Caspar Zhang 2012-06-04 07:53:11 UTC
    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:
no tech note needed.

Comment 10 errata-xmlrpc 2012-06-05 21:37:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0711.html


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