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 2019/01/30 19:41:09 UTC

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

See <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/226/display/redirect?page=changes>

Changes:

[lukaszlenart] Allows use Jenkinsfile syntax in IDEA

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H35 (ubuntu xenial) in workspace <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/struts.git # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/struts.git
 > git --version # timeout=10
 > git fetch --tags --progress https://gitbox.apache.org/repos/asf/struts.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/refs/heads/master^{commit} # timeout=10
Checking out Revision 66a3f82d7bd38e100b48f14ab95423468cf36aaa (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 66a3f82d7bd38e100b48f14ab95423468cf36aaa
Commit message: "Allows use Jenkinsfile syntax in IDEA"
 > git rev-list --no-walk 4d7deafb6b4de2ab6051203bc5f32841b7e71529 # timeout=10
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
Injecting SonarQube environment variables using the configuration: ASF Sonar Analysis
Setting MAVEN_3_LATEST__HOME=/home/jenkins/tools/maven/latest3/
[Struts-master-JDK8-sonar-analysis] $ /bin/bash -xe /tmp/jenkins1694550528071801761.sh
+ export MAVEN_OPTS=-Xmx2048m
+ MAVEN_OPTS=-Xmx2048m
+ /home/jenkins/tools/maven/latest3//bin/mvn clean verify sonar:sonar -DskipAssembly
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Struts 2 Bill of Materials                                         [pom]
[INFO] Struts 2                                                           [pom]
[INFO] Struts 2 Core                                                      [jar]
[INFO] Struts 2 Plugins                                                   [pom]
[INFO] Struts 2 Configuration Browser Plugin                              [jar]
[INFO] Struts 2 Sitemesh Plugin                                           [jar]
[INFO] Struts 2 Tiles Plugin                                              [jar]
[INFO] Struts 2 DWR Plugin                                                [jar]
[INFO] Struts 2 Spring Plugin                                             [jar]
[INFO] Struts 2 Convention Plugin                                         [jar]
[INFO] Struts 2 JUnit Plugin                                              [jar]
[INFO] Struts 2 JSON Plugin                                               [jar]
[INFO] Struts 2 Bean Validation Plugin                                    [jar]
[INFO] Struts 2 Async Plugin                                              [jar]
[INFO] Struts 2 Webapps                                                   [pom]
[INFO] Struts 2 Showcase Webapp                                           [war]
[INFO] Struts 2 REST Plugin                                               [jar]
[INFO] Struts 2 Rest Showcase Webapp                                      [war]
[INFO] Struts 2 CDI Plugin                                                [jar]
[INFO] DEPRECATED: Struts 2 Embedded JSP Plugin                           [jar]
[INFO] Struts 2 GXP Plugin                                                [jar]
[INFO] Struts 2 Jasper Reports Plugin                                     [jar]
[INFO] Struts 2 Java Templates Plugin                                     [jar]
[INFO] Struts 2 JFreeChart Plugin                                         [jar]
[INFO] Struts 2 OSGi Plugin                                               [jar]
[INFO] Struts 2 OVal Plugin                                               [jar]
[INFO] Struts 2 Pell Multipart Plugin                                     [jar]
[INFO] Struts 2 Plexus Plugin                                             [jar]
[INFO] Struts 2 Portlet Plugin                                            [jar]
[INFO] Struts 2 Portlet Tiles Plugin                                      [jar]
[INFO] DEPRECATED: Struts 2 Sitegraph Plugin                              [jar]
[INFO] Struts 2 TestNG Plugin                                             [jar]
[INFO] Struts 2 OSGi Bundles                                              [pom]
[INFO] Struts 2 OSGi Admin Bundle                                      [bundle]
[INFO] Struts 2 OSGi Demo Bundle                                       [bundle]
[INFO] 
[INFO] -------------------< org.apache.struts:struts2-bom >--------------------
[INFO] Building Struts 2 Bill of Materials 2.6-SNAPSHOT                  [1/35]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ struts2-bom ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ struts2-bom ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ struts2-bom ---
[INFO] 
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ struts2-bom ---
[INFO] No site descriptor found: nothing to attach.
[INFO] 
[INFO] ------------------< org.apache.struts:struts2-parent >------------------
[INFO] Building Struts 2 2.6-SNAPSHOT                                    [2/35]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ struts2-parent ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ struts2-parent ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ struts2-parent ---
[INFO] 
[INFO] --- maven-bundle-plugin:3.5.0:manifest (bundle-manifest) @ struts2-parent ---
[WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle]
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (default) @ struts2-parent ---
[INFO] Added 1 additional default licenses.
[INFO] Added 1 custom approved licenses.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Parsing exclusions from <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/.gitignore>
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 113 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] 4 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 1, unknown: 1, generated: 0, approved: 3 licenses.
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Struts 2
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Struts 2 2.6-SNAPSHOT:
[INFO] 
[INFO] Struts 2 Bill of Materials ......................... SUCCESS [  1.872 s]
[INFO] Struts 2 ........................................... FAILURE [  1.062 s]
[INFO] Struts 2 Core ...................................... SKIPPED
[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] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.510 s
[INFO] Finished at: 2019-01-30T19:41:08Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check (default) on project struts2-parent: Too many files with unapproved license: 1 See RAT report in: <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/target/rat.txt> -> [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-parent
Build step 'Execute shell' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succedeed?
[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


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

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


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