Watcher.tests.common.test_service.TestService unit tests failed

Bug #1716476 reported by Hidekazu Nakamura
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
watcher
Fix Released
Critical
aditi sharma

Bug Description

2017-09-11 03:17:18.252926 | ==============================
2017-09-11 03:17:18.252950 | Failed 4 tests - output below:
2017-09-11 03:17:18.252971 | ==============================
2017-09-11 03:17:18.252984 |
2017-09-11 03:17:18.253013 | watcher.tests.common.test_service.TestService.test_stop
2017-09-11 03:17:18.253042 | -------------------------------------------------------
2017-09-11 03:17:18.253055 |
2017-09-11 03:17:18.253074 | Captured traceback:
2017-09-11 03:17:18.253093 | ~~~~~~~~~~~~~~~~~~~
2017-09-11 03:17:18.253117 | b'Traceback (most recent call last):'
2017-09-11 03:17:18.253171 | b' File "/home/jenkins/workspace/gate-watcher-python35/.tox/py35/lib/python3.5/site-packages/mock/mock.py", line 1305, in patched'
2017-09-11 03:17:18.253197 | b' return func(*args, **keywargs)'
2017-09-11 03:17:18.253245 | b' File "/home/jenkins/workspace/gate-watcher-python35/watcher/tests/common/test_service.py", line 85, in test_stop'
2017-09-11 03:17:18.253274 | b' dummy_service = service.Service(DummyManager)'
2017-09-11 03:17:18.253319 | b' File "/home/jenkins/workspace/gate-watcher-python35/watcher/common/service.py", line 204, in __init__'
2017-09-11 03:17:18.253350 | b' self.conductor_topic, self.conductor_endpoints)'
2017-09-11 03:17:18.253397 | b' File "/home/jenkins/workspace/gate-watcher-python35/watcher/common/service.py", line 249, in build_topic_handler'
2017-09-11 03:17:18.253421 | b' access_policy=access_policy)'
2017-09-11 03:17:18.253477 | b' File "/home/jenkins/workspace/gate-watcher-python35/.tox/py35/lib/python3.5/site-packages/debtcollector/updating.py", line 64, in wrapper'
2017-09-11 03:17:18.253503 | b' return wrapped(*args, **kwargs)'
2017-09-11 03:17:18.253562 | b' File "/home/jenkins/workspace/gate-watcher-python35/.tox/py35/lib/python3.5/site-packages/oslo_messaging/rpc/server.py", line 214, in get_rpc_server'
2017-09-11 03:17:18.253583 | b' access_policy)'
2017-09-11 03:17:18.253641 | b' File "/home/jenkins/workspace/gate-watcher-python35/.tox/py35/lib/python3.5/site-packages/oslo_messaging/rpc/dispatcher.py", line 161, in __init__'
2017-09-11 03:17:18.253672 | b' raise TypeError("%s: endpoint=%s" % (errmsg, ep))'
2017-09-11 03:17:18.253757 | b"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='139785819807984'>"
2017-09-11 03:17:18.253774 | b''
2017-09-11 03:17:18.253787 |
2017-09-11 03:17:18.253818 | watcher.tests.common.test_service.TestService.test_init_service
2017-09-11 03:17:18.253849 | ---------------------------------------------------------------
2017-09-11 03:17:18.253862 |
2017-09-11 03:17:18.253880 | Captured traceback:
2017-09-11 03:17:18.253899 | ~~~~~~~~~~~~~~~~~~~
2017-09-11 03:17:18.253923 | b'Traceback (most recent call last):'
2017-09-11 03:17:18.253978 | b' File "/home/jenkins/workspace/gate-watcher-python35/watcher/tests/common/test_service.py", line 98, in test_init_service'
2017-09-11 03:17:18.254009 | b' dummy_service = service.Service(DummyManager)'
2017-09-11 03:17:18.254054 | b' File "/home/jenkins/workspace/gate-watcher-python35/watcher/common/service.py", line 204, in __init__'
2017-09-11 03:17:18.254084 | b' self.conductor_topic, self.conductor_endpoints)'
2017-09-11 03:17:18.254131 | b' File "/home/jenkins/workspace/gate-watcher-python35/watcher/common/service.py", line 249, in build_topic_handler'
2017-09-11 03:17:18.254171 | b' access_policy=access_policy)'
2017-09-11 03:17:18.254228 | b' File "/home/jenkins/workspace/gate-watcher-python35/.tox/py35/lib/python3.5/site-packages/debtcollector/updating.py", line 64, in wrapper'
2017-09-11 03:17:18.254253 | b' return wrapped(*args, **kwargs)'
2017-09-11 03:17:18.254309 | b' File "/home/jenkins/workspace/gate-watcher-python35/.tox/py35/lib/python3.5/site-packages/oslo_messaging/rpc/server.py", line 214, in get_rpc_server'
2017-09-11 03:17:18.254329 | b' access_policy)'
2017-09-11 03:17:18.254387 | b' File "/home/jenkins/workspace/gate-watcher-python35/.tox/py35/lib/python3.5/site-packages/oslo_messaging/rpc/dispatcher.py", line 161, in __init__'
2017-09-11 03:17:18.254418 | b' raise TypeError("%s: endpoint=%s" % (errmsg, ep))'
2017-09-11 03:17:18.254497 | b"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='140045222954376'>"
2017-09-11 03:17:18.254512 | b''
2017-09-11 03:17:18.254524 |
2017-09-11 03:17:18.254557 | watcher.tests.common.test_service.TestService.test_build_topic_handler
2017-09-11 03:17:18.254590 | ----------------------------------------------------------------------
2017-09-11 03:17:18.254603 |
2017-09-11 03:17:18.254621 | Captured traceback:
2017-09-11 03:17:18.254639 | ~~~~~~~~~~~~~~~~~~~
2017-09-11 03:17:18.254663 | b'Traceback (most recent call last):'
2017-09-11 03:17:18.254715 | b' File "/home/jenkins/workspace/gate-watcher-python35/watcher/tests/common/test_service.py", line 91, in test_build_topic_handler'
2017-09-11 03:17:18.254744 | b' dummy_service = service.Service(DummyManager)'
2017-09-11 03:17:18.254788 | b' File "/home/jenkins/workspace/gate-watcher-python35/watcher/common/service.py", line 204, in __init__'
2017-09-11 03:17:18.254818 | b' self.conductor_topic, self.conductor_endpoints)'
2017-09-11 03:17:18.254867 | b' File "/home/jenkins/workspace/gate-watcher-python35/watcher/common/service.py", line 249, in build_topic_handler'
2017-09-11 03:17:18.254891 | b' access_policy=access_policy)'
2017-09-11 03:17:18.254946 | b' File "/home/jenkins/workspace/gate-watcher-python35/.tox/py35/lib/python3.5/site-packages/debtcollector/updating.py", line 64, in wrapper'
2017-09-11 03:17:18.254972 | b' return wrapped(*args, **kwargs)'
2017-09-11 03:17:18.255030 | b' File "/home/jenkins/workspace/gate-watcher-python35/.tox/py35/lib/python3.5/site-packages/oslo_messaging/rpc/server.py", line 214, in get_rpc_server'
2017-09-11 03:17:18.255050 | b' access_policy)'
2017-09-11 03:17:18.255108 | b' File "/home/jenkins/workspace/gate-watcher-python35/.tox/py35/lib/python3.5/site-packages/oslo_messaging/rpc/dispatcher.py", line 161, in __init__'
2017-09-11 03:17:18.255138 | b' raise TypeError("%s: endpoint=%s" % (errmsg, ep))'
2017-09-11 03:17:18.255222 | b"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='140312468007792'>"
2017-09-11 03:17:18.255237 | b''
2017-09-11 03:17:18.255250 |
2017-09-11 03:17:18.255279 | watcher.tests.common.test_service.TestService.test_start
2017-09-11 03:17:18.255308 | --------------------------------------------------------
2017-09-11 03:17:18.255321 |
2017-09-11 03:17:18.255339 | Captured traceback:
2017-09-11 03:17:18.255357 | ~~~~~~~~~~~~~~~~~~~
2017-09-11 03:17:18.255381 | b'Traceback (most recent call last):'
2017-09-11 03:17:18.255431 | b' File "/home/jenkins/workspace/gate-watcher-python35/.tox/py35/lib/python3.5/site-packages/mock/mock.py", line 1305, in patched'
2017-09-11 03:17:18.255455 | b' return func(*args, **keywargs)'
2017-09-11 03:17:18.255500 | b' File "/home/jenkins/workspace/gate-watcher-python35/watcher/tests/common/test_service.py", line 79, in test_start'
2017-09-11 03:17:18.255533 | b' dummy_service = service.Service(DummyManager)'
2017-09-11 03:17:18.255577 | b' File "/home/jenkins/workspace/gate-watcher-python35/watcher/common/service.py", line 204, in __init__'
2017-09-11 03:17:18.255606 | b' self.conductor_topic, self.conductor_endpoints)'
2017-09-11 03:17:18.255651 | b' File "/home/jenkins/workspace/gate-watcher-python35/watcher/common/service.py", line 249, in build_topic_handler'
2017-09-11 03:17:18.255674 | b' access_policy=access_policy)'
2017-09-11 03:17:18.255727 | b' File "/home/jenkins/workspace/gate-watcher-python35/.tox/py35/lib/python3.5/site-packages/debtcollector/updating.py", line 64, in wrapper'
2017-09-11 03:17:18.255751 | b' return wrapped(*args, **kwargs)'
2017-09-11 03:17:18.255807 | b' File "/home/jenkins/workspace/gate-watcher-python35/.tox/py35/lib/python3.5/site-packages/oslo_messaging/rpc/server.py", line 214, in get_rpc_server'
2017-09-11 03:17:18.255827 | b' access_policy)'
2017-09-11 03:17:18.255882 | b' File "/home/jenkins/workspace/gate-watcher-python35/.tox/py35/lib/python3.5/site-packages/oslo_messaging/rpc/dispatcher.py", line 161, in __init__'
2017-09-11 03:17:18.255911 | b' raise TypeError("%s: endpoint=%s" % (errmsg, ep))'
2017-09-11 03:17:18.255990 | b"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='140312468007792'>"
2017-09-11 03:17:18.256005 | b''

Revision history for this message
Hidekazu Nakamura (nakamura-h) wrote :
Eric Xie (eric-xie)
Changed in watcher:
assignee: nobody → Eric Xie (eric-xie)
assignee: Eric Xie (eric-xie) → nobody
aditi sharma (adi-sky17)
Changed in watcher:
assignee: nobody → aditi sharma (adi-sky17)
status: New → Confirmed
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to watcher (master)

Fix proposed to branch: master
Review: https://review.openstack.org/502902

Changed in watcher:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to watcher (master)

Reviewed: https://review.openstack.org/502902
Committed: https://git.openstack.org/cgit/openstack/watcher/commit/?id=7bc984b84add3f2b39ead42d04667367ce8cd7e9
Submitter: Jenkins
Branch: master

commit 7bc984b84add3f2b39ead42d04667367ce8cd7e9
Author: aditi <email address hidden>
Date: Tue Sep 12 16:26:19 2017 +0900

    Fix Gate Failure

    This Patch fixes gate failure, encountered in recent version
    of oslo_messaging.

    Change-Id: I6d8ab882a7c157dcf4f78c805a4ce2d9b1fa3f14
    Closes-Bug: #1716476

Changed in watcher:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/watcher 1.5.0

This issue was fixed in the openstack/watcher 1.5.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.