Stablilize bgp/l3vpn/test/inetvpn_peer_test

Bug #1706747 reported by Ananth Suryanarayana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
High
Ananth Suryanarayana
R4.0
Fix Committed
High
Ananth Suryanarayana
Trunk
Fix Committed
High
Ananth Suryanarayana

Bug Description

BgpPeerTest::IsReady_fnc_ variable access is not thread-safe and hence causes this and other tests to fail at times

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/34037
Submitter: Ananth Suryanarayana (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/34045
Submitter: Ananth Suryanarayana (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/34046
Submitter: Ananth Suryanarayana (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/34037
Committed: http://github.com/Juniper/contrail-controller/commit/9a5bed0d63d6589b9f2684390dc0f67a1878c285
Submitter: Zuul (<email address hidden>)
Branch: master

commit 9a5bed0d63d6589b9f2684390dc0f67a1878c285
Author: Ananth Suryanarayana <email address hidden>
Date: Wed Jul 26 12:52:55 2017 -0700

Protect get and set accesses to boost::function objects in BgpPeerTest

Use a mutex to protect the get and set from parallel access. Also rename the
variables to lower case and make them private.

Change-Id: I090379db01a5344cd23cd5570c6a02c09656c8d6
Closes-Bug: 1706747

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/34045
Committed: http://github.com/Juniper/contrail-controller/commit/9b2cec1de3696ccaa38db4046bdd4251045ed937
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 9b2cec1de3696ccaa38db4046bdd4251045ed937
Author: Ananth Suryanarayana <email address hidden>
Date: Wed Jul 26 12:52:55 2017 -0700

Protect get and set accesses to boost::function objects in BgpPeerTest

Use a mutex to protect the get and set from parallel access. Also rename the
variables to lower case and make them private.

Change-Id: I090379db01a5344cd23cd5570c6a02c09656c8d6
Closes-Bug: 1706747

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/34046
Committed: http://github.com/Juniper/contrail-controller/commit/251fce43833e9f05748b0e55b58754a3516f865f
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 251fce43833e9f05748b0e55b58754a3516f865f
Author: Ananth Suryanarayana <email address hidden>
Date: Wed Jul 26 12:52:55 2017 -0700

Protect get and set accesses to boost::function objects in BgpPeerTest

Use a mutex to protect the get and set from parallel access. Also rename the
variables to lower case and make them private.

Change-Id: I090379db01a5344cd23cd5570c6a02c09656c8d6
Closes-Bug: 1706747

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.