solomax commented on PR #144:
URL: https://github.com/apache/openjpa/pull/144#issuecomment-4476720952
Dockerized tests in postgres 11 fails:
```
[ERROR] Errors:
[ERROR]
TestInputStreamLob>AbstractPersistenceTestCase.run:212->AbstractPersistenceTestCase.runBare:552->AbstractPersistenceTestCase.runBare:576->AbstractPersistenceTestCase.runTest:589->AbstractLobTest.testDataCache:221
» Rollback The transaction has been rolled back. See the nested exceptions
for details on the errors that occurred.
[ERROR]
TestInputStreamLob>AbstractPersistenceTestCase.run:212->AbstractPersistenceTestCase.runBare:552->AbstractPersistenceTestCase.runBare:576->AbstractPersistenceTestCase.runTest:589->AbstractLobTest.testDelete:156->AbstractLobTest.insert:73
» Rollback The transaction has been rolled back. See the nested exceptions
for details on the errors that occurred.
[ERROR]
TestInputStreamLob>AbstractPersistenceTestCase.run:212->AbstractPersistenceTestCase.runBare:552->AbstractPersistenceTestCase.runBare:576->AbstractPersistenceTestCase.runTest:589->AbstractLobTest.testInsert:78->AbstractLobTest.insert:73
» Rollback The transaction has been rolled back. See the nested exceptions
for details on the errors that occurred.
[ERROR]
TestInputStreamLob>AbstractPersistenceTestCase.run:212->AbstractPersistenceTestCase.runBare:552->AbstractPersistenceTestCase.runBare:576->AbstractPersistenceTestCase.runTest:589->AbstractLobTest.testInsertAndSelect:83->AbstractLobTest.insert:73
» Rollback The transaction has been rolled back. See the nested exceptions
for details on the errors that occurred.
[ERROR]
TestInputStreamLob>AbstractPersistenceTestCase.run:212->AbstractPersistenceTestCase.runBare:552->AbstractPersistenceTestCase.runBare:576->AbstractPersistenceTestCase.runTest:589->AbstractLobTest.testLifeCycleInsertFlushModify:176
» Persistence The transaction has been rolled back. See the nested exceptions
for details on the errors that occurred.
[ERROR]
TestInputStreamLob>AbstractPersistenceTestCase.run:212->AbstractPersistenceTestCase.runBare:552->AbstractPersistenceTestCase.runBare:576->AbstractPersistenceTestCase.runTest:589->AbstractLobTest.testLifeCycleLoadFlushModifyFlush:183->AbstractLobTest.insert:73
» Rollback The transaction has been rolled back. See the nested exceptions
for details on the errors that occurred.
[ERROR]
TestInputStreamLob>AbstractPersistenceTestCase.run:212->AbstractPersistenceTestCase.runBare:552->AbstractPersistenceTestCase.runBare:576->AbstractPersistenceTestCase.runTest:589->AbstractLobTest.testReadingMultipleTimesWithASingleConnection:196->AbstractLobTest.insert:73
» Rollback The transaction has been rolled back. See the nested exceptions
for details on the errors that occurred.
[ERROR]
TestInputStreamLob>AbstractPersistenceTestCase.run:212->AbstractPersistenceTestCase.runBare:552->AbstractPersistenceTestCase.runBare:576->AbstractPersistenceTestCase.runTest:589->AbstractLobTest.testSetFlushAndReset:256
» Persistence The transaction has been rolled back. See the nested exceptions
for details on the errors that occurred.
[ERROR]
TestInputStreamLob>AbstractPersistenceTestCase.run:212->AbstractPersistenceTestCase.runBare:552->AbstractPersistenceTestCase.runBare:576->AbstractPersistenceTestCase.runTest:589->AbstractLobTest.testSetResetAndFlush:240
» Persistence The transaction has been rolled back. See the nested exceptions
for details on the errors that occurred.
[ERROR]
TestInputStreamLob>AbstractPersistenceTestCase.run:212->AbstractPersistenceTestCase.runBare:552->AbstractPersistenceTestCase.runBare:576->AbstractPersistenceTestCase.runTest:589->AbstractLobTest.testUpdate:106->AbstractLobTest.insert:73
» Rollback The transaction has been rolled back. See the nested exceptions
for details on the errors that occurred.
[ERROR]
TestInputStreamLob>AbstractPersistenceTestCase.run:212->AbstractPersistenceTestCase.runBare:552->AbstractPersistenceTestCase.runBare:576->AbstractPersistenceTestCase.runTest:589->AbstractLobTest.testUpdateANullObjectWithoutNull:145
» Rollback The transaction has been rolled back. See the nested exceptions
for details on the errors that occurred.
[ERROR]
TestInputStreamLob>AbstractPersistenceTestCase.run:212->AbstractPersistenceTestCase.runBare:552->AbstractPersistenceTestCase.runBare:576->AbstractPersistenceTestCase.runTest:589->AbstractLobTest.testUpdateWithNull:123->AbstractLobTest.insert:73
» Rollback The transaction has been rolled back. See the nested exceptions
for details on the errors that occurred.
[INFO]
[ERROR] Tests run: 3603, Failures: 0, Errors: 12, Skipped: 0
```
with stacktrace like this:
```
[ERROR]
org.apache.openjpa.jdbc.meta.strats.TestInputStreamLob.testLifeCycleInsertFlushModify
-- Time elapsed: 0.104 s <<< ERROR!
<openjpa-4.2.0-SNAPSHOT-r6871746 fatal general error>
org.apache.openjpa.persistence.PersistenceException: The transaction has been
rolled back. See the nested exceptions for details on the errors that occurred.
at
org.apache.openjpa.kernel.BrokerImpl.newFlushException(BrokerImpl.java:2471)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2306)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2197)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1960)
at
org.apache.openjpa.kernel.DelegatingBroker.flush(DelegatingBroker.java:1161)
at
org.apache.openjpa.persistence.EntityManagerImpl.flush(EntityManagerImpl.java:1047)
at
org.apache.openjpa.jdbc.meta.strats.AbstractLobTest.testLifeCycleInsertFlushModify(AbstractLobTest.java:176)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at junit.framework.TestCase.runTest(TestCase.java:177)
at
org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.runTest(AbstractPersistenceTestCase.java:589)
at junit.framework.TestCase.runBare(TestCase.java:142)
at
org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.runBare(AbstractPersistenceTestCase.java:576)
at
org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.runBare(AbstractPersistenceTestCase.java:552)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at
org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.run(AbstractPersistenceTestCase.java:212)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at
org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: <openjpa-4.2.0-SNAPSHOT-r6871746 fatal general error>
org.apache.openjpa.persistence.PersistenceException: Exception flushing output
stream
at
org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:5524)
at
org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:5484)
at
org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:134)
at
org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:107)
at
org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:59)
at
org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.populateRowManager(AbstractUpdateManager.java:190)
at
org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:100)
at
org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:81)
at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:762)
at
org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:146)
at
org.apache.openjpa.datacache.DataCacheStoreManager.flush(DataCacheStoreManager.java:675)
at
org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:146)
... 31 more
Caused by: org.postgresql.util.PSQLException: Exception flushing output
stream
at org.postgresql.largeobject.LargeObject.close(LargeObject.java:176)
at
org.apache.openjpa.jdbc.sql.PostgresDictionary.insertPostgresBlob(PostgresDictionary.java:854)
at
org.apache.openjpa.jdbc.sql.PostgresDictionary.insertBlobForStreamingLoad(PostgresDictionary.java:833)
at
org.apache.openjpa.jdbc.meta.strats.LobFieldStrategy.insert(LobFieldStrategy.java:107)
at
org.apache.openjpa.jdbc.meta.FieldMapping.insert(FieldMapping.java:652)
at
org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.insert(AbstractUpdateManager.java:243)
at
org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.populateRowManager(AbstractUpdateManager.java:170)
... 37 more
Caused by: java.io.IOException: Can not flush large object 16,611
at
org.postgresql.largeobject.BlobOutputStream.flush(BlobOutputStream.java:217)
at org.postgresql.largeobject.LargeObject.close(LargeObject.java:174)
... 43 more
Caused by: org.postgresql.util.PSQLException: This large object has been
closed.
at
org.postgresql.largeobject.LargeObject.checkClosed(LargeObject.java:85)
at org.postgresql.largeobject.LargeObject.write(LargeObject.java:256)
at
org.postgresql.largeobject.BlobOutputStream.flush(BlobOutputStream.java:212)
... 44 more
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]