struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: Struts-master-JDK7-dependency-check #9
Date Sun, 05 Nov 2017 22:31:17 GMT
See <https://builds.apache.org/job/Struts-master-JDK7-dependency-check/9/display/redirect?page=changes>

Changes:

[yasser.zamani] WW-4846 Adds unit tests

[yasser.zamani] WW-4846 Fixes unit tests for JDK8

------------------------------------------
[...truncated 1.17 MB...]
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to
the classpath. Using SimpleLogger to log to the console...
FATAL StrutsSpringObjectFactory ********** FATAL ERROR STARTING UP STRUTS-SPRING INTEGRATION
**********
Looks like the Spring listener was not configured for your web app! 
Nothing will work until WebApplicationContextUtils returns a valid ApplicationContext.
You might need to add the following to web.xml: 
    <listener>
        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
Nov 05, 2017 10:30:56 PM org.springframework.web.context.support.XmlWebApplicationContext
prepareRefresh
INFO: Refreshing Root WebApplicationContext: startup date [Sun Nov 05 22:30:56 UTC 2017];
root of context hierarchy
Nov 05, 2017 10:30:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource [/org/apache/struts2/spring/StrutsSpringObjectFactoryTest-applicationContext.xml]
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.581 s - in org.apache.struts2.spring.StrutsSpringObjectFactoryTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-jar-plugin:3.0.0:jar (default-jar) @ struts2-spring-plugin ---
[INFO] Building jar: <https://builds.apache.org/job/Struts-master-JDK7-dependency-check/ws/plugins/spring/target/struts2-spring-plugin-2.5.14-SNAPSHOT.jar>
[INFO] 
[INFO] >>> maven-source-plugin:3.0.0:jar (attach-sources) > generate-sources @
struts2-spring-plugin >>>
[INFO] 
[INFO] <<< maven-source-plugin:3.0.0:jar (attach-sources) < generate-sources @
struts2-spring-plugin <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.0.0:jar (attach-sources) @ struts2-spring-plugin ---
[INFO] Building jar: <https://builds.apache.org/job/Struts-master-JDK7-dependency-check/ws/plugins/spring/target/struts2-spring-plugin-2.5.14-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ struts2-spring-plugin
---
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ struts2-spring-plugin ---
[INFO] 51 implicit excludes (use -debug for more details).
[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/**/sitegraph-usage.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] 10 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 9 licence.
[INFO] 
[INFO] --- dependency-check-maven:3.0.1:check (default) @ struts2-spring-plugin ---
[INFO] Checking for updates
[INFO] Skipping NVD check since last check was within 4 hours.
[INFO] Check for updates complete (14 ms)
[INFO] Analysis Started
[INFO] Finished Archive Analyzer (0 seconds)
[INFO] Finished File Name Analyzer (0 seconds)
[INFO] Finished Jar Analyzer (0 seconds)
[INFO] Finished Central Analyzer (0 seconds)
[INFO] Finished Dependency Merging Analyzer (0 seconds)
[INFO] Finished Version Filter Analyzer (0 seconds)
[INFO] Finished Hint Analyzer (0 seconds)
[INFO] Created CPE Index (1 seconds)
[INFO] Finished CPE Analyzer (1 seconds)
[INFO] Finished False Positive Analyzer (0 seconds)
[INFO] Finished Cpe Suppression Analyzer (0 seconds)
[INFO] Finished NVD CVE Analyzer (0 seconds)
[INFO] Finished Vulnerability Suppression Analyzer (0 seconds)
[INFO] Finished Dependency Bundling Analyzer (0 seconds)
[INFO] Analysis Complete (3 seconds)
[WARNING] 

One or more dependencies were identified with known vulnerabilities in Struts 2 Spring Plugin:

spring-core-4.1.9.RELEASE.jar (cpe:/a:springsource:spring_framework:4.1.9, cpe:/a:pivotal:spring_framework:4.1.9,
cpe:/a:vmware:springsource_spring_framework:4.1.9, cpe:/a:pivotal_software:spring_framework:4.1.9,
org.springframework:spring-core:4.1.9.RELEASE) : CVE-2016-5007


See the dependency-check report for more details.


[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Struts 2 Convention Plugin 2.5.14-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ struts2-convention-plugin
---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ struts2-convention-plugin
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ struts2-convention-plugin
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 33 source files to <https://builds.apache.org/job/Struts-master-JDK7-dependency-check/ws/plugins/convention/target/classes>
[INFO] <https://builds.apache.org/job/Struts-master-JDK7-dependency-check/ws/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultClassFinder.java>:
<https://builds.apache.org/job/Struts-master-JDK7-dependency-check/ws/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultClassFinder.java>
uses or overrides a deprecated API.
[INFO] <https://builds.apache.org/job/Struts-master-JDK7-dependency-check/ws/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultClassFinder.java>:
Recompile with -Xlint:deprecation for details.
[INFO] <https://builds.apache.org/job/Struts-master-JDK7-dependency-check/ws/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultInterceptorMapBuilder.java>:
Some input files use unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/Struts-master-JDK7-dependency-check/ws/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultInterceptorMapBuilder.java>:
Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-bundle-plugin:2.1.0:manifest (bundle-manifest) @ struts2-convention-plugin
---
[WARNING] Warning in manifest for org.apache.struts:struts2-convention-plugin:jar:2.5.14-SNAPSHOT
: Superfluous export-package instructions: [org.apache, org.apache.struts2, org]
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ struts2-convention-plugin
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ struts2-convention-plugin
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 70 source files to <https://builds.apache.org/job/Struts-master-JDK7-dependency-check/ws/plugins/convention/target/test-classes>
[INFO] <https://builds.apache.org/job/Struts-master-JDK7-dependency-check/ws/plugins/convention/src/test/java/org/apache/struts2/convention/PackageBasedActionConfigBuilderTest.java>:
Some input files use unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/Struts-master-JDK7-dependency-check/ws/plugins/convention/src/test/java/org/apache/struts2/convention/PackageBasedActionConfigBuilderTest.java>:
Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ struts2-convention-plugin ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.struts2.convention.ReflectionToolsTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 s - in org.apache.struts2.convention.ReflectionToolsTest
[INFO] Running org.apache.struts2.convention.ConventionUnknownHandlerTest
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to
the classpath. Using SimpleLogger to log to the console...
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.349 s - in org.apache.struts2.convention.ConventionUnknownHandlerTest
[INFO] Running org.apache.struts2.convention.SEOActionNameBuilderTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.struts2.convention.SEOActionNameBuilderTest
[INFO] Running org.apache.struts2.convention.PackageBasedActionConfigBuilderTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.683 s - in org.apache.struts2.convention.PackageBasedActionConfigBuilderTest
[INFO] Running org.apache.struts2.convention.DefaultResultMapBuilderTest
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 s - in org.apache.struts2.convention.DefaultResultMapBuilderTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 35, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-jar-plugin:3.0.0:jar (default-jar) @ struts2-convention-plugin ---
[INFO] Building jar: <https://builds.apache.org/job/Struts-master-JDK7-dependency-check/ws/plugins/convention/target/struts2-convention-plugin-2.5.14-SNAPSHOT.jar>
[INFO] 
[INFO] >>> maven-source-plugin:3.0.0:jar (attach-sources) > generate-sources @
struts2-convention-plugin >>>
[INFO] 
[INFO] <<< maven-source-plugin:3.0.0:jar (attach-sources) < generate-sources @
struts2-convention-plugin <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.0.0:jar (attach-sources) @ struts2-convention-plugin ---
[INFO] Building jar: <https://builds.apache.org/job/Struts-master-JDK7-dependency-check/ws/plugins/convention/target/struts2-convention-plugin-2.5.14-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ struts2-convention-plugin
---
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ struts2-convention-plugin ---
[INFO] 51 implicit excludes (use -debug for more details).
[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/**/sitegraph-usage.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] 109 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 108 licence.
[INFO] 
[INFO] --- dependency-check-maven:3.0.1:check (default) @ struts2-convention-plugin ---
[INFO] Checking for updates
[INFO] Skipping NVD check since last check was within 4 hours.
[INFO] Check for updates complete (29 ms)
[INFO] Analysis Started
[INFO] Finished Archive Analyzer (0 seconds)
[INFO] Finished File Name Analyzer (0 seconds)
[INFO] Finished Jar Analyzer (0 seconds)
[INFO] Finished Central Analyzer (0 seconds)
[INFO] Finished Dependency Merging Analyzer (0 seconds)
[INFO] Finished Version Filter Analyzer (0 seconds)
[INFO] Finished Hint Analyzer (0 seconds)
[INFO] Created CPE Index (4 seconds)
[INFO] Finished CPE Analyzer (4 seconds)
[INFO] Finished False Positive Analyzer (0 seconds)
[INFO] Finished Cpe Suppression Analyzer (0 seconds)
[INFO] Finished NVD CVE Analyzer (0 seconds)
[INFO] Finished Vulnerability Suppression Analyzer (0 seconds)
[INFO] Finished Dependency Bundling Analyzer (0 seconds)
[INFO] Analysis Complete (5 seconds)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Struts 2 Bill of Materials ......................... SUCCESS [  1.343 s]
[INFO] Struts 2 ........................................... SUCCESS [ 32.368 s]
[INFO] Struts 2 Core ...................................... SUCCESS [01:41 min]
[INFO] Struts Plugins ..................................... SUCCESS [  5.136 s]
[INFO] Struts 2 Configuration Browser Plugin .............. SUCCESS [  3.585 s]
[INFO] Struts 2 Sitemesh Plugin ........................... SUCCESS [  5.426 s]
[INFO] Struts 2 Tiles Plugin .............................. SUCCESS [  6.511 s]
[INFO] Struts 2 DWR Plugin ................................ SUCCESS [  3.213 s]
[INFO] Struts 2 Spring Plugin ............................. SUCCESS [  7.041 s]
[INFO] Struts 2 Convention Plugin ......................... FAILURE [ 13.697 s]
[INFO] Struts 2 JUnit Plugin .............................. SKIPPED
[INFO] Struts 2 JSON Plugin ............................... SKIPPED
[INFO] Struts 2 Bean Validation 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] 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] DEPRECATED: Struts 2 Sitegraph Plugin .............. SKIPPED
[INFO] Struts 2 TestNG Plugin ............................. SKIPPED
[INFO] Struts OSGi Bundles ................................ SKIPPED
[INFO] Struts 2 OSGi Admin Bundle ......................... SKIPPED
[INFO] Struts 2 OSGi Demo Bundle .......................... SKIPPED
[INFO] Struts 2 Assembly .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:01 min
[INFO] Finished at: 2017-11-05T22:31:15Z
[INFO] Final Memory: 73M/20198M
[INFO] ------------------------------------------------------------------------
[ERROR] PermGen space -> [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/OutOfMemoryError
Build step 'Execute shell' marked build as failure
[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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message