[CONTROLLER-857] Sporadic Test Failures - NetconfITSecureTest.testSecureStress Created: 18/Sep/14  Updated: 22/Sep/14  Resolved: 22/Sep/14

Status: Resolved
Project: controller
Component/s: netconf
Affects Version/s: Helium
Fix Version/s: None

Type: Bug
Reporter: Devin Avery Assignee: Maros Marsalek
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Duplicate
is duplicated by CONTROLLER-865 NetconfITSecureTest failing on master Resolved
External issue ID: 1949

 Description   

**Problem:

I am seeing sporadic unit test failures for the following NetconfITSecureTest.

It looks like a merge was pushed just a few days ago that modified this test -
***********
BUG-1842 Fix byte buffer handling for pending messages

Change-Id: I54cd873e12d73779e20be280226480d090d9e8c5
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
************

which is likely the cause of the new behavior. We should really look at a way we can speed this test up (it takes longer than 5 minutes right now!) or move it out into an integration test.

Solution - I am going to try and increase the time out as a TEMPORARY solution. The permanent solution is to really modify the test to not take quiet so long to run.

NOTE: It is possible that this sporadic failure is exposing a true bug. I have not investigated yet.

====== ERROR Below ======

testSecureStress(org.opendaylight.controller.netconf.it.NetconfITSecureTest) Time elapsed: 288.685 sec <<< FAILURE!
java.lang.AssertionError: Request 9998 is not responding
at org.junit.Assert.fail(Assert.java:88)
at org.opendaylight.controller.netconf.it.NetconfITSecureTest.testSecureStress(NetconfITSecureTest.java:144)

Running org.opendaylight.controller.netconf.it.NetconfConfigPersisterITTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.195 sec - in org.opendaylight.controller.netconf.it.NetconfConfigPersisterITTest
Running org.opendaylight.controller.netconf.it.NetconfITMonitoringTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.767 sec - in org.opendaylight.controller.netconf.it.NetconfITMonitoringTest

Results :

Failed tests:
NetconfITSecureTest.testSecureStress:144 Request 9998 is not responding

Tests run: 17, Failures: 1, Errors: 0, Skipped: 0



 Comments   
Comment by Devin Avery [ 18/Sep/14 ]

possible temporary fix: https://git.opendaylight.org/gerrit/#/c/11312/

Comment by Maros Marsalek [ 19/Sep/14 ]

https://git.opendaylight.org/gerrit/#/c/11329/

Generated at Wed Feb 07 19:54:03 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.