See <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/68/display/redirect?page=changes>
Changes: [radu] SLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module [radu] SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module ------------------------------------------ Started by an SCM change [EnvInject] - Loading node environment variables. Building remotely on H27 (ubuntu xenial) in workspace <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/ws/> Cloning the remote Git repository Cloning repository https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler.git > git init > <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/ws/> > # timeout=10 Fetching upstream changes from https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler.git > git --version # timeout=10 > git fetch --tags --progress > https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler.git > +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url > https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler.git > # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # > timeout=10 > git config remote.origin.url > https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler.git > # timeout=10 Fetching upstream changes from https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler.git > git fetch --tags --progress > https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler.git > +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision efe0fa605a1922ba647095c1ac5c7bb5f29b4671 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f efe0fa605a1922ba647095c1ac5c7bb5f29b4671 Commit message: "SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module" > git rev-list --no-walk b52eef5328ab5c608248bfa72689c6d26f94068c # timeout=10 Parsing POMs Established TCP socket on 36476 maven33-agent.jar already up to date maven33-interceptor.jar already up to date maven3-interceptor-commons.jar already up to date [sling-org-apache-sling-scripting-sightly-compiler-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 36476 <===[JENKINS REMOTING CAPACITY]===> channel started Executing Maven: -B -f <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/ws/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/1 -U clean deploy [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Sling Scripting HTL Compiler 1.0.23-1.4.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] Downloading: https://repo.maven.apache.org/maven2/org/antlr/antlr4-maven-plugin/4.1/antlr4-maven-plugin-4.1.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/antlr/antlr4-maven-plugin/4.1/antlr4-maven-plugin-4.1.pom (8 KB at 23.3 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/antlr/antlr4-maven-plugin/4.1/antlr4-maven-plugin-4.1.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/antlr/antlr4-maven-plugin/4.1/antlr4-maven-plugin-4.1.jar (22 KB at 613.6 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/powermock/powermock-module-junit4/1.6.5/powermock-module-junit4-1.6.5.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/powermock/powermock-module-junit4/1.6.5/powermock-module-junit4-1.6.5.pom (2 KB at 70.5 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/powermock/powermock-modules/1.6.5/powermock-modules-1.6.5.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/powermock/powermock-modules/1.6.5/powermock-modules-1.6.5.pom (771 B at 44.3 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/powermock/powermock-module-junit4-common/1.6.5/powermock-module-junit4-common-1.6.5.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/powermock/powermock-module-junit4-common/1.6.5/powermock-module-junit4-common-1.6.5.pom (2 KB at 40.2 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/powermock/powermock-module-junit4/1.6.5/powermock-module-junit4-1.6.5.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/org/powermock/powermock-module-junit4-common/1.6.5/powermock-module-junit4-common-1.6.5.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/powermock/powermock-module-junit4/1.6.5/powermock-module-junit4-1.6.5.jar (46 KB at 1323.8 KB/sec) [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/powermock/powermock-module-junit4-common/1.6.5/powermock-module-junit4-common-1.6.5.jar (16 KB at 370.3 KB/sec) [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ org.apache.sling.scripting.sightly.compiler --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ org.apache.sling.scripting.sightly.compiler --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.scripting.sightly.compiler --- [INFO] Executing tasks main: Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from sling.java.version=7 [INFO] Executed tasks [INFO] [INFO] --- antlr4-maven-plugin:4.1:antlr4 (default) @ org.apache.sling.scripting.sightly.compiler --- [INFO] Downloading: https://repo.maven.apache.org/maven2/org/antlr/antlr4/4.1/antlr4-4.1.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/antlr/antlr4/4.1/antlr4-4.1.pom (5 KB at 195.3 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.5/antlr-runtime-3.5.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.5/antlr-runtime-3.5.pom (3 KB at 119.7 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/antlr/antlr-master/3.5/antlr-master-3.5.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/antlr/antlr-master/3.5/antlr-master-3.5.pom (11 KB at 589.8 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/antlr/ST4/4.0.7/ST4-4.0.7.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/antlr/ST4/4.0.7/ST4-4.0.7.pom (13 KB at 677.6 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/antlr/antlr4/4.1/antlr4-4.1.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.5/antlr-runtime-3.5.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/org/antlr/ST4/4.0.7/ST4-4.0.7.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.5/antlr-runtime-3.5.jar (164 KB at 3809.4 KB/sec) [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/antlr/ST4/4.0.7/ST4-4.0.7.jar (231 KB at 3719.2 KB/sec) [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/antlr/antlr4/4.1/antlr4-4.1.jar (605 KB at 7744.6 KB/sec) [INFO] ANTLR 4: Processing source directory <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/ws/src/main/antlr4> [INFO] Processing grammar: org/apache/sling/scripting/sightly/impl/parser/expr/generated/SightlyLexer.g4 [INFO] Processing grammar: org/apache/sling/scripting/sightly/impl/parser/expr/generated/SightlyParser.g4 [INFO] [INFO] --- build-helper-maven-plugin:1.8:add-source (add-antlr-source) @ org.apache.sling.scripting.sightly.compiler --- [INFO] Source directory: <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/ws/src/main/antlr4> added. [INFO] Source directory: <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/ws/target/generated-sources/antlr4> added. [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ org.apache.sling.scripting.sightly.compiler --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.apache.sling.scripting.sightly.compiler --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.apache.sling.scripting.sightly.compiler --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/ws/src/main/resources> [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ org.apache.sling.scripting.sightly.compiler --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 132 source files to <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/ws/target/classes> [INFO] <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/ws/src/main/java/org/apache/sling/scripting/sightly/compiler/expression/nodes/BinaryOperator.java>: Some input files use unchecked or unsafe operations. [INFO] <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/ws/src/main/java/org/apache/sling/scripting/sightly/compiler/expression/nodes/BinaryOperator.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-bundle-plugin:3.2.0:manifest (scr-metadata) @ org.apache.sling.scripting.sightly.compiler --- [INFO] [INFO] >>> findbugs-maven-plugin:3.0.3:check (find-bugs) > :findbugs @ org.apache.sling.scripting.sightly.compiler >>> [INFO] [INFO] --- findbugs-maven-plugin:3.0.3:findbugs (findbugs) @ org.apache.sling.scripting.sightly.compiler --- [INFO] Fork Value is true [INFO] Done FindBugs Analysis.... [INFO] [INFO] <<< findbugs-maven-plugin:3.0.3:check (find-bugs) < :findbugs @ org.apache.sling.scripting.sightly.compiler <<< [INFO] [INFO] --- findbugs-maven-plugin:3.0.3:check (find-bugs) @ org.apache.sling.scripting.sightly.compiler --- [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) @ org.apache.sling.scripting.sightly.compiler --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 7 resources [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ org.apache.sling.scripting.sightly.compiler --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 9 source files to <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/ws/target/test-classes> [INFO] <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/ws/src/test/java/org/apache/sling/scripting/sightly/util/ObjectModelTest.java>: <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/ws/src/test/java/org/apache/sling/scripting/sightly/util/ObjectModelTest.java> uses unchecked or unsafe operations. [INFO] <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/ws/src/test/java/org/apache/sling/scripting/sightly/util/ObjectModelTest.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ org.apache.sling.scripting.sightly.compiler --- [INFO] Surefire report directory: <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/ws/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.sling.scripting.sightly.impl.compiler.SightlyCompilerTest 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. Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.639 sec - in org.apache.sling.scripting.sightly.impl.compiler.SightlyCompilerTest Running org.apache.sling.scripting.sightly.impl.html.dom.HtmlParserTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.sling.scripting.sightly.impl.html.dom.HtmlParserTest Running org.apache.sling.scripting.sightly.impl.frontend.ExpressionWrapperTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.sling.scripting.sightly.impl.frontend.ExpressionWrapperTest Running org.apache.sling.scripting.sightly.util.ObjectModelTest 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. Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 sec - in org.apache.sling.scripting.sightly.util.ObjectModelTest Results : Tests run: 23, 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) @ org.apache.sling.scripting.sightly.compiler --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0 [INFO] [INFO] --- maven-bundle-plugin:3.2.0:bundle (default-bundle) @ org.apache.sling.scripting.sightly.compiler --- [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ org.apache.sling.scripting.sightly.compiler >>> [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ org.apache.sling.scripting.sightly.compiler --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.scripting.sightly.compiler --- [INFO] Executing tasks main: Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from sling.java.version=7 [INFO] Executed tasks [INFO] [INFO] --- antlr4-maven-plugin:4.1:antlr4 (default) @ org.apache.sling.scripting.sightly.compiler --- [INFO] ANTLR 4: Processing source directory <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/ws/src/main/antlr4> [INFO] Processing grammar: org/apache/sling/scripting/sightly/impl/parser/expr/generated/SightlyLexer.g4 [INFO] Processing grammar: org/apache/sling/scripting/sightly/impl/parser/expr/generated/SightlyParser.g4 [INFO] [INFO] --- build-helper-maven-plugin:1.8:add-source (add-antlr-source) @ org.apache.sling.scripting.sightly.compiler --- [INFO] Source directory: <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/ws/src/main/antlr4> added. [INFO] Source directory: <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/ws/target/generated-sources/antlr4> added. [WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ org.apache.sling.scripting.sightly.compiler <<< [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ org.apache.sling.scripting.sightly.compiler --- [INFO] Building jar: <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-1.8/ws/target/org.apache.sling.scripting.sightly.compiler-1.0.23-1.4.0-SNAPSHOT-sources.jar> [INFO] [INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ org.apache.sling.scripting.sightly.compiler --- [INFO] [INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.scripting.sightly.compiler --- [INFO] Checking legal files in: org.apache.sling.scripting.sightly.compiler-1.0.23-1.4.0-SNAPSHOT.jar [INFO] Checking legal files in: org.apache.sling.scripting.sightly.compiler-1.0.23-1.4.0-SNAPSHOT-sources.jar [INFO] [INFO] --- apache-rat-plugin:0.11:check (default) @ org.apache.sling.scripting.sightly.compiler --- [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] 150 resources included (use -debug for more details) [INFO] Rat check: Summary of files. Unapproved: 2 unknown: 2 generated: 0 approved: 147 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:50 min [INFO] Finished at: 2018-09-19T18:29:20+00:00 [INFO] Final Memory: 98M/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 org.apache.sling.scripting.sightly.compiler: Too many files with unapproved license: 2 See RAT report in: <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-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
