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

source-format-jdk8/0 batch fails on 7.2.x head

    Details

    • Fix Priority:
      3
    • Quality Gate:
      Gauntlet Test Analysis

      Description

      For source-format-jdk8/0 batch:

      format-source-files:
           [java] Loading file:/opt/dev/projects/github/liferay-portal-7.2.x/portal-impl/classes/system.properties
           [java] SLF4J: Class path contains multiple SLF4J bindings.
           [java] SLF4J: Found binding in [file:/opt/dev/projects/github/liferay-portal-7.2.x/util-slf4j/classes/org/slf4j/impl/StaticLoggerBinder.class]
           [java] SLF4J: Found binding in [jar:file:/opt/dev/projects/github/liferay-portal-7.2.x/lib/development/slf4j-simple.jar!/org/slf4j/impl/StaticLoggerBinder.class]
           [java] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
           [java] SLF4J: Actual binding is of type [com.liferay.util.sl4fj.LiferayLoggerFactory]
           [java] java.lang.Exception: Found 1 formatting issues:
           [java] 1: ./portal-impl/src/com/liferay/portal/resiliency/spi/agent/SPIAgentRequest.java expected:<...ion {
           [java] 
           [java] 		super(
           [java] 			([Portlet)httpServletRequest.getAttribute(
           [java] 				WebKeys.SPI_AGENT_PORTLET]).getContextName());...> but was:<...ion {
           [java] 
           [java] 		super(
           [java] 			([(Portlet)httpServletRequest.getAttribute(
           [java] 				WebKeys.SPI_AGENT_PORTLET)]).getContextName());...>
           [java] 
           [java] 	at com.liferay.source.formatter.SourceFormatter.format(SourceFormatter.java:456)
           [java] 	at com.liferay.source.formatter.SourceFormatter.main(SourceFormatter.java:299)
      [stopwatch] [run.batch.test.action: 8:23.586 sec]
           [echo] The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal-7.2.x/portal-impl/build.xml:562: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal-7.2.x/portal-impl/build.xml:696: Java returned: 1
            [get] Getting: http://test-1-7/job/test-portal-acceptance-pullrequest-batch(7.2.x)/AXIS_VARIABLE=0,label_exp=!master/39177//consoleText
            [get] To: /opt/dev/projects/github/liferay-portal-7.2.x/20210422233649787.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal-7.2.x/20210422233649787.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal-7.2.x/null2132163102.properties
      

        Attachments

          Activity

            People

            Assignee:
            raven.song Raven Song
            Reporter:
            raven.song Raven Song
            Participants of an Issue:
            Recent user:
            Raven Song
            Engineering Assignee:
            Alan Huang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              8 weeks ago

                Packages

                Version Package
                7.2.X