Fix failing Watcher Tempest tests

Bug #1595534 reported by Vincent Françoise on 2016-06-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
watcher
Medium
Vincent Françoise

Bug Description

Some Tempest tests are currently failing:

See part of the solution here https://review.openstack.org/#/c/327793/5/watcher_tempest_plugin/tests/api/admin/test_audit_template.py

Strategy scenario timeouts are also too short so we need to raise them up (or even make them configurable if possible).

Changed in watcher:
importance: Undecided → Medium
milestone: none → newton-2
Changed in watcher:
assignee: nobody → Vincent Françoise (vincent-francoise)

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

Changed in watcher:
status: Triaged → In Progress

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

commit f6b1b515c467404a16affaecf85a15c75bdd26b8
Author: Vincent Françoise <email address hidden>
Date: Mon Jul 4 16:18:59 2016 +0200

    Fix failing Tempest tests

    In this changeset, I fixed the 3 failing tests on the Tempest test
    suite.

    Change-Id: I3d31ea1c13b340a2a16b41c31198d7be4711400c
    Closes-Bug: #1595534

Changed in watcher:
status: In Progress → Fix Released

FYI, there is still one test that is failing.

Not sure if this will fix it but the strategy selection is currently off as selects 'vm_workload_consolidation' instead of 'basic'.

Here is the fix for it if someone has time:

    def test_execute_basic_action_plan(self):
        # ...
        self.addCleanup(self.rollback_compute_nodes_status)
        self._create_one_instance_per_host()
        _, goal = self.client.show_goal(self.BASIC_GOAL)
        _, strategy = self.client.show_strategy(self.BASIC_STRATEGY)
        _, audit_template = self.create_audit_template(
            goal['uuid'], strategy=strategy['uuid'])
        _, audit = self.create_audit(audit_template['uuid'])
        # ...

Changed in watcher:
status: Fix Released → In Progress

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

Changed in watcher:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers