[infinispan-issues] [JBoss JIRA] (ISPN-2522) The org.infinispan.statetransfer.StateTransferCacheLoaderFunctionalTest (StateTransferFunctionTest) tests fail periodically
Dan Berindei (JIRA)
issues at jboss.org
Thu Jul 10 07:01:27 EDT 2014
[ https://issues.jboss.org/browse/ISPN-2522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983834#comment-12983834 ]
Dan Berindei commented on ISPN-2522:
------------------------------------
Found a small problem in the test: Infinispan registers with the TM as a synchronization, and the commit is one-phase (because locking mode is pessimistic). The TM swallows any errors in the after completion method, and it looks like there was a problem with the state transfer when in fact the prepare timed out:
{noformat}
ERROR [InvocationContextInterceptor] (WriterThread,StateTransferFunctionalTest-NodeQ-45640:) ISPN000136: Execution errororg.infinispan.util.concurrent.TimeoutException: Timed out after 30 seconds waiting for a response from StateTransferFunctionalTest-NodeR-39004
at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.processCalls(CommandAwareRpcDispatcher.java:432)
at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommands(CommandAwareRpcDispatcher.java:130)
at org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:529)
at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:280)
at org.infinispan.interceptors.distribution.TxDistributionInterceptor.prepareOnAffectedNodes(TxDistributionInterceptor.java:214)
at org.infinispan.interceptors.distribution.TxDistributionInterceptor.visitPrepareCommand(TxDistributionInterceptor.java:198)
{noformat}
The prepare probably timed out because it was blocked waiting for the transaction data for the new topology to be received, but there are no trace logs to confirm that.
> The org.infinispan.statetransfer.StateTransferCacheLoaderFunctionalTest (StateTransferFunctionTest) tests fail periodically
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-2522
> URL: https://issues.jboss.org/browse/ISPN-2522
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Test Suite - Core
> Reporter: Anna Manukyan
> Assignee: Dan Berindei
> Labels: testsuite_stability
>
> The following tests of org.infinispan.statetransfer.StateTransferCacheLoaderFunctionalTest class are failing periodically during JDG 6.1.0.ER3 build testing:
> org.infinispan.statetransfer.StateTransferCacheLoaderFunctionalTest.testSTWithWritingNonTxThread
> org.infinispan.statetransfer.StateTransferCacheLoaderFunctionalTest.testSTWithWritingTxThread
> You can find the failure logs here:
> http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/edg-60-ispn-testsuite-rhel/48/jdk=java17_default,label=RHEL6_x86_64/testReport/org.infinispan.statetransfer/StateTransferCacheLoaderFunctionalTest/testSTWithWritingNonTxThread/?auto_refresh=false
> http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/edg-60-ispn-testsuite-rhel/48/jdk=java17_default,label=RHEL6_x86_64/testReport/org.infinispan.statetransfer/StateTransferCacheLoaderFunctionalTest/testSTWithWritingTxThread/
> http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/edg-60-ispn-testsuite-rhel/47/jdk=java17_default,label=RHEL6_x86_64/testReport/org.infinispan.statetransfer/StateTransferCacheLoaderFunctionalTest/testSTWithWritingNonTxThread/?auto_refresh=false
> http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/edg-60-ispn-testsuite-rhel/47/jdk=java17_default,label=RHEL6_x86_64/testReport/org.infinispan.statetransfer/StateTransferCacheLoaderFunctionalTest/testSTWithWritingTxThread/
> The same issue happens to org.infinispan.statetranser.StateTransferFunctionTest tests(the parent test class).
> http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/edg-60-ispn-testsuite-rhel/47/jdk=java17_default,label=RHEL6_x86_64/testReport/org.infinispan.statetransfer/StateTransferFunctionalTest/testSTWithWritingTxThread/
> http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/edg-60-ispn-testsuite-rhel/47/jdk=java17_default,label=RHEL6_x86_64/testReport/org.infinispan.statetransfer/StateTransferFunctionalTest/testSTWithWritingNonTxThread/
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the infinispan-issues
mailing list