watcher tempest test failed

Bug #1801295 reported by licanwei on 2018-11-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
watcher
Undecided
licanwei

Bug Description

2018-11-02 04:38:10.253561 | controller | watcher_tempest_plugin.tests.api.admin.test_action_plan.TestShowListActionPlan.test_list_action_plans
2018-11-02 04:38:10.253680 | controller | -----------------------------------------------------------------------------------------------------
2018-11-02 04:38:10.253696 | controller |
2018-11-02 04:38:10.253732 | controller | Captured traceback:
2018-11-02 04:38:10.253768 | controller | ~~~~~~~~~~~~~~~~~~~
2018-11-02 04:38:10.253822 | controller | Traceback (most recent call last):
2018-11-02 04:38:10.255147 | controller | File "/opt/stack/tempest/.tox/tempest/local/lib/python2.7/site-packages/watcher_tempest_plugin/tests/api/admin/test_action_plan.py", line 145, in test_list_action_plans
2018-11-02 04:38:10.255254 | controller | self.assertIn(self.action_plan['uuid'],
2018-11-02 04:38:10.255399 | controller | AttributeError: 'TestShowListActionPlan' object has no attribute 'action_plan'
2018-11-02 04:38:10.255440 | controller |
2018-11-02 04:38:10.255460 | controller |
2018-11-02 04:38:10.255503 | controller | Captured pythonlogging:
2018-11-02 04:38:10.255547 | controller | ~~~~~~~~~~~~~~~~~~~~~~~
2018-11-02 04:38:10.255821 | controller | 2018-11-02 04:37:58,661 29100 INFO [tempest.lib.common.rest_client] Request (TestShowListActionPlan:test_list_action_plans): 200 GET http://213.32.78.137:9322/v1/action_plans 0.092s
2018-11-02 04:38:10.256638 | controller | 2018-11-02 04:37:58,661 29100 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'X-Auth-Token': '<omitted>', 'Accept': 'application/json', 'Content-Type': 'application/json'}
2018-11-02 04:38:10.256738 | controller | Body: None
2018-11-02 04:38:10.257444 | controller | Response - Headers: {'status': '200', u'openstack-api-version': '1.0', u'openstack-api-minimum-version': '1.0', u'connection': 'close', u'content-type': 'application/json', u'date': 'Fri, 02 Nov 2018 04:37:58 GMT', u'openstack-api-maximum-version': '1.1', 'content-location': 'http://213.32.78.137:9322/v1/action_plans', u'vary': 'OpenStack-API-Version', u'server': 'Apache/2.4.18 (Ubuntu)', u'content-length': '2538'}
2018-11-02 04:38:10.260542 | controller | Body: {"action_plans": [{"uuid": "ea8d39dd-cb33-486a-89d0-5a0b309533e2", "links": [{"href": "http://213.32.78.137:9322/v1/action_plans/ea8d39dd-cb33-486a-89d0-5a0b309533e2", "rel": "self"}, {"href": "http://213.32.78.137:9322/action_plans/ea8d39dd-cb33-486a-89d0-5a0b309533e2", "rel": "bookmark"}], "global_efficacy": [], "state": "RECOMMENDED", "updated_at": null, "strategy_name": "dummy", "strategy_uuid": "e83b8d83-e3f8-4116-aa65-d9eab1d3a774", "audit_uuid": "8ba3f372-5cb6-42e7-bb0e-4d62180aef3f", "efficacy_indicators": []}, {"uuid": "b3cea8f7-6c53-4fea-b309-b76f7d991d3b", "links": [{"href": "http://213.32.78.137:9322/v1/action_plans/b3cea8f7-6c53-4fea-b309-b76f7d991d3b", "rel": "self"}, {"href": "http://213.32.78.137:9322/action_plans/b3cea8f7-6c53-4fea-b309-b76f7d991d3b", "rel": "bookmark"}], "global_efficacy": [], "state": "RECOMMENDED", "updated_at": null, "strategy_name": "dummy", "strategy_uuid": "e83b8d83-e3f8-4116-aa65-d9eab1d3a774", "audit_uuid": "26db34a6-f8aa-40a0-90fa-d2e5f9294392", "efficacy_indicators": []}, {"uuid": "6676865d-be80-4715-901e-ac323eea5a69", "links": [{"href": "http://213.32.78.137:9322/v1/action_plans/6676865d-be80-4715-901e-ac323eea5a69", "rel": "self"}, {"href": "http://213.32.78.137:9322/action_plans/6676865d-be80-4715-901e-ac323eea5a69", "rel": "bookmark"}], "global_efficacy": [], "state": "RECOMMENDED", "updated_at": null, "strategy_name": "dummy", "strategy_uuid": "e83b8d83-e3f8-4116-aa65-d9eab1d3a774", "audit_uuid": "ef9dd9bd-65c2-49f3-a83c-54ca9e2a1908", "efficacy_indicators": []}, {"uuid": "30b65312-5aaf-479b-b541-edeb5a8b8b91", "links": [{"href": "http://213.32.78.137:9322/v1/action_plans/30b65312-5aaf-479b-b541-edeb5a8b8b91", "rel": "self"}, {"href": "http://213.32.78.137:9322/action_plans/30b65312-5aaf-479b-b541-edeb5a8b8b91", "rel": "bookmark"}], "global_efficacy": [], "state": "RECOMMENDED", "updated_at": null, "strategy_name": "dummy", "strategy_uuid": "e83b8d83-e3f8-4116-aa65-d9eab1d3a774", "audit_uuid": null, "efficacy_indicators": []}, {"uuid": "5ede1127-aad9-44d3-ba1d-05348e9419c4", "links": [{"href": "http://213.32.78.137:9322/v1/action_plans/5ede1127-aad9-44d3-ba1d-05348e9419c4", "rel": "self"}, {"href": "http://213.32.78.137:9322/action_plans/5ede1127-aad9-44d3-ba1d-05348e9419c4", "rel": "bookmark"}], "global_efficacy": [], "state": "ONGOING", "updated_at": "2018-11-02T04:37:58+00:00", "strategy_name": "dummy", "strategy_uuid": "e83b8d83-e3f8-4116-aa65-d9eab1d3a774", "audit_uuid": "1660ca1b-932e-48ab-8e4d-05d2f2e00778", "efficacy_indicators": []}]}

licanwei (li-canwei2) on 2018-11-02
Changed in watcher:
assignee: nobody → licanwei (li-canwei2)

This issue was fixed in the openstack/watcher-tempest-plugin 1.1.0 release.

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

Other bug subscribers