You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2020/11/05 06:04:45 UTC

Build failed in Jenkins: Struts » Struts-master-JDK8-dependency-check #35

See <https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/35/display/redirect>

Changes:


------------------------------------------
[...truncated 616.12 KB...]
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413) [junit-4.13.jar:4.13]
	at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) [surefire-booter-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) [surefire-booter-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) [surefire-booter-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) [surefire-booter-3.0.0-M4.jar:3.0.0-M4]
2020-11-05 06:04:28,651 ERROR [main] components.ActionComponent (ActionComponent.java:288) - Could not execute action: /testNamespace/testAction!executeThrowsException
com.opensymphony.xwork2.config.ConfigurationException: There is no Action mapped for namespace [/testNamespace] and action name [testAction!executeThrowsException] associated with context path [].
	at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:187) ~[classes/:?]
	at org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:57) ~[classes/:?]
	at org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:32) ~[classes/:?]
	at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:60) ~[classes/:?]
	at org.apache.struts2.components.ActionComponent.executeAction(ActionComponent.java:280) [classes/:?]
	at org.apache.struts2.components.AnotherActionComponentTest.testDoesNotThrowException(AnotherActionComponentTest.java:56) [test-classes/:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_252]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_252]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252]
	at junit.framework.TestCase.runTest(TestCase.java:177) [junit-4.13.jar:4.13]
	at junit.framework.TestCase.runBare(TestCase.java:142) [junit-4.13.jar:4.13]
	at junit.framework.TestResult$1.protect(TestResult.java:122) [junit-4.13.jar:4.13]
	at junit.framework.TestResult.runProtected(TestResult.java:142) [junit-4.13.jar:4.13]
	at junit.framework.TestResult.run(TestResult.java:125) [junit-4.13.jar:4.13]
	at junit.framework.TestCase.run(TestCase.java:130) [junit-4.13.jar:4.13]
	at junit.framework.TestSuite.runTest(TestSuite.java:241) [junit-4.13.jar:4.13]
	at junit.framework.TestSuite.run(TestSuite.java:236) [junit-4.13.jar:4.13]
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) [junit-4.13.jar:4.13]
	at org.junit.runners.Suite.runChild(Suite.java:128) [junit-4.13.jar:4.13]
	at org.junit.runners.Suite.runChild(Suite.java:27) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413) [junit-4.13.jar:4.13]
	at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) [surefire-booter-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) [surefire-booter-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) [surefire-booter-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) [surefire-booter-3.0.0-M4.jar:3.0.0-M4]
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 s - in org.apache.struts2.components.AnotherActionComponentTest
[INFO] Running org.apache.struts2.components.PropertyTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.212 s - in org.apache.struts2.components.PropertyTest
[INFO] Running org.apache.struts2.components.FormButtonTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.224 s - in org.apache.struts2.components.FormButtonTest
[INFO] Running org.apache.struts2.components.ActionComponentTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 s - in org.apache.struts2.components.ActionComponentTest
[INFO] Running org.apache.struts2.components.UIComponentTest
2020-11-05 06:04:29,497 WARN  [main] components.OptionTransferSelect (OptionTransferSelect.java:322) - form enclosing optiontransferselect org.apache.struts2.components.OptionTransferSelect@31dc8c44 not found, auto select upon form submit of optiontransferselect will not work
2020-11-05 06:04:30,200 WARN  [main] components.ServletUrlRenderer (ServletUrlRenderer.java:200) - No configuration found for the specified action: 'myAction' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.
2020-11-05 06:04:30,211 WARN  [main] components.ServletUrlRenderer (ServletUrlRenderer.java:200) - No configuration found for the specified action: 'myAction' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.
[INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.292 s - in org.apache.struts2.components.UIComponentTest
[INFO] Running org.apache.struts2.components.template.JspTemplateEngineTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 s - in org.apache.struts2.components.template.JspTemplateEngineTest
[INFO] Running org.apache.struts2.components.template.BaseTemplateEngineTest
dummy resource url=<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/core/target/test-classes/org/apache/struts2/components/template/dummy.properties>
resource file=<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/core/target/test-classes/org/apache/struts2/components/template/dummy.properties>
theme properties dir=<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/core/target/test-classes/org/apache/struts2/components/template>
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.apache.struts2.components.template.BaseTemplateEngineTest
[INFO] Running org.apache.struts2.components.ComponentTest
2020-11-05 06:04:30,812 WARN  [main] util.TextProviderHelper (TextProviderHelper.java:97) - The first TextProvider in the ValueStack (org.apache.struts2.TestAction) could not locate the message resource with key 'some.i18n.key'
2020-11-05 06:04:30,812 WARN  [main] util.TextProviderHelper (TextProviderHelper.java:102) - The default value expression 'some.i18n.key' was evaluated and did not match a property. The literal value 'some.i18n.key' will be used.
2020-11-05 06:04:30,877 WARN  [main] components.UpDownSelect (UpDownSelect.java:149) - no ancestor form found for updownselect org.apache.struts2.components.UpDownSelect@17bc5c20, therefore autoselect of all elements upon form submission will not work 
[INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.082 s - in org.apache.struts2.components.ComponentTest
[INFO] Running org.apache.struts2.components.FormTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.227 s - in org.apache.struts2.components.FormTest
[INFO] Running org.apache.struts2.StrutsExceptionTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 s - in org.apache.struts2.StrutsExceptionTest
[INFO] Running org.apache.struts2.factory.PrefixBasedActionProxyFactoryTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.066 s - in org.apache.struts2.factory.PrefixBasedActionProxyFactoryTest
[INFO] Running org.apache.struts2.factory.StrutsResultFactoryTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.118 s - in org.apache.struts2.factory.StrutsResultFactoryTest
[INFO] Running org.apache.struts2.RequestUtilsTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.apache.struts2.RequestUtilsTest
[INFO] Running org.apache.struts2.ServletActionContextTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.apache.struts2.ServletActionContextTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 1977, 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: 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] 1535 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 1528 licenses.
[INFO] 
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ struts2-core ---
[INFO] Building jar: <https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/core/target/struts2-core-2.6-SNAPSHOT.jar>
[INFO] 
[INFO] >>> maven-source-plugin:3.2.1:jar (attach-sources) > generate-sources @ struts2-core >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce) @ struts2-core ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ struts2-core ---
[INFO] 
[INFO] <<< maven-source-plugin:3.2.1:jar (attach-sources) < generate-sources @ struts2-core <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.2.1:jar (attach-sources) @ struts2-core ---
[INFO] Building jar: <https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/core/target/struts2-core-2.6-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.9.0:attach-descriptor (attach-descriptor) @ struts2-core ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO] 
[INFO] --- dependency-check-maven:5.3.2:check (default) @ struts2-core ---
[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 (312 ms)
[INFO] 

Dependency-Check is an open source tool performing a best effort analysis of 3rd party dependencies; false positives and false negatives may exist in the analysis performed by the tool. Use of the tool and the reporting provided constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to the analysis or its use. Any use of the tool and the reporting provided is at the user?s risk. In no event shall the copyright holder or OWASP be held liable for any damages whatsoever arising out of or in connection with the use of this tool, the analysis performed, or the resulting report.


[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 (2 seconds)
[INFO] Finished CPE Analyzer (3 seconds)
[INFO] Finished False Positive Analyzer (0 seconds)
[INFO] Finished NVD CVE Analyzer (0 seconds)
00:00  INFO: Vulnerability found: jquery below 3.5.0
00:00  INFO: Vulnerability found: jquery below 3.5.0
[INFO] Finished RetireJS Analyzer (0 seconds)
[INFO] Finished Sonatype OSS Index Analyzer (2 seconds)
[INFO] Finished Vulnerability Suppression Analyzer (0 seconds)
[INFO] Finished Dependency Bundling Analyzer (0 seconds)
[INFO] Analysis Complete (6 seconds)
[WARNING] 

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

guava-19.0.jar (pkg:maven/com.google.guava/guava@19.0, cpe:2.3:a:google:guava:19.0:*:*:*:*:*:*:*) : CVE-2018-10237
snakeyaml-1.21.jar (pkg:maven/org.yaml/snakeyaml@1.21, cpe:2.3:a:snakeyaml_project:snakeyaml:1.21:*:*:*:*:*:*:*) : CVE-2017-18640
spring-core-4.3.26.RELEASE.jar (pkg:maven/org.springframework/spring-core@4.3.26.RELEASE, cpe:2.3:a:pivotal_software:spring_framework:4.3.26:release:*:*:*:*:*:*, cpe:2.3:a:springsource:spring_framework:4.3.26:release:*:*:*:*:*:*, cpe:2.3:a:vmware:springsource_spring_framework:4.3.26:release:*:*:*:*:*:*) : CVE-2020-5421
testng-7.1.0.jar: jquery-3.4.1.min.js (pkg:javascript/jquery@3.4.1.min) : CVE-2020-11022, CVE-2020-11023


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 [  2.115 s]
[INFO] Struts 2 ........................................... SUCCESS [ 42.971 s]
[INFO] Struts 2 Core ...................................... FAILURE [02:42 min]
[INFO] Struts 2 Plugins ................................... SKIPPED
[INFO] Struts 2 Async Plugin .............................. SKIPPED
[INFO] Struts 2 Bean Validation Plugin .................... SKIPPED
[INFO] Struts 2 CDI Plugin ................................ SKIPPED
[INFO] Struts 2 Velocity Plugin ........................... SKIPPED
[INFO] Struts 2 Configuration Browser Plugin .............. SKIPPED
[INFO] Struts 2 Convention Plugin ......................... SKIPPED
[INFO] Struts 2 DWR Plugin ................................ SKIPPED
[INFO] DEPRECATED: Struts 2 Embedded JSP Plugin ........... SKIPPED
[INFO] Struts 2 GXP Plugin ................................ SKIPPED
[INFO] Struts 2 Spring Plugin ............................. SKIPPED
[INFO] Struts 2 Portlet Mocks Plugin ...................... SKIPPED
[INFO] Struts 2 Portlet Plugin ............................ SKIPPED
[INFO] Struts 2 JUnit 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 JSON 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 Tiles Plugin .............................. SKIPPED
[INFO] Struts 2 Portlet Tiles Plugin ...................... SKIPPED
[INFO] Struts 2 REST Plugin ............................... SKIPPED
[INFO] Struts 2 Sitemesh 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 Webapps ................................... SKIPPED
[INFO] Struts 2 Showcase Webapp ........................... SKIPPED
[INFO] Struts 2 Rest Showcase Webapp ...................... SKIPPED
[INFO] Struts 2 Assembly .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  03:29 min
[INFO] Finished at: 2020-11-05T06:04:44Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.owasp:dependency-check-maven:5.3.2: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] snakeyaml-1.21.jar: CVE-2017-18640
[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 <args> -rf :struts2-core
Build step 'Execute shell' marked build as failure
ERROR: No tool found matching MAVEN_3_LATEST__HOME
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


Jenkins build is back to normal : Struts » Struts-master-JDK8-dependency-check #37

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/37/display/redirect?page=changes>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Build failed in Jenkins: Struts » Struts-master-JDK8-dependency-check #36

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/36/display/redirect?page=changes>

Changes:

[Lukasz Lenart] Fixes a problem with broken site configuration

[Lukasz Lenart] Uses proper labels for tools


------------------------------------------
[...truncated 615.94 KB...]
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413) [junit-4.13.jar:4.13]
	at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) [surefire-booter-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) [surefire-booter-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) [surefire-booter-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) [surefire-booter-3.0.0-M4.jar:3.0.0-M4]
2020-11-08 06:04:25,058 ERROR [main] components.ActionComponent (ActionComponent.java:288) - Could not execute action: /testNamespace/testAction!executeThrowsException
com.opensymphony.xwork2.config.ConfigurationException: There is no Action mapped for namespace [/testNamespace] and action name [testAction!executeThrowsException] associated with context path [].
	at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:187) ~[classes/:?]
	at org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:57) ~[classes/:?]
	at org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:32) ~[classes/:?]
	at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:60) ~[classes/:?]
	at org.apache.struts2.components.ActionComponent.executeAction(ActionComponent.java:280) [classes/:?]
	at org.apache.struts2.components.AnotherActionComponentTest.testDoesNotThrowException(AnotherActionComponentTest.java:56) [test-classes/:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_252]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_252]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252]
	at junit.framework.TestCase.runTest(TestCase.java:177) [junit-4.13.jar:4.13]
	at junit.framework.TestCase.runBare(TestCase.java:142) [junit-4.13.jar:4.13]
	at junit.framework.TestResult$1.protect(TestResult.java:122) [junit-4.13.jar:4.13]
	at junit.framework.TestResult.runProtected(TestResult.java:142) [junit-4.13.jar:4.13]
	at junit.framework.TestResult.run(TestResult.java:125) [junit-4.13.jar:4.13]
	at junit.framework.TestCase.run(TestCase.java:130) [junit-4.13.jar:4.13]
	at junit.framework.TestSuite.runTest(TestSuite.java:241) [junit-4.13.jar:4.13]
	at junit.framework.TestSuite.run(TestSuite.java:236) [junit-4.13.jar:4.13]
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) [junit-4.13.jar:4.13]
	at org.junit.runners.Suite.runChild(Suite.java:128) [junit-4.13.jar:4.13]
	at org.junit.runners.Suite.runChild(Suite.java:27) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) [junit-4.13.jar:4.13]
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413) [junit-4.13.jar:4.13]
	at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158) [surefire-junit47-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) [surefire-booter-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) [surefire-booter-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) [surefire-booter-3.0.0-M4.jar:3.0.0-M4]
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) [surefire-booter-3.0.0-M4.jar:3.0.0-M4]
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 s - in org.apache.struts2.components.AnotherActionComponentTest
[INFO] Running org.apache.struts2.components.PropertyTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.23 s - in org.apache.struts2.components.PropertyTest
[INFO] Running org.apache.struts2.components.FormButtonTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.275 s - in org.apache.struts2.components.FormButtonTest
[INFO] Running org.apache.struts2.components.ActionComponentTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 s - in org.apache.struts2.components.ActionComponentTest
[INFO] Running org.apache.struts2.components.UIComponentTest
2020-11-08 06:04:25,960 WARN  [main] components.OptionTransferSelect (OptionTransferSelect.java:322) - form enclosing optiontransferselect org.apache.struts2.components.OptionTransferSelect@7cd5a7e8 not found, auto select upon form submit of optiontransferselect will not work
2020-11-08 06:04:26,635 WARN  [main] components.ServletUrlRenderer (ServletUrlRenderer.java:200) - No configuration found for the specified action: 'myAction' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.
2020-11-08 06:04:26,646 WARN  [main] components.ServletUrlRenderer (ServletUrlRenderer.java:200) - No configuration found for the specified action: 'myAction' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.
[INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.269 s - in org.apache.struts2.components.UIComponentTest
[INFO] Running org.apache.struts2.components.template.JspTemplateEngineTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 s - in org.apache.struts2.components.template.JspTemplateEngineTest
[INFO] Running org.apache.struts2.components.template.BaseTemplateEngineTest
dummy resource url=<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/core/target/test-classes/org/apache/struts2/components/template/dummy.properties>
resource file=<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/core/target/test-classes/org/apache/struts2/components/template/dummy.properties>
theme properties dir=<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/core/target/test-classes/org/apache/struts2/components/template>
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.224 s - in org.apache.struts2.components.template.BaseTemplateEngineTest
[INFO] Running org.apache.struts2.components.ComponentTest
2020-11-08 06:04:27,596 WARN  [main] util.TextProviderHelper (TextProviderHelper.java:97) - The first TextProvider in the ValueStack (org.apache.struts2.TestAction) could not locate the message resource with key 'some.i18n.key'
2020-11-08 06:04:27,596 WARN  [main] util.TextProviderHelper (TextProviderHelper.java:102) - The default value expression 'some.i18n.key' was evaluated and did not match a property. The literal value 'some.i18n.key' will be used.
2020-11-08 06:04:27,661 WARN  [main] components.UpDownSelect (UpDownSelect.java:149) - no ancestor form found for updownselect org.apache.struts2.components.UpDownSelect@64a2bec7, therefore autoselect of all elements upon form submission will not work 
[INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.303 s - in org.apache.struts2.components.ComponentTest
[INFO] Running org.apache.struts2.components.FormTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.378 s - in org.apache.struts2.components.FormTest
[INFO] Running org.apache.struts2.StrutsExceptionTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 s - in org.apache.struts2.StrutsExceptionTest
[INFO] Running org.apache.struts2.factory.PrefixBasedActionProxyFactoryTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 s - in org.apache.struts2.factory.PrefixBasedActionProxyFactoryTest
[INFO] Running org.apache.struts2.factory.StrutsResultFactoryTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.149 s - in org.apache.struts2.factory.StrutsResultFactoryTest
[INFO] Running org.apache.struts2.RequestUtilsTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.apache.struts2.RequestUtilsTest
[INFO] Running org.apache.struts2.ServletActionContextTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.struts2.ServletActionContextTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 1977, 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: 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] 1535 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 1528 licenses.
[INFO] 
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ struts2-core ---
[INFO] Building jar: <https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/core/target/struts2-core-2.6-SNAPSHOT.jar>
[INFO] 
[INFO] >>> maven-source-plugin:3.2.1:jar (attach-sources) > generate-sources @ struts2-core >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce) @ struts2-core ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ struts2-core ---
[INFO] 
[INFO] <<< maven-source-plugin:3.2.1:jar (attach-sources) < generate-sources @ struts2-core <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.2.1:jar (attach-sources) @ struts2-core ---
[INFO] 
[INFO] --- maven-site-plugin:3.9.0:attach-descriptor (attach-descriptor) @ struts2-core ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO] 
[INFO] --- dependency-check-maven:5.3.2:check (default) @ struts2-core ---
[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 (419 ms)
[INFO] 

Dependency-Check is an open source tool performing a best effort analysis of 3rd party dependencies; false positives and false negatives may exist in the analysis performed by the tool. Use of the tool and the reporting provided constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to the analysis or its use. Any use of the tool and the reporting provided is at the user?s risk. In no event shall the copyright holder or OWASP be held liable for any damages whatsoever arising out of or in connection with the use of this tool, the analysis performed, or the resulting report.


[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 (2 seconds)
[INFO] Finished CPE Analyzer (2 seconds)
[INFO] Finished False Positive Analyzer (0 seconds)
[INFO] Finished NVD CVE Analyzer (0 seconds)
00:00  INFO: Vulnerability found: jquery below 3.5.0
00:00  INFO: Vulnerability found: jquery below 3.5.0
[INFO] Finished RetireJS Analyzer (0 seconds)
[INFO] Finished Sonatype OSS Index Analyzer (1 seconds)
[INFO] Finished Vulnerability Suppression Analyzer (0 seconds)
[INFO] Finished Dependency Bundling Analyzer (0 seconds)
[INFO] Analysis Complete (6 seconds)
[WARNING] 

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

guava-19.0.jar (pkg:maven/com.google.guava/guava@19.0, cpe:2.3:a:google:guava:19.0:*:*:*:*:*:*:*) : CVE-2018-10237
snakeyaml-1.21.jar (pkg:maven/org.yaml/snakeyaml@1.21, cpe:2.3:a:snakeyaml_project:snakeyaml:1.21:*:*:*:*:*:*:*) : CVE-2017-18640
spring-core-4.3.26.RELEASE.jar (pkg:maven/org.springframework/spring-core@4.3.26.RELEASE, cpe:2.3:a:pivotal_software:spring_framework:4.3.26:release:*:*:*:*:*:*, cpe:2.3:a:springsource:spring_framework:4.3.26:release:*:*:*:*:*:*, cpe:2.3:a:vmware:springsource_spring_framework:4.3.26:release:*:*:*:*:*:*) : CVE-2020-5421
testng-7.1.0.jar: jquery-3.4.1.min.js (pkg:javascript/jquery@3.4.1.min) : CVE-2020-11022, CVE-2020-11023


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 [  2.438 s]
[INFO] Struts 2 ........................................... SUCCESS [ 45.366 s]
[INFO] Struts 2 Core ...................................... FAILURE [02:37 min]
[INFO] Struts 2 Plugins ................................... SKIPPED
[INFO] Struts 2 Async Plugin .............................. SKIPPED
[INFO] Struts 2 Bean Validation Plugin .................... SKIPPED
[INFO] Struts 2 CDI Plugin ................................ SKIPPED
[INFO] Struts 2 Velocity Plugin ........................... SKIPPED
[INFO] Struts 2 Configuration Browser Plugin .............. SKIPPED
[INFO] Struts 2 Convention Plugin ......................... SKIPPED
[INFO] Struts 2 DWR Plugin ................................ SKIPPED
[INFO] DEPRECATED: Struts 2 Embedded JSP Plugin ........... SKIPPED
[INFO] Struts 2 GXP Plugin ................................ SKIPPED
[INFO] Struts 2 Spring Plugin ............................. SKIPPED
[INFO] Struts 2 Portlet Mocks Plugin ...................... SKIPPED
[INFO] Struts 2 Portlet Plugin ............................ SKIPPED
[INFO] Struts 2 JUnit 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 JSON 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 Tiles Plugin .............................. SKIPPED
[INFO] Struts 2 Portlet Tiles Plugin ...................... SKIPPED
[INFO] Struts 2 REST Plugin ............................... SKIPPED
[INFO] Struts 2 Sitemesh 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 Webapps ................................... SKIPPED
[INFO] Struts 2 Showcase Webapp ........................... SKIPPED
[INFO] Struts 2 Rest Showcase Webapp ...................... SKIPPED
[INFO] Struts 2 Assembly .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  03:28 min
[INFO] Finished at: 2020-11-08T06:04:40Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.owasp:dependency-check-maven:5.3.2: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] snakeyaml-1.21.jar: CVE-2017-18640
[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 <args> -rf :struts2-core
Build step 'Execute shell' marked build as failure
ERROR: No tool found matching MAVEN_3_LATEST__HOME
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