Bug 1956266 - [16.2]Backport fix for test_reuse_ip_address_with_other_fip_on_other_router
Summary: [16.2]Backport fix for test_reuse_ip_address_with_other_fip_on_other_router
Keywords:
Status: POST
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-neutron-tests-tempest
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Roman Safronov
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-03 10:51 UTC by Roman Safronov
Modified: 2021-05-04 04:32 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description Roman Safronov 2021-05-03 10:51:15 UTC
Description of problem:
Error in "test_reuse_ip_address_with_other_fip_on_other_router" with duplicated floating IP.

The test will create a FIP, then delete it and then create another FIP using the same IP address. The problem, as we can see in the following snippet, is that during the deletion and the creation again, another test requested a FIP and Neutron server provided **just the same IP address** (a case of bad luck): http://paste.openstack.org/show/794058/


Version-Release number of selected component (if applicable):
RHOS-16.2-RHEL-8-20210420.n.0

How reproducible:
Happens randomly. Occurs only when tests are running in several threads in parallel.

Steps to Reproduce:
1. run test_reuse_ip_address_with_other_fip_on_other_router in parallel with other tests

Actual results:
In case of bad luck neutron gives deleted floating ip address (that test_reuse_ip_address_with_other_fip_on_other_router planned to reuse) to some other test and test fails.

Expected results:
Test succeeds.

Additional info:


Note You need to log in before you can comment on or make changes to this bug.