[infinispan-issues] [JBoss JIRA] (ISPN-8305) PessimisticTxPartitionAndMergeDuringPrepareTest.testPrimaryOwnerIsolatedPartitionWithDiscard[DIST_SYNC] randomly failing

Dan Berindei (Jira) issues at jboss.org
Mon Nov 5 04:27:00 EST 2018


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

Dan Berindei commented on ISPN-8305:
------------------------------------

The current failure is different, more directly related to ISPN-8232:

{noformat}
00:23:49,734 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed: org.infinispan.partitionhandling.OptimisticTxPartitionAndMergeDuringCommitTest.testPrimaryOwnerIsolatedPartition[DIST_SYNC, DENY_READ_WRITES]
java.lang.AssertionError: There are pending transactions!
	at org.testng.AssertJUnit.fail(AssertJUnit.java:59) ~[testng-6.9.9.jar:?]
	at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:24) ~[testng-6.9.9.jar:?]
	at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:249) ~[test-classes/:?]
	at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:389) ~[test-classes/:?]
	at org.infinispan.test.MultipleCacheManagersTest.assertNoTransactions(MultipleCacheManagersTest.java:894) ~[test-classes/:?]
	at org.infinispan.partitionhandling.BaseTxPartitionAndMergeTest.finalAsserts(BaseTxPartitionAndMergeTest.java:101) ~[test-classes/:?]
	at org.infinispan.partitionhandling.BaseOptimisticTxPartitionAndMergeTest.doTest(BaseOptimisticTxPartitionAndMergeTest.java:84) ~[test-classes/:?]
	at org.infinispan.partitionhandling.OptimisticTxPartitionAndMergeDuringCommitTest.testPrimaryOwnerIsolatedPartition(OptimisticTxPartitionAndMergeDuringCommitTest.java:47) ~[test-classes/:?]
{noformat}


> PessimisticTxPartitionAndMergeDuringPrepareTest.testPrimaryOwnerIsolatedPartitionWithDiscard[DIST_SYNC] randomly failing
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISPN-8305
>                 URL: https://issues.jboss.org/browse/ISPN-8305
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 9.1.0.Final
>            Reporter: Galder Zamarreño
>            Assignee: Dan Berindei
>            Priority: Major
>              Labels: testsuite_stability
>             Fix For: 9.1.1.Final
>
>
> Dan said it could be related to ISPN-8232 (Dan had not seen failures since ISPN-6997)
> {code}
> Error Message
> Expected key 'MagicKey#k1{151C/F56895B4/127 at PessimisticTxPartitionAndMergeDuringPrepareTest[DIST_SYNC]-NodeB-47561}' to be locked on cache 'Cache 'pes-cache'@PessimisticTxPartitionAndMergeDuringPrepareTest[DIST_SYNC]-NodeB-47561'
> Stacktrace
>       java.lang.AssertionError: Expected key 'MagicKey#k1{151C/F56895B4/127 at PessimisticTxPartitionAndMergeDuringPrepareTest[DIST_SYNC]-NodeB-47561}' to be locked on cache 'Cache 'pes-cache'@PessimisticTxPartitionAndMergeDuringPrepareTest[DIST_SYNC]-NodeB-47561'
> 	at org.infinispan.test.AbstractCacheTest.assertLocked(AbstractCacheTest.java:77)
> 	at org.infinispan.partitionhandling.PessimisticTxPartitionAndMergeDuringPrepareTest.checkLocksDuringPartition(PessimisticTxPartitionAndMergeDuringPrepareTest.java:75)
> 	at org.infinispan.partitionhandling.BasePessimisticTxPartitionAndMergeTest.doTest(BasePessimisticTxPartitionAndMergeTest.java:79)
> 	at org.infinispan.partitionhandling.PessimisticTxPartitionAndMergeDuringPrepareTest.testPrimaryOwnerIsolatedPartitionWithDiscard(PessimisticTxPartitionAndMergeDuringPrepareTest.java:41)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> 	at java.lang.Thread.run(Thread.java:748)
> ... Removed 18 stack frames{code}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the infinispan-issues mailing list