Build failed in Jenkins: Struts-master-JDK8-sonar-analysis #256

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Build failed in Jenkins: Struts-master-JDK8-sonar-analysis #256

Apache Jenkins Server-2
See <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/256/display/redirect?page=changes>

Changes:

[yasserzamani] fix logMissingProperties (WW-4999)

[yasserzamani] not log user exceptions as missing properties (WW-4999)

[yasserzamani] test not throw exception on top missing property (WW-4999)

[yasserzamani] decouple logMissingProperties from devMode (WW-4999)

[yasserzamani] test false for logMissingProperties (WW-4999)

------------------------------------------
[...truncated 2.68 KB...]
[INFO] Struts 2 Spring Plugin                                             [jar]
[INFO] Struts 2 Convention Plugin                                         [jar]
[INFO] Struts 2 JUnit Plugin                                              [jar]
[INFO] Struts 2 JSON Plugin                                               [jar]
[INFO] Struts 2 Bean Validation Plugin                                    [jar]
[INFO] Struts 2 Async Plugin                                              [jar]
[INFO] Struts 2 Webapps                                                   [pom]
[INFO] Struts 2 Showcase Webapp                                           [war]
[INFO] Struts 2 REST Plugin                                               [jar]
[INFO] Struts 2 Rest Showcase Webapp                                      [war]
[INFO] Struts 2 CDI Plugin                                                [jar]
[INFO] DEPRECATED: Struts 2 Embedded JSP Plugin                           [jar]
[INFO] Struts 2 GXP Plugin                                                [jar]
[INFO] Struts 2 Jasper Reports Plugin                                     [jar]
[INFO] Struts 2 Java Templates Plugin                                     [jar]
[INFO] Struts 2 JFreeChart Plugin                                         [jar]
[INFO] Struts 2 OSGi Plugin                                               [jar]
[INFO] Struts 2 OVal Plugin                                               [jar]
[INFO] Struts 2 Pell Multipart Plugin                                     [jar]
[INFO] Struts 2 Plexus Plugin                                             [jar]
[INFO] Struts 2 Portlet Plugin                                            [jar]
[INFO] Struts 2 Portlet Tiles Plugin                                      [jar]
[INFO] Struts 2 TestNG Plugin                                             [jar]
[INFO] Struts 2 OSGi Bundles                                              [pom]
[INFO] Struts 2 OSGi Admin Bundle                                      [bundle]
[INFO] Struts 2 OSGi Demo Bundle                                       [bundle]
[INFO]
[INFO] -------------------< org.apache.struts:struts2-bom >--------------------
[INFO] Building Struts 2 Bill of Materials 2.6-SNAPSHOT                  [1/34]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ struts2-bom ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ struts2-bom ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ struts2-bom ---
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ struts2-bom ---
[INFO] No site descriptor found: nothing to attach.
[INFO]
[INFO] ------------------< org.apache.struts:struts2-parent >------------------
[INFO] Building Struts 2 2.6-SNAPSHOT                                    [2/34]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ struts2-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce) @ struts2-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ struts2-parent ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ struts2-parent ---
[INFO]
[INFO] --- maven-bundle-plugin:3.5.0:manifest (bundle-manifest) @ struts2-parent ---
[WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle]
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (default) @ struts2-parent ---
[INFO] Added 1 additional default licenses.
[INFO] Added 1 custom approved licenses.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Parsing exclusions from <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/.gitignore>
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 87 implicit excludes (use -debug for more details).
[INFO] Exclude: Jenkinsfile
[INFO] Exclude: src/main/groovy/Jenkinsfile.gdsl
[INFO] Exclude: src/main/resources/org/apache/struts2/static/domTT.js
[INFO] Exclude: src/site/resources/tags/**/*.html
[INFO] Exclude: src/main/resources/*LICENSE.txt
[INFO] Exclude: src/test/resources/**/*.txt
[INFO] Exclude: src/main/webapp/**/*.css
[INFO] Exclude: src/main/webapp/**/*.map
[INFO] Exclude: src/main/webapp/**/*.js
[INFO] Exclude: src/main/webapp/**/*.svg
[INFO] Exclude: src/main/webapp/**/*.txt
[INFO] Exclude: src/main/resources/**/docs-urls.txt
[INFO] Exclude: src/etc/header.txt
[INFO] Exclude: src/main/resources/static/css/**/*.css
[INFO] Exclude: src/main/resources/static/js/**/*.js
[INFO] Exclude: src/main/resources/docs.cfg
[INFO] Exclude: src/main/webapp/fonts/**/*
[INFO] 3 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 3 licenses.
[INFO]
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ struts2-parent >>>
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce) @ struts2-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ struts2-parent ---
[INFO]
[INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ struts2-parent <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ struts2-parent ---
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ struts2-parent ---
[INFO] Attaching 'src/site/site.xml' site descriptor with classifier 'site'.
[INFO]
[INFO] -------------------< org.apache.struts:struts2-core >-------------------
[INFO] Building Struts 2 Core 2.6-SNAPSHOT                               [3/34]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ struts2-core ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce) @ struts2-core ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ struts2-core ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ struts2-core ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ struts2-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 198 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ struts2-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 760 source files to <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/target/classes>
[INFO] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/main/java/org/apache/struts2/dispatcher/HttpParameters.java>: Some input files use or override a deprecated API.
[INFO] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/main/java/org/apache/struts2/dispatcher/HttpParameters.java>: Recompile with -Xlint:deprecation for details.
[INFO] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/main/java/com/opensymphony/xwork2/ActionContext.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/main/java/com/opensymphony/xwork2/ActionContext.java>: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- jshint-maven-plugin:1.6.0:lint (default) @ struts2-core ---
[INFO] using jshint version 2.5.6
[INFO] Using configuration file: <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/main/resources/jshint.conf.js>
[WARNING] Excluding <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/main/resources/org/apache/struts2/static/domTT.js>
[INFO]   <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/main/resources/template/xhtml/validation.js>
[INFO]   <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/main/resources/template/css_xhtml/validation.js>
[INFO]   <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/main/resources/jshint.conf.js>
[INFO]   <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/main/resources/org/apache/struts2/static/utils.js>
[INFO]   <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/main/resources/org/apache/struts2/static/inputtransferselect.js>
[INFO]   <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/main/resources/org/apache/struts2/static/optiontransferselect.js>
[INFO]   <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/main/resources/org/apache/struts2/interceptor/debugging/webconsole.js>
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default) @ struts2-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 760 source files to <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/target/classes>
[INFO] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/main/java/org/apache/struts2/dispatcher/HttpParameters.java>: Some input files use or override a deprecated API.
[INFO] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/main/java/org/apache/struts2/dispatcher/HttpParameters.java>: Recompile with -Xlint:deprecation for details.
[INFO] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/main/java/com/opensymphony/xwork2/ActionContext.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/main/java/com/opensymphony/xwork2/ActionContext.java>: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-bundle-plugin:3.5.0:manifest (bundle-manifest) @ struts2-core ---
[WARNING] Manifest org.apache.struts:struts2-core:jar:2.6-SNAPSHOT : Export com.opensymphony.xwork2,  has 1,  private references [com.opensymphony.xwork2.conversion.impl],
[WARNING] Manifest org.apache.struts:struts2-core:jar:2.6-SNAPSHOT : Export com.opensymphony.xwork2.conversion.annotations,  has 1,  private references [com.opensymphony.xwork2.conversion.impl],
[WARNING] Manifest org.apache.struts:struts2-core:jar:2.6-SNAPSHOT : Export com.opensymphony.xwork2.ognl,  has 1,  private references [com.opensymphony.xwork2.conversion.impl],
[WARNING] Manifest org.apache.struts:struts2-core:jar:2.6-SNAPSHOT : Export com.opensymphony.xwork2.ognl.accessor,  has 1,  private references [com.opensymphony.xwork2.conversion.impl],
[WARNING] Manifest org.apache.struts:struts2-core:jar:2.6-SNAPSHOT : Export org.apache.struts2.conversion,  has 1,  private references [com.opensymphony.xwork2.conversion.impl],
[WARNING] Manifest org.apache.struts:struts2-core:jar:2.6-SNAPSHOT : Export org.apache.struts2.util,  has 1,  private references [com.opensymphony.xwork2.conversion.impl],
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ struts2-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 348 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ struts2-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 425 source files to <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/target/test-classes>
[INFO] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/test/java/com/opensymphony/xwork2/test/annotations/ValidateAnnotatedMethodOnlyAction.java>: Some input files use or override a deprecated API.
[INFO] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/test/java/com/opensymphony/xwork2/test/annotations/ValidateAnnotatedMethodOnlyAction.java>: Recompile with -Xlint:deprecation for details.
[INFO] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/test/java/org/apache/struts2/views/jsp/StrutsMockServletContext.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/test/java/org/apache/struts2/views/jsp/StrutsMockServletContext.java>: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/test/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProviderTest.java>:[30,46] com.sun.org.apache.xerces.internal.dom.ElementImpl is internal proprietary API and may be removed in a future release
[WARNING] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/test/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProviderTest.java>:[30,46] com.sun.org.apache.xerces.internal.dom.ElementImpl is internal proprietary API and may be removed in a future release
[WARNING] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/test/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProviderTest.java>:[30,46] com.sun.org.apache.xerces.internal.dom.ElementImpl is internal proprietary API and may be removed in a future release
[INFO] 3 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/test/java/com/opensymphony/xwork2/ognl/OgnlValueStackTest.java>:[1521,13] no suitable constructor found for AbstractAppender(java.lang.String,<nulltype>,<nulltype>,boolean,<nulltype>)
    constructor org.apache.logging.log4j.core.appender.AbstractAppender.AbstractAppender(java.lang.String,org.apache.logging.log4j.core.Filter,org.apache.logging.log4j.core.Layout<? extends java.io.Serializable>) is not applicable
      (actual and formal argument lists differ in length)
    constructor org.apache.logging.log4j.core.appender.AbstractAppender.AbstractAppender(java.lang.String,org.apache.logging.log4j.core.Filter,org.apache.logging.log4j.core.Layout<? extends java.io.Serializable>,boolean) is not applicable
      (actual and formal argument lists differ in length)
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Struts 2
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Struts 2 2.6-SNAPSHOT:
[INFO]
[INFO] Struts 2 Bill of Materials ......................... SUCCESS [  1.983 s]
[INFO] Struts 2 ........................................... SUCCESS [  1.581 s]
[INFO] Struts 2 Core ...................................... FAILURE [ 28.307 s]
[INFO] Struts 2 Plugins ................................... SKIPPED
[INFO] Struts 2 Configuration Browser Plugin .............. SKIPPED
[INFO] Struts 2 Sitemesh Plugin ........................... SKIPPED
[INFO] Struts 2 Tiles Plugin .............................. SKIPPED
[INFO] Struts 2 DWR Plugin ................................ SKIPPED
[INFO] Struts 2 Spring Plugin ............................. SKIPPED
[INFO] Struts 2 Convention Plugin ......................... SKIPPED
[INFO] Struts 2 JUnit Plugin .............................. SKIPPED
[INFO] Struts 2 JSON Plugin ............................... SKIPPED
[INFO] Struts 2 Bean Validation Plugin .................... SKIPPED
[INFO] Struts 2 Async Plugin .............................. SKIPPED
[INFO] Struts 2 Webapps ................................... SKIPPED
[INFO] Struts 2 Showcase Webapp ........................... SKIPPED
[INFO] Struts 2 REST Plugin ............................... SKIPPED
[INFO] Struts 2 Rest Showcase Webapp ...................... SKIPPED
[INFO] Struts 2 CDI Plugin ................................ SKIPPED
[INFO] DEPRECATED: Struts 2 Embedded JSP Plugin ........... SKIPPED
[INFO] Struts 2 GXP Plugin ................................ SKIPPED
[INFO] Struts 2 Jasper Reports Plugin ..................... SKIPPED
[INFO] Struts 2 Java Templates Plugin ..................... SKIPPED
[INFO] Struts 2 JFreeChart Plugin ......................... SKIPPED
[INFO] Struts 2 OSGi Plugin ............................... SKIPPED
[INFO] Struts 2 OVal Plugin ............................... SKIPPED
[INFO] Struts 2 Pell Multipart Plugin ..................... SKIPPED
[INFO] Struts 2 Plexus Plugin ............................. SKIPPED
[INFO] Struts 2 Portlet Plugin ............................ SKIPPED
[INFO] Struts 2 Portlet Tiles Plugin ...................... SKIPPED
[INFO] Struts 2 TestNG Plugin ............................. SKIPPED
[INFO] Struts 2 OSGi Bundles .............................. SKIPPED
[INFO] Struts 2 OSGi Admin Bundle ......................... SKIPPED
[INFO] Struts 2 OSGi Demo Bundle .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  34.394 s
[INFO] Finished at: 2019-06-03T07:49:54Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile (default-testCompile) on project struts2-core: Compilation failure
[ERROR] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/core/src/test/java/com/opensymphony/xwork2/ognl/OgnlValueStackTest.java>:[1521,13] no suitable constructor found for AbstractAppender(java.lang.String,<nulltype>,<nulltype>,boolean,<nulltype>)
[ERROR]     constructor org.apache.logging.log4j.core.appender.AbstractAppender.AbstractAppender(java.lang.String,org.apache.logging.log4j.core.Filter,org.apache.logging.log4j.core.Layout<? extends java.io.Serializable>) is not applicable
[ERROR]       (actual and formal argument lists differ in length)
[ERROR]     constructor org.apache.logging.log4j.core.appender.AbstractAppender.AbstractAppender(java.lang.String,org.apache.logging.log4j.core.Filter,org.apache.logging.log4j.core.Layout<? extends java.io.Serializable>,boolean) is not applicable
[ERROR]       (actual and formal argument lists differ in length)
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :struts2-core
Build step 'Execute shell' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeeded?
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Setting MAVEN_3_LATEST__HOME=/home/jenkins/tools/maven/latest3/

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Jenkins build is back to normal : Struts-master-JDK8-sonar-analysis #257

Apache Jenkins Server-2
See <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/257/display/redirect?page=changes>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]