OSTF Murano tests should delete environment 'ost1_test-Murano_env01' in tearDown method

Bug #1263670 reported by Timur Nurlygayanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Timur Nurlygayanov

Bug Description

Steps To Reproduce:
1. Run Sanity Murano OSTF tests on host with low performance.
2. Check the list of Murano environments

Observed Result:
Sanity tests fails with timeout, Environment still in the list of environments.

In logs we can see the following error (and it is the root of problem):
muranoclient.common.http: DEBUG: curl -i -X POST -H 'X-Auth-Token: 85737f10a0e846fcbde0c8b7853787d7' -H 'Content-Type: application/json' -H 'User-Agent: python-muranoclient' -d '{"name": "ost1_test-Murano_env01"}' http://10.20.0.12:8082/environments
fuel_health.common.test_mixins: DEBUG: Traceback (most recent call last):
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/fuel_health/common/test_mixins.py", line 180, in verify
    result = func(*args, **kwargs)
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/fuel_health/common/test_mixins.py", line 223, in __exit__
    raise AssertionError(msg)
AssertionError: Time limit exceeded while waiting for creating environment to finish.

Tags: murano ostf
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

2013-12-23 10:49:41 WARNING (murano) Traceback (most recent call last):
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/fuel_health/murano.py", line 40, in tearDown
    self.delete_environment(self.environment.id)
AttributeError: 'MuranoSanityTests' object has no attribute 'environment'

Changed in fuel:
assignee: nobody → Timur Nurlygayanov (tnurlygayanov)
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ostf (master)

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

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

Reviewed: https://review.openstack.org/63748
Committed: https://git.openstack.org/cgit/stackforge/fuel-ostf/commit/?id=763b7e9406cf79433fed07f2a2681f94eaf1dc8b
Submitter: Jenkins
Branch: master

commit 763b7e9406cf79433fed07f2a2681f94eaf1dc8b
Author: TimurNurlygayanov <email address hidden>
Date: Mon Dec 23 17:13:57 2013 +0400

    Fixed issue with tearDown method for Murano tests

    Now this method will search all Murano environments
    with specific prefix and remove them all after tests.

    Change-Id: Ib9c71642d373447d6eaf013173f13b774ff029da
    Closes-Bug: #1263670

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
status: Fix Committed → 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.