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

PortalLogAssertorTest failed due to connecting com.mysql.cj.jdbc.ConnectionImpl

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Component/s: Application Security
    • Labels:
      None
    • Fix Priority:
      3

      Description

      Failed on modules-integration-mysql57-jdk8 job:

          [junit] Testcase: testScanXMLLog(com.liferay.portal.log.assertor.PortalLogAssertorTest):	FAILED
          [junit] 
          [junit] Portal log assert failure, see above log for more information: 
          [junit] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@1b4c4271 (No operations allowed after connection closed.)
          [junit] junit.framework.AssertionFailedError: 
          [junit] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@1b4c4271 (No operations allowed after connection closed.)
          [junit] 	at com.liferay.portal.log.assertor.PortalLogAssertorTest.scanXMLLogFile(PortalLogAssertorTest.java:171)
          [junit] 	at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:98)
          [junit] 	at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:88)
          [junit] 	at java.nio.file.Files.walkFileTree(Files.java:2670)
          [junit] 	at java.nio.file.Files.walkFileTree(Files.java:2742)
          [junit] 	at com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog(PortalLogAssertorTest.java:86)
          [junit] 
          [junit] 
          [junit] Test com.liferay.portal.log.assertor.PortalLogAssertorTest FAILED

      Full console log:

      https://test-1-21.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=0,label_exp=!master/307776/consoleFull

        Attachments

          Activity

            People

            Assignee:
            della.wang Della Wang (Inactive)
            Reporter:
            della.wang Della Wang (Inactive)
            Participants of an Issue:
            Recent user:
            Della Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 6 weeks, 6 days ago

                Packages

                Version Package
                Master