[infinispan-issues] [JBoss JIRA] (ISPN-6444) AsyncReplExtendedStatisticTest.testReplace random failures

Dan Berindei (JIRA) issues at jboss.org
Tue Mar 29 10:16:00 EDT 2016


Dan Berindei created ISPN-6444:
----------------------------------

             Summary: AsyncReplExtendedStatisticTest.testReplace random failures
                 Key: ISPN-6444
                 URL: https://issues.jboss.org/browse/ISPN-6444
             Project: Infinispan
          Issue Type: Bug
          Components: Test Suite - Core
    Affects Versions: 8.2.0.Final
            Reporter: Dan Berindei
            Assignee: Pedro Ruivo
            Priority: Critical
             Fix For: 9.0.0.Alpha1


The prepare command from {{testRemoveUnexistingEntry}} can execute during the next test method, {{testReplace}}, causing random failures.

{noformat}
16:32:39,725 TRACE (testng-AsyncReplExtendedStatisticTest:[___defaultcache]) [InvocationContextInterceptor] Invoked with command PrepareCommand {modifications=[RemoveCommand{key=key_1, value=null, flags=[], valueMatcher=MATCH_ALWAYS}], onePhaseCommit=true, retried=false, gtx=GlobalTx:NodeA-13326:391, cacheName='___defaultcache', topologyId=-1} and InvocationContext [org.infinispan.context.impl.LocalTxInvocationContext at 242fb621]
16:32:39,757 INFO  (testng-AsyncReplExtendedStatisticTest:[]) [UnitTestTestNGListener] Test testRemoveUnexistingEntry(org.infinispan.stats.simple.AsyncReplExtendedStatisticTest) succeeded.
16:32:39,758 INFO  (testng-AsyncReplExtendedStatisticTest:[]) [UnitTestTestNGListener] Starting test testReplace(org.infinispan.stats.simple.AsyncReplExtendedStatisticTest)
16:32:39,759 TRACE (testng-AsyncReplExtendedStatisticTest:[___defaultcache]) [ReadCommittedEntry] Updating entry (key=key_1 removed=false valid=true changed=true created=true value=value_1 metadata=EmbeddedExpirableMetadata{lifespan=-1, maxIdle=-1, version=null}, providedMetadata=null)
16:32:39,771 TRACE (Incoming-1,NodeB-13809:[___defaultcache]) [InvocationContextInterceptor] Invoked with command PrepareCommand {modifications=[RemoveCommand{key=key_1, value=null, flags=[], valueMatcher=MATCH_ALWAYS}], onePhaseCommit=true, retried=false, gtx=GlobalTx:NodeA-13326:391, cacheName='___defaultcache', topologyId=2} and InvocationContext [org.infinispan.context.impl.RemoteTxInvocationContext at 7c97b3fd]
16:32:39,778 TRACE (Incoming-1,NodeB-13809:[___defaultcache]) [ReadCommittedEntry] Updating entry (key=key_1 removed=true valid=false changed=true created=false value=value_1 metadata=EmbeddedMetadata{version=null}, providedMetadata=null)
16:32:39,786 TRACE (Incoming-1,NodeA-13326:[___defaultcache]) [ReadCommittedEntry] Updating entry (key=key_1 removed=false valid=true changed=true created=true value=value_1 metadata=EmbeddedExpirableMetadata{lifespan=-1, maxIdle=-1, version=null}, providedMetadata=null)
16:32:49,853 ERROR (testng-AsyncReplExtendedStatisticTest:[]) [UnitTestTestNGListener] Test testReplace(org.infinispan.stats.simple.AsyncReplExtendedStatisticTest) failed.
java.lang.AssertionError: 
	at org.testng.AssertJUnit.fail(AssertJUnit.java:59) ~[testng-6.8.8.jar:?]
	at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:24) ~[testng-6.8.8.jar:?]
	at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:170) ~[infinispan-core-9.0.0-SNAPSHOT-tests.jar:9.0.0-SNAPSHOT]
	at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:152) ~[infinispan-core-9.0.0-SNAPSHOT-tests.jar:9.0.0-SNAPSHOT]
	at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:128) ~[infinispan-core-9.0.0-SNAPSHOT-tests.jar:9.0.0-SNAPSHOT]
	at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:462) ~[infinispan-core-9.0.0-SNAPSHOT-tests.jar:9.0.0-SNAPSHOT]
	at org.infinispan.test.MultipleCacheManagersTest.assertEventuallyEquals(MultipleCacheManagersTest.java:586) ~[infinispan-core-9.0.0-SNAPSHOT-tests.jar:9.0.0-SNAPSHOT]
	at org.infinispan.stats.BaseClusteredExtendedStatisticTest.assertCacheValue(BaseClusteredExtendedStatisticTest.java:307) ~[test-classes/:?]
	at org.infinispan.stats.BaseClusteredExtendedStatisticTest.testReplace(BaseClusteredExtendedStatisticTest.java:208) ~[test-classes/:?]
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list