2020-09-09 12:53:27 |
Gayathri Devi Kathiri |
description |
"test_allowed_address_pair" tempest test cases failed during cleanup with the below error:
Details: {'type': 'SubnetInUse', 'message': 'Unable to complete operation on subnet e6615d0f-171b-433b-9324-3b067e50ff6b: One or more ports have an IP allocation from this subnet.', 'detail': ''}, ), (, Conflict with state of target resource
Details: {'type': 'NetworkInUse', 'message': 'Unable to complete operation on network 863441e6-0cc8-478c-b5b5-b201c3dbfa71. There are one or more ports still in use on the network.', 'detail': ''}, ))
tempest.api.network.test_allowed_address_pair.AllowedAddressPairIpV6TestJSON.test_create_list_port_with_address_pair-- FAIL
tempest.api.network.test_allowed_address_pair.AllowedAddressPairIpV6TestJSON.test_update_port_with_address_pair -- FAIL
tempest.api.network.test_allowed_address_pair.AllowedAddressPairIpV6TestJSON.test_update_port_with_cidr_address_pair -- FAIL
tempest.api.network.test_allowed_address_pair.AllowedAddressPairIpV6TestJSON.test_update_port_with_multiple_ip_mac_address_pair -- FAIL
Looks like subnet/network delete is triggered while port being deleted. |
"test_allowed_address_pair" tempest test cases failed during cleanup with the below error:
Details: {'type': 'SubnetInUse', 'message': 'Unable to complete operation on subnet e6615d0f-171b-433b-9324-3b067e50ff6b: One or more ports have an IP allocation from this subnet.', 'detail': ''}, ), (, Conflict with state of target resource
Details: {'type': 'NetworkInUse', 'message': 'Unable to complete operation on network 863441e6-0cc8-478c-b5b5-b201c3dbfa71. There are one or more ports still in use on the network.', 'detail': ''}, ))
tempest.api.network.test_allowed_address_pair.AllowedAddressPairIpV6TestJSON.test_create_list_port_with_address_pair-- FAIL
tempest.api.network.test_allowed_address_pair.AllowedAddressPairIpV6TestJSON.test_update_port_with_address_pair -- FAIL
tempest.api.network.test_allowed_address_pair.AllowedAddressPairIpV6TestJSON.test_update_port_with_cidr_address_pair -- FAIL
tempest.api.network.test_allowed_address_pair.AllowedAddressPairIpV6TestJSON.test_update_port_with_multiple_ip_mac_address_pair -- FAIL
Looks like subnet/network delete is triggered while port being deleted.
This rare scenario is observed when whole tempest repo test suite is run.
Since the tempest test case failed at cleanup with error indicating that ports are still in use on the network, logged into the environment where test case failed and found that port delete triggered by the tempest is successful. So, there are no ports associated with the network/subnet after test case failure.
Neutron deleted the port as triggered by the tempest. Network/subnet existed in the environment since it failed at the cleanup of networks/subnet.
Tempest code calls the delete_port method but doesn't wait whether port is deleted which could lead to a rare situation when port is being deleted but tempest is already trying to delete the network. |
|