Comment 0 for bug 966482

Revision history for this message
Jay Pipes (jaypipes) wrote : UnboundLocalError: local variable 'password' referenced before assignment

======================================================================
ERROR: test suite for <class 'tempest.tests.test_volumes_negative.VolumesTest'>
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/nose/suite.py", line 208, in run
    self.setUp()
  File "/usr/lib/pymodules/python2.7/nose/suite.py", line 291, in setUp
    self.setupContext(ancestor)
  File "/usr/lib/pymodules/python2.7/nose/suite.py", line 314, in setupContext
    try_run(context, names)
  File "/usr/lib/pymodules/python2.7/nose/util.py", line 478, in try_run
    return func()
  File "/home/jpipes/repos/tempest/tempest/tests/test_volumes_negative.py", line 12, in setUpClass
    cls.os = openstack.Manager()
  File "/home/jpipes/repos/tempest/tempest/openstack.py", line 26, in __init__
    if None in [username, password, tenant_name]:
UnboundLocalError: local variable 'password' referenced before assignment

Getting these all over the place...

We really need a real gating job.