Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-857

Sporadic Test Failures - NetconfITSecureTest.testSecureStress

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Helium
    • None
    • netconf
    • None
    • Operating System: All
      Platform: All

    • 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

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              mmarsale@cisco.com Maros Marsalek
              devin.avery@brocade.com Devin Avery
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: