Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/opt/stack/ironic/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
File "ironic/tests/unit/drivers/modules/test_agent_base_vendor.py", line 170, in test_lookup_v2_with_node_uuid
node = self.passthru.lookup(task.context, **kwargs)
File "ironic/drivers/base.py", line 668, in passthru_handler
raise exception.VendorPassthruException(message=e)
ironic.common.exception.VendorPassthruException: 'RequestContext' object has no attribute 'show_password'
======
Totals
======
Ran: 3159 tests in 10.0000 sec.
- Passed: 3142
- Skipped: 15
- Expected Fail: 0
- Unexpected Success: 0
- Failed: 2
Sum of execute time for each test: 73.4110 sec.
When I backport my patch to mitaka, it fails unit tests. Trying to investigate but having trouble finding the problem :/
======= ======= ======= ======= == ======= ======= ======= ==
Failed 2 tests - output below:
=======
ironic. tests.unit. drivers. modules. test_agent_ base_vendor. TestRefreshClea nSteps. test_lookup_ v2_with_ node_uuid ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---
-------
Captured traceback: ironic/ .tox/py27/ local/lib/ python2. 7/site- packages/ mock/mock. py", line 1305, in patched tests/unit/ drivers/ modules/ test_agent_ base_vendor. py", line 170, in test_lookup_ v2_with_ node_uuid lookup( task.context, **kwargs) drivers/ base.py" , line 668, in passthru_handler VendorPassthruE xception( message= e) common. exception. VendorPassthruE xception: 'RequestContext' object has no attribute 'show_password'
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/opt/stack/
return func(*args, **keywargs)
File "ironic/
node = self.passthru.
File "ironic/
raise exception.
ironic.
ironic. tests.unit. drivers. modules. test_agent_ base_vendor. TestBaseAgentVe ndor.test_ lookup_ v2_with_ node_uuid ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -
-------
Captured traceback: ironic/ .tox/py27/ local/lib/ python2. 7/site- packages/ mock/mock. py", line 1305, in patched tests/unit/ drivers/ modules/ test_agent_ base_vendor. py", line 170, in test_lookup_ v2_with_ node_uuid lookup( task.context, **kwargs) drivers/ base.py" , line 668, in passthru_handler VendorPassthruE xception( message= e) common. exception. VendorPassthruE xception: 'RequestContext' object has no attribute 'show_password'
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/opt/stack/
return func(*args, **keywargs)
File "ironic/
node = self.passthru.
File "ironic/
raise exception.
ironic.
======
Totals
======
Ran: 3159 tests in 10.0000 sec.
- Passed: 3142
- Skipped: 15
- Expected Fail: 0
- Unexpected Success: 0
- Failed: 2
Sum of execute time for each test: 73.4110 sec.