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

SegmentsExperienceServiceTest and SegmentsExperienceLocalServiceTest failures

    Description

    The following tests are failing:

    • SegmentsExperienceLocalServiceTest#testAddSegmentsExperiencesWithTheSameSegmentsEntry
    • SegmentsExperienceLocalServiceTest#testDeleteSegmentsExperienceWithMidrangePriority
    • SegmentsExperienceLocalServiceTest#testMoveSegmentsExperienceToValidPosition
    • SegmentsExperienceServiceTest#testGetSegmentsExperiencesCountWithViewPermission
    • SegmentsExperienceServiceTest#testGetSegmentsExperiencesCountWithoutViewPermission
    • SegmentsExperienceServiceTest#testGetSegmentsExperiencesCountWithoutViewPermissionAndWithUpdateLayoutPermission
    • SegmentsExperienceServiceTest#testGetSegmentsExperiencesWithViewPermission
    • SegmentsExperienceServiceTest#testGetSegmentsExperiencesWithoutViewPermission
    • SegmentsExperienceServiceTest#testGetSegmentsExperiencesWithoutViewPermissionAndWithUpdateLayoutPermission

    Possible commit range

    Sample log snippet

         [exec] com.liferay.segments.service.test.SegmentsExperienceServiceTest > testGetSegmentsExperiencesCountWithViewPermission STARTED
         [exec] 
         [exec] 09:02:13,940 ERROR [com.liferay.segments.test-executor-thread][JDBCExceptionReporter:234] ORA-00001: unique constraint (LPORTAL.IX_B8F358EB) violated
         [exec] 
         [exec] ORA-00001: unique constraint (LPORTAL.IX_B8F358EB) violated
         [exec] 
         [exec] 09:02:13,942 ERROR [com.liferay.segments.test-executor-thread][JDBCExceptionReporter:234] ORA-00001: unique constraint (LPORTAL.IX_B8F358EB) violated
         [exec] 
         [exec] ORA-00001: unique constraint (LPORTAL.IX_B8F358EB) violated
         [exec] 
         [exec] 09:02:14,607 ERROR [com.liferay.segments.test-executor-thread][JDBCExceptionReporter:234] ORA-00001: unique constraint (LPORTAL.IX_B8F358EB) violated
         [exec] 
         [exec] ORA-00001: unique constraint (LPORTAL.IX_B8F358EB) violated
         [exec] 
         [exec] 09:02:14,607 ERROR [com.liferay.segments.test-executor-thread][JDBCExceptionReporter:234] ORA-00001: unique constraint (LPORTAL.IX_B8F358EB) violated
         [exec] 
         [exec] ORA-00001: unique constraint (LPORTAL.IX_B8F358EB) violated
         [exec] 
         [exec] 09:02:15,285 ERROR [com.liferay.segments.test-executor-thread][JDBCExceptionReporter:234] ORA-00001: unique constraint (LPORTAL.IX_B8F358EB) violated
         [exec] 
         [exec] ORA-00001: unique constraint (LPORTAL.IX_B8F358EB) violated
         [exec] 
         [exec] 09:02:15,286 ERROR [com.liferay.segments.test-executor-thread][JDBCExceptionReporter:234] ORA-00001: unique constraint (LPORTAL.IX_B8F358EB) violated
         [exec] 
         [exec] ORA-00001: unique constraint (LPORTAL.IX_B8F358EB) violated
         [exec] 
         [exec] 
         [exec] > Task :apps:segments:segments-test:testIntegration
         [exec] 
         [exec] com.liferay.segments.service.test.SegmentsExperienceServiceTest > testGetSegmentsExperiencesCountWithViewPermission FAILED
         [exec]     org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
         [exec]         at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96)
         [exec]         at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
         [exec]         at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
         [exec]         at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268)
         [exec]         at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)
         [exec]         at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
         [exec]         at com.liferay.portal.dao.orm.hibernate.event.NestableFlushEventListener.onFlush(NestableFlushEventListener.java:61)
         [exec]         at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
         [exec]         at com.liferay.portal.spring.hibernate.PortletTransactionManager$TransactionStatusWrapper.reset(PortletTransactionManager.java:260)
         [exec]         at com.liferay.portal.spring.hibernate.PortletTransactionManager.commit(PortletTransactionManager.java:63)
         [exec]         at com.liferay.portal.spring.transaction.DefaultTransactionExecutor._commit(DefaultTransactionExecutor.java:89)
         [exec]         at com.liferay.portal.spring.transaction.DefaultTransactionExecutor._execute(DefaultTransactionExecutor.java:136)
         [exec]         at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:51)
         [exec]         at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:62)
         [exec]         at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
         [exec]         at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:60)
         [exec]         at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
         [exec]         at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
         [exec]         at com.sun.proxy.$Proxy1314.addSegmentsExperience(Unknown Source)
         [exec]         at com.liferay.segments.service.SegmentsExperienceLocalServiceUtil.addSegmentsExperience(SegmentsExperienceLocalServiceUtil.java:49)
         [exec]         at com.liferay.segments.test.util.SegmentsTestUtil.addSegmentsExperience(SegmentsTestUtil.java:148)
         [exec]         at com.liferay.segments.test.util.SegmentsTestUtil.addSegmentsExperience(SegmentsTestUtil.java:160)
         [exec]         at com.liferay.segments.service.test.SegmentsExperienceServiceTest.testGetSegmentsExperiencesCountWithViewPermission(SegmentsExperienceServiceTest.java:305)
         [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
         [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:218)
         [exec]         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
         [exec]         at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)
         [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
         [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
         [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
         [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
         [exec]         at java.lang.Thread.run(Thread.java:745)
         [exec] 
         [exec]         Caused by:
         [exec]         java.sql.BatchUpdateException: ORA-00001: unique constraint (LPORTAL.IX_B8F358EB) violated
         [exec]             at oracle.jdbc.driver.OraclePreparedStatement.executeLargeBatch(OraclePreparedStatement.java:10032)
         [exec]             at oracle.jdbc.driver.T4CPreparedStatement.executeLargeBatch(T4CPreparedStatement.java:1364)
         [exec]             at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:9839)
         [exec]             at oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:234)
         [exec]             at com.zaxxer.hikari.pool.ProxyStatement.executeBatch(ProxyStatement.java:125)
         [exec]             at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeBatch(HikariProxyPreparedStatement.java)
         [exec]             at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
         [exec]             at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
         [exec]             ... 49 more
    

      Attachments

        Activity

          People

          • Assignee:
            timothy.pak Timothy Pak
            Reporter:
            timothy.pak Timothy Pak
            Participants of an Issue:
            Recent user:
            Clarissa Velazquez
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

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

              Packages

              Version Package
              7.2.10 DXP FP2
              7.2.10.1 DXP SP1
              Master