Fix failing Watcher Tempest tests

Bug #1595534 reported by Vincent Françoise
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
watcher
Fix Released
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).

Tags: test
Changed in watcher:
importance: Undecided → Medium
milestone: none → newton-2
Changed in watcher:
assignee: nobody → Vincent Françoise (vincent-francoise)
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/337247

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

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
Revision history for this message
Vincent Françoise (vincent-francoise) wrote :

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
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/watcher 0.28.0

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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