[CONTROLLER-680] Intermittent failure in config pusher test Created: 12/Aug/14  Updated: 25/Jul/23  Resolved: 28/May/15

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

Type: Bug
Reporter: Maros Marsalek 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


External issue ID: 1529

 Description   

https://jenkins.opendaylight.org/controller/job/controller-verify/7694/

LOG:
2014-08-12 08:17:32.211 UTC [config-pusher] DEBUG o.o.c.n.p.i.osgi.ConfigPersisterTest - Uncaught exception in thread Thread[config-pusher,5,main]
java.lang.AssertionError: null
at org.mockito.internal.stubbing.InvocationContainerImpl.setMethodForStubbing(InvocationContainerImpl.java:104) ~[mockito-core-1.9.5.jar:na]
at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:53) ~[mockito-core-1.9.5.jar:na]
at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29) ~[mockito-core-1.9.5.jar:na]
at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:38) ~[mockito-core-1.9.5.jar:na]
at org.mockito.internal.creation.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:51) ~[mockito-core-1.9.5.jar:na]
at org.opendaylight.controller.netconf.mapping.api.NetconfOperationServiceFactory$$EnhancerByMockitoWithCGLIB$$48e0480e.createService(<generated>) ~[mockito-core-1.9.5.jar:na]
at org.opendaylight.controller.netconf.persist.impl.ConfigPusher.getOperationService(ConfigPusher.java:141) ~[classes/:na]
at org.opendaylight.controller.netconf.persist.impl.ConfigPusher.getOperationServiceWithRetries(ConfigPusher.java:109) ~[classes/:na]
at org.opendaylight.controller.netconf.persist.impl.ConfigPusher.pushConfigWithConflictingVersionRetries(ConfigPusher.java:92) ~[classes/:na]
at org.opendaylight.controller.netconf.persist.impl.ConfigPusher.pushConfigs(ConfigPusher.java:69) ~[classes/:na]
at org.opendaylight.controller.netconf.persist.impl.osgi.ConfigPersisterActivator$InnerCustomizer$1.run(ConfigPersisterActivator.java:156) ~[classes/:na]
at java.lang.Thread.run(Thread.java:744) ~[na:1.7.0_55]

Error:
java.lang.AssertionError: Expected exception of type class java.lang.IllegalStateException but was java.lang.AssertionError expected:<class java.lang.IllegalStateException> but was:<class java.lang.AssertionError>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.opendaylight.controller.netconf.persist.impl.osgi.TestingExceptionHandler.assertException(TestingExceptionHandler.java:50)
at org.opendaylight.controller.netconf.persist.impl.osgi.TestingExceptionHandler.assertException(TestingExceptionHandler.java:41)
at org.opendaylight.controller.netconf.persist.impl.osgi.TestingExceptionHandler.assertException(TestingExceptionHandler.java:33)
at org.opendaylight.controller.netconf.persist.impl.osgi.ConfigPersisterTest.testPersisterConflictingVersionException(ConfigPersisterTest.java:117)



 Comments   
Comment by Maros Marsalek [ 17/Sep/14 ]

Unable to reproduce so far. But is most likely caused by low timeouts in multithreaded test case. Lowering priority and moving for Lithium.

Comment by Maros Marsalek [ 26/May/15 ]

Test is ignored for now, but Tom proposed a fix:
https://git.opendaylight.org/gerrit/#/c/20662/

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