Issues in XmppConnection cleanup lead to multiple test failures

Bug #1335757 reported by Nischal Sheth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Released
Medium
Nischal Sheth

Bug Description

Couple of issues in XmppConnection cleanup have been identified when
trying to stabilize bgp_stress_test and bgp_xmpp_deferq_test:

- LifetimeManager is not used correctly - actor is enqueued to the
manager directly from the ManagedDelete method instead of invoking the
LifetimeActor Delete method. Given the right sequence of events this
causes problems when the connection is deleted from both above (due to
test TearDown) and below (due to the mock agent bringing down the session)

- XmppConnections that are rejected during dequeue (because there's
already a connection from the same IP) are not tracked properly. This
causes problems such as deletion of a different incarnation of the
connection (i.e. same IP but not the same data structure).

Both the above result in assertion failures in the LifetimeActor
destructor.

Nischal Sheth (nsheth)
description: updated
Nischal Sheth (nsheth)
Changed in juniperopenstack:
status: New → In Progress
Revision history for this message
Nischal Sheth (nsheth) wrote :
Changed in juniperopenstack:
status: In Progress → Fix Committed
Nischal Sheth (nsheth)
description: updated
Changed in juniperopenstack:
status: Fix Committed → Fix Released
Nischal Sheth (nsheth)
information type: Proprietary → Public
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.