You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2018/09/19 17:52:45 UTC

Build failed in Jenkins: sling-org-apache-sling-jobs-1.8 #95

See <https://builds.apache.org/job/sling-org-apache-sling-jobs-1.8/95/display/redirect?page=changes>

Changes:

[radu] SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module

------------------------------------------
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-eu3 (ubuntu xenial) in workspace <https://builds.apache.org/job/sling-org-apache-sling-jobs-1.8/ws/>
Cloning the remote Git repository
Cloning repository https://github.com/apache/sling-org-apache-sling-jobs.git
 > git init <https://builds.apache.org/job/sling-org-apache-sling-jobs-1.8/ws/> # timeout=10
Fetching upstream changes from https://github.com/apache/sling-org-apache-sling-jobs.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/apache/sling-org-apache-sling-jobs.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://github.com/apache/sling-org-apache-sling-jobs.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-jobs.git # timeout=10
Fetching upstream changes from https://github.com/apache/sling-org-apache-sling-jobs.git
 > git fetch --tags --progress https://github.com/apache/sling-org-apache-sling-jobs.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 2c86879d456e424138d1f3f75fae2d448133f3c4 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2c86879d456e424138d1f3f75fae2d448133f3c4
Commit message: "SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module"
 > git rev-list --no-walk 9676188e7c9229b201a74c4836cedaaba5960d6d # timeout=10
Parsing POMs
Established TCP socket on 43548
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-jobs-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 43548
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://builds.apache.org/job/sling-org-apache-sling-jobs-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 Jobs Support 1.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.mom/1.0.1-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.mom/1.0.1-SNAPSHOT/maven-metadata.xml (1004 B at 1.9 KB/sec)
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.mom/1.0.1-SNAPSHOT/org.apache.sling.mom-1.0.1-20180909.163941-55.pom
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.mom/1.0.1-SNAPSHOT/org.apache.sling.mom-1.0.1-20180909.163941-55.pom (4 KB at 9.0 KB/sec)
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.mom/1.0.1-SNAPSHOT/org.apache.sling.mom-1.0.1-20180909.163941-55.jar
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.mom/1.0.1-SNAPSHOT/org.apache.sling.mom-1.0.1-20180909.163941-55.jar (17 KB at 37.3 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ org.apache.sling.jobs ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ org.apache.sling.jobs ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.jobs ---
[INFO] Executing tasks

main:
Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from sling.java.version=7
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ org.apache.sling.jobs ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.apache.sling.jobs ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.apache.sling.jobs ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-org-apache-sling-jobs-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.jobs ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 26 source files to <https://builds.apache.org/job/sling-org-apache-sling-jobs-1.8/ws/target/classes>
[INFO] <https://builds.apache.org/job/sling-org-apache-sling-jobs-1.8/ws/src/main/java/org/apache/sling/jobs/impl/Utils.java>: <https://builds.apache.org/job/sling-org-apache-sling-jobs-1.8/ws/src/main/java/org/apache/sling/jobs/impl/Utils.java> uses unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/sling-org-apache-sling-jobs-1.8/ws/src/main/java/org/apache/sling/jobs/impl/Utils.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-scr-plugin:1.23.0:scr (generate-scr-scrdescriptor) @ org.apache.sling.jobs ---
[INFO] 
[INFO] --- maven-bundle-plugin:3.2.0:manifest (scr-metadata) @ org.apache.sling.jobs ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ org.apache.sling.jobs ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-org-apache-sling-jobs-1.8/ws/src/test/resources>
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ org.apache.sling.jobs ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to <https://builds.apache.org/job/sling-org-apache-sling-jobs-1.8/ws/target/test-classes>
[INFO] <https://builds.apache.org/job/sling-org-apache-sling-jobs-1.8/ws/src/test/java/org/apache/sling/jobs/impl/JobManagerImplTest.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/sling-org-apache-sling-jobs-1.8/ws/src/test/java/org/apache/sling/jobs/impl/JobManagerImplTest.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ org.apache.sling.jobs ---
[INFO] Surefire report directory: <https://builds.apache.org/job/sling-org-apache-sling-jobs-1.8/ws/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.sling.jobs.impl.JobBuilderImplTest
[main] INFO org.apache.sling.jobs.impl.Utils - Job IDs seeded with MAC Address from interface name:docker0 (docker0) 
[main] INFO org.apache.sling.jobs.impl.Utils - Job IDS base is 024256d3c13a/7741/ 
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.418 sec - in org.apache.sling.jobs.impl.JobBuilderImplTest
Running org.apache.sling.jobs.impl.ManagerSubscriberTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec - in org.apache.sling.jobs.impl.ManagerSubscriberTest
Running org.apache.sling.jobs.impl.UtilsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 sec - in org.apache.sling.jobs.impl.UtilsTest
Running org.apache.sling.jobs.impl.JobImplTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 sec - in org.apache.sling.jobs.impl.JobImplTest
Running org.apache.sling.jobs.impl.JobManagerImplTest
[main] INFO org.apache.sling.jobs.impl.JobManagerImplTest - Queue Manager add testtopic {retryCount=0, jobState=QUEUED, nRetries=0, startedAt=0, jt=testtype, cm=START_JOB, resultMessage=, finishedAt=0, createdAt=1537379549309, ex=1537379609309, id=cf2432d33bda5617eebbc0d7a5599bad8e05aae7, tp=testtopic, properties={job.name=Jobname , testid=testGetJobById1537379549309}, ts=1537379549309} {} 
[main] INFO org.apache.sling.jobs.impl.JobManagerImplTest - Topic Manager publish testtopic ABORT_JOB {ex=1537379609320, jt=testtype, cm=ABORT_JOB, id=cf2432d33bda5617eebbc0d7a5599bad8e05aae7, tp=testtopic, ts=1537379549320} 
[main] INFO org.apache.sling.jobs.impl.JobManagerImplTest - Message Queues  {testtopic=[org.apache.sling.jobs.impl.QueueEntry@26aa12dd]}
[main] INFO org.apache.sling.jobs.impl.JobManagerImplTest - Topic Queues  {testtopic=[org.apache.sling.jobs.impl.QueueEntry@3fd7a715]}
[main] INFO org.apache.sling.jobs.impl.JobManagerImplTest - Queue Manager add testtopic {retryCount=0, jobState=QUEUED, nRetries=0, startedAt=0, jt=testtype, cm=START_JOB, resultMessage=, finishedAt=0, createdAt=1537379549323, ex=1537379609323, id=a232f0df3456a6a4da6c574b8eef46bf508f02ef, tp=testtopic, properties={job.name=Jobname , testid=testGetJobById1537379549323}, ts=1537379549323} {} 
[main] INFO org.apache.sling.jobs.impl.JobManagerImplTest - Queue Manager add testtopic {retryCount=0, jobState=QUEUED, nRetries=0, startedAt=0, jt=testtype, cm=START_JOB, resultMessage=, finishedAt=0, createdAt=1537379549324, ex=1537379609324, id=0befbda3612faee398e4e27c014d25c0f3ad49d9, tp=testtopic, properties={job.name=Jobname , testid=testGetJobById1537379549324}, ts=1537379549324} {} 
[main] INFO org.apache.sling.jobs.impl.JobManagerImplTest - Topic Manager publish testtopic STOP_JOB {ex=1537379609334, jt=testtype, cm=STOP_JOB, id=0befbda3612faee398e4e27c014d25c0f3ad49d9, tp=testtopic, ts=1537379549334} 
[main] INFO org.apache.sling.jobs.impl.JobManagerImplTest - Queue Manager add testtopic {retryCount=0, jobState=QUEUED, nRetries=0, startedAt=0, jt=testtype, cm=START_JOB, resultMessage=, finishedAt=0, createdAt=1537379549336, ex=1537379609336, id=37d5250a64328b3f4f0575e557702a70fbaf64c9, tp=testtopic, properties={job.name=Jobname , testid=testGetJobById1537379549336}, ts=1537379549336} {} 
[main] INFO org.apache.sling.jobs.impl.JobManagerImplTest - Topic Manager publish testtopic RETRY_JOB {retryCount=0, jobState=QUEUED, nRetries=0, startedAt=0, jt=testtype, cm=RETRY_JOB, resultMessage=, finishedAt=0, createdAt=1537379549336, ex=1537379609346, id=37d5250a64328b3f4f0575e557702a70fbaf64c9, tp=testtopic, properties={}, ts=1537379549346} 
[main] INFO org.apache.sling.jobs.impl.JobManagerImplTest - Queue Manager add testtopic {retryCount=0, jobState=QUEUED, nRetries=0, startedAt=0, jt=testtype, cm=START_JOB, resultMessage=, finishedAt=0, createdAt=1537379549348, ex=1537379609348, id=a11fb513e95538bf72b07c3f283fb91be0edc342, tp=testtopic, properties={job.name=Jobname , testid=testGetJobById1537379549347}, ts=1537379549348} {} 
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec - in org.apache.sling.jobs.impl.JobManagerImplTest
Running org.apache.sling.jobs.impl.JobUpdateImplTest
Value is {retryCount=0, jobState=CREATED, nRetries=0, startedAt=0, jt=testtype, cm=START_JOB, resultMessage=, finishedAt=0, createdAt=1537379549349, ex=1537379609349, id=dcfafdc3d45d8165d149cbc0702c1e00c6453282, tp=testtopic, properties={Update=update value}, ts=1537379549349}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.sling.jobs.impl.JobUpdateImplTest
Running org.apache.sling.jobs.impl.storage.InMemoryJobStorageTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec - in org.apache.sling.jobs.impl.storage.InMemoryJobStorageTest

Results :

Tests run: 32, 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.jobs ---
[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.jobs ---
[INFO] 
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ org.apache.sling.jobs >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ org.apache.sling.jobs ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.jobs ---
[INFO] Executing tasks

main:
Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from sling.java.version=7
[INFO] Executed tasks
[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.jobs <<<
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ org.apache.sling.jobs ---
[INFO] Building jar: <https://builds.apache.org/job/sling-org-apache-sling-jobs-1.8/ws/target/org.apache.sling.jobs-1.0.1-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ org.apache.sling.jobs ---
[INFO] 
[INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.jobs ---
[INFO] Checking legal files in: org.apache.sling.jobs-1.0.1-SNAPSHOT.jar
[INFO] Checking legal files in: org.apache.sling.jobs-1.0.1-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ org.apache.sling.jobs ---
[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] 38 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 2 unknown: 2 generated: 0 approved: 35 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: 28.745 s
[INFO] Finished at: 2018-09-19T17:52:44+00:00

[INFO] Final Memory: 74M/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.jobs: Too many files with unapproved license: 2 See RAT report in: <https://builds.apache.org/job/sling-org-apache-sling-jobs-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

Jenkins build is back to normal : sling-org-apache-sling-jobs-1.8 #96

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/sling-org-apache-sling-jobs-1.8/96/display/redirect?page=changes>