See 
<https://builds.apache.org/job/sling-org-apache-sling-testing-hamcrest-1.8/50/display/redirect>

------------------------------------------
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on H31 (ubuntu xenial) in workspace 
<https://builds.apache.org/job/sling-org-apache-sling-testing-hamcrest-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-org-apache-sling-testing-hamcrest.git # 
 > timeout=10
Fetching upstream changes from 
https://github.com/apache/sling-org-apache-sling-testing-hamcrest.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://github.com/apache/sling-org-apache-sling-testing-hamcrest.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 72fda4555e901c2614a00eae84eeb994ed5cc5aa (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 72fda4555e901c2614a00eae84eeb994ed5cc5aa
Commit message: "SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every 
module"
 > git rev-list --no-walk 72fda4555e901c2614a00eae84eeb994ed5cc5aa # timeout=10
Parsing POMs
Established TCP socket on 45333
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-testing-hamcrest-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 45333
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f 
<https://builds.apache.org/job/sling-org-apache-sling-testing-hamcrest-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 Testing Hamcrest 1.0.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.sling-mock/1.8.0/org.apache.sling.testing.sling-mock-1.8.0.pom
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.sling-mock/1.8.0/org.apache.sling.testing.sling-mock-1.8.0.pom
 (11 KB at 28.8 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.osgi-mock/1.8.0/org.apache.sling.testing.osgi-mock-1.8.0.pom
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.osgi-mock/1.8.0/org.apache.sling.testing.osgi-mock-1.8.0.pom
 (6 KB at 184.6 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.jcr-mock/1.1.14/org.apache.sling.testing.jcr-mock-1.1.14.pom
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.jcr-mock/1.1.14/org.apache.sling.testing.jcr-mock-1.1.14.pom
 (5 KB at 229.0 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.servlet-helpers/1.0.0/org.apache.sling.servlet-helpers-1.0.0.pom
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.servlet-helpers/1.0.0/org.apache.sling.servlet-helpers-1.0.0.pom
 (4 KB at 200.2 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/javax/servlet/javax.servlet-api/3.0.1/javax.servlet-api-3.0.1.pom
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/javax/servlet/javax.servlet-api/3.0.1/javax.servlet-api-3.0.1.pom
 (13 KB at 493.5 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/net/java/jvnet-parent/1/jvnet-parent-1.pom
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/net/java/jvnet-parent/1/jvnet-parent-1.pom 
(5 KB at 270.6 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.logging-mock/1.0.0/org.apache.sling.testing.logging-mock-1.0.0.pom
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.logging-mock/1.0.0/org.apache.sling.testing.logging-mock-1.0.0.pom
 (3 KB at 134.5 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.api/2.4.0/org.apache.sling.api-2.4.0.jar
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.sling-mock/1.8.0/org.apache.sling.testing.sling-mock-1.8.0.jar
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.osgi-mock/1.8.0/org.apache.sling.testing.osgi-mock-1.8.0.jar
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.jcr-mock/1.1.14/org.apache.sling.testing.jcr-mock-1.1.14.jar
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.resourceresolver-mock/1.1.14/org.apache.sling.testing.resourceresolver-mock-1.1.14.jar
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.api/2.4.0/org.apache.sling.api-2.4.0.jar
 (78 KB at 1554.4 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.servlet-helpers/1.0.0/org.apache.sling.servlet-helpers-1.0.0.jar
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.resourceresolver-mock/1.1.14/org.apache.sling.testing.resourceresolver-mock-1.1.14.jar
 (30 KB at 494.7 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.resourcebuilder/1.0.0/org.apache.sling.resourcebuilder-1.0.0.jar
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.jcr-mock/1.1.14/org.apache.sling.testing.jcr-mock-1.1.14.jar
 (48 KB at 736.7 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/javax/servlet/javax.servlet-api/3.0.1/javax.servlet-api-3.0.1.jar
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.osgi-mock/1.8.0/org.apache.sling.testing.osgi-mock-1.8.0.jar
 (67 KB at 955.4 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/javax/jcr/jcr/1.0/jcr-1.0.jar
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.sling-mock/1.8.0/org.apache.sling.testing.sling-mock-1.8.0.jar
 (83 KB at 1039.4 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.logging-mock/1.0.0/org.apache.sling.testing.logging-mock-1.0.0.jar
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.servlet-helpers/1.0.0/org.apache.sling.servlet-helpers-1.0.0.jar
 (35 KB at 414.8 KB/sec)
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.resourcebuilder/1.0.0/org.apache.sling.resourcebuilder-1.0.0.jar
 (18 KB at 210.4 KB/sec)
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/javax/jcr/jcr/1.0/jcr-1.0.jar (38 KB at 
382.0 KB/sec)
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/javax/servlet/javax.servlet-api/3.0.1/javax.servlet-api-3.0.1.jar
 (84 KB at 850.5 KB/sec)
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.logging-mock/1.0.0/org.apache.sling.testing.logging-mock-1.0.0.jar
 (9 KB at 75.6 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
org.apache.sling.testing.hamcrest ---
[INFO] Deleting 
<https://builds.apache.org/job/sling-org-apache-sling-testing-hamcrest-1.8/ws/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ 
org.apache.sling.testing.hamcrest ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run 
(set-bundle-required-execution-environment) @ org.apache.sling.testing.hamcrest 
---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
org.apache.sling.testing.hamcrest ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
org.apache.sling.testing.hamcrest ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<https://builds.apache.org/job/sling-org-apache-sling-testing-hamcrest-1.8/ws/src/main/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (check-memory-task) @ 
org.apache.sling.testing.hamcrest ---
[INFO] Executing tasks

main:
     [echo] **************** WARNING (SLING-443/SLING-1782) 
******************************
     [echo] On most platforms, you'll get OutOfMemoryErrors when building 
unless you set
     [echo] on 32bit platforms: MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=256M", see 
SLING-443
     [echo] on 64bit platforms: MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M", see 
SLING-1782
     [echo] 
******************************************************************************
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ 
org.apache.sling.testing.hamcrest ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 10 source files to 
<https://builds.apache.org/job/sling-org-apache-sling-testing-hamcrest-1.8/ws/target/classes>
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ 
org.apache.sling.testing.hamcrest ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<https://builds.apache.org/job/sling-org-apache-sling-testing-hamcrest-1.8/ws/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
org.apache.sling.testing.hamcrest ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to 
<https://builds.apache.org/job/sling-org-apache-sling-testing-hamcrest-1.8/ws/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ 
org.apache.sling.testing.hamcrest ---
[INFO] Surefire report directory: 
<https://builds.apache.org/job/sling-org-apache-sling-testing-hamcrest-1.8/ws/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.sling.hamcrest.ResourceIteratorMatchersTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.683 sec - in 
org.apache.sling.hamcrest.ResourceIteratorMatchersTest
Running org.apache.sling.hamcrest.MapUtilTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in 
org.apache.sling.hamcrest.MapUtilTest
Running org.apache.sling.hamcrest.ResourceMatchersTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.075 sec - in 
org.apache.sling.hamcrest.ResourceMatchersTest
Running org.apache.sling.hamcrest.ResourceCollectionMatchersTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec - in 
org.apache.sling.hamcrest.ResourceCollectionMatchersTest

Results :

Tests run: 15, 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.14:check (default) @ 
org.apache.sling.testing.hamcrest ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0
[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:2.5:jar (default-jar) @ 
org.apache.sling.testing.hamcrest ---
[INFO] Building jar: 
<https://builds.apache.org/job/sling-org-apache-sling-testing-hamcrest-1.8/ws/target/org.apache.sling.testing.hamcrest-1.0.3-SNAPSHOT.jar>
[INFO] 
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ 
org.apache.sling.testing.hamcrest >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ 
org.apache.sling.testing.hamcrest ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run 
(set-bundle-required-execution-environment) @ org.apache.sling.testing.hamcrest 
---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ 
org.apache.sling.testing.hamcrest <<<
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ 
org.apache.sling.testing.hamcrest ---
[INFO] Building jar: 
<https://builds.apache.org/job/sling-org-apache-sling-testing-hamcrest-1.8/ws/target/org.apache.sling.testing.hamcrest-1.0.3-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ 
org.apache.sling.testing.hamcrest ---
[INFO] 
[INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ 
org.apache.sling.testing.hamcrest ---
[INFO] Checking legal files in: 
org.apache.sling.testing.hamcrest-1.0.3-SNAPSHOT.jar
[INFO] Checking legal files in: 
org.apache.sling.testing.hamcrest-1.0.3-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ 
org.apache.sling.testing.hamcrest ---
[INFO] 51 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] 18 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 2 unknown: 2 generated: 0 
approved: 15 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:20 min
[INFO] Finished at: 2018-09-20T04:09:49+00:00
[INFO] Final Memory: 90M/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.testing.hamcrest: Too many files with 
unapproved license: 2 See RAT report in: 
<https://builds.apache.org/job/sling-org-apache-sling-testing-hamcrest-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

Reply via email to