See 
<https://builds.apache.org/job/Struts-master-JDK7-dependency-check/130/display/redirect?page=changes>

Changes:

[lukaszlenart] WW-4938 Adds missing test case and properly fix injecting 
internal beans

[lukaszlenart] WW-4975 Upgrades commons-fileupload to version 1.4

------------------------------------------
[...truncated 480.38 KB...]
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) 
[junit-4.12.jar:4.12]
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) 
[junit-4.12.jar:4.12]
        at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 
[junit-4.12.jar:4.12]
        at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55) 
[surefire-junit47-2.22.1.jar:2.22.1]
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
 [surefire-junit47-2.22.1.jar:2.22.1]
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
 [surefire-junit47-2.22.1.jar:2.22.1]
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
 [surefire-junit47-2.22.1.jar:2.22.1]
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
 [surefire-junit47-2.22.1.jar:2.22.1]
        at 
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
 [surefire-junit47-2.22.1.jar:2.22.1]
        at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
 [surefire-booter-2.22.1.jar:2.22.1]
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
 [surefire-booter-2.22.1.jar:2.22.1]
        at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) 
[surefire-booter-2.22.1.jar:2.22.1]
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) 
[surefire-booter-2.22.1.jar:2.22.1]
2018-12-30 22:30:23,871 WARN  [main] interceptor.ExceptionMappingInterceptor 
(ExceptionMappingInterceptor.java:254) - test
java.lang.Exception: test
        at 
com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptorTest.testThrownExceptionNoMatchLoggingCategoryLevelWarn(ExceptionMappingInterceptorTest.java:179)
 [test-classes/:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:1.7.0_80]
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
~[?:1.7.0_80]
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.7.0_80]
        at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_80]
        at junit.framework.TestCase.runTest(TestCase.java:176) 
[junit-4.12.jar:4.12]
        at junit.framework.TestCase.runBare(TestCase.java:141) 
[junit-4.12.jar:4.12]
        at junit.framework.TestResult$1.protect(TestResult.java:122) 
[junit-4.12.jar:4.12]
        at junit.framework.TestResult.runProtected(TestResult.java:142) 
[junit-4.12.jar:4.12]
        at junit.framework.TestResult.run(TestResult.java:125) 
[junit-4.12.jar:4.12]
        at junit.framework.TestCase.run(TestCase.java:129) [junit-4.12.jar:4.12]
        at junit.framework.TestSuite.runTest(TestSuite.java:252) 
[junit-4.12.jar:4.12]
        at junit.framework.TestSuite.run(TestSuite.java:247) 
[junit-4.12.jar:4.12]
        at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86) 
[junit-4.12.jar:4.12]
        at org.junit.runners.Suite.runChild(Suite.java:128) 
[junit-4.12.jar:4.12]
        at org.junit.runners.Suite.runChild(Suite.java:27) [junit-4.12.jar:4.12]
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) 
[junit-4.12.jar:4.12]
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) 
[junit-4.12.jar:4.12]
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) 
[junit-4.12.jar:4.12]
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) 
[junit-4.12.jar:4.12]
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) 
[junit-4.12.jar:4.12]
        at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 
[junit-4.12.jar:4.12]
        at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55) 
[surefire-junit47-2.22.1.jar:2.22.1]
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
 [surefire-junit47-2.22.1.jar:2.22.1]
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
 [surefire-junit47-2.22.1.jar:2.22.1]
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
 [surefire-junit47-2.22.1.jar:2.22.1]
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
 [surefire-junit47-2.22.1.jar:2.22.1]
        at 
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
 [surefire-junit47-2.22.1.jar:2.22.1]
        at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
 [surefire-booter-2.22.1.jar:2.22.1]
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
 [surefire-booter-2.22.1.jar:2.22.1]
        at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) 
[surefire-booter-2.22.1.jar:2.22.1]
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) 
[surefire-booter-2.22.1.jar:2.22.1]
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 s 
- in com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptorTest
[INFO] Running com.opensymphony.xwork2.interceptor.ModelDrivenInterceptorTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 s - 
in com.opensymphony.xwork2.interceptor.ModelDrivenInterceptorTest
[INFO] Running 
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptorTest
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.134 s 
- in com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptorTest
[INFO] Running com.opensymphony.xwork2.DefaultActionInvocationTest
2018-12-30 22:30:24,112 INFO  [main] interceptor.LoggingInterceptor 
(LoggingInterceptor.java:86) - Starting execution stack for action Foo
2018-12-30 22:30:24,113 INFO  [main] interceptor.LoggingInterceptor 
(LoggingInterceptor.java:86) - Finishing execution stack for action Foo
2018-12-30 22:30:24,162 INFO  [main] interceptor.LoggingInterceptor 
(LoggingInterceptor.java:86) - Starting execution stack for action ExceptionFoo
2018-12-30 22:30:24,163 INFO  [main] interceptor.LoggingInterceptor 
(LoggingInterceptor.java:86) - Finishing execution stack for action ExceptionFoo
2018-12-30 22:30:24,187 INFO  [main] interceptor.LoggingInterceptor 
(LoggingInterceptor.java:86) - Starting execution stack for action Foo
2018-12-30 22:30:24,358 INFO  [main] interceptor.LoggingInterceptor 
(LoggingInterceptor.java:86) - Starting execution stack for action NullFoo
2018-12-30 22:30:24,359 INFO  [main] interceptor.LoggingInterceptor 
(LoggingInterceptor.java:86) - Finishing execution stack for action NullFoo
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.315 s 
- in com.opensymphony.xwork2.DefaultActionInvocationTest
[INFO] Running com.opensymphony.xwork2.ChainResultTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.069 s 
- in com.opensymphony.xwork2.ChainResultTest
[INFO] Running com.opensymphony.xwork2.ActionContextTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 s 
- in com.opensymphony.xwork2.ActionContextTest
[INFO] Running com.opensymphony.xwork2.test.annotations.PersonActionTest
Address: com.opensymphony.xwork2.test.annotations.Address@6e3584cd
Person: com.opensymphony.xwork2.test.annotations.Person@34ff74a5
Address: com.opensymphony.xwork2.test.annotations.Address@793358ac
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s 
- in com.opensymphony.xwork2.test.annotations.PersonActionTest
[INFO] Running com.opensymphony.xwork2.ObjectFactoryTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 s 
- in com.opensymphony.xwork2.ObjectFactoryTest
[INFO] Running com.opensymphony.xwork2.ActionSupportTest
2018-12-30 22:30:24,570 WARN  [main] util.StrutsLocalizedTextProvider 
(StrutsLocalizedTextProvider.java:226) - Trying to find text with null key!
2018-12-30 22:30:24,571 WARN  [main] util.StrutsLocalizedTextProvider 
(StrutsLocalizedTextProvider.java:226) - Trying to find text with null key!
2018-12-30 22:30:24,571 WARN  [main] util.StrutsLocalizedTextProvider 
(StrutsLocalizedTextProvider.java:226) - Trying to find text with null key!
2018-12-30 22:30:24,571 WARN  [main] util.StrutsLocalizedTextProvider 
(StrutsLocalizedTextProvider.java:226) - Trying to find text with null key!
2018-12-30 22:30:24,571 WARN  [main] util.StrutsLocalizedTextProvider 
(StrutsLocalizedTextProvider.java:226) - Trying to find text with null key!
2018-12-30 22:30:24,572 WARN  [main] util.StrutsLocalizedTextProvider 
(StrutsLocalizedTextProvider.java:226) - Trying to find text with null key!
2018-12-30 22:30:24,572 WARN  [main] util.StrutsLocalizedTextProvider 
(StrutsLocalizedTextProvider.java:226) - Trying to find text with null key!
2018-12-30 22:30:24,572 WARN  [main] util.StrutsLocalizedTextProvider 
(StrutsLocalizedTextProvider.java:226) - Trying to find text with null key!
2018-12-30 22:30:24,572 WARN  [main] util.StrutsLocalizedTextProvider 
(StrutsLocalizedTextProvider.java:226) - Trying to find text with null key!
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.087 s 
- in com.opensymphony.xwork2.ActionSupportTest
[INFO] Running com.opensymphony.xwork2.ProxyInvocationTest
2018-12-30 22:30:24,622 WARN  [main] ognl.SecurityMemberAccess 
(SecurityMemberAccess.java:163) - The use of the default (unnamed) package is 
discouraged!
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s 
- in com.opensymphony.xwork2.ProxyInvocationTest
[INFO] Running com.opensymphony.xwork2.DefaultClasstTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 s 
- in com.opensymphony.xwork2.DefaultClasstTest
[INFO] Running com.opensymphony.xwork2.ActionInvocationTest
2018-12-30 22:30:24,679 INFO  [main] interceptor.LoggingInterceptor 
(LoggingInterceptor.java:86) - Starting execution stack for action baz/myCommand
2018-12-30 22:30:24,679 INFO  [main] interceptor.LoggingInterceptor 
(LoggingInterceptor.java:86) - Finishing execution stack for action 
baz/myCommand
2018-12-30 22:30:24,736 INFO  [main] interceptor.LoggingInterceptor 
(LoggingInterceptor.java:86) - Starting execution stack for action 
baz/resultAction
2018-12-30 22:30:24,736 INFO  [main] interceptor.LoggingInterceptor 
(LoggingInterceptor.java:86) - Finishing execution stack for action 
baz/resultAction
2018-12-30 22:30:24,804 INFO  [main] interceptor.LoggingInterceptor 
(LoggingInterceptor.java:86) - Starting execution stack for action Foo
2018-12-30 22:30:24,810 INFO  [main] interceptor.LoggingInterceptor 
(LoggingInterceptor.java:86) - Finishing execution stack for action Foo
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.158 s 
- in com.opensymphony.xwork2.ActionInvocationTest
[INFO] Running 
com.opensymphony.xwork2.security.DefaultExcludedPatternsCheckerTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 s 
- in com.opensymphony.xwork2.security.DefaultExcludedPatternsCheckerTest
[INFO] Running 
com.opensymphony.xwork2.security.DefaultAcceptedPatternsCheckerTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s 
- in com.opensymphony.xwork2.security.DefaultAcceptedPatternsCheckerTest
[INFO] Running com.opensymphony.xwork2.LocaleAwareTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 s 
- in com.opensymphony.xwork2.LocaleAwareTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 1844, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (default) @ struts2-core ---
[INFO] Added 1 additional default licenses.
[INFO] Added 1 custom approved licenses.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 61 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] 1589 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 1582 licenses.
[INFO] 
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ struts2-core ---
[INFO] Building jar: 
<https://builds.apache.org/job/Struts-master-JDK7-dependency-check/ws/core/target/struts2-core-2.6-SNAPSHOT.jar>
[INFO] 
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ 
struts2-core >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ 
struts2-core ---
[INFO] 
[INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ 
struts2-core <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ struts2-core ---
[INFO] Building jar: 
<https://builds.apache.org/job/Struts-master-JDK7-dependency-check/ws/core/target/struts2-core-2.6-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ 
struts2-core ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO] 
[INFO] --- dependency-check-maven:3.3.4:check (default) @ struts2-core ---
[INFO] Central analyzer disabled
[INFO] Checking for updates
[INFO] Skipping NVD check since last check was within 4 hours.
[INFO] Skipping RetireJS update since last update was within 24 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 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] Skipping CPE Analysis for npm
[INFO] Finished CPE Analyzer (2 seconds)
[INFO] Finished False Positive 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 (4 seconds)
[WARNING] 

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

bsh-2.0b4.jar (org.beanshell:bsh:2.0b4, 
cpe:/a:beanshell_project:beanshell:2.0.b4) : CVE-2016-2510
slf4j-api-1.7.25.jar (cpe:/a:slf4j:slf4j:1.7.25, org.slf4j:slf4j-api:1.7.25) : 
CVE-2018-8088


See the dependency-check report for more details.


[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Struts 2 2.6-SNAPSHOT:
[INFO] 
[INFO] Struts 2 Bill of Materials ......................... SUCCESS [  1.679 s]
[INFO] Struts 2 ........................................... SUCCESS [ 24.465 s]
[INFO] Struts 2 Core ...................................... FAILURE [01:56 min]
[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] DEPRECATED: Struts 2 Sitegraph 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] Struts 2 Assembly .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:25 min
[INFO] Finished at: 2018-12-30T22:30:34Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.owasp:dependency-check-maven:3.3.4:check 
(default) on project struts2-core: 
[ERROR] 
[ERROR] One or more dependencies were identified with vulnerabilities that have 
a CVSS score greater than or equal to '7.0': 
[ERROR] 
[ERROR] slf4j-api-1.7.25.jar: CVE-2018-8088
[ERROR] 
[ERROR] See the dependency-check report for more details.
[ERROR] 
[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
[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-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to