Red Hat Bugzilla – Bug 798321
v7 plan UnboundLocalError: local variable 'controllers' referenced before assignment
Last modified: 2015-01-04 18:02:16 EST
Description of problem:
unable to v7 plan in v7 1.5-1
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. v7 plan
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
Please verify the vendor, make, and model:
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
Possibly regression, works in v7-1.4-38.el6.noarch.
Fix committed to v7 1.5 R2.
Verified in R3.
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.
no tech note needed.
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.