]
Tristan Tarrant closed ISPN-4512.
---------------------------------
Resolution: Out of Date
CacheManagerTest.testCacheManagerRestartReusingConfigurations random
failures
-----------------------------------------------------------------------------
Key: ISPN-4512
URL:
https://issues.jboss.org/browse/ISPN-4512
Project: Infinispan
Issue Type: Bug
Components: Core, Test Suite - Core
Affects Versions: 7.0.0.Alpha4
Reporter: Dan Berindei
Assignee: William Burns
Priority: Blocker
Labels: testsuite_stability
Attachments:
CacheManagerTest_t_ISPN-4154_failing_elasticity_test_20140707.log.gz
When a new cache manager is started with the same configuration, it uses the
JGroupsTransport instance. In some rare cases, the JGroupsTransport keeps using the old
marshaller, which doesn't work, and the cache fails to start:
{noformat}
23:54:08,203 TRACE (testng-CacheManagerTest:___defaultcache) [JGroupsTransport]
dests=[NodeB-24139], command=CacheTopologyControlCommand{cache=___defaultcache, type=JOIN,
sender=NodeA-33664,
joinInfo=CacheJoinInfo{consistentHashFactory=org.infinispan.distribution.ch.impl.ReplicatedConsistentHashFactory@b8c8791,
hashFunction=MurmurHash3, numSegments=60, numOwners=2, timeout=240000, totalOrder=false,
distributed=false}, topologyId=0, currentCH=null, pendingCH=null, throwable=null,
viewId=3}, mode=SYNCHRONOUS, timeout=240000
23:54:08,207 DEBUG (testng-CacheManagerTest:___defaultcache) [VersionAwareMarshaller]
Object is not serializable
java.io.NotSerializableException: org.infinispan.topology.CacheTopologyControlCommand
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:890)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111)
at
org.infinispan.commons.marshall.jboss.AbstractJBossMarshaller.objectToObjectStream(AbstractJBossMarshaller.java:73)
at
org.infinispan.marshall.core.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:77)
at
org.infinispan.commons.marshall.AbstractMarshaller.objectToBuffer(AbstractMarshaller.java:41)
at
org.infinispan.commons.marshall.AbstractDelegatingMarshaller.objectToBuffer(AbstractDelegatingMarshaller.java:85)
at
org.infinispan.remoting.transport.jgroups.MarshallerAdapter.objectToBuffer(MarshallerAdapter.java:23)
at
org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.marshallCall(CommandAwareRpcDispatcher.java:335)
at
org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.processSingleCall(CommandAwareRpcDispatcher.java:352)
at
org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommand(CommandAwareRpcDispatcher.java:165)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:526)
at
org.infinispan.topology.LocalTopologyManagerImpl.executeOnCoordinator(LocalTopologyManagerImpl.java:290)
at
org.infinispan.topology.LocalTopologyManagerImpl.join(LocalTopologyManagerImpl.java:100)
at
org.infinispan.statetransfer.StateTransferManagerImpl.start(StateTransferManagerImpl.java:104)
{noformat}
The only test that does this is
CacheManagerTest.testCacheManagerRestartReusingConfigurations.