Race condition during network deletion

Bug #1893487 reported by Hemachandra Reddy
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Hemachandra Reddy

Bug Description

The following test cases fail during cleanup with the error...
"Details: {'type': 'NetworkInUse', 'message': 'Unable to complete operation on network 6e963840-35bc-4e57-bbfe-53567dabe23e. There are one or more ports still in use on the network.', 'detail': ''}, )"

tempest.api.network.admin.test_ports.PortsAdminExtendedAttrsIpV6TestJSON.test_create_port_binding_ext_attr[compute,id-8e8569c1-9ac7-44db-8bc1-f5fb2814f29b] -- FAIL
tempest.api.network.admin.test_ports.PortsAdminExtendedAttrsIpV6TestJSON.test_list_ports_binding_ext_attr[compute,id-1c82a44a-6c6e-48ff-89e1-abe7eaf8f9f8] -- FAIL
tempest.api.network.admin.test_ports.PortsAdminExtendedAttrsIpV6TestJSON.test_show_port_binding_ext_attr[id-b54ac0ff-35fc-4c79-9ca3-c7dbd4ea4f13] -- FAIL
tempest.api.network.admin.test_ports.PortsAdminExtendedAttrsIpV6TestJSON.test_update_port_binding_ext_attr[compute,id-6f6c412c-711f-444d-8502-0ac30fbf5dd5] -- FAIL

It seems network delete is triggered while port being deleted.

Changed in tempest:
status: New → In Progress
assignee: nobody → Hemachandra Reddy (hr858f)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.opendev.org/748765

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.opendev.org/748765
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=e866da9a115e623433b4078ba368c1d623b9c71f
Submitter: Zuul
Branch: master

commit e866da9a115e623433b4078ba368c1d623b9c71f
Author: Hemachandra Reddy <email address hidden>
Date: Fri Aug 28 21:49:49 2020 +0000

    Wait until dependent resource is deleted

    This makes network cleanup to wait until its
    ports are cleanedup.

    Change-Id: Ied4e1e02973942f421afc257f201bbdba3aa879d
    Closes-bug: #1893487

Changed in tempest:
status: In Progress → Fix Released
Revision history for this message
Martin Kopec (mkopec) wrote :

The same problem with other network tests: https://bugs.launchpad.net/tempest/+bug/1894835

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tempest 25.0.1

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