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

Duplicate entry IX_8BD6BCA7 on kaleo upgrade

    Details

      Description

      Occurs randomly on upgrade and integration test runs

          [junit] 19:33:17,101 ERROR [Portal Dependency Manager Component Executor--1][JDBCExceptionReporter:234] Duplicate entry 'com.liferay.portal.workflow.kaleo.designer.web' for key 'IX_8BD6BCA7'
          [junit] 19:33:17,106 INFO  [main][UpgradeProcess:96] Upgrading com.liferay.portal.workflow.kaleo.designer.web.internal.upgrade.v1_0_1.UpgradeKaleoDefinitionVersion
          [junit] 19:33:17,132 ERROR [Portal Dependency Manager Component Executor--1][UpgradeStepRegistratorTracker:179] Failed upgrade process for module com.liferay.portal.workflow.kaleo.designer.web
          [junit] org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into Release_ (mvccVersion, createDate, modifiedDate, servletContextName, schemaVersion, buildNumber, buildDate, verified, state_, testString, releaseId) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
          [junit] 	at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:660)
          [junit] 	at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:800)
          [junit] 	at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:671)
          [junit] 	at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:744)
          [junit] 	at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:712)
          [junit] 	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.commit(DefaultTransactionExecutor.java:41)
          [junit] 	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:77)
          [junit] 	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
          [junit] 	at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
          [junit] 	at com.sun.proxy.$Proxy209.updateRelease(Unknown Source)
          [junit] 	at com.liferay.portal.upgrade.internal.executor.UpgradeExecutor$UpgradeInfosRunnable.run(UpgradeExecutor.java:215)
          [junit] 	at com.liferay.portal.output.stream.container.internal.OutputStreamContainerFactoryTrackerImpl.runWithSwappedLog(OutputStreamContainerFactoryTrackerImpl.java:134)
          [junit] 	at com.liferay.portal.upgrade.internal.executor.SwappedLogExecutor.execute(SwappedLogExecutor.java:51)
          [junit] 	at com.liferay.portal.upgrade.internal.executor.UpgradeExecutor.executeUpgradeInfos(UpgradeExecutor.java:155)
          [junit] 	at com.liferay.portal.upgrade.internal.executor.UpgradeExecutor.execute(UpgradeExecutor.java:118)
          [junit] 	at com.liferay.portal.upgrade.internal.registry.UpgradeStepRegistratorTracker$UpgradeStepRegistratorServiceTrackerCustomizer.addingService(UpgradeStepRegistratorTracker.java:172)
          [junit] 	at com.liferay.portal.upgrade.internal.registry.UpgradeStepRegistratorTracker$UpgradeStepRegistratorServiceTrackerCustomizer.addingService(UpgradeStepRegistratorTracker.java:85)
      

      Full log (Upgrade test): https://test-1-12.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=0,label_exp=!master/273583/consoleText

      Full log (Integration test run): https://test-1-10.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/307474/AXIS_VARIABLE=0,label_exp=!master/consoleText

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                victor.ware Victor Ware
                Reporter:
                victor.ware Victor Ware
                Participants of an Issue:
                Recent user:
                Victor Ware
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  16 weeks, 1 day ago

                  Packages

                  Version Package
                  Master