See <https://builds.apache.org/job/sling-htl-maven-plugin-1.8/133/display/redirect?page=changes>
Changes: [radu] SLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module ------------------------------------------ Started by an SCM change [EnvInject] - Loading node environment variables. Building remotely on H20 (ubuntu xenial) in workspace <https://builds.apache.org/job/sling-htl-maven-plugin-1.8/ws/> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url > https://github.com/apache/sling-htl-maven-plugin.git # timeout=10 Fetching upstream changes from https://github.com/apache/sling-htl-maven-plugin.git > git --version # timeout=10 > git fetch --tags --progress > https://github.com/apache/sling-htl-maven-plugin.git > +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision e9cd71c0884c92ff095ac5e75002347110c75254 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f e9cd71c0884c92ff095ac5e75002347110c75254 Commit message: "SLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module" > git rev-list --no-walk 890aa5d6fe034a3048f3fa70fa744ebea2a74671 # timeout=10 Parsing POMs Established TCP socket on 37356 maven33-agent.jar already up to date maven33-interceptor.jar already up to date maven3-interceptor-commons.jar already up to date [sling-htl-maven-plugin-1.8] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx4g -Xms4g -cp /home/jenkins/jenkins-slave/maven33-agent.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/conf/logging jenkins.maven3.agent.Maven33Main /home/jenkins/tools/maven/apache-maven-3.3.9 /home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven33-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 37356 <===[JENKINS REMOTING CAPACITY]===> channel started Executing Maven: -B -f <https://builds.apache.org/job/sling-htl-maven-plugin-1.8/ws/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -U clean deploy [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Sling HTL Maven Plugin 1.1.9-1.4.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.compiler.java/1.0.27-1.4.0-SNAPSHOT/maven-metadata.xml [INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.compiler.java/1.0.27-1.4.0-SNAPSHOT/maven-metadata.xml (2 KB at 2.4 KB/sec) [INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.compiler.java/1.0.27-1.4.0-SNAPSHOT/org.apache.sling.scripting.sightly.compiler.java-1.0.27-1.4.0-20180916.111059-8.pom [INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.compiler.java/1.0.27-1.4.0-SNAPSHOT/org.apache.sling.scripting.sightly.compiler.java-1.0.27-1.4.0-20180916.111059-8.pom (9 KB at 29.3 KB/sec) [INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.compiler.java/1.0.27-1.4.0-SNAPSHOT/org.apache.sling.scripting.sightly.compiler.java-1.0.27-1.4.0-20180916.111059-8.jar [INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.compiler.java/1.0.27-1.4.0-SNAPSHOT/org.apache.sling.scripting.sightly.compiler.java-1.0.27-1.4.0-20180916.111059-8.jar (87 KB at 193.1 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1.jar (223 KB at 745.5 KB/sec) [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ htl-maven-plugin --- [INFO] Deleting <https://builds.apache.org/job/sling-htl-maven-plugin-1.8/ws/target> [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ htl-maven-plugin --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ htl-maven-plugin --- [INFO] Executing tasks main: Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from sling.java.version=7 [INFO] Executed tasks [INFO] [INFO] --- jacoco-maven-plugin:0.8.1:prepare-agent (default-prepare-agent) @ htl-maven-plugin --- [INFO] argLine set to -javaagent:/home/jenkins/jenkins-slave/maven-repositories/0/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar=destfile=<https://builds.apache.org/job/sling-htl-maven-plugin-1.8/ws/target/jacoco.exec> [INFO] [INFO] --- maven-plugin-plugin:3.4:helpmojo (generated-helpmojo) @ htl-maven-plugin --- [INFO] Using 'UTF-8' encoding to read mojo metadata. [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors. [INFO] Mojo extractor with id: java-annotations found 0 mojo descriptors. [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ htl-maven-plugin --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ htl-maven-plugin --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ htl-maven-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ htl-maven-plugin --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to <https://builds.apache.org/job/sling-htl-maven-plugin-1.8/ws/target/classes> [INFO] [INFO] --- maven-plugin-plugin:3.4:descriptor (default-descriptor) @ htl-maven-plugin --- [INFO] Using 'UTF-8' encoding to read mojo metadata. [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors. [INFO] Mojo extractor with id: java-annotations found 2 mojo descriptors. [INFO] [INFO] --- maven-plugin-plugin:3.4:descriptor (mojo-descriptor) @ htl-maven-plugin --- [INFO] Using 'UTF-8' encoding to read mojo metadata. [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors. [INFO] Mojo extractor with id: java-annotations found 2 mojo descriptors. [INFO] [INFO] --- plexus-component-metadata:1.6:generate-metadata (default) @ htl-maven-plugin --- [INFO] [INFO] >>> findbugs-maven-plugin:3.0.3:check (find-bugs) > :findbugs @ htl-maven-plugin >>> [INFO] [INFO] --- findbugs-maven-plugin:3.0.3:findbugs (findbugs) @ htl-maven-plugin --- [INFO] Fork Value is true [INFO] Done FindBugs Analysis.... [INFO] [INFO] <<< findbugs-maven-plugin:3.0.3:check (find-bugs) < :findbugs @ htl-maven-plugin <<< [INFO] [INFO] --- findbugs-maven-plugin:3.0.3:check (find-bugs) @ htl-maven-plugin --- [INFO] BugInstance size is 0 [INFO] Error size is 0 [INFO] No errors/warnings found [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ htl-maven-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 13 resources [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ htl-maven-plugin --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to <https://builds.apache.org/job/sling-htl-maven-plugin-1.8/ws/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ htl-maven-plugin --- [INFO] Surefire report directory: <https://builds.apache.org/job/sling-htl-maven-plugin-1.8/ws/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.sling.maven.htl.ValidateMojoTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.7 sec - in org.apache.sling.maven.htl.ValidateMojoTest Results : Tests run: 8, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.SurefireArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [INFO] [INFO] --- animal-sniffer-maven-plugin:1.15:check (default) @ htl-maven-plugin --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0 [INFO] [INFO] --- jacoco-maven-plugin:0.8.1:report (report) @ htl-maven-plugin --- [INFO] Loading execution data file <https://builds.apache.org/job/sling-htl-maven-plugin-1.8/ws/target/jacoco.exec> [INFO] Analyzed bundle 'Apache Sling HTL Maven Plugin' with 5 classes [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.BuildInfoRecorder$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [INFO] [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ htl-maven-plugin --- [INFO] Building jar: <https://builds.apache.org/job/sling-htl-maven-plugin-1.8/ws/target/htl-maven-plugin-1.1.9-1.4.0-SNAPSHOT.jar> [INFO] [INFO] --- maven-plugin-plugin:3.4:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ htl-maven-plugin --- [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ htl-maven-plugin >>> [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ htl-maven-plugin --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ htl-maven-plugin --- [INFO] Executing tasks main: Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from sling.java.version=7 [INFO] Executed tasks [INFO] [INFO] --- jacoco-maven-plugin:0.8.1:prepare-agent (default-prepare-agent) @ htl-maven-plugin --- [INFO] argLine set to -javaagent:/home/jenkins/jenkins-slave/maven-repositories/0/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar=destfile=<https://builds.apache.org/job/sling-htl-maven-plugin-1.8/ws/target/jacoco.exec> [INFO] [INFO] --- maven-plugin-plugin:3.4:helpmojo (generated-helpmojo) @ htl-maven-plugin --- [INFO] Using 'UTF-8' encoding to read mojo metadata. [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors. [INFO] Mojo extractor with id: java-annotations found 2 mojo descriptors. [WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ htl-maven-plugin <<< [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ htl-maven-plugin --- [INFO] Building jar: <https://builds.apache.org/job/sling-htl-maven-plugin-1.8/ws/target/htl-maven-plugin-1.1.9-1.4.0-SNAPSHOT-sources.jar> [INFO] [INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ htl-maven-plugin --- [INFO] [INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ htl-maven-plugin --- [INFO] Checking legal files in: htl-maven-plugin-1.1.9-1.4.0-SNAPSHOT.jar [INFO] Checking legal files in: htl-maven-plugin-1.1.9-1.4.0-SNAPSHOT-sources.jar [INFO] [INFO] --- apache-rat-plugin:0.11:check (default) @ htl-maven-plugin --- [INFO] 51 implicit excludes (use -debug for more details). [INFO] Exclude: DEPENDENCIES [INFO] Exclude: src/main/appended-resources/META-INF/* [INFO] Exclude: velocity.log [INFO] Exclude: target/* [INFO] Exclude: README.md [INFO] Exclude: maven-eclipse.xml [INFO] Exclude: .* [INFO] Exclude: .*/** [INFO] Exclude: **/*.json [INFO] Exclude: DEPENDENCIES [INFO] Exclude: **/*.rej [INFO] Exclude: hs_err_*.log [INFO] Exclude: **/repository/index/*/index-details.txt [INFO] Exclude: **/*.iml [INFO] Exclude: **/target/**/* [INFO] Exclude: src/site/markdown/** [INFO] 24 resources included (use -debug for more details) [INFO] Rat check: Summary of files. Unapproved: 1 unknown: 1 generated: 0 approved: 22 licence. [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [JENKINS] Archiving disabled [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenFingerprinter$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:40 min [INFO] Finished at: 2018-09-19T16:18:41+00:00 [INFO] Final Memory: 110M/3925M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project htl-maven-plugin: Too many files with unapproved license: 1 See RAT report in: <https://builds.apache.org/job/sling-htl-maven-plugin-1.8/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 channel stopped Recording test results
