The test_minimum_basic_scenario Tempest test has a potential race at floating IP deletion step

Bug #1626537 reported by Anna Babich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
Unassigned

Bug Description

This is upstream bug for https://bugs.launchpad.net/mos/+bug/1626505

In accordance to http://developer.openstack.org/api-ref-compute-v2.1.html#deleteFloatingIP , the normal response code here is '202', and it doesn't guarantee that operation is completed (all data about deleted IP are cleaned up) at the moment of response's sending. Since there is no waiter in the test, which checks the completion of floating IP's deletion process, it may lead to some race between 'floating IP delete' and 'nova show' operations and, as a result, test's failing.
To avoid it, we need to add such check to the 'delete floating IP' scenario's step.

Now this test passes against gates, but it fails against downstream Tempest CI jobs and against custom environments, and we don't have no guarantee that this race will never happen against gates.

Tags: tempest
Anna Babich (ababich)
Changed in tempest:
assignee: nobody → Anna Babich (ababich)
Changed in tempest:
status: New → Confirmed
Revision history for this message
Anna Babich (ababich) wrote :

The fix is proposed here: https://review.openstack.org/#/c/377184

Changed in tempest:
assignee: Anna Babich (ababich) → nobody
Changed in tempest:
status: Confirmed → In Progress
Revision history for this message
Anna Babich (ababich) wrote :
Changed in tempest:
status: In Progress → Fix Committed
status: Fix Committed → Fix Released
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.