Unit tests fail sometimes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Undecided
|
Yuriy Zveryanskyy |
Bug Description
I get this error on master 1-2 times from 10.
Traceback (most recent call last):
File "ironic/
self.
File "/home/
self.
File "/home/
mismatch = matcher.
File "/home/
mismatch = self.exception_
File "/home/
mismatch = matcher.
File "/home/
reraise(
File "/home/
result = matchee()
File "/home/
return self._callable_
File "ironic/
driver = self._driver_
AttributeError: 'NodeManager' object has no attribute '_driver_factory'
Changed in ironic: | |
assignee: | nobody → Yuriy Zveryanskyy (yzveryanskyy) |
status: | New → In Progress |
Changed in ironic: | |
milestone: | none → icehouse-1 |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | icehouse-1 → 2014.1 |
It's looks like, that there is some dependencies between tests...
This test reproduced if we run tests only for test_node_manager. For example, you can use such command to get this error:
tox -e py27 -- ironic. tests.conductor .test_node_ manager
By the way, tests passed with no issues, if tests module test_manager runs before test_node_manager.