[JBoss JIRA] (ISPN-6901) ConsistentHashV2IntegrationTest.testCorrectBalancingOfKeysAfterNodeKill fails
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-6901?page=com.atlassian.jira.plugin... ]
Dan Berindei reopened ISPN-6901:
--------------------------------
Oops, the started failing again after the PR re-enabling it was merged.
> ConsistentHashV2IntegrationTest.testCorrectBalancingOfKeysAfterNodeKill fails
> ------------------------------------------------------------------------------
>
> Key: ISPN-6901
> URL: https://issues.redhat.com/browse/ISPN-6901
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Test Suite
> Reporter: Sebastian Laskawiec
> Assignee: Dan Berindei
> Priority: Critical
> Labels: testsuite_stability
>
> http://ci.infinispan.org/viewLog.html?buildId=41261&tab=buildResultsDiv&b...
> {code}
> java.lang.AssertionError: expected:<ConsistentHashV2IntegrationTest-NodeA-19908> but was:<ConsistentHashV2IntegrationTest-NodeC-27627>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:88)
> at org.infinispan.client.hotrod.ConsistentHashV2IntegrationTest.runTest(ConsistentHashV2IntegrationTest.java:123)
> at org.infinispan.client.hotrod.ConsistentHashV2IntegrationTest.testCorrectBalancingOfKeysAfterNodeKill(ConsistentHashV2IntegrationTest.java:178)
> 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:497)
> 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:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> ------- Stdout: -------
> [TestSuiteProgress] Test failed: org.infinispan.client.hotrod.ConsistentHashV2IntegrationTest.testCorrectBalancingOfKeysAfterNodeKill
> 16:32:18,038 ERROR (testng-ConsistentHashV2IntegrationTest) [TestSuiteProgress] Test failed: org.infinispan.client.hotrod.ConsistentHashV2IntegrationTest.testCorrectBalancingOfKeysAfterNodeKill
> java.lang.AssertionError: expected:<ConsistentHashV2IntegrationTest-NodeA-19908> but was:<ConsistentHashV2IntegrationTest-NodeC-27627>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:88)
> at org.infinispan.client.hotrod.ConsistentHashV2IntegrationTest.runTest(ConsistentHashV2IntegrationTest.java:123)
> at org.infinispan.client.hotrod.ConsistentHashV2IntegrationTest.testCorrectBalancingOfKeysAfterNodeKill(ConsistentHashV2IntegrationTest.java:178)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[TestSuiteProgress] Tests succeeded: 1485, failed: 1, skipped: 0
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years
[JBoss JIRA] (ISPN-12322) GetAllCommandNodeCrashTest.test random failures
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-12322?page=com.atlassian.jira.plugi... ]
Dan Berindei updated ISPN-12322:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/8689
* Ignore StateTransferCancelCommand
* Remove the StateTransferLock mock, since it wasn't clear
what command was supposed to trigger it
* Explicitly assert that the command is retried only once
> GetAllCommandNodeCrashTest.test random failures
> -----------------------------------------------
>
> Key: ISPN-12322
> URL: https://issues.redhat.com/browse/ISPN-12322
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Test Suite
> Affects Versions: 12.0.0.Dev03
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Critical
> Labels: testsuite_stability
> Fix For: 12.0.0.Dev04
>
>
> E.g. https://ci.infinispan.org/job/Infinispan/job/master/2329/testReport/org.i...
> {noformat}
> org.infinispan.test.TestException: java.util.concurrent.ExecutionException: java.lang.AssertionError: Expecting a org.infinispan.commands.remote.ClusteredGetAllCommand, got StateTransferCancelCommand{topologyId=11, segments={23-33 80-81 85-95 99-101 130-152 211-244}, cacheName=defaultcache}
> at org.infinispan.util.ControlledRpcManager.uncheckedGet(ControlledRpcManager.java:264)
> at org.infinispan.util.ControlledRpcManager.expectCommand(ControlledRpcManager.java:130)
> at org.infinispan.commands.GetAllCommandNodeCrashTest.test(GetAllCommandNodeCrashTest.java:72)
> at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: java.util.concurrent.ExecutionException: java.lang.AssertionError: Expecting a org.infinispan.commands.remote.ClusteredGetAllCommand, got StateTransferCancelCommand{topologyId=11, segments={23-33 80-81 85-95 99-101 130-152 211-244}, cacheName=defaultcache}
> at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
> at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2022)
> at org.infinispan.util.ControlledRpcManager.uncheckedGet(ControlledRpcManager.java:262)
> ... 25 more
> Caused by: java.lang.AssertionError: Expecting a org.infinispan.commands.remote.ClusteredGetAllCommand, got StateTransferCancelCommand{topologyId=11, segments={23-33 80-81 85-95 99-101 130-152 211-244}, cacheName=defaultcache}
> at org.infinispan.util.ControlledRpcManager.lambda$expectCommandAsync$1(ControlledRpcManager.java:171)
> at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642)
> at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
> at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
> at org.infinispan.util.ControlledRpcManager.performRequest(ControlledRpcManager.java:212)
> at org.infinispan.util.ControlledRpcManager.performSend(ControlledRpcManager.java:243)
> at org.infinispan.util.AbstractDelegatingRpcManager.sendTo(AbstractDelegatingRpcManager.java:98)
> at org.infinispan.statetransfer.InboundTransferTask.sendCancelCommand(InboundTransferTask.java:239)
> at org.infinispan.statetransfer.InboundTransferTask.cancelSegments(InboundTransferTask.java:204)
> at org.infinispan.statetransfer.StateConsumerImpl.cancelTransfers(StateConsumerImpl.java:1036)
> at org.infinispan.statetransfer.StateConsumerImpl$MockitoMock$455640147.cancelTransfers$accessor$4IxlNJs7(Unknown Source)
> at org.infinispan.statetransfer.StateConsumerImpl$MockitoMock$455640147$auxiliary$27syg0jr.call(Unknown Source)
> at org.mockito.internal.invocation.RealMethod$FromCallable$1.call(RealMethod.java:40)
> at org.mockito.internal.invocation.RealMethod$FromBehavior.invoke(RealMethod.java:62)
> at org.mockito.internal.invocation.InterceptedInvocation.callRealMethod(InterceptedInvocation.java:152)
> at org.mockito.internal.stubbing.answers.CallsRealMethods.answer(CallsRealMethods.java:43)
> at org.mockito.Answers.answer(Answers.java:100)
> at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:103)
> at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
> at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:35)
> at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:61)
> at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:49)
> at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptSuperCallable(MockMethodInterceptor.java:108)
> at org.infinispan.statetransfer.StateConsumerImpl$MockitoMock$455640147.cancelTransfers(Unknown Source)
> at org.infinispan.statetransfer.StateConsumerImpl.lambda$onTopologyUpdate$2(StateConsumerImpl.java:389)
> at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1106)
> at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2235)
> at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:143)
> at org.infinispan.statetransfer.StateConsumerImpl.onTopologyUpdate(StateConsumerImpl.java:351)
> at org.infinispan.statetransfer.StateConsumerImpl$MockitoMock$455640147.onTopologyUpdate$accessor$4IxlNJs7(Unknown Source)
> at org.infinispan.statetransfer.StateConsumerImpl$MockitoMock$455640147$auxiliary$mQdvDkF4.call(Unknown Source)
> at org.mockito.internal.invocation.RealMethod$FromCallable$1.call(RealMethod.java:40)
> at org.mockito.internal.invocation.RealMethod$FromBehavior.invoke(RealMethod.java:62)
> at org.mockito.internal.invocation.InterceptedInvocation.callRealMethod(InterceptedInvocation.java:152)
> at org.infinispan.commands.GetAllCommandNodeCrashTest.lambda$test$0(GetAllCommandNodeCrashTest.java:52)
> at org.mockito.internal.stubbing.StubbedInvocationMatcher.answer(StubbedInvocationMatcher.java:39)
> at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:96)
> at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
> at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:35)
> at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:61)
> at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:49)
> at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptSuperCallable(MockMethodInterceptor.java:108)
> at org.infinispan.statetransfer.StateConsumerImpl$MockitoMock$455640147.onTopologyUpdate(Unknown Source)
> at org.infinispan.statetransfer.StateTransferManagerImpl.updateProviderAndConsumer(StateTransferManagerImpl.java:207)
> at org.infinispan.statetransfer.StateTransferManagerImpl.lambda$doTopologyUpdate$0(StateTransferManagerImpl.java:194)
> at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1106)
> at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2235)
> at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:143)
> at org.infinispan.statetransfer.StateTransferManagerImpl.doTopologyUpdate(StateTransferManagerImpl.java:193)
> at org.infinispan.statetransfer.StateTransferManagerImpl.access$000(StateTransferManagerImpl.java:69)
> at org.infinispan.statetransfer.StateTransferManagerImpl$1.updateConsistentHash(StateTransferManagerImpl.java:124)
> at org.infinispan.topology.LocalTopologyManagerImpl.lambda$doHandleTopologyUpdate$12(LocalTopologyManagerImpl.java:398)
> at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1106)
> at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2235)
> at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:143)
> at org.infinispan.topology.LocalTopologyManagerImpl.doHandleTopologyUpdate(LocalTopologyManagerImpl.java:387)
> at org.infinispan.topology.LocalTopologyManagerImpl.lambda$handleTopologyUpdate$8(LocalTopologyManagerImpl.java:311)
> at org.infinispan.topology.LocalTopologyManagerImpl.lambda$orderOnCache$24(LocalTopologyManagerImpl.java:736)
> at org.infinispan.util.concurrent.ActionSequencer.safeNonBlockingCall(ActionSequencer.java:57)
> at org.infinispan.util.concurrent.ActionSequencer.access$400(ActionSequencer.java:32)
> at org.infinispan.util.concurrent.ActionSequencer$SequenceEntry.run(ActionSequencer.java:226)
> ... 3 more
> ... Removed 20 stack frames
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years
[JBoss JIRA] (ISPN-12250) Add exponential back-off for cross-site network failures
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-12250?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-12250:
-----------------------------------
Sprint: DataGrid Sprint #48, DataGrid Sprint #49 (was: DataGrid Sprint #48)
> Add exponential back-off for cross-site network failures
> --------------------------------------------------------
>
> Key: ISPN-12250
> URL: https://issues.redhat.com/browse/ISPN-12250
> Project: Infinispan
> Issue Type: Bug
> Components: Cross-Site Replication
> Affects Versions: 12.0.0.Dev02
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Priority: Major
> Fix For: 11.0.4.Final, 12.0.0.Dev04
>
>
> If the remote site doesn't exist (crash or shutdown), the IRAC algorithm keeps trying to send the updates to the remote site (until automatic take offline is triggered, when configured).
> Add an exponential backoff to avoid CPU consumption.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years
[JBoss JIRA] (ISPN-12102) Validate configuration before storing it
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-12102?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-12102:
-----------------------------------
Sprint: DataGrid Sprint #46, DataGrid Sprint #47, DataGrid Sprint #48, DataGrid Sprint #49 (was: DataGrid Sprint #46, DataGrid Sprint #47, DataGrid Sprint #48)
> Validate configuration before storing it
> ----------------------------------------
>
> Key: ISPN-12102
> URL: https://issues.redhat.com/browse/ISPN-12102
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 11.0.1.Final
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Priority: Major
> Fix For: 12.0.0.Dev04
>
>
> Although {{ConfigurationBuilder}} does some validation, sometimes it needs something more. As an example, the cross-site replication needs a running {{Transport}} to check if xsite is really supported.
> As a side effect, the console is broken when you try to define the following cache without {{RELAY2}} being present in the JGroups stack.
> {code:xml}
> <infinispan>
> <cache-container>
> <distributed-cache name="xsite">
> <backups>
> <backup site="site2"/>
> </backups>
> </distributed-cache>
> </cache-container>
> </infinispan>
> {code}
> This happens because the {{Configuration}} is stored and the {{Cache}} with the exception is stored as well.
> The fix proposed it adds a method to {{ModuleLifecyle}} where the {{Configuration}} can be validated before it is store in the "global state".
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years
[JBoss JIRA] (IPROTO-144) Upgrade to log4j2 ver. 2.13.2 and make it a test dependency only
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/IPROTO-144?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated IPROTO-144:
-----------------------------------
Sprint: DataGrid Sprint #46, DataGrid Sprint #47, DataGrid Sprint #48, DataGrid Sprint #49 (was: DataGrid Sprint #46, DataGrid Sprint #47, DataGrid Sprint #48)
> Upgrade to log4j2 ver. 2.13.2 and make it a test dependency only
> ----------------------------------------------------------------
>
> Key: IPROTO-144
> URL: https://issues.redhat.com/browse/IPROTO-144
> Project: Infinispan ProtoStream
> Issue Type: Component Upgrade
> Affects Versions: 4.3.3.Final
> Reporter: Nistor Adrian
> Assignee: Nistor Adrian
> Priority: Major
> Fix For: 4.4.0.Alpha1, 4.3.4.Final
>
>
> The real logging dependency is on jboss logging, log4j is just a back end that does not need to be exposed. Also, we need to upgrade to log4j2.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years
[JBoss JIRA] (ISPN-12177) Persist IRAC version during shutdown
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-12177?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-12177:
-----------------------------------
Sprint: DataGrid Sprint #47, DataGrid Sprint #48, DataGrid Sprint #49 (was: DataGrid Sprint #47, DataGrid Sprint #48)
> Persist IRAC version during shutdown
> ------------------------------------
>
> Key: ISPN-12177
> URL: https://issues.redhat.com/browse/ISPN-12177
> Project: Infinispan
> Issue Type: Bug
> Components: Cross-Site Replication
> Affects Versions: 11.0.1.Final
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Priority: Major
> Fix For: 12.0.0.Final
>
>
> The IRAC version is reset after a complete shutdown. It should be persisted in the global state to avoid unnecessary conflicts and/or data inconsistency.
> If the global state is disabled, the users have to deal with it.
> Also, make it possible to "compute" the version if the data is persisted and when receiving state from the remote site.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years
[JBoss JIRA] (ISPN-12184) Implicit authentication config stomps on explicit config
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-12184?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-12184:
-----------------------------------
Sprint: DataGrid Sprint #47, DataGrid Sprint #48, DataGrid Sprint #49 (was: DataGrid Sprint #47, DataGrid Sprint #48)
> Implicit authentication config stomps on explicit config
> --------------------------------------------------------
>
> Key: ISPN-12184
> URL: https://issues.redhat.com/browse/ISPN-12184
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration, Server
> Affects Versions: 12.0.0.Dev01
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 12.0.0.Dev04
>
>
> The server overwrites any explicit security configuration set on the individual protocols, including realm and mechanisms.
> If these are set explicitly, they should be respected.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years