[
https://issues.apache.org/jira/browse/GEODE-9929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17487361#comment-17487361
]
Hale Bales commented on GEODE-9929:
-----------------------------------
Removing needsTriage label as this is not a release blocker.
What I found was that `testTXCreationAndCleanupAtCommit` calls `doBasicChecks`.
In this there is a callable that attempts to pause the transaction through the
manager, but the returned `TXStateProxy` is null. The call to
`TXManagerImpl.pauseTransaction()` that should return a `TXStateProxy` calls
`internalSuspend(bool)`. In this method we call `getTXState()` but receive a
null result instead of a `TXStateProxy`. `getTXState()` can return null if the
`TXStateProxy` on the context is null; if the `TXStateProxy` is Paused; or if
the `TXStateProxy` is does not have any transactions in progress. As I was
never able to reproduce the failure after thousands of runs, I do not know
which of these cases has resulted in the error.
Given all that, this seems like a timing issue in the test, and an infrequent
one at that. This timing issue is unlikely to affect users, and is therefore
not of high enough priority to be a 1.15 release blocker.
> testTXCreationAndCleanupAtCommit when running RemoteTransactionDUnitTest
> ------------------------------------------------------------------------
>
> Key: GEODE-9929
> URL: https://issues.apache.org/jira/browse/GEODE-9929
> Project: Geode
> Issue Type: Bug
> Affects Versions: 1.14.3
> Reporter: Kristen
> Priority: Major
>
> org.apache.geode.internal.cache.RemoteTransactionDUnitTest >
> testTXCreationAndCleanupAtCommit FAILED
> org.apache.geode.test.dunit.RMIException: While invoking
> org.apache.geode.internal.cache.RemoteTransactionDUnitTest$8.call in VM 0
> running on Host 9acb6806d25d with 4 VMs
> at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:631)
> at org.apache.geode.test.dunit.VM.invoke(VM.java:473)
> at
> org.apache.geode.internal.cache.RemoteTransactionDUnitTest.doBasicChecks(RemoteTransactionDUnitTest.java:590)
> at
> org.apache.geode.internal.cache.RemoteTransactionDUnitTest.testTXCreationAndCleanupAtCommit(RemoteTransactionDUnitTest.java:565)
> Caused by:
> java.lang.AssertionError
> at org.junit.Assert.fail(Assert.java:87)
> at org.junit.Assert.assertTrue(Assert.java:42)
> at org.junit.Assert.assertNotNull(Assert.java:713)
> at org.junit.Assert.assertNotNull(Assert.java:723)
> at
> org.apache.geode.internal.cache.RemoteTransactionDUnitTest$8.call(RemoteTransactionDUnitTest.java:595)
> org.apache.geode.test.dunit.RMIException: While invoking
> org.apache.geode.internal.cache.RemoteTransactionDUnitTest$2.call in VM 1
> running on Host 9acb6806d25d with 4 VMs
> at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:631)
> at org.apache.geode.test.dunit.VM.invoke(VM.java:473)
> at org.apache.geode.test.dunit.Invoke.invokeInEveryVM(Invoke.java:121)
> at org.apache.geode.test.dunit.Invoke.invokeInEveryVM(Invoke.java:109)
> at
> org.apache.geode.internal.cache.RemoteTransactionDUnitTest.preTearDownCacheTestCase(RemoteTransactionDUnitTest.java:182)
> Caused by:
> java.lang.AssertionError: Event never occurred after 30000 ms:
> at org.junit.Assert.fail(Assert.java:89)
> at
> org.apache.geode.test.dunit.Wait.waitForCriterion(Wait.java:144)
> at
> org.apache.geode.internal.cache.RemoteTransactionDUnitTest$2.call(RemoteTransactionDUnitTest.java:149)
> 8838 tests completed, 1 failed, 458 skipped
--
This message was sent by Atlassian Jira
(v8.20.1#820001)