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

Duplicate entry for key 'IX_A9FF4B2C' race condition

Details

    Description

      UPDATE
      More recent example (April 2020): https://test-1-16.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=0,label_exp=!master/373439/consoleText

      The following issue is being reproduced intermittently and not only on Workflow components, as described here:
      https://github.com/brianchandotcom/liferay-portal/pull/81559

      junit.framework.AssertionFailedError: junit.framework.AssertionFailedError:Duplicate entry '20096-com.liferay.portal.workflow.kaleo.designer-4-com.liferay.p' for key 'IX_A9FF4B2C' at com.liferay.portal.log.assertor.PortalLogAssertorTest.scanXMLLogFile(PortalLogAssertorTest.java:172) at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:98) at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:88) at java.nio.file.Files.walkFileTree(Files.java:2670) at java.nio.file.Files.walkFileTree(Files.java:2742) at com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog(PortalLogAssertorTest.java:86)
      

      https://github.com/brianchandotcom/liferay-portal/pull/80978#issuecomment-554002759

      junit.framework.AssertionFailedError: 
      Duplicate entry '20095-com.liferay.portal.kernel.model.LayoutPrototype-4-com.life' for key 'IX_A9FF4B2C'
      	at com.liferay.portal.log.assertor.PortalLogAssertorTest.scanXMLLogFile(PortalLogAssertorTest.java:172)
      	at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:98)
      	at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:88)
      	at java.nio.file.Files.walkFileTree(Files.java:2670)
      	at java.nio.file.Files.walkFileTree(Files.java:2742)
      	at com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog(PortalLogAssertorTest.java:86)
      

       

      According to preston.crary, it could be related to "retry advice". 

      Attachments

        Issue Links

          Activity

            People

              melody.wu Melody Wu
              dennys.barros.1 Dennys Barros.1 (Inactive)
              Bruno Falcao Bruno Falcao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12 weeks, 5 days ago

                Packages

                  Version Package