[JBoss JIRA] (ISPN-9128) RehashWithSharedStoreTest.testRehashes random failures
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-9128?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant reopened ISPN-9128:
-----------------------------------
> RehashWithSharedStoreTest.testRehashes random failures
> ------------------------------------------------------
>
> Key: ISPN-9128
> URL: https://issues.jboss.org/browse/ISPN-9128
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.3.0.Alpha1
> Reporter: Dan Berindei
> Assignee: Radim Vansa
> Labels: testsuite_stability
> Fix For: 9.4.0.Beta1
>
> Attachments: RehashWithSharedStoreTest_ISPN-7977_NPE_during_shutdown_20180507.log.gz
>
>
> {noformat}
> 16:00:32,748 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed: org.infinispan.distribution.rehash.RehashWithSharedStoreTest.testRehashes[SCATTERED_SYNC, tx=false, numOwners=1, l1=false]
> java.lang.AssertionError: Should be able to see key on new owner
> at org.infinispan.distribution.rehash.RehashWithSharedStoreTest.testRehashes(RehashWithSharedStoreTest.java:94) ~[test-classes/:?]
> {noformat}
> This first got my attention because I was working on ISPN-7977 and I noticed this NPE after the test failure:
> {noformat}
> 16:00:32,874 ERROR (jgroups-7,Test-NodeF-62673:[]) [ScatteredStateConsumerImpl] ISPN000471: Failed processing values received from remote node during rebalance.
> java.lang.NullPointerException: null
> at org.infinispan.scattered.impl.ScatteredStateConsumerImpl.applyValues(ScatteredStateConsumerImpl.java:505) ~[classes/:?]
> at org.infinispan.scattered.impl.ScatteredStateConsumerImpl.lambda$getValuesAndApply$8(ScatteredStateConsumerImpl.java:475) ~[classes/:?]
> at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760) [?:1.8.0_152]
> at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736) [?:1.8.0_152]
> at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) [?:1.8.0_152]
> at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962) [?:1.8.0_152]
> at org.infinispan.remoting.transport.AbstractRequest.complete(AbstractRequest.java:67) [classes/:?]
> at org.infinispan.remoting.transport.impl.SingleTargetRequest.receiveResponse(SingleTargetRequest.java:57) [classes/:?]
> at org.infinispan.remoting.transport.impl.SingleTargetRequest.onResponse(SingleTargetRequest.java:35) [classes/:?]
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
5 years, 9 months
[JBoss JIRA] (ISPN-9394) Getting java.lang.ClassCastException after calling XSiteAdmin.status()
by Jared Blashka (JIRA)
[ https://issues.jboss.org/browse/ISPN-9394?page=com.atlassian.jira.plugin.... ]
Jared Blashka updated ISPN-9394:
--------------------------------
Steps to Reproduce:
Set up a 4 node cross-site cluster. Nodes a & b are in site1. Nodes c & d are in site2. I've attached a sample configuration.
Start all 4 hosts.
Stop a particular cluster on host 'a'. I used JMX jboss.datagrid-infinispan:type=Cache,name="sessions(repl_sync)",manager="clustered",component=Cache stop().
Call jboss.datagrid-infinispan:type=Cache,name="sessions(repl_sync)",manager="clustered",component=XSiteAdmin status() on host 'b'.
Expected Result: Some message like site2[ONLINE] or site2[MIXED, offline on nodes: [a]]
Actual Result: java.lang.ClassCastException: org.infinispan.remoting.responses.CacheNotFoundResponse cannot be cast to org.infinispan.remoting.responses.SuccessfulResponse
Using JDG 7.1.2. Not sure which ISPN that is, or if this is still an issue in master.
was:
Set up a 4 node cross-site cluster. Nodes a & b are in site1. Nodes c & d are in site2. I've attached a sample configuration.
Start all 4 hosts.
Stop a particular cluster on host 'a'. I used JMX jboss.datagrid-infinispan:type=Cache,name="sessions(repl_sync)",manager="clustered",component=Cache stop().
Call jboss.datagrid-infinispan:type=Cache,name="sessions(repl_sync)",manager="clustered",component=XSiteAdmin status() on host 'b'.
Expected Result: Some message like site2[ONLINE] or site2[MIXED, offline on nodes: [a]]
Actual Result: java.lang.ClassCastException: org.infinispan.remoting.responses.CacheNotFoundResponse cannot be cast to org.infinispan.remoting.responses.SuccessfulResponse
> Getting java.lang.ClassCastException after calling XSiteAdmin.status()
> ----------------------------------------------------------------------
>
> Key: ISPN-9394
> URL: https://issues.jboss.org/browse/ISPN-9394
> Project: Infinispan
> Issue Type: Bug
> Components: Cross-Site Replication
> Reporter: Jared Blashka
> Assignee: Pedro Ruivo
> Priority: Minor
> Attachments: clustered.xml
>
>
> I've got a cross-site cluster set up with 4 hosts (a,b) <-> (c,d). If I stop a particular cache on 'a' and then call XSiteAdmin.status() for that cache on 'b' I get "java.lang.ClassCastException: org.infinispan.remoting.responses.CacheNotFoundResponse cannot be cast to org.infinispan.remoting.responses.SuccessfulResponse".
> XSiteAdmin.status() still works without any issues on 'c' and 'd' however
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
5 years, 9 months