[JBoss JIRA] (ISPN-9127) Remote commands can access components before they are started
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-9127?page=com.atlassian.jira.plugin.... ]
Diego Lovison updated ISPN-9127:
--------------------------------
Tester: Diego Lovison
> Remote commands can access components before they are started
> -------------------------------------------------------------
>
> Key: ISPN-9127
> URL: https://issues.jboss.org/browse/ISPN-9127
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.2.2.Final, 9.3.0.Alpha1
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 9.4.0.Final
>
> Attachments: server0, server1, server2, trace.tar.gz
>
>
> {{PerCacheInboundInvocationHandler.handle()}} may be called before the component was started, because {{GlobalInboundInvocationHandler}} fetches it from the component registry without any checks. {{CommandsFactoryImpl.initializeReplicableCommand()}} doesn't wait for the components that it injects into remote commands to be started, either.
> This started causing random test failures in {{ConcurrentStartForkChannelTest}} after ISPN-8515, which moved most initialization work from {{init()}} methods to {{start()}} methods. Because {{StateProviderImpl}} starts after {{StateTransferManagerImpl}}, it's possible for a node to receive a {{StateRequestCommand}} before {{StateProviderImpl}} has initialized:
> {noformat}
> 16:15:09,549 TRACE (remote-thread-Test-NodeB-p51957-t2:[org.infinispan.CONFIG]) [StateProviderImpl] Starting outbound transfer to node Test-NodeA for cache null, topology id 2, segments {0-255}
> 16:15:09,551 WARN (remote-thread-Test-NodeB-p51957-t2:[]) [NonTotalOrderPerCacheInboundInvocationHandler] ISPN000071: Caught exception when handling command StateRequestCommand{cache=org.infinispan.CONFIG, origin=Test-NodeA, type=START_STATE_TRANSFER, topologyId=2, segments={0-255}}
> java.lang.IllegalArgumentException: chunkSize must be greater than 0
> at org.infinispan.statetransfer.OutboundTransferTask.<init>(OutboundTransferTask.java:114) ~[classes/:?]
> at org.infinispan.statetransfer.StateProviderImpl.startOutboundTransfer(StateProviderImpl.java:273) ~[classes/:?]
> at org.infinispan.statetransfer.StateRequestCommand.invokeAsync(StateRequestCommand.java:101) ~[classes/:?]
> at org.infinispan.remoting.inboundhandler.BasePerCacheInboundInvocationHandler.invokeCommand(BasePerCacheInboundInvocationHandler.java:94) ~[classes/:?]
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months
[JBoss JIRA] (ISPN-9775) ISPN build for IBM Java ends with error in Ant execution task
by Anna Manukyan (Jira)
[ https://issues.jboss.org/browse/ISPN-9775?page=com.atlassian.jira.plugin.... ]
Anna Manukyan updated ISPN-9775:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/6474
> ISPN build for IBM Java ends with error in Ant execution task
> -------------------------------------------------------------
>
> Key: ISPN-9775
> URL: https://issues.jboss.org/browse/ISPN-9775
> Project: Infinispan
> Issue Type: Bug
> Components: Build, Hot Rod, Server
> Affects Versions: 9.4.2.Final
> Reporter: Anna Manukyan
> Assignee: Anna Manukyan
> Priority: Major
>
> When building the infinispan with IBM JDK the following error appears:
> {code}
> keytool error (likely untranslated): java.io.IOException: Invalid keystore format
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (create-certificates) on project infinispan-server-hotrod: An Ant BuildException has occured: The following error occurred while executing this line:
> [ERROR] /home/jenkins/workspace/jdg-func-ispn-testsuite-rhel-os/9c249257/infinispan/server/hotrod/target/antrun/build-main.xml:14: Java returned: 1
> [ERROR] around Ant part ...<keytool command="-importkeystore">... @ 78:38 in /home/jenkins/workspace/jdg-func-ispn-testsuite-rhel-os/9c249257/infinispan/server/hotrod/target/antrun/build-main.xml
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months
[JBoss JIRA] (ISPN-9775) ISPN build for IBM Java ends with error in Ant execution task
by Anna Manukyan (Jira)
Anna Manukyan created ISPN-9775:
-----------------------------------
Summary: ISPN build for IBM Java ends with error in Ant execution task
Key: ISPN-9775
URL: https://issues.jboss.org/browse/ISPN-9775
Project: Infinispan
Issue Type: Bug
Components: Build, Hot Rod, Server
Affects Versions: 9.4.2.Final
Reporter: Anna Manukyan
Assignee: Anna Manukyan
When building the infinispan with IBM JDK the following error appears:
{code}
keytool error (likely untranslated): java.io.IOException: Invalid keystore format
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (create-certificates) on project infinispan-server-hotrod: An Ant BuildException has occured: The following error occurred while executing this line:
[ERROR] /home/jenkins/workspace/jdg-func-ispn-testsuite-rhel-os/9c249257/infinispan/server/hotrod/target/antrun/build-main.xml:14: Java returned: 1
[ERROR] around Ant part ...<keytool command="-importkeystore">... @ 78:38 in /home/jenkins/workspace/jdg-func-ispn-testsuite-rhel-os/9c249257/infinispan/server/hotrod/target/antrun/build-main.xml
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months
[JBoss JIRA] (ISPN-9775) ISPN build for IBM Java ends with error in Ant execution task
by Anna Manukyan (Jira)
[ https://issues.jboss.org/browse/ISPN-9775?page=com.atlassian.jira.plugin.... ]
Anna Manukyan updated ISPN-9775:
--------------------------------
Status: Open (was: New)
> ISPN build for IBM Java ends with error in Ant execution task
> -------------------------------------------------------------
>
> Key: ISPN-9775
> URL: https://issues.jboss.org/browse/ISPN-9775
> Project: Infinispan
> Issue Type: Bug
> Components: Build, Hot Rod, Server
> Affects Versions: 9.4.2.Final
> Reporter: Anna Manukyan
> Assignee: Anna Manukyan
> Priority: Major
>
> When building the infinispan with IBM JDK the following error appears:
> {code}
> keytool error (likely untranslated): java.io.IOException: Invalid keystore format
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (create-certificates) on project infinispan-server-hotrod: An Ant BuildException has occured: The following error occurred while executing this line:
> [ERROR] /home/jenkins/workspace/jdg-func-ispn-testsuite-rhel-os/9c249257/infinispan/server/hotrod/target/antrun/build-main.xml:14: Java returned: 1
> [ERROR] around Ant part ...<keytool command="-importkeystore">... @ 78:38 in /home/jenkins/workspace/jdg-func-ispn-testsuite-rhel-os/9c249257/infinispan/server/hotrod/target/antrun/build-main.xml
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months
[JBoss JIRA] (ISPN-9508) NullPointerException from putAll on a cache with a store during rehash
by William Burns (Jira)
[ https://issues.jboss.org/browse/ISPN-9508?page=com.atlassian.jira.plugin.... ]
William Burns commented on ISPN-9508:
-------------------------------------
[~dlovison] Weird in the jdg-7.3 DR3 release the factory method doesn't have an annotation on it [1]. The same for the class it extends, StressTest [2]. I can try checking out the code though.
[1] https://github.com/infinispan/jdg/blob/2db094761d24f9d9de63968cb1a9052d0c...
[2] https://github.com/infinispan/jdg/blob/2db094761d24f9d9de63968cb1a9052d0c...
> NullPointerException from putAll on a cache with a store during rehash
> ----------------------------------------------------------------------
>
> Key: ISPN-9508
> URL: https://issues.jboss.org/browse/ISPN-9508
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.3.1.Final
> Reporter: Sergey Chernolyas
> Assignee: William Burns
> Priority: Major
> Fix For: 9.4.0.Final
>
> Attachments: hang_infinispan931.out, hs_err_pid17420.log, npe_server2_start.log, server1.log, server2.log, server2.log.2018-09-11
>
>
> Cache can't start.
> See exception:
> {noformat}
> [org.infinispan.remoting.inboundhandler.NonTotalOrderPerCacheInboundInvocationHandler] (jgroups-30,dr-opsdb01) ISPN000071: Caught exception when handling command SingleRpcCommand{cacheName='SEGMENTS', command=PutMapCommand
> ....
> flags=[IGNORE_RETURN_VALUES], metadata=EmbeddedExpirableMetadata{lifespan=-1, maxIdle=-1, version=NumericVersion{version=844429225112
> 147}}, isForwarded=true}}: org.infinispan.persistence.spi.PersistenceException: java.lang.NullPointerException
> at org.infinispan.persistence.rocksdb.RocksDBStore.writeBatch(RocksDBStore.java:412)
> at org.infinispan.persistence.manager.PersistenceManagerImpl.lambda$writeBatchToAllNonTxStores$17(PersistenceManagerImpl.java:604)
> at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
> at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
> at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
> at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
> at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
> at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
> at org.infinispan.persistence.manager.PersistenceManagerImpl.writeBatchToAllNonTxStores(PersistenceManagerImpl.java:604)
> at org.infinispan.interceptors.impl.CacheWriterInterceptor.processIterableBatch(CacheWriterInterceptor.java:265)
> at org.infinispan.interceptors.impl.DistCacheWriterInterceptor.handlePutMapCommandReturn(DistCacheWriterInterceptor.java:93)
> at org.infinispan.interceptors.InvocationSuccessAction.apply(InvocationSuccessAction.java:22)
> at org.infinispan.interceptors.impl.QueueAsyncInvocationStage.invokeQueuedHandlers(QueueAsyncInvocationStage.java:118)
> at org.infinispan.interceptors.impl.QueueAsyncInvocationStage.accept(QueueAsyncInvocationStage.java:81)
> at org.infinispan.interceptors.impl.QueueAsyncInvocationStage.accept(QueueAsyncInvocationStage.java:30)
> at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760)
> at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736)
> at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
> at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
> at org.infinispan.remoting.transport.AbstractRequest.complete(AbstractRequest.java:67)
> at org.infinispan.remoting.transport.impl.MultiTargetRequest.onResponse(MultiTargetRequest.java:102)
> at org.infinispan.remoting.transport.jgroups.StaggeredRequest.onResponse(StaggeredRequest.java:50)
> at org.infinispan.remoting.transport.impl.RequestRepository.addResponse(RequestRepository.java:52)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processResponse(JGroupsTransport.java:1370)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processMessage(JGroupsTransport.java:1273)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.access$300(JGroupsTransport.java:125)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport$ChannelCallbacks.up(JGroupsTransport.java:1418)
> at org.jgroups.JChannel.up(JChannel.java:816)
> at org.jgroups.fork.ForkProtocolStack.up(ForkProtocolStack.java:134)
> at org.jgroups.stack.Protocol.up(Protocol.java:340)
> at org.jgroups.protocols.FORK.up(FORK.java:134)
> at org.jgroups.protocols.FRAG3.up(FRAG3.java:171)
> at org.jgroups.protocols.FlowControl.up(FlowControl.java:343)
> at org.jgroups.protocols.pbcast.GMS.up(GMS.java:865)
> at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:240)
> at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1003)
> at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:729)
> at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:384)
> at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:600)
> at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:119)
> at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:199)
> at org.jgroups.protocols.FD.up(FD.java:212)
> at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:252)
> at org.jgroups.protocols.Discovery.up(Discovery.java:267)
> at org.jgroups.protocols.TP.passMessageUp(TP.java:1248)
> at org.jgroups.util.SubmitToThreadPool$SingleMessageHandler.run(SubmitToThreadPool.java:87)
> 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)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months