[PKG-Openstack-devel] Bug#892783: watcher FTBFS: test failures

Adrian Bunk bunk at debian.org
Mon Mar 12 21:05:45 UTC 2018


Source: watcher
Version: 1.4.1-3
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/watcher.html

...
======================================================================
FAIL: watcher.tests.common.test_clients.TestClients.test_clients_gnocchi_cached
watcher.tests.common.test_clients.TestClients.test_clients_gnocchi_cached
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "watcher/tests/common/test_clients.py", line 218, in test_clients_gnocchi_cached
    gnocchi = osc.gnocchi()
  File "watcher/common/exception.py", line 46, in wrapped
    return func(*args, **kw)
  File "watcher/common/clients.py", line 115, in gnocchi
    session=self.session)
  File "/usr/lib/python2.7/dist-packages/gnocchiclient/client.py", line 24, in Client
    return client_class(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'interface'


======================================================================
FAIL: watcher.tests.common.test_clients.TestClients.test_clients_gnocchi_diff_endpoint
watcher.tests.common.test_clients.TestClients.test_clients_gnocchi_diff_endpoint
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "watcher/tests/common/test_clients.py", line 211, in test_clients_gnocchi_diff_endpoint
    osc.gnocchi()
  File "watcher/common/exception.py", line 46, in wrapped
    return func(*args, **kw)
  File "watcher/common/clients.py", line 115, in gnocchi
    session=self.session)
  File "/usr/lib/python2.7/dist-packages/gnocchiclient/client.py", line 24, in Client
    return client_class(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'interface'


======================================================================
FAIL: watcher.tests.common.test_clients.TestClients.test_clients_gnocchi_diff_vers
watcher.tests.common.test_clients.TestClients.test_clients_gnocchi_diff_vers
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "watcher/tests/common/test_clients.py", line 202, in test_clients_gnocchi_diff_vers
    osc.gnocchi()
  File "watcher/common/exception.py", line 46, in wrapped
    return func(*args, **kw)
  File "watcher/common/clients.py", line 115, in gnocchi
    session=self.session)
  File "/usr/lib/python2.7/dist-packages/gnocchiclient/client.py", line 24, in Client
    return client_class(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'interface'


======================================================================
FAIL: watcher.tests.common.test_service.TestService.test_build_topic_handler
watcher.tests.common.test_service.TestService.test_build_topic_handler
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "watcher/tests/common/test_service.py", line 94, in test_build_topic_handler
    dummy_service = service.Service(DummyManager)
  File "watcher/common/service.py", line 204, in __init__
    self.conductor_topic, self.conductor_endpoints)
  File "watcher/common/service.py", line 249, in build_topic_handler
    access_policy=access_policy)
  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 208, in get_rpc_server
    access_policy)
  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 161, in __init__
    raise TypeError("%s: endpoint=%s" % (errmsg, ep))
TypeError: 'target' is a reserved Endpoint attribute used for namespace and version filtering.  It must be of type oslo_messaging.Target. Do not define an Endpoint method named 'target': endpoint=<Mock name='mock()' id='140154918834896'>


======================================================================
FAIL: watcher.tests.common.test_service.TestService.test_init_service
watcher.tests.common.test_service.TestService.test_init_service
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "watcher/tests/common/test_service.py", line 101, in test_init_service
    dummy_service = service.Service(DummyManager)
  File "watcher/common/service.py", line 204, in __init__
    self.conductor_topic, self.conductor_endpoints)
  File "watcher/common/service.py", line 249, in build_topic_handler
    access_policy=access_policy)
  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 208, in get_rpc_server
    access_policy)
  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 161, in __init__
    raise TypeError("%s: endpoint=%s" % (errmsg, ep))
TypeError: 'target' is a reserved Endpoint attribute used for namespace and version filtering.  It must be of type oslo_messaging.Target. Do not define an Endpoint method named 'target': endpoint=<Mock name='mock()' id='140154918834896'>


======================================================================
FAIL: watcher.tests.common.test_service.TestService.test_start
watcher.tests.common.test_service.TestService.test_start
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "watcher/tests/common/test_service.py", line 82, in test_start
    dummy_service = service.Service(DummyManager)
  File "watcher/common/service.py", line 204, in __init__
    self.conductor_topic, self.conductor_endpoints)
  File "watcher/common/service.py", line 249, in build_topic_handler
    access_policy=access_policy)
  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 208, in get_rpc_server
    access_policy)
  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 161, in __init__
    raise TypeError("%s: endpoint=%s" % (errmsg, ep))
TypeError: 'target' is a reserved Endpoint attribute used for namespace and version filtering.  It must be of type oslo_messaging.Target. Do not define an Endpoint method named 'target': endpoint=<Mock name='mock()' id='140154918834896'>


======================================================================
FAIL: watcher.tests.common.test_service.TestService.test_stop
watcher.tests.common.test_service.TestService.test_stop
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "watcher/tests/common/test_service.py", line 88, in test_stop
    dummy_service = service.Service(DummyManager)
  File "watcher/common/service.py", line 204, in __init__
    self.conductor_topic, self.conductor_endpoints)
  File "watcher/common/service.py", line 249, in build_topic_handler
    access_policy=access_policy)
  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 208, in get_rpc_server
    access_policy)
  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 161, in __init__
    raise TypeError("%s: endpoint=%s" % (errmsg, ep))
TypeError: 'target' is a reserved Endpoint attribute used for namespace and version filtering.  It must be of type oslo_messaging.Target. Do not define an Endpoint method named 'target': endpoint=<Mock name='mock()' id='140154918834896'>



More information about the Openstack-devel mailing list