Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-104529

BatchEngineImportTaskExecutorTest.java failing on PostgreSQL

    Description

    https://testray.liferay.com/home/-/testray/subtasks/870691081

    ERROR [com.liferay.batch.engine.test-executor-thread][BatchEngineImportTaskExecutorImpl:90] Unable to update batch engine task {mvccVersion=1, uuid=7017249e-aa3e-2c60-8ed4-c1ebd743aec2, batchEngineImportTaskId=14, companyId=20096, userId=40185, createDate=Tue Nov 12 15:10:56 GMT 2019, modifiedDate=Tue Nov 12 15:10:56 GMT 2019, batchSize=10, callbackURL=, className=com.liferay.headless.delivery.dto.v1_0.BlogPosting, contentType=JSON, endTime=null, errorMessage=, executeStatus=STARTED, fieldNameMapping={}, operation=DELETE, parameters={}, startTime=Tue Nov 12 15:10:56 GMT 2019, version=v1.0}
        [junit] org.postgresql.util.PSQLException: Large Objects may not be used in auto-commit mode.
        [junit] 	at org.postgresql.largeobject.LargeObjectManager.open(LargeObjectManager.java:262)
        [junit] 	at org.postgresql.largeobject.LargeObjectManager.open(LargeObjectManager.java:248)
        [junit] 	at org.postgresql.jdbc.AbstractBlobClob.getLo(AbstractBlobClob.java:272)
        [junit] 	at org.postgresql.jdbc.AbstractBlobClob.getBinaryStream(AbstractBlobClob.java:116)
        [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        [junit] 	at java.lang.reflect.Method.invoke(Method.java:498)
        [junit] 	at org.hibernate.engine.jdbc.SerializableBlobProxy.invoke(SerializableBlobProxy.java:74)
        [junit] 	at com.sun.proxy.$Proxy1018.getBinaryStream(Unknown Source)
        [junit] 	at com.liferay.batch.engine.internal.reader.BatchEngineImportTaskItemReaderFactory.create(BatchEngineImportTaskItemReaderFactory.java:44)
        [junit] 	at com.liferay.batch.engine.internal.BatchEngineImportTaskExecutorImpl._execute(BatchEngineImportTaskExecutorImpl.java:165)
        [junit] 	at com.liferay.batch.engine.internal.BatchEngineImportTaskExecutorImpl.execute(BatchEngineImportTaskExecutorImpl.java:75)
        [junit] 	at com.liferay.batch.engine.internal.test.BatchEngineImportTaskExecutorTest._importBlogPostings(BatchEngineImportTaskExecutorTest.java:740)
        [junit] 	at com.liferay.batch.engine.internal.test.BatchEngineImportTaskExecutorTest.testDeleteBlogPostingsFromJSONFile(BatchEngineImportTaskExecutorTest.java:277)
        [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        [junit] 	at java.lang.reflect.Method.invoke(Method.java:498)
        [junit] 	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:234)
        [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
        [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
        [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
        [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
        [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
        [junit] 	at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)
        [junit] 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
        [junit] 	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)
        [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
        [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
        [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
        [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
        [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
        [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
        [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
        [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
        [junit] 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
        [junit] 	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
        [junit] 	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
        [junit] 	at java.lang.Thread.run(Thread.java:745)
    

      Attachments

        Activity

          People

          • Assignee:
            victor.ware Victor Ware
            Reporter:
            joshua.itagaki Joshua Itagaki
            Participants of an Issue:
            Recent user:
            Brian Wulbern
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Days since last comment:
              3 weeks, 4 days ago

              Packages

              Version Package