[
https://issues.jboss.org/browse/ISPN-8525?page=com.atlassian.jira.plugin....
]
Dan Berindei commented on ISPN-8525:
------------------------------------
The problem seems to be the test waits for topology changes on *any* cache, and the new
CONFIG cache means some states are entered twice:
{noformat}
01:18:21,783 TRACE (transport-thread-Test-NodeA-p23499-t6:[]) [ClusterTopologyManagerImpl]
Attempting to execute command on self:
CacheTopologyControlCommand{cache=org.infinispan.CONFIG, type=CH_UPDATE,
sender=Test-NodeA-15588, joinInfo=null, topologyId=5, rebalanceId=2,
currentCH=ReplicatedConsistentHash{ns = 256, owners = (2)[Test-NodeA-15588: 133,
Test-NodeB-54731: 123]}, pendingCH=null, availabilityMode=AVAILABLE, phase=NO_REBALANCE,
actualMembers=[Test-NodeA-15588, Test-NodeB-54731], throwable=null, viewId=1}
01:18:21,785 TRACE (transport-thread-Test-NodeA-p23499-t6:[org.infinispan.CONFIG])
[StateSequencer] Waiting for states [st:resume_get_transactions] to enter
st:block_ch_update_on_0
01:18:21,838 TRACE (transport-thread-Test-NodeA-p23499-t6:[org.infinispan.CONFIG])
[StateSequencer] Entering state st:block_ch_update_on_0
01:18:21,842 TRACE (transport-thread-Test-NodeA-p23499-t6:[org.infinispan.CONFIG])
[StateSequencer] Exiting state st:block_ch_update_on_0
01:18:22,289 TRACE (transport-thread-Test-NodeA-p23499-t5:[]) [ClusterTopologyManagerImpl]
Attempting to execute command on self: CacheTopologyControlCommand{cache=testCache,
type=CH_UPDATE, sender=Test-NodeA-15588, joinInfo=null, topologyId=5, rebalanceId=2,
currentCH=DefaultConsistentHash{ns=256, owners = (2)[Test-NodeA-15588: 133+123,
Test-NodeB-54731: 123+133]}, pendingCH=null, availabilityMode=AVAILABLE,
phase=NO_REBALANCE, actualMembers=[Test-NodeA-15588, Test-NodeB-54731], throwable=null,
viewId=1}
01:18:22,291 TRACE (transport-thread-Test-NodeA-p23499-t5:[testCache]) [StateSequencer]
Entering state st:block_ch_update_on_0
01:18:22,293 TRACE (transport-thread-Test-NodeA-p23499-t5:[testCache]) [StateSequencer]
Exiting state st:block_ch_update_on_0
01:18:22,296 WARN (transport-thread-Test-NodeA-p23499-t5:[testCache])
[CacheTopologyControlCommand] ISPN000071: Caught exception when handling command
CacheTopologyControlCommand{cache=testCache, type=CH_UPDATE, sender=Test-NodeA-15588,
joinInfo=null, topologyId=5, rebalanceId=2, currentCH=DefaultConsistentHash{ns=256, owners
= (2)[Test-NodeA-15588: 133+123, Test-NodeB-54731: 123+133]}, pendingCH=null,
availabilityMode=AVAILABLE, phase=NO_REBALANCE, actualMembers=[Test-NodeA-15588,
Test-NodeB-54731], throwable=null, viewId=1}
java.lang.IllegalStateException: State st:block_ch_update_on_0 exited twice
at org.infinispan.test.concurrent.StateSequencer.exit(StateSequencer.java:242)
~[test-classes/:?]
at org.infinispan.test.concurrent.StateSequencer.advance(StateSequencer.java:316)
~[test-classes/:?]
at
org.infinispan.test.concurrent.StateSequencerUtil.advanceMultiple(StateSequencerUtil.java:103)
~[test-classes/:?]
at
org.infinispan.test.concurrent.GlobalComponentSequencerAction$ProxyInvocationHandler.invoke(GlobalComponentSequencerAction.java:100)
~[test-classes/:?]
at com.sun.proxy.$Proxy95.handleTopologyUpdate(Unknown Source) ~[?:?]
at
org.infinispan.topology.CacheTopologyControlCommand.doPerform(CacheTopologyControlCommand.java:197)
~[classes/:?]
at
org.infinispan.topology.CacheTopologyControlCommand.invokeAsync(CacheTopologyControlCommand.java:166)
~[classes/:?]
at org.infinispan.commands.ReplicableCommand.invoke(ReplicableCommand.java:44)
~[classes/:?]
at
org.infinispan.topology.ClusterTopologyManagerImpl.lambda$executeOnClusterAsync$7(ClusterTopologyManagerImpl.java:635)
~[classes/:?]
{noformat}
StaleLocksWithLockOnlyTxDuringStateTransferTest.testSync failing
randomly
-------------------------------------------------------------------------
Key: ISPN-8525
URL:
https://issues.jboss.org/browse/ISPN-8525
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.2.0.Alpha2
Reporter: Galder ZamarreƱo
Assignee: Dan Berindei
Labels: testsuite_stability
http://ci.infinispan.org/job/Infinispan/job/PR-5556/17/
org.infinispan.statetransfer.StaleLocksWithLockOnlyTxDuringStateTransferTest.testSync
{code}
Error Message
Timed out waiting for rebalancing to complete on node
StaleLocksWithLockOnlyTxDuringStateTransferTest-NodeA-8365, expected member list is
[StaleLocksWithLockOnlyTxDuringStateTransferTest-NodeA-8365,
StaleLocksWithLockOnlyTxDuringStateTransferTest-NodeB-9821], current member list is
[StaleLocksWithLockOnlyTxDuringStateTransferTest-NodeA-8365]!
Stacktrace
java.lang.RuntimeException: Timed out waiting for rebalancing to complete on node
StaleLocksWithLockOnlyTxDuringStateTransferTest-NodeA-8365, expected member list is
[StaleLocksWithLockOnlyTxDuringStateTransferTest-NodeA-8365,
StaleLocksWithLockOnlyTxDuringStateTransferTest-NodeB-9821], current member list is
[StaleLocksWithLockOnlyTxDuringStateTransferTest-NodeA-8365]!
at org.infinispan.test.TestingUtil.waitForNoRebalance(TestingUtil.java:385)
at org.infinispan.test.TestingUtil.waitForNoRebalance(TestingUtil.java:421)
at
org.infinispan.statetransfer.StaleLocksWithLockOnlyTxDuringStateTransferTest.testSync(StaleLocksWithLockOnlyTxDuringStateTransferTest.java:102)
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)
... Removed 16 stack frames
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)