[infinispan-issues] [JBoss JIRA] (ISPN-3944) DistSyncL1RepeatableReadFuncTest.testNoEntryInL1GetWithConcurrentReplace random failures

William Burns (JIRA) issues at jboss.org
Tue Jan 28 12:09:28 EST 2014


    [ https://issues.jboss.org/browse/ISPN-3944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12939365#comment-12939365 ] 

William Burns commented on ISPN-3944:
-------------------------------------

This is caused due to the following:

* Previous test performs a get which sends 2 ClusteredGetCommands.
* Backup owner responds with value and test completes (primary hasn't received yet)
* New test starts with cleared data
* Test does a put of the key into the cache (put sends no L1 invalidations since no requestors)
* ClusteredGet arrives at primary owner and registers requestor
* Put gets to L1LastChanceInterceptor and sends L1 Invalidation asynchronously
* Test performs get to retrieve value from owners
* L1 invalidation arrives at node and causes the L1 to not persist.

Technically this is a test failure and the production code is fine.  However to make tests easier we decided to change L1LastChanceInterceptor to be synchronous for non tx caches as well.  L1LastChanceInterceptor should not fire often and as such this shouldn't cause barely any noticeable impact if any.
                
> DistSyncL1RepeatableReadFuncTest.testNoEntryInL1GetWithConcurrentReplace random failures
> ----------------------------------------------------------------------------------------
>
>                 Key: ISPN-3944
>                 URL: https://issues.jboss.org/browse/ISPN-3944
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core, Test Suite - Core
>    Affects Versions: 6.0.1.Final
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>              Labels: testsuite_stability
>             Fix For: 7.0.0.Final
>
>         Attachments: dsl1rrft.log.gz
>
>
> Random failure in DistSyncL1RepeatableReadFuncTest>DistSyncL1FuncTest.testNoEntryInL1GetWithConcurrentReplace:
> {noformat}
> 00:23:34,658 ERROR (testng-DistSyncL1RepeatableReadFuncTest:) [UnitTestTestNGListener] Test testNoEntryInL1GetWithConcurrentReplace(org.infinispan.distribution.DistSyncL1RepeatableReadFuncTest) failed.
> java.lang.AssertionError: Entry for key [key-to-the-cache] should be in L1 on cache at [NodeA-57647]!
> 	at org.infinispan.distribution.DistributionTestHelper.assertIsInL1(DistributionTestHelper.java:31)
> 	at org.infinispan.distribution.BaseDistFunctionalTest.assertIsInL1(BaseDistFunctionalTest.java:183)
> 	at org.infinispan.distribution.DistSyncL1FuncTest.testNoEntryInL1GetWithConcurrentReplace(DistSyncL1FuncTest.java:193)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list