jPOS icon indicating copy to clipboard operation
jPOS copied to clipboard

Remove persistent-space from TransactionManagerTestCase.

Open jameshilliard opened this issue 4 years ago • 3 comments

This doesn't appear to be used and sometimes causes test failures.

jameshilliard avatar Mar 09 '21 23:03 jameshilliard

Can you show us which test error you are experiencing? It could be a good opportunity to fix an evasive bug.

ar avatar Mar 10 '21 00:03 ar

This test: https://github.com/jpos/jPOS/pull/402/checks?check_run_id=2070940240

jameshilliard avatar Mar 10 '21 00:03 jameshilliard

Seems this is where it starts:

2021-03-09T22:17:15.9825130Z TransactionManagerTestCase > testFastAbort() STANDARD_ERROR
2021-03-09T22:17:15.9828593Z     Exception in thread "SystemMonitor" com.sleepycat.je.ThreadInterruptedException: (JE 18.3.12) txnmgrtest java.lang.InterruptedException THREAD_INTERRUPTED: InterruptedException may cause incorrect internal state, unable to continue. Environment is invalid and must be closed.
2021-03-09T22:17:15.9832089Z     	at com.sleepycat.je.latch.SharedLatchImpl.acquireShared(SharedLatchImpl.java:109)
2021-03-09T22:17:15.9835332Z     	at com.sleepycat.je.txn.TxnManager.registerTxn(TxnManager.java:213)
2021-03-09T22:17:15.9837852Z     	at com.sleepycat.je.txn.Txn.initTxn(Txn.java:399)
2021-03-09T22:17:15.9839479Z     	at com.sleepycat.je.txn.Txn.<init>(Txn.java:288)
2021-03-09T22:17:15.9841291Z     	at com.sleepycat.je.txn.Txn.<init>(Txn.java:267)
2021-03-09T22:17:15.9843086Z     	at com.sleepycat.je.txn.Txn.createLocalTxn(Txn.java:294)
2021-03-09T22:17:15.9844466Z     	at com.sleepycat.je.txn.Txn.createUserTxn(Txn.java:316)
2021-03-09T22:17:15.9858985Z     	at com.sleepycat.je.txn.TxnManager.txnBegin(TxnManager.java:199)
2021-03-09T22:17:15.9862447Z     	at com.sleepycat.je.dbi.EnvironmentImpl.txnBegin(EnvironmentImpl.java:2540)
2021-03-09T22:17:15.9864613Z     	at com.sleepycat.je.Environment.beginTransactionInternal(Environment.java:1498)
2021-03-09T22:17:15.9866408Z     	at com.sleepycat.je.Environment.beginTransaction(Environment.java:1383)
2021-03-09T22:17:15.9867706Z     	at org.jpos.space.JESpace.dump(JESpace.java:558)
2021-03-09T22:17:15.9868718Z     	at org.jpos.util.NameRegistrar.dump(NameRegistrar.java:153)
2021-03-09T22:17:15.9870392Z     	at org.jpos.q2.qbean.SystemMonitor.generateFrozenDump(SystemMonitor.java:241)
2021-03-09T22:17:15.9871944Z     	at org.jpos.q2.qbean.SystemMonitor.run(SystemMonitor.java:124)
2021-03-09T22:17:15.9872993Z     	at java.base/java.lang.Thread.run(Thread.java:844)
2021-03-09T22:17:15.9895422Z     Caused by: java.lang.InterruptedException
2021-03-09T22:17:15.9898135Z     	at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1365)
2021-03-09T22:17:15.9902059Z     	at java.base/java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.tryLock(ReentrantReadWriteLock.java:882)
2021-03-09T22:17:15.9904339Z     	at com.sleepycat.je.latch.SharedLatchImpl.acquireShared(SharedLatchImpl.java:103)
2021-03-09T22:17:15.9910057Z     	... 15 more

jameshilliard avatar Mar 10 '21 00:03 jameshilliard