[infinispan-issues] [JBoss JIRA] (ISPN-3364) Tests from org.infinispan.atomic package fail with AssertionError

William Burns (JIRA) jira-events at lists.jboss.org
Tue Nov 26 17:02:08 EST 2013


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

William Burns commented on ISPN-3364:
-------------------------------------

I was finally able to reproduce this in a way that I could debug to see what is going on.  And needless to say that hasn't even helped.

In testing the ReplDeltaAwarePassivationTest I was able to narrow the culprit down to a single line where things were not working.

In BoundedConcurrentHashMap:1719 it is finally assigning the new entry to the array.  For some reason this affects both the DataContainer and the DummyInMemoryCacheStore entries maps and ends up removing the additional element.  Looking at all the references between the dc and store there is nothing shared in the map and doesn't make much sense as to why this occurs.  I have tried changing the hash maps that are used in both the DataContainer and DummyStore to use different implementations respectively but it hasn't change the outcome either.

I haven't been able to reproduce the LocalDeltaAwarePassivationTest issue yet as it only is reproducible in a full maven run with all the tests.
                
> Tests from org.infinispan.atomic package fail with AssertionError
> -----------------------------------------------------------------
>
>                 Key: ISPN-3364
>                 URL: https://issues.jboss.org/browse/ISPN-3364
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core API
>    Affects Versions: 6.0.0.Alpha1
>         Environment: RHEL5_x86, RHEL5_x86_64, RHEL6_x86, RHEL5_x86_64 with IBM JDK7
>            Reporter: Vitalii Chepeliuk
>            Assignee: William Burns
>              Labels: 620
>         Attachments: LocalDeltaAwarePassivationTest.log.zip, ReplDeltaAwarePassivationTest.log.zip
>
>
> Following tests fail from org.infinispan.atomic package
> org.infinispan.atomic.LocalDeltaAwarePassivationTest.testAtomicMap
> org.infinispan.atomic.LocalDeltaAwarePassivationTest.testDeltaAware
> org.infinispan.atomic.LocalDeltaAwarePassivationTest.testFineGrainedAtomicMap
> org.infinispan.atomic.ReplDeltaAwarePassivationTest.testAtomicMap
> org.infinispan.atomic.ReplDeltaAwarePassivationTest.testAtomicMap2
> org.infinispan.atomic.ReplDeltaAwarePassivationTest.testDeltaAware
> org.infinispan.atomic.ReplDeltaAwarePassivationTest.testDeltaAware2
> org.infinispan.atomic.ReplDeltaAwarePassivationTest.testFineGrainedAtomicMap
> org.infinispan.atomic.ReplDeltaAwarePassivationTest.testFineGrainedAtomicMap2
> Add link on jenkins job https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JDG/view/FUNC/job/edg-60-ispn-testsuite-rhel/jdk=ibm17,label_exp=RHEL5_x86_64/166/testReport/org.infinispan.atomic/

--
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