[JBoss JIRA] (ISPN-7100) IllegalLifecycleStateException: Trying to register a component after stopping
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/ISPN-7100?page=com.atlassian.jira.plugin.... ]
Radoslav Husar reassigned ISPN-7100:
------------------------------------
Assignee: (was: Paul Ferraro)
> IllegalLifecycleStateException: Trying to register a component after stopping
> -----------------------------------------------------------------------------
>
> Key: ISPN-7100
> URL: https://issues.jboss.org/browse/ISPN-7100
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 8.2.4.Final
> Reporter: Radoslav Husar
> Priority: Minor
> Labels: infinispan_clean_shutdown
>
> Occured on server. Scenarios affected:
> eap-7x-failover-ejb-ejbremote-shutdown-dist-async
> eap-7x-failover-ejb-ejbremote-shutdown-dist-sync
> eap-7x-failover-ejb-ejbremote-shutdown-dist-sync-3owners
> eap-7x-failover-ejb-ejbremote-shutdown-dist-sync-tcpStack
> eap-7x-failover-ejb-ejbremote-shutdown-repl-sync
> eap-7x-failover-ejb-ejbservlet-shutdown-dist-async
> eap-7x-failover-ejb-ejbservlet-shutdown-repl-async
> eap-7x-failover-ejb-ejbservlet-shutdown-repl-sync
> eap-7x-failover-http-session-shutdown-dist-async
> eap-7x-failover-http-session-shutdown-dist-sync
> eap-7x-failover-http-session-shutdown-repl-async-haproxy
> Occurs after "ISPN000082: Stopping the RpcDispatcher for channel ejb" or "WFLYSRV0028: Stopped deployment clusterbench-ee7.ear":
> {code}
> 21:58:55,724 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 91) WFLYCLINF0003: Stopped client-mappings cache from ejb container
> [JBossINF] 21:58:55,726 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0208: Stopped subdeployment (runtime-name: clusterbench-ee7-web-passivating.war) in 259ms
> [JBossINF] 21:58:55,726 INFO [org.infinispan.CLUSTER] (remote-thread--p5-t43) [Context=client-mappings][Scope=dev213]ISPN100003: Finished local rebalance
> [JBossINF] 21:58:55,727 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-6) ISPN000080: Disconnecting JGroups channel ejb
> [JBossINF] 21:58:55,727 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-6) ISPN000082: Stopping the RpcDispatcher for channel ejb
> [JBossINF] 21:58:55,734 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0208: Stopped subdeployment (runtime-name: clusterbench-ee7-web-granular.war) in 267ms
> [JBossINF] 21:58:55,735 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: clusterbench-ee7-web-default.war) in 268ms
> [JBossINF] 21:58:55,735 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0028: Stopped deployment clusterbench-ee7.ear (runtime-name: clusterbench-ee7.ear) in 269ms
> [JBossINF] 21:58:55,736 WARN [org.infinispan.remoting.inboundhandler.GlobalInboundInvocationHandler] (remote-thread--p5-t9) ISPN000071: Caught exception when handling command CacheTopologyControlCommand{cache=client-mappings, type=REBALANCE_CONFIRM, sender=dev215, joinInfo=null, topologyId=29, rebalanceId=0, currentCH=null, pendingCH=null, availabilityMode=null, actualMembers=null, throwable=null, viewId=11}: org.infinispan.commons.CacheConfigurationException: Unable to configure component (type: class org.infinispan.topology.CacheTopologyControlCommand, instance CacheTopologyControlCommand{cache=client-mappings, type=REBALANCE_CONFIRM, sender=dev215, joinInfo=null, topologyId=29, rebalanceId=0, currentCH=null, pendingCH=null, availabilityMode=null, actualMembers=null, throwable=null, viewId=11})
> [JBossINF] at org.infinispan.factories.AbstractComponentRegistry.wireDependencies(AbstractComponentRegistry.java:151)
> [JBossINF] at org.infinispan.remoting.inboundhandler.GlobalInboundInvocationHandler$2.run(GlobalInboundInvocationHandler.java:157)
> [JBossINF] at org.infinispan.util.concurrent.BlockingTaskAwareExecutorServiceImpl$RunnableWrapper.run(BlockingTaskAwareExecutorServiceImpl.java:199)
> [JBossINF] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [JBossINF] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [JBossINF] at org.jboss.as.clustering.infinispan.ClassLoaderThreadFactory.lambda$newThread$0(ClassLoaderThreadFactory.java:48)
> [JBossINF] at java.lang.Thread.run(Thread.java:745)
> [JBossINF] Caused by: org.infinispan.IllegalLifecycleStateException: Trying to register a component after stopping: org.infinispan.topology.LocalTopologyManagerFactory
> [JBossINF] at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:184)
> [JBossINF] at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:171)
> [JBossINF] at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:167)
> [JBossINF] at org.infinispan.factories.AbstractComponentRegistry.createComponentFactoryInternal(AbstractComponentRegistry.java:348)
> [JBossINF] at org.infinispan.factories.AbstractComponentRegistry.getFactory(AbstractComponentRegistry.java:327)
> [JBossINF] at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:293)
> [JBossINF] at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> [JBossINF] at org.infinispan.factories.AbstractComponentRegistry.wireDependencies(AbstractComponentRegistry.java:147)
> [JBossINF] ... 6 more
> {code}
> Server logs:
> http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-7x-failover-ejb-e...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 5 months
[JBoss JIRA] (ISPN-7064) RPC to leaver times out instead of finishing immediately
by Sebastian Łaskawiec (JIRA)
[ https://issues.jboss.org/browse/ISPN-7064?page=com.atlassian.jira.plugin.... ]
Sebastian Łaskawiec updated ISPN-7064:
--------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.Final
Resolution: Done
> RPC to leaver times out instead of finishing immediately
> --------------------------------------------------------
>
> Key: ISPN-7064
> URL: https://issues.jboss.org/browse/ISPN-7064
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Test Suite - Core
> Affects Versions: 9.0.0.Alpha4, 8.2.4.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Critical
> Labels: testsuite_stability
> Fix For: 9.0.0.Beta1, 9.0.0.Final
>
> Attachments: MultipleNodesLeavingTest_ISPN-5469_async_remote_perform_20160913.log
>
>
> This causes random failures in {{ClusterTopologyManagerTest.testAbruptLeaveAfterGetStatus2}}. Node D leaves and nodes E and F start a rebalance. Then node F also leaves, but {{DISCARD}} is enabled first, so the {{CacheTopologyControlCommand(LEAVE)}} synchronous RPC blocks until node F installs a view by itself.
> {noformat}
> 14:05:17,187 INFO (Incoming-1,Test-NodeF-12732:[]) [JGroupsTransport] ISPN000094: Received new cluster view for channel ISPN: [Test-NodeE-18953|3] (2) [Test-NodeE-18953, Test-NodeF-12732]
> 14:05:17,261 TRACE (testng-Test:[]) [JGroupsTransport] dests=[Test-NodeE-18953], command=CacheTopologyControlCommand{cache=testCache, type=LEAVE, sender=Test-NodeF-12732, joinInfo=null, topologyId=0, rebalanceId=0, currentCH=null, pendingCH=null, availabilityMode=null, actualMembers=null, throwable=null, viewId=3}, mode=SYNCHRONOUS, timeout=240000
> 14:05:22,546 DEBUG (Thread-88606:[]) [GMS] Test-NodeF-12732: installing view [Test-NodeF-12732|4] (1) [Test-NodeF-12732]
> 14:05:22,589 DEBUG (testng-Test:[]) [LocalTopologyManagerImpl] Error sending the leave request for cache testCache to coordinator
> {noformat}
> Node F then cancels its inbound state transfers by sending a synchronous {{StateRequestCommand(CANCEL_STATE_TRANSFER)}} RPC to node F. This RPC sometimes hits JGRP-2103 and it only times out after 5 minutes, causing the test to fail.
> {noformat}
> 14:05:22,608 TRACE (testng-Test:[]) [JGroupsTransport] dests=[Test-NodeE-18953], command=StateRequestCommand{cache=testCache, origin=Test-NodeF-12732, type=CANCEL_STATE_TRANSFER, topologyId=7, segments=[130, 3, ...]}, mode=SYNCHRONOUS_IGNORE_LEAVERS, timeout=240000
> 14:05:22,608 TRACE (testng-Test:[]) [RequestCorrelator] Test-NodeF-12732: invoking multicast RPC [req-id=134161]
> 14:05:22,609 DEBUG (Thread-88606:[]) [JGroupsTransport] New view accepted: [Test-NodeF-12732|4] (1) [Test-NodeF-12732]
> 14:09:22,608 TRACE (timeout-thread-Test-NodeF-p48767-t1:[]) [JGroupsTransport] Responses: Responses{
> Test-NodeE-18953: sender=Test-NodeE-18953, received=false, suspected=true}
> 14:09:22,608 TRACE (timeout-thread-Test-NodeF-p48767-t1:[]) [RpcManagerImpl] Replication exception
> org.infinispan.util.concurrent.TimeoutException: Replication timeout
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$2(JGroupsTransport.java:659) ~[classes/:?]
> at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602) ~[?:1.8.0_101]
> at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577) ~[?:1.8.0_101]
> at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) [?:1.8.0_101]
> at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962) [?:1.8.0_101]
> at org.infinispan.remoting.transport.jgroups.RspListFuture.call(RspListFuture.java:47) [classes/:?]
> at org.infinispan.remoting.transport.jgroups.RspListFuture.call(RspListFuture.java:15) [classes/:?]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_101]
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_101]
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_101]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_101]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_101]
> at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
> Suppressed: org.infinispan.remoting.RpcException: Test-NodeE-18953 was suspected
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.addSuppressedExceptions(JGroupsTransport.java:707) ~[classes/:?]
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$2(JGroupsTransport.java:659) ~[classes/:?]
> at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602) ~[?:1.8.0_101]
> at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577) ~[?:1.8.0_101]
> at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) [?:1.8.0_101]
> at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962) [?:1.8.0_101]
> at org.infinispan.remoting.transport.jgroups.RspListFuture.call(RspListFuture.java:47) [classes/:?]
> at org.infinispan.remoting.transport.jgroups.RspListFuture.call(RspListFuture.java:15) [classes/:?]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_101]
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_101]
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_101]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_101]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_101]
> at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
> 14:09:22,609 DEBUG (testng-Test:[]) [InboundTransferTask] Caught an exception while cancelling state transfer for segments [130, 3, ...] from Test-NodeE-18953
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 5 months
[JBoss JIRA] (ISPN-6984) ConcurrentJoinTest random failures
by Sebastian Łaskawiec (JIRA)
[ https://issues.jboss.org/browse/ISPN-6984?page=com.atlassian.jira.plugin.... ]
Sebastian Łaskawiec updated ISPN-6984:
--------------------------------------
Fix Version/s: 9.0.0.Final
> ConcurrentJoinTest random failures
> ----------------------------------
>
> Key: ISPN-6984
> URL: https://issues.jboss.org/browse/ISPN-6984
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Test Suite - Core
> Affects Versions: 9.0.0.Alpha4
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Labels: testsuite_stability
> Fix For: 9.0.0.Beta1, 9.0.0.Final
>
>
> {{RehashTestBase.testTransactional}} changes the cache membership (in {{ConcurrentJoinTest}}, that means it starts 4 nodes) and waits for the rebalance to finish, then asserts that the keys are owned by the proper nodes.
> Waiting for the rebalance to finish is not enough, however, because entries that are no longer owned are removed asynchronously, *after* the rebalance is finished.
> {noformat}
> 12:00:20,346 TRACE (transport-thread-CJT-NodeL-p1952-t3:[Topology-dist]) [StateConsumerImpl] Received new topology for cache dist, isRebalance = false, isMember = true, topology = CacheTopology{id=11, rebalanceId=6, currentCH=PartitionerConsistentHash:DefaultConsistentHash{ns=256, owners = (8)[CJT-NodeI-14064: 34+28, CJT-NodeJ-23687: 34+32, CJT-NodeK-45647: 30+32, CJT-NodeL-44214: 29+31, CJT-NodeM-42056: 34+33, CJT-NodeN-9760: 34+36, CJT-NodeO-43833: 27+29, CJT-NodeP-5141: 34+35]}, pendingCH=null, unionCH=null, actualMembers=[CJT-NodeI-14064, CJT-NodeJ-23687, CJT-NodeK-45647, CJT-NodeL-44214, CJT-NodeM-42056, CJT-NodeN-9760, CJT-NodeO-43833, CJT-NodeP-5141], persistentUUIDs=[5dc1f506-81b5-4c26-bf9a-f1fb14d54d26, 8943aaa4-2cd1-484a-a6ba-45269e376620, b8cb3e0e-cc6d-4768-8825-8275b06b571e, 5c46f8ac-2007-4286-a64e-580fbc4308eb, 42964274-543b-4c8c-ac39-b74485124aff, cc489f64-345f-4f75-bc60-60fedba26b47, 85b51a75-d9d3-497b-8922-588f8cfa95d3, a5aca3ae-7812-45e9-acc4-392102c7d1da]}
> 12:00:20,346 TRACE (transport-thread-CJT-NodeL-p1952-t3:[Topology-dist]) [StateTransferLockImpl] Signalling topology 11 is installed
> 12:00:20,372 DEBUG (transport-thread-CJT-NodeJ-p1808-t3:[Topology-dist]) [StateConsumerImpl] Removing no longer owned entries for cache dist
> 12:00:20,451 ERROR (testng-CJT:[]) [TestSuiteProgress] Test failed: org.infinispan.distribution.rehash.CJT.testTransactional
> java.lang.AssertionError: Fail on non-owner cache CJT-NodeJ-23687: dc.get(MagicKey#k2{58/0399D54B/204@CJT-NodeJ-23687}) returned ImmortalCacheEntry{key=MagicKey#k2{58/0399D54B/204@CJT-NodeJ-23687}, value=v2}!
> at org.infinispan.distribution.BaseDistFunctionalTest.assertOwnershipAndNonOwnership(BaseDistFunctionalTest.java:192) ~[test-classes/:?]
> at org.infinispan.distribution.rehash.RehashTestBase.testTransactional(RehashTestBase.java:143) ~[test-classes/:?]
> 12:00:20,459 TRACE (transport-thread-CJT-NodeJ-p1808-t3:[Topology-dist]) [InvalidateCommand] Invalidating keys [MagicKey#k2{58/0399D54B/204@CJT-NodeJ-23687}]
> 12:00:20,465 TRACE (transport-thread-CJT-NodeJ-p1808-t3:[Topology-dist]) [ReadCommittedEntry] Updating entry (key=MagicKey#k2{58/0399D54B/204@CJT-NodeJ-23687} removed=true valid=false changed=true created=false value=v2 metadata=EmbeddedMetadata{version=null}, providedMetadata=null)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 5 months
[JBoss JIRA] (ISPN-6984) ConcurrentJoinTest random failures
by Sebastian Łaskawiec (JIRA)
[ https://issues.jboss.org/browse/ISPN-6984?page=com.atlassian.jira.plugin.... ]
Sebastian Łaskawiec updated ISPN-6984:
--------------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> ConcurrentJoinTest random failures
> ----------------------------------
>
> Key: ISPN-6984
> URL: https://issues.jboss.org/browse/ISPN-6984
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Test Suite - Core
> Affects Versions: 9.0.0.Alpha4
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Labels: testsuite_stability
> Fix For: 9.0.0.Beta1, 9.0.0.Final
>
>
> {{RehashTestBase.testTransactional}} changes the cache membership (in {{ConcurrentJoinTest}}, that means it starts 4 nodes) and waits for the rebalance to finish, then asserts that the keys are owned by the proper nodes.
> Waiting for the rebalance to finish is not enough, however, because entries that are no longer owned are removed asynchronously, *after* the rebalance is finished.
> {noformat}
> 12:00:20,346 TRACE (transport-thread-CJT-NodeL-p1952-t3:[Topology-dist]) [StateConsumerImpl] Received new topology for cache dist, isRebalance = false, isMember = true, topology = CacheTopology{id=11, rebalanceId=6, currentCH=PartitionerConsistentHash:DefaultConsistentHash{ns=256, owners = (8)[CJT-NodeI-14064: 34+28, CJT-NodeJ-23687: 34+32, CJT-NodeK-45647: 30+32, CJT-NodeL-44214: 29+31, CJT-NodeM-42056: 34+33, CJT-NodeN-9760: 34+36, CJT-NodeO-43833: 27+29, CJT-NodeP-5141: 34+35]}, pendingCH=null, unionCH=null, actualMembers=[CJT-NodeI-14064, CJT-NodeJ-23687, CJT-NodeK-45647, CJT-NodeL-44214, CJT-NodeM-42056, CJT-NodeN-9760, CJT-NodeO-43833, CJT-NodeP-5141], persistentUUIDs=[5dc1f506-81b5-4c26-bf9a-f1fb14d54d26, 8943aaa4-2cd1-484a-a6ba-45269e376620, b8cb3e0e-cc6d-4768-8825-8275b06b571e, 5c46f8ac-2007-4286-a64e-580fbc4308eb, 42964274-543b-4c8c-ac39-b74485124aff, cc489f64-345f-4f75-bc60-60fedba26b47, 85b51a75-d9d3-497b-8922-588f8cfa95d3, a5aca3ae-7812-45e9-acc4-392102c7d1da]}
> 12:00:20,346 TRACE (transport-thread-CJT-NodeL-p1952-t3:[Topology-dist]) [StateTransferLockImpl] Signalling topology 11 is installed
> 12:00:20,372 DEBUG (transport-thread-CJT-NodeJ-p1808-t3:[Topology-dist]) [StateConsumerImpl] Removing no longer owned entries for cache dist
> 12:00:20,451 ERROR (testng-CJT:[]) [TestSuiteProgress] Test failed: org.infinispan.distribution.rehash.CJT.testTransactional
> java.lang.AssertionError: Fail on non-owner cache CJT-NodeJ-23687: dc.get(MagicKey#k2{58/0399D54B/204@CJT-NodeJ-23687}) returned ImmortalCacheEntry{key=MagicKey#k2{58/0399D54B/204@CJT-NodeJ-23687}, value=v2}!
> at org.infinispan.distribution.BaseDistFunctionalTest.assertOwnershipAndNonOwnership(BaseDistFunctionalTest.java:192) ~[test-classes/:?]
> at org.infinispan.distribution.rehash.RehashTestBase.testTransactional(RehashTestBase.java:143) ~[test-classes/:?]
> 12:00:20,459 TRACE (transport-thread-CJT-NodeJ-p1808-t3:[Topology-dist]) [InvalidateCommand] Invalidating keys [MagicKey#k2{58/0399D54B/204@CJT-NodeJ-23687}]
> 12:00:20,465 TRACE (transport-thread-CJT-NodeJ-p1808-t3:[Topology-dist]) [ReadCommittedEntry] Updating entry (key=MagicKey#k2{58/0399D54B/204@CJT-NodeJ-23687} removed=true valid=false changed=true created=false value=v2 metadata=EmbeddedMetadata{version=null}, providedMetadata=null)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 5 months
[JBoss JIRA] (ISPN-6977) NumOwnersNodeCrashInSequenceTest random failures
by Sebastian Łaskawiec (JIRA)
[ https://issues.jboss.org/browse/ISPN-6977?page=com.atlassian.jira.plugin.... ]
Sebastian Łaskawiec updated ISPN-6977:
--------------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> NumOwnersNodeCrashInSequenceTest random failures
> ------------------------------------------------
>
> Key: ISPN-6977
> URL: https://issues.jboss.org/browse/ISPN-6977
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.0.0.Alpha4, 8.2.4.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Critical
> Labels: testsuite_stability
> Fix For: 9.0.0.Beta1, 9.0.0.Final
>
>
> The test (and {{NumOwnersNodeStopInSequenceTest}} as well) uses {{StateSequencerUtil.advanceOnInboundRpc()}}, which replaces the {{PerCacheInboundInvocationHandler}} and rewires all the components.
> The problem is that rewiring {{StateConsumerImpl}} causes it to create a new {{SemaphoreCompletionService}}, but there's no synchronization when reading the field, a "background" task could finish on another thread and release the permit on the old {{SemaphoreCompletionService}} instance.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 5 months
[JBoss JIRA] (ISPN-6977) NumOwnersNodeCrashInSequenceTest random failures
by Sebastian Łaskawiec (JIRA)
[ https://issues.jboss.org/browse/ISPN-6977?page=com.atlassian.jira.plugin.... ]
Sebastian Łaskawiec updated ISPN-6977:
--------------------------------------
Fix Version/s: 9.0.0.Final
> NumOwnersNodeCrashInSequenceTest random failures
> ------------------------------------------------
>
> Key: ISPN-6977
> URL: https://issues.jboss.org/browse/ISPN-6977
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.0.0.Alpha4, 8.2.4.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Critical
> Labels: testsuite_stability
> Fix For: 9.0.0.Beta1, 9.0.0.Final
>
>
> The test (and {{NumOwnersNodeStopInSequenceTest}} as well) uses {{StateSequencerUtil.advanceOnInboundRpc()}}, which replaces the {{PerCacheInboundInvocationHandler}} and rewires all the components.
> The problem is that rewiring {{StateConsumerImpl}} causes it to create a new {{SemaphoreCompletionService}}, but there's no synchronization when reading the field, a "background" task could finish on another thread and release the permit on the old {{SemaphoreCompletionService}} instance.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 5 months
[JBoss JIRA] (ISPN-6983) ThreeNodesSplitAndMergeTest random failures
by Sebastian Łaskawiec (JIRA)
[ https://issues.jboss.org/browse/ISPN-6983?page=com.atlassian.jira.plugin.... ]
Sebastian Łaskawiec updated ISPN-6983:
--------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.Final
Resolution: Done
> ThreeNodesSplitAndMergeTest random failures
> -------------------------------------------
>
> Key: ISPN-6983
> URL: https://issues.jboss.org/browse/ISPN-6983
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Test Suite - Core
> Affects Versions: 9.0.0.Alpha4
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Labels: testsuite_stability
> Fix For: 9.0.0.Beta1, 9.0.0.Final
>
>
> When merging the partitions, the stable topology is updated last. So when the merge is done and the cache is balanced, we cannot assume that the stable topology was updated already:
> {noformat}
> 10:31:19,576 INFO (remote-thread-TNRSAMT-NodeD-p47035-t6:[___defaultcache]) [CLUSTER] ISPN000336: Finished cluster-wide rebalance for cache ___defaultcache, topology id = 12
> 10:31:19,578 DEBUG (remote-thread-TNRSAMT-NodeD-p47035-t6:[___defaultcache]) [ClusterTopologyManagerImpl] Updating cluster-wide current topology for cache ___defaultcache, topology = CacheTopology{id=13, rebalanceId=5, currentCH=ReplicatedConsistentHash{ns = 256, owners = (3)[TNRSAMT-NodeD-51650: 82, TNRSAMT-NodeF-19367: 90, TNRSAMT-NodeE-56471: 84]}, pendingCH=null, unionCH=null, actualMembers=[TNRSAMT-NodeD-51650, TNRSAMT-NodeF-19367, TNRSAMT-NodeE-56471], persistentUUIDs=[2ce986af-9b26-4b1b-9b0c-bdd51fc591d3, ebe7eef6-3916-4061-b6f7-ce4fb35253f1, 8f6ef9d0-c5a8-4ac2-af54-4c7d07726f83]}, availability mode = AVAILABLE
> 10:31:19,579 DEBUG (remote-thread-TNRSAMT-NodeD-p47035-t6:[___defaultcache]) [ClusterTopologyManagerImpl] Updating cluster-wide stable topology for cache ___defaultcache, topology = CacheTopology{id=13, rebalanceId=5, currentCH=ReplicatedConsistentHash{ns = 256, owners = (3)[TNRSAMT-NodeD-51650: 82, TNRSAMT-NodeF-19367: 90, TNRSAMT-NodeE-56471: 84]}, pendingCH=null, unionCH=null, actualMembers=[TNRSAMT-NodeD-51650, TNRSAMT-NodeF-19367, TNRSAMT-NodeE-56471], persistentUUIDs=[2ce986af-9b26-4b1b-9b0c-bdd51fc591d3, ebe7eef6-3916-4061-b6f7-ce4fb35253f1, 8f6ef9d0-c5a8-4ac2-af54-4c7d07726f83]}
> 10:31:19,579 TRACE (transport-thread-TNRSAMT-NodeD-p47037-t3:[Topology-___defaultcache]) [LocalTopologyManagerImpl] Updating stable topology for cache ___defaultcache: CacheTopology{id=13, rebalanceId=5, currentCH=ReplicatedConsistentHash{ns = 256, owners = (3)[TNRSAMT-NodeD-51650: 82, TNRSAMT-NodeF-19367: 90, TNRSAMT-NodeE-56471: 84]}, pendingCH=null, unionCH=null, actualMembers=[TNRSAMT-NodeD-51650, TNRSAMT-NodeF-19367, TNRSAMT-NodeE-56471], persistentUUIDs=[2ce986af-9b26-4b1b-9b0c-bdd51fc591d3, ebe7eef6-3916-4061-b6f7-ce4fb35253f1, 8f6ef9d0-c5a8-4ac2-af54-4c7d07726f83]}
> 10:31:19,581 TRACE (OOB-2,TNRSAMT-NodeE-56471:[]) [GlobalInboundInvocationHandler] Attempting to execute non-CacheRpcCommand: CacheTopologyControlCommand{cache=___defaultcache, type=CH_UPDATE, sender=TNRSAMT-NodeD-51650, joinInfo=null, topologyId=13, rebalanceId=5, currentCH=ReplicatedConsistentHash{ns = 256, owners = (3)[TNRSAMT-NodeD-51650: 82, TNRSAMT-NodeF-19367: 90, TNRSAMT-NodeE-56471: 84]}, pendingCH=null, availabilityMode=AVAILABLE, actualMembers=[TNRSAMT-NodeD-51650, TNRSAMT-NodeF-19367, TNRSAMT-NodeE-56471], throwable=null, viewId=15} [sender=TNRSAMT-NodeD-51650]
> 10:31:19,590 TRACE (OOB-2,TNRSAMT-NodeE-56471:[]) [GlobalInboundInvocationHandler] Attempting to execute non-CacheRpcCommand: CacheTopologyControlCommand{cache=___defaultcache, type=STABLE_TOPOLOGY_UPDATE, sender=TNRSAMT-NodeD-51650, joinInfo=null, topologyId=13, rebalanceId=5, currentCH=ReplicatedConsistentHash{ns = 256, owners = (3)[TNRSAMT-NodeD-51650: 82, TNRSAMT-NodeF-19367: 90, TNRSAMT-NodeE-56471: 84]}, pendingCH=null, availabilityMode=null, actualMembers=[TNRSAMT-NodeD-51650, TNRSAMT-NodeF-19367, TNRSAMT-NodeE-56471], throwable=null, viewId=15} [sender=TNRSAMT-NodeD-51650]
> 10:31:19,591 ERROR (testng-TNRSAMT:[]) [TestSuiteProgress] Test failed: org.infinispan.partitionhandling.TNRSAMT.testSplitAndMerge1
> java.lang.AssertionError: Sets differ: expected [TNRSAMT-NodeD-51650, TNRSAMT-NodeE-56471, TNRSAMT-NodeF-19367] but got [TNRSAMT-NodeD-51650, TNRSAMT-NodeF-19367]
> at org.testng.Assert.fail(Assert.java:94) ~[testng-6.8.8.jar:?]
> at org.testng.Assert.assertEquals(Assert.java:806) ~[testng-6.8.8.jar:?]
> at org.testng.Assert.assertEquals(Assert.java:784) ~[testng-6.8.8.jar:?]
> at org.infinispan.partitionhandling.TNRSAMT.testSplitAndMerge(ThreeNodesSplitAndMergeTest.java:106) ~[test-classes/:?]
> at org.infinispan.partitionhandling.TNRSAMT.testSplitAndMerge1(ThreeNodesSplitAndMergeTest.java:29) ~[test-classes/:?]
> 10:31:19,595 TRACE (transport-thread-TNRSAMT-NodeF-p47149-t1:[Topology-___defaultcache]) [LocalTopologyManagerImpl] Updating stable topology for cache ___defaultcache: CacheTopology{id=13, rebalanceId=5, currentCH=ReplicatedConsistentHash{ns = 256, owners = (3)[TNRSAMT-NodeD-51650: 82, TNRSAMT-NodeF-19367: 90, TNRSAMT-NodeE-56471: 84]}, pendingCH=null, unionCH=null, actualMembers=[TNRSAMT-NodeD-51650, TNRSAMT-NodeF-19367, TNRSAMT-NodeE-56471], persistentUUIDs=[2ce986af-9b26-4b1b-9b0c-bdd51fc591d3, ebe7eef6-3916-4061-b6f7-ce4fb35253f1, 8f6ef9d0-c5a8-4ac2-af54-4c7d07726f83]}
> 10:31:19,596 TRACE (transport-thread-TNRSAMT-NodeE-p47049-t6:[Topology-___defaultcache]) [LocalTopologyManagerImpl] Updating stable topology for cache ___defaultcache: CacheTopology{id=13, rebalanceId=5, currentCH=ReplicatedConsistentHash{ns = 256, owners = (3)[TNRSAMT-NodeD-51650: 82, TNRSAMT-NodeF-19367: 90, TNRSAMT-NodeE-56471: 84]}, pendingCH=null, unionCH=null, actualMembers=[TNRSAMT-NodeD-51650, TNRSAMT-NodeF-19367, TNRSAMT-NodeE-56471], persistentUUIDs=[2ce986af-9b26-4b1b-9b0c-bdd51fc591d3, ebe7eef6-3916-4061-b6f7-ce4fb35253f1, 8f6ef9d0-c5a8-4ac2-af54-4c7d07726f83]}
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 5 months