Tempest does not try to delete several shares

Bug #1483863 reported by Marcus V R Nascimento
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Medium
Rodrigo Barbieri

Bug Description

Currently some tests that run successfully do not clean up shares
created, wasting space on backends that run CIs.

The root cause is that shares_client used directly for creation of shares
instead of using wrapper from base which will add them to "deletion" queue.

The following tests leaves additional shares:
- test_list_shares_public_with_detail
- test_create_share_from_snap_with_less_size

Tags: tempest
Changed in manila:
assignee: nobody → Marcus V R Nascimento (marcusvrn)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

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

Changed in manila:
assignee: Marcus V R Nascimento (marcusvrn) → Rodrigo Barbieri (rodrigo-barbieri2010)
status: New → In Progress
Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote : Re: Test "test_list_shares_public_with_detail" leaves two additional shares

This is not the only such place. Here is one additional: https://github.com/openstack/manila/blob/521826b3/contrib/tempest/tempest/api/share/test_shares_negative.py#L31

So, need to rename bug to: "Tempest does not try to delete several shares"

And include additional mentioned place in bug.

summary: - Test "test_list_shares_public_with_detail" leaves two additional shares
+ Tempest does not try to delete several shares
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/211769
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=6229022845179b53b15e330088afb963eac8f56d
Submitter: Jenkins
Branch: master

commit 6229022845179b53b15e330088afb963eac8f56d
Author: marcusvrn <email address hidden>
Date: Tue Aug 11 16:12:55 2015 -0300

    Cleanup shares created by Tempest

    Currently some tests that run successfully do not clean up shares
    created, wasting space on backends that run CIs.

    The root cause is that shares_client used directly for creation of shares
    instead of using wrapper from base which will add them to "deletion" queue.

    Change-Id: I8d80a5dd37be874c852b03e204547ed43d3843d2
    Closes-bug: #1483863

Changed in manila:
status: In Progress → Fix Committed
Changed in manila:
importance: Undecided → Medium
milestone: none → liberty-3
Thierry Carrez (ttx)
Changed in manila:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in manila:
milestone: liberty-3 → 1.0.0
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.