test_attach_volume not waiting for attach to complete

Bug #1709909 reported by Steve Noyes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
Steve Noyes

Bug Description

While testing the new cinder v3.27 api I noticed that tempest/api/compute/volumes/test_attach_volume..test_list_get_volume_attachments test is doing a couple of attaches but does not wait for those attachments to complete which causes errors during the detach in the tear down. Also, if an error occurs during detach in tear down, the test still passes. So it would be better to have the detaches in the test itself so that detach problems are flagged in the test.

Changed in tempest:
assignee: nobody → Steve Noyes (steve-noyes)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

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

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

Reviewed: https://review.openstack.org/492570
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=5026c50becb87bcea002d6ac86b7de68a2f3b33b
Submitter: Jenkins
Branch: master

commit 5026c50becb87bcea002d6ac86b7de68a2f3b33b
Author: Steve Noyes <email address hidden>
Date: Thu Aug 10 11:12:31 2017 -0400

    add detaches to attachment test

    The current test does 2 attaches, but if there is a
    problem in detach, the test will still report
    success.

    This change adds detaches to the test so that
    any detach failures are caught.

    Change-Id: I44ee6dc5cb1ca79a4729cff41e5213b358eeb399
    Closes-Bug: #1709909

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

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