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

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

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

Apache Jenkins Server-2
See <https://builds.apache.org/job/Struts-master-JDK8-dependency-check/147/display/redirect>

------------------------------------------
[...truncated 656.37 KB...]
[INFO] -------------------------------------------------------
[INFO] Running org.apache.struts2.showcase.filedownload.FileDownloadActionTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s - in org.apache.struts2.showcase.filedownload.FileDownloadActionTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (default) @ struts2-showcase ---
[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] 373 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 314 licenses.
[INFO]
[INFO] --- maven-war-plugin:3.2.2:war (default-war) @ struts2-showcase ---
[INFO] Packaging webapp
[INFO] Assembling webapp [struts2-showcase] in [<https://builds.apache.org/job/Struts-master-JDK8-dependency-check/ws/apps/showcase/target/struts2-showcase]>
[INFO] Processing war project
[INFO] Copying webapp webResources [<https://builds.apache.org/job/Struts-master-JDK8-dependency-check/ws/apps/showcase/src/main/resources]> to [<https://builds.apache.org/job/Struts-master-JDK8-dependency-check/ws/apps/showcase/target/struts2-showcase]>
[INFO] Copying webapp resources [<https://builds.apache.org/job/Struts-master-JDK8-dependency-check/ws/apps/showcase/src/main/webapp]>
[INFO] Webapp assembled in [496 msecs]
[INFO] Building war: <https://builds.apache.org/job/Struts-master-JDK8-dependency-check/ws/apps/showcase/target/struts2-showcase.war>
[INFO]
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ struts2-showcase >>>
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce) @ struts2-showcase ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ struts2-showcase ---
[INFO]
[INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ struts2-showcase <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ struts2-showcase ---
[INFO] Building jar: <https://builds.apache.org/job/Struts-master-JDK8-dependency-check/ws/apps/showcase/target/struts2-showcase-sources.jar>
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ struts2-showcase ---
[INFO] Skipping because packaging 'war' is not pom.
[INFO]
[INFO] --- jetty-maven-plugin:8.1.16.v20140903:stop (start-jetty) @ struts2-showcase ---
[INFO] Jetty not running!
[INFO]
[INFO] >>> jetty-maven-plugin:8.1.16.v20140903:run-forked (start-jetty) > test-compile @ struts2-showcase >>>
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce) @ struts2-showcase ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ struts2-showcase ---
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (copy-sources) @ struts2-showcase ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ struts2-showcase ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ struts2-showcase ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 60 resources
[INFO] Copying 115 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ struts2-showcase ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-bundle-plugin:3.5.0:manifest (bundle-manifest) @ struts2-showcase ---
[WARNING] Ignoring project type war - supportedProjectTypes = [jar, bundle]
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ struts2-showcase ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Struts-master-JDK8-dependency-check/ws/apps/showcase/src/test/resources>
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ struts2-showcase ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< jetty-maven-plugin:8.1.16.v20140903:run-forked (start-jetty) < test-compile @ struts2-showcase <<<
[INFO]
[INFO]
[INFO] --- jetty-maven-plugin:8.1.16.v20140903:run-forked (start-jetty) @ struts2-showcase ---
[INFO] Configuring Jetty for project: Struts 2 Showcase Webapp
[INFO] Forked process starting
[INFO] Forked process started.
[INFO]
[INFO] --- maven-failsafe-plugin:2.22.1:integration-test (integration-test) @ struts2-showcase ---
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running it.org.apache.struts2.showcase.CRUDTest
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.862 s - in it.org.apache.struts2.showcase.CRUDTest
[INFO] Running it.org.apache.struts2.showcase.AsyncTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.21 s - in it.org.apache.struts2.showcase.AsyncTest
[INFO] Running it.org.apache.struts2.showcase.StaticContentTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 s - in it.org.apache.struts2.showcase.StaticContentTest
[INFO] Running it.org.apache.struts2.showcase.ActionTagExampleTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.023 s - in it.org.apache.struts2.showcase.ActionTagExampleTest
[INFO] Running it.org.apache.struts2.showcase.ExecAndWaitTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.307 s - in it.org.apache.struts2.showcase.ExecAndWaitTest
[INFO] Running it.org.apache.struts2.showcase.ValidationTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.927 s - in it.org.apache.struts2.showcase.ValidationTest
[INFO] Running it.org.apache.struts2.showcase.FreeMarkerManagerTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.852 s - in it.org.apache.struts2.showcase.FreeMarkerManagerTest
[INFO] Running it.org.apache.struts2.showcase.ActionChainingTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.746 s - in it.org.apache.struts2.showcase.ActionChainingTest
[INFO] Running it.org.apache.struts2.showcase.FileDownloadTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.588 s <<< FAILURE! - in it.org.apache.struts2.showcase.FileDownloadTest
[ERROR] testImage(it.org.apache.struts2.showcase.FileDownloadTest)  Time elapsed: 0.588 s  <<< ERROR!
java.io.IOException: Server returned HTTP response code: 403 for URL: https://gitbox.apache.org/repos/asf?p=struts.git;a=blob_plain;f=apps/showcase/src/main/webapp/images/struts.gif;hb=HEAD
        at it.org.apache.struts2.showcase.FileDownloadTest.testImage(FileDownloadTest.java:42)

[INFO] Running it.org.apache.struts2.showcase.ComponentTagExampleTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.979 s - in it.org.apache.struts2.showcase.ComponentTagExampleTest
[INFO] Running it.org.apache.struts2.showcase.ConversionTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.473 s - in it.org.apache.struts2.showcase.ConversionTest
[INFO] Running it.org.apache.struts2.showcase.UITagExampleTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.972 s - in it.org.apache.struts2.showcase.UITagExampleTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   FileDownloadTest.testImage:42 ยป IO Server returned HTTP response code: 403 for...
[INFO]
[ERROR] Tests run: 15, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO]
[INFO] --- jetty-maven-plugin:8.1.16.v20140903:stop (stop-jetty) @ struts2-showcase ---
[INFO]
[INFO] --- dependency-check-maven:4.0.2:check (default) @ struts2-showcase ---
[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 (22 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 (0 seconds)
[INFO] Skipping CPE Analysis for npm
[INFO] Finished CPE Analyzer (1 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 (2 seconds)
[WARNING]

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

tiles-ognl-3.0.8.jar (cpe:/a:ognl_project:ognl:3.0.8, cpe:/a:apache:tiles:3.0.8, org.apache.tiles:tiles-ognl:3.0.8) : CVE-2016-3093
sitemesh-2.4.2.jar (cpe:/a:mesh_project:mesh:2.4.2, opensymphony:sitemesh:2.4.2) : CVE-2018-10769


See the dependency-check report for more details.


[INFO]
[INFO] --- maven-failsafe-plugin:2.22.1:verify (verify) @ struts2-showcase ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Struts 2 2.6-SNAPSHOT:
[INFO]
[INFO] Struts 2 Bill of Materials ......................... SUCCESS [  1.868 s]
[INFO] Struts 2 ........................................... SUCCESS [01:28 min]
[INFO] Struts 2 Core ...................................... SUCCESS [01:58 min]
[INFO] Struts 2 Plugins ................................... SUCCESS [  3.308 s]
[INFO] Struts 2 Configuration Browser Plugin .............. SUCCESS [  3.832 s]
[INFO] Struts 2 Sitemesh Plugin ........................... SUCCESS [  3.993 s]
[INFO] Struts 2 Tiles Plugin .............................. SUCCESS [  5.114 s]
[INFO] Struts 2 DWR Plugin ................................ SUCCESS [  3.698 s]
[INFO] Struts 2 Spring Plugin ............................. SUCCESS [  4.893 s]
[INFO] Struts 2 Convention Plugin ......................... SUCCESS [ 12.213 s]
[INFO] Struts 2 JUnit Plugin .............................. SUCCESS [  9.245 s]
[INFO] Struts 2 JSON Plugin ............................... SUCCESS [ 10.148 s]
[INFO] Struts 2 Bean Validation Plugin .................... SUCCESS [  6.761 s]
[INFO] Struts 2 Async Plugin .............................. SUCCESS [  4.290 s]
[INFO] Struts 2 Webapps ................................... SUCCESS [  3.253 s]
[INFO] Struts 2 Showcase Webapp ........................... FAILURE [01:04 min]
[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] Struts 2 Assembly .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  05:46 min
[INFO] Finished at: 2019-02-21T07:59:56Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.22.1:verify (verify) on project struts2-showcase: There are test failures.
[ERROR]
[ERROR] Please refer to <https://builds.apache.org/job/Struts-master-JDK8-dependency-check/ws/apps/showcase/target/failsafe-reports> for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[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-showcase
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: [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-dependency-check #148

Apache Jenkins Server-2
See <https://builds.apache.org/job/Struts-master-JDK8-dependency-check/148/display/redirect>


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