See <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-java-1.8/125/display/redirect?page=changes>
Changes: [radu] SLING-8217 - Numeric operations can lead to Java code that doesn't ------------------------------------------ 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-java-1.8/ws/> [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... Cloning the remote Git repository Cloning repository https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler-java.git > git init > <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-java-1.8/ws/> > # timeout=10 Fetching upstream changes from https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler-java.git > git --version # timeout=10 > git fetch --tags --progress > https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler-java.git > +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url > https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler-java.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-java.git > # timeout=10 Fetching upstream changes from https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler-java.git > git fetch --tags --progress > https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler-java.git > +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision 37f6f9cd2daecc4005ea698f9aa6afabbc13d23b (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 37f6f9cd2daecc4005ea698f9aa6afabbc13d23b Commit message: "SLING-8217 - Numeric operations can lead to Java code that doesn't compile" > git rev-list --no-walk d8e885a103125a661b4394c5e648f547d0aa53f9 # timeout=10 Parsing POMs Established TCP socket on 39260 maven35-agent.jar already up to date maven35-interceptor.jar already up to date maven3-interceptor-commons.jar already up to date [sling-org-apache-sling-scripting-sightly-compiler-java-1.8] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx4g -Xms4g -cp /home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/latest/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest/conf/logging jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest/ /home/jenkins/jenkins-slave/remoting.jar /home/jenkins/jenkins-slave/maven35-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 39260 <===[JENKINS REMOTING CAPACITY]===> channel started Executing Maven: -B -f <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-java-1.8/ws/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -U clean deploy [INFO] Scanning for projects... [INFO] [INFO] --< org.apache.sling:org.apache.sling.scripting.sightly.compiler.java >-- [INFO] Building Apache Sling Scripting HTL Java Compiler 1.1.1-1.4.0-SNAPSHOT [INFO] -------------------------------[ bundle ]------------------------------- [INFO] Downloading from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.compiler/1.1.1-1.4.0-SNAPSHOT/maven-metadata.xml [INFO] Downloaded from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.compiler/1.1.1-1.4.0-SNAPSHOT/maven-metadata.xml (1.1 kB at 2.4 kB/s) [INFO] Downloading from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.compiler/1.1.1-1.4.0-SNAPSHOT/org.apache.sling.scripting.sightly.compiler-1.1.1-1.4.0-20190114.000548-21.pom [INFO] Downloaded from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.compiler/1.1.1-1.4.0-SNAPSHOT/org.apache.sling.scripting.sightly.compiler-1.1.1-1.4.0-20190114.000548-21.pom (12 kB at 37 kB/s) [INFO] Downloading from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.runtime/1.0.1-1.4.0-SNAPSHOT/maven-metadata.xml [INFO] Downloaded from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.runtime/1.0.1-1.4.0-SNAPSHOT/maven-metadata.xml (1.1 kB at 3.2 kB/s) [INFO] Downloading from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.runtime/1.0.1-1.4.0-SNAPSHOT/org.apache.sling.scripting.sightly.runtime-1.0.1-1.4.0-20190114.000317-11.pom [INFO] Downloaded from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.runtime/1.0.1-1.4.0-SNAPSHOT/org.apache.sling.scripting.sightly.runtime-1.0.1-1.4.0-20190114.000317-11.pom (8.6 kB at 27 kB/s) [INFO] Downloading from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.compiler/1.1.1-1.4.0-SNAPSHOT/org.apache.sling.scripting.sightly.compiler-1.1.1-1.4.0-20190114.000548-21.jar [INFO] Downloading from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.runtime/1.0.1-1.4.0-SNAPSHOT/org.apache.sling.scripting.sightly.runtime-1.0.1-1.4.0-20190114.000317-11.jar [INFO] Downloaded from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.runtime/1.0.1-1.4.0-SNAPSHOT/org.apache.sling.scripting.sightly.runtime-1.0.1-1.4.0-20190114.000317-11.jar (28 kB at 73 kB/s) [INFO] Downloaded from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.compiler/1.1.1-1.4.0-SNAPSHOT/org.apache.sling.scripting.sightly.compiler-1.1.1-1.4.0-20190114.000548-21.jar (293 kB at 489 kB/s) [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-property-values) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-maven-scr-plugin) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (remote-resources-custom-notice) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 40 source files to <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-java-1.8/ws/target/classes> [INFO] [INFO] --- animal-sniffer-maven-plugin:1.16:check (default) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0 [INFO] [INFO] --- maven-bundle-plugin:3.5.0:manifest (scr-metadata) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] [INFO] >>> findbugs-maven-plugin:3.0.5:check (find-bugs) > :findbugs @ org.apache.sling.scripting.sightly.compiler.java >>> [INFO] [INFO] --- findbugs-maven-plugin:3.0.5:findbugs (findbugs) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] Fork Value is true [INFO] Done FindBugs Analysis.... [INFO] [INFO] <<< findbugs-maven-plugin:3.0.5:check (find-bugs) < :findbugs @ org.apache.sling.scripting.sightly.compiler.java <<< [INFO] [INFO] [INFO] --- findbugs-maven-plugin:3.0.5:check (find-bugs) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] BugInstance size is 0 [INFO] Error size is 0 [INFO] No errors/warnings found [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 10 resources [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 7 source files to <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-java-1.8/ws/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.sling.scripting.sightly.java.compiler.JavaEscapeUtilsTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 s - in org.apache.sling.scripting.sightly.java.compiler.JavaEscapeUtilsTest [INFO] Running org.apache.sling.scripting.sightly.compiler.java.JavaClassBackendCompilerTest 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: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.294 s - in org.apache.sling.scripting.sightly.compiler.java.JavaClassBackendCompilerTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0 [INFO] [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] --- maven-bundle-plugin:3.5.0:bundle (default-bundle) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ org.apache.sling.scripting.sightly.compiler.java >>> [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-property-values) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-maven-scr-plugin) @ org.apache.sling.scripting.sightly.compiler.java --- [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.java <<< [INFO] [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] Building jar: <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-java-1.8/ws/target/org.apache.sling.scripting.sightly.compiler.java-1.1.1-1.4.0-SNAPSHOT-sources.jar> [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] Skipping because packaging 'bundle' is not pom. [INFO] [INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (verify-legal-files) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] Checking legal files in: org.apache.sling.scripting.sightly.compiler.java-1.1.1-1.4.0-SNAPSHOT.jar [INFO] Checking legal files in: org.apache.sling.scripting.sightly.compiler.java-1.1.1-1.4.0-SNAPSHOT-sources.jar [INFO] [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ org.apache.sling.scripting.sightly.compiler.java --- [INFO] Enabled default license matchers. [INFO] Will parse SCM ignores for exclusions... [INFO] Parsing exclusions from <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-java-1.8/ws/.gitignore> [INFO] Finished adding exclusions from SCM ignore files. [INFO] 73 implicit excludes (use -debug for more details). [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: bnd.bnd [INFO] 63 resources included (use -debug for more details) [INFO] Rat check: Summary over all files. Unapproved: 1, unknown: 1, generated: 0, approved: 61 licenses. [JENKINS] Archiving disabled [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:34 min [INFO] Finished at: 2019-01-16T13:11:09Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check (rat-check) on project org.apache.sling.scripting.sightly.compiler.java: Too many files with unapproved license: 1 See RAT report in: <https://builds.apache.org/job/sling-org-apache-sling-scripting-sightly-compiler-java-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