watcher_tempest_plugin.tests.api.admin.test_action_plan.TestShowListActionPlan.test_list_with_limit failed

Bug #1700901 reported by licanwei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
watcher
Fix Released
Undecided
licanwei

Bug Description

2017-06-27 13:58:38.063574 | watcher_tempest_plugin.tests.api.admin.test_action_plan.TestShowListActionPlan.test_list_with_limit
2017-06-27 13:58:38.063601 | ---------------------------------------------------------------------------------------------------
2017-06-27 13:58:38.063607 |
2017-06-27 13:58:38.063617 | Captured traceback:
2017-06-27 13:58:38.063627 | ~~~~~~~~~~~~~~~~~~~
2017-06-27 13:58:38.063640 | Traceback (most recent call last):
2017-06-27 13:58:38.063674 | File "/opt/stack/new/watcher/watcher_tempest_plugin/tests/api/admin/test_action_plan.py", line 169, in test_list_with_limit
2017-06-27 13:58:38.063693 | self.create_action_plan(self.audit_template['uuid'])
2017-06-27 13:58:38.063722 | File "/opt/stack/new/watcher/watcher_tempest_plugin/tests/api/admin/base.py", line 236, in create_action_plan
2017-06-27 13:58:38.063739 | return action_plans['action_plans'][0]
2017-06-27 13:58:38.063752 | IndexError: list index out of range

licanwei (li-canwei2)
Changed in watcher:
assignee: nobody → licanwei (li-canwei2)
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/478401

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

Reviewed: https://review.openstack.org/478401
Committed: https://git.openstack.org/cgit/openstack/watcher/commit/?id=87b95bb639c89faf2b44945a190ed0efe3a9be07
Submitter: Jenkins
Branch: master

commit 87b95bb639c89faf2b44945a190ed0efe3a9be07
Author: licanwei <email address hidden>
Date: Wed Jun 28 14:40:46 2017 +0800

    Fix test_list_with_limit failed

    There is no action plan if creating audit was cancelled.
    In this case, we just return none.

    Change-Id: Ia7a93dab5978d181557d7dd7499e83655aec6f40
    Closes-Bug: #1700901

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

This issue was fixed in the openstack/watcher 1.3.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.