[PKG-Openstack-devel] Bug#880091: watcher: FTBFS tests fail with AttributeError: <class 'ceilometerclient.v2.client.Client'> does not have the attribute '_get_redirect_client'

Andreas Beckmann anbe at debian.org
Sun Oct 29 12:06:20 UTC 2017


Source: watcher
Version: 1.4.1-1
Severity: serious
Justification: fails to build from source

Hi,

watcher FTBFS in a clean minimal sid+experimental environment:

======================================================================
FAIL: watcher.tests.common.test_clients.TestClients.test_clients_ceilometer_cached
watcher.tests.common.test_clients.TestClients.test_clients_ceilometer_cached
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1297, in patched
    arg = patching.__enter__()
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1369, in __enter__
    original, local = self.get_original()
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1343, in get_original
    "%s does not have the attribute %r" % (target, name)
AttributeError: <class 'ceilometerclient.v2.client.Client'> does not have the attribute '_get_redirect_client'


======================================================================
FAIL: watcher.tests.common.test_clients.TestClients.test_clients_ceilometer_diff_endpoint
watcher.tests.common.test_clients.TestClients.test_clients_ceilometer_diff_endpoint
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1297, in patched
    arg = patching.__enter__()
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1369, in __enter__
    original, local = self.get_original()
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1343, in get_original
    "%s does not have the attribute %r" % (target, name)
AttributeError: <class 'ceilometerclient.v2.client.Client'> does not have the attribute '_get_redirect_client'


======================================================================
FAIL: watcher.tests.common.test_clients.TestClients.test_clients_ceilometer_diff_vers
watcher.tests.common.test_clients.TestClients.test_clients_ceilometer_diff_vers
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1297, in patched
    arg = patching.__enter__()
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1369, in __enter__
    original, local = self.get_original()
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1343, in get_original
    "%s does not have the attribute %r" % (target, name)
AttributeError: <class 'ceilometerclient.v2.client.Client'> does not have the attribute '_get_redirect_client'


----------------------------------------------------------------------
Ran 1590 tests in 271.365s

FAILED (failures=3)


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: watcher_1.4.1-1.log.gz
Type: application/gzip
Size: 44323 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20171029/ef715768/attachment-0001.bin>


More information about the Openstack-devel mailing list