Last active
December 21, 2015 01:39
-
-
Save terriyu/6229473 to your computer and use it in GitHub Desktop.
When I run the Ceilometer unit tests, the tests for Nova notifier fail. The relevant traceback from running the Ceilometer unit tests: Traceback (most recent call last): File "/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1201, in patched return func(*args, **keywargs) File "/opt/stack/ceilometer/nova_tests/tes…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd /opt/stack/ceilometer | |
$ tox -e py27 | |
GLOB sdist-make: /opt/stack/ceilometer/setup.py | |
py27 inst-nodeps: /opt/stack/ceilometer/.tox/dist/ceilometer-2013.2.a378.g90ad86c.zip | |
py27 runtests: commands[0] | bash -x /opt/stack/ceilometer/run-tests.sh | |
WARNING:test command found but not installed in testenv | |
cmd: /bin/bash | |
env: /opt/stack/ceilometer/.tox/py27 | |
Maybe forgot to specify a dependency? | |
+ set -e | |
+ '[' '' = --coverage ']' | |
+ '[' '!' '' ']' | |
+ bash tools/init_testr_if_needed.sh | |
+ python setup.py testr --slowest '--testr-args=--concurrency=1 --here=nova_tests ' | |
running testr | |
running=${PYTHON:-python} -m subunit.run discover -t ./nova_tests ./nova_tests | |
====================================================================== | |
FAIL: test_notifier.TestNovaNotifier.test_correct_gatherer | |
tags: worker-0 | |
---------------------------------------------------------------------- | |
pythonlogging:'': {{{Loading compute driver 'nova.virt.fake.FakeDriver'}}} | |
Traceback (most recent call last): | |
File "/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1201, in patched | |
return func(*args, **keywargs) | |
File "/opt/stack/ceilometer/nova_tests/test_notifier.py", line 153, in setUp | |
notifier_api.add_driver(self) | |
AttributeError: 'module' object has no attribute 'add_driver' | |
====================================================================== | |
FAIL: test_notifier.TestNovaNotifier.test_correct_instance | |
tags: worker-0 | |
---------------------------------------------------------------------- | |
pythonlogging:'': {{{Loading compute driver 'nova.virt.fake.FakeDriver'}}} | |
Traceback (most recent call last): | |
File "/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1201, in patched | |
return func(*args, **keywargs) | |
File "/opt/stack/ceilometer/nova_tests/test_notifier.py", line 153, in setUp | |
notifier_api.add_driver(self) | |
AttributeError: 'module' object has no attribute 'add_driver' | |
====================================================================== | |
FAIL: test_notifier.TestNovaNotifier.test_pollster_called | |
tags: worker-0 | |
---------------------------------------------------------------------- | |
pythonlogging:'': {{{Loading compute driver 'nova.virt.fake.FakeDriver'}}} | |
Traceback (most recent call last): | |
File "/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1201, in patched | |
return func(*args, **keywargs) | |
File "/opt/stack/ceilometer/nova_tests/test_notifier.py", line 153, in setUp | |
notifier_api.add_driver(self) | |
AttributeError: 'module' object has no attribute 'add_driver' | |
====================================================================== | |
FAIL: test_notifier.TestNovaNotifier.test_samples | |
tags: worker-0 | |
---------------------------------------------------------------------- | |
pythonlogging:'': {{{Loading compute driver 'nova.virt.fake.FakeDriver'}}} | |
Traceback (most recent call last): | |
File "/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1201, in patched | |
return func(*args, **keywargs) | |
File "/opt/stack/ceilometer/nova_tests/test_notifier.py", line 153, in setUp | |
notifier_api.add_driver(self) | |
AttributeError: 'module' object has no attribute 'add_driver' | |
====================================================================== | |
FAIL: process-returncode | |
tags: worker-0 | |
---------------------------------------------------------------------- | |
Binary content: | |
traceback (test/plain; charset="utf8") | |
Ran 9 (+4) tests in 0.392s (-0.058s) | |
FAILED (id=3, failures=5) | |
error: testr failed (1) | |
ERROR: InvocationError: '/bin/bash -x /opt/stack/ceilometer/run-tests.sh' | |
py27 runtests: commands[1] | /opt/stack/ceilometer/tools/config/check_uptodate.sh | |
___________________________________ summary ____________________________________ | |
ERROR: py27: commands failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment