]
Gustavo Fernandes commented on ISPN-8596:
-----------------------------------------
It fails constantly in my environment
CacheManagerTest#testCacheManagerRestartReusingConfigurations
failure
---------------------------------------------------------------------
Key: ISPN-8596
URL:
https://issues.jboss.org/browse/ISPN-8596
Project: Infinispan
Issue Type: Bug
Reporter: Gustavo Fernandes
{noformat}
[ERROR]
testCacheManagerRestartReusingConfigurations(org.infinispan.manager.CacheManagerTest)
Time elapsed: 0.034 s <<< FAILURE!
org.infinispan.manager.EmbeddedCacheManagerStartupException:
org.infinispan.commons.CacheException: Unable to invoke method public void
org.infinispan.globalstate.impl.GlobalConfigurationManagerImpl.postStart() on object of
type GlobalConfigurationManagerImpl
at
org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:267)
at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:671)
at
org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:260)
at
org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:220)
at org.infinispan.manager.CacheManagerTest$4.call(CacheManagerTest.java:374)
at org.infinispan.test.TestingUtil.withCacheManagers(TestingUtil.java:1519)
at
org.infinispan.manager.CacheManagerTest.testCacheManagerRestartReusingConfigurations(CacheManagerTest.java:359)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void
org.infinispan.globalstate.impl.GlobalConfigurationManagerImpl.postStart() on object of
type GlobalConfigurationManagerImpl
at
org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:83)
at org.infinispan.commons.util.SecurityActions.doPrivileged(SecurityActions.java:71)
at
org.infinispan.commons.util.SecurityActions.invokeAccessibly(SecurityActions.java:76)
at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:165)
at
org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:883)
at
org.infinispan.factories.AbstractComponentRegistry.lambda$invokePrioritizedMethods$3(AbstractComponentRegistry.java:647)
at org.infinispan.factories.SecurityActions.lambda$run$1(SecurityActions.java:72)
at org.infinispan.security.Security.doPrivileged(Security.java:76)
at org.infinispan.factories.SecurityActions.run(SecurityActions.java:71)
at
org.infinispan.factories.AbstractComponentRegistry.invokePrioritizedMethods(AbstractComponentRegistry.java:640)
at
org.infinispan.factories.AbstractComponentRegistry.postStart(AbstractComponentRegistry.java:564)
at
org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:255)
... 26 more
Caused by: org.infinispan.commons.CacheException:
java.util.concurrent.CompletionException: org.infinispan.remoting.RemoteException:
ISPN000217: Received exception from CacheManagerTest-NodeB-61798, see cause for remote
stack trace
at
org.infinispan.stream.impl.PriorityMergingProcessor$MultiSubscriberIterator.wrapOrThrow(PriorityMergingProcessor.java:139)
at
org.infinispan.stream.impl.PriorityMergingProcessor$MultiSubscriberIterator.getNext(PriorityMergingProcessor.java:160)
at org.infinispan.commons.util.AbstractIterator.hasNext(AbstractIterator.java:26)
at
org.infinispan.stream.impl.DistributedCacheStream$RehashIterator.getNext(DistributedCacheStream.java:624)
at org.infinispan.commons.util.AbstractIterator.hasNext(AbstractIterator.java:26)
at
org.infinispan.commons.util.RemovableIterator.getNextFromIterator(RemovableIterator.java:27)
at org.infinispan.commons.util.RemovableIterator.hasNext(RemovableIterator.java:36)
at
org.infinispan.commons.util.Closeables$IteratorAsCloseableIterator.hasNext(Closeables.java:116)
at
org.infinispan.commons.util.RemovableIterator.getNextFromIterator(RemovableIterator.java:27)
at org.infinispan.commons.util.RemovableIterator.hasNext(RemovableIterator.java:36)
at org.infinispan.commons.util.IteratorMapper.hasNext(IteratorMapper.java:26)
at
org.infinispan.cache.impl.EncoderCache$EncoderIterator.hasNext(EncoderCache.java:724)
at
org.infinispan.globalstate.impl.GlobalConfigurationManagerImpl.postStart(GlobalConfigurationManagerImpl.java:71)
at sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:79)
... 37 more
Caused by: java.util.concurrent.CompletionException:
org.infinispan.remoting.RemoteException: ISPN000217: Received exception from
CacheManagerTest-NodeB-61798, see cause for remote stack trace
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:824)
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at
java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1977)
at
org.infinispan.remoting.transport.AbstractRequest.completeExceptionally(AbstractRequest.java:73)
at
org.infinispan.remoting.transport.impl.SingleTargetRequest.receiveResponse(SingleTargetRequest.java:58)
at
org.infinispan.remoting.transport.impl.SingleTargetRequest.onResponse(SingleTargetRequest.java:35)
at
org.infinispan.remoting.transport.impl.RequestRepository.addResponse(RequestRepository.java:53)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.processResponse(JGroupsTransport.java:1329)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.processMessage(JGroupsTransport.java:1239)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.access$200(JGroupsTransport.java:121)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport$ChannelCallbacks.receive(JGroupsTransport.java:1367)
at org.jgroups.JChannel.up(JChannel.java:819)
at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:893)
at org.jgroups.protocols.RSVP.up(RSVP.java:163)
at org.jgroups.protocols.FlowControl.up(FlowControl.java:343)
at org.jgroups.protocols.tom.TOA.up(TOA.java:112)
at org.jgroups.protocols.pbcast.GMS.up(GMS.java:864)
at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:240)
at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1002)
at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:728)
at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:383)
at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:600)
at org.jgroups.protocols.Discovery.up(Discovery.java:267)
at org.jgroups.protocols.TP.passMessageUp(TP.java:1229)
at
org.jgroups.util.SubmitToThreadPool$SingleMessageHandler.run(SubmitToThreadPool.java:87)
... 3 more
Caused by: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from
CacheManagerTest-NodeB-61798, see cause for remote stack trace
at
org.infinispan.remoting.transport.ResponseCollectors.wrapRemoteException(ResponseCollectors.java:27)
at
org.infinispan.remoting.transport.ValidSingleResponseCollector.withException(ValidSingleResponseCollector.java:41)
at
org.infinispan.remoting.transport.ValidSingleResponseCollector.addResponse(ValidSingleResponseCollector.java:25)
at
org.infinispan.remoting.transport.impl.SingleTargetRequest.receiveResponse(SingleTargetRequest.java:51)
... 23 more
Caused by: java.lang.IllegalArgumentException: The node is not a member :
CacheManagerTest-NodeB-61798
at
org.infinispan.distribution.ch.impl.ReplicatedConsistentHash.getSegmentsForOwner(ReplicatedConsistentHash.java:150)
at
org.infinispan.distribution.group.impl.PartitionerConsistentHash.getSegmentsForOwner(PartitionerConsistentHash.java:71)
at
org.infinispan.stream.impl.LocalStreamManagerImpl.getRehashStream(LocalStreamManagerImpl.java:234)
at
org.infinispan.stream.impl.LocalStreamManagerImpl.lambda$startIterator$8(LocalStreamManagerImpl.java:410)
at org.infinispan.stream.impl.IteratorHandler.start(IteratorHandler.java:108)
at
org.infinispan.stream.impl.LocalStreamManagerImpl.startIterator(LocalStreamManagerImpl.java:410)
at
org.infinispan.stream.impl.StreamIteratorRequestCommand.invokeAsync(StreamIteratorRequestCommand.java:52)
at
org.infinispan.remoting.inboundhandler.BasePerCacheInboundInvocationHandler.invokeCommand(BasePerCacheInboundInvocationHandler.java:102)
at
org.infinispan.remoting.inboundhandler.BaseBlockingRunnable.invoke(BaseBlockingRunnable.java:99)
at
org.infinispan.remoting.inboundhandler.BaseBlockingRunnable.runAsync(BaseBlockingRunnable.java:71)
at
org.infinispan.remoting.inboundhandler.BaseBlockingRunnable.run(BaseBlockingRunnable.java:40)
... 3 more
[INFO]
{noformat}