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 2017/03/18 19:42:04 UTC

Build failed in Jenkins: sling-bundles-commons-contentdetection-1.7 #5

See <https://builds.apache.org/job/sling-bundles-commons-contentdetection-1.7/5/display/redirect?page=changes>

Changes:

[olli] switch to OSGi annotations and Testing PaxExam (fixes build)

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H18 (ubuntu) in workspace <https://builds.apache.org/job/sling-bundles-commons-contentdetection-1.7/ws/>
Updating https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/contentdetection at revision '2017-03-18T19:40:10.509 +0000'
U         src/test/java/org/apache/sling/commons/contentdetection/internal/ContentAwareMimeTypeServiceImplTest.java
D         src/test/java/org/apache/sling/commons/contentdetection/internal/it/U.java
U         src/test/java/org/apache/sling/commons/contentdetection/internal/it/ContentAwareMimeTypeServiceImplIT.java
A         src/test/java/org/apache/sling/commons/contentdetection/internal/it/ContentdetectionTestSupport.java
U         src/test/java/org/apache/sling/commons/contentdetection/internal/it/FileNameExtractorImplIT.java
U         src/main/java/org/apache/sling/commons/contentdetection/internal/ContentAwareMimeTypeServiceImpl.java
U         src/main/java/org/apache/sling/commons/contentdetection/internal/FileNameExtractorImpl.java
U         pom.xml
At revision 1787588

Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 39671
maven33-agent.jar already up to date
maven33-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[sling-bundles-commons-contentdetection-1.7] $ /home/jenkins/tools/java/latest1.7/bin/java -Xmx2g -Xms256m -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 39671
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://builds.apache.org/job/sling-bundles-commons-contentdetection-1.7/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 Content Detection Support 1.0.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.testing.paxexam/0.0.5-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.testing.paxexam/0.0.5-SNAPSHOT/maven-metadata.xml (1012 B at 2.1 KB/sec)
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.testing.paxexam/0.0.5-SNAPSHOT/org.apache.sling.testing.paxexam-0.0.5-20170318.162732-5.pom
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.testing.paxexam/0.0.5-SNAPSHOT/org.apache.sling.testing.paxexam-0.0.5-20170318.162732-5.pom (6 KB at 13.9 KB/sec)
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.testing.paxexam/0.0.5-SNAPSHOT/org.apache.sling.testing.paxexam-0.0.5-20170318.162732-5.jar
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.testing.paxexam/0.0.5-SNAPSHOT/org.apache.sling.testing.paxexam-0.0.5-20170318.162732-5.jar (31 KB at 67.6 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ org.apache.sling.commons.contentdetection ---
[INFO] Deleting <https://builds.apache.org/job/sling-bundles-commons-contentdetection-1.7/ws/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ org.apache.sling.commons.contentdetection ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.commons.contentdetection ---
[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.commons.contentdetection ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.apache.sling.commons.contentdetection ---
[INFO] 
[INFO] --- depends-maven-plugin:1.3.1:generate-depends-file (default) @ org.apache.sling.commons.contentdetection ---
[INFO] Created: <https://builds.apache.org/job/sling-bundles-commons-contentdetection-1.7/ws/target/classes/META-INF/maven/dependencies.properties>
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.apache.sling.commons.contentdetection ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-bundles-commons-contentdetection-1.7/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.commons.contentdetection ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to <https://builds.apache.org/job/sling-bundles-commons-contentdetection-1.7/ws/target/classes>
[INFO] 
[INFO] --- maven-bundle-plugin:3.2.0:manifest (scr-metadata) @ org.apache.sling.commons.contentdetection ---
[WARNING] Manifest org.apache.sling:org.apache.sling.commons.contentdetection:bundle:1.0.3-SNAPSHOT : aQute.bnd.annotation.Version annotation used in class org.apache.sling.commons.contentdetection.package-info. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ org.apache.sling.commons.contentdetection ---
[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:testCompile (default-testCompile) @ org.apache.sling.commons.contentdetection ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to <https://builds.apache.org/job/sling-bundles-commons-contentdetection-1.7/ws/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ org.apache.sling.commons.contentdetection ---
[INFO] Surefire report directory: <https://builds.apache.org/job/sling-bundles-commons-contentdetection-1.7/ws/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.sling.commons.contentdetection.internal.ContentAwareMimeTypeServiceImplTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.apache.sling.commons.contentdetection.internal.ContentAwareMimeTypeServiceImplTest
Running org.apache.sling.commons.contentdetection.internal.FileNameExtractorImplTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.apache.sling.commons.contentdetection.internal.FileNameExtractorImplTest

Results :

Tests run: 9, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.15:check (default) @ org.apache.sling.commons.contentdetection ---
[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.commons.contentdetection ---
[WARNING] Bundle org.apache.sling:org.apache.sling.commons.contentdetection:bundle:1.0.3-SNAPSHOT : aQute.bnd.annotation.Version annotation used in class org.apache.sling.commons.contentdetection.package-info. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations.
[INFO] 
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ org.apache.sling.commons.contentdetection >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ org.apache.sling.commons.contentdetection ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.commons.contentdetection ---
[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.commons.contentdetection <<<
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ org.apache.sling.commons.contentdetection ---
[INFO] Building jar: <https://builds.apache.org/job/sling-bundles-commons-contentdetection-1.7/ws/target/org.apache.sling.commons.contentdetection-1.0.3-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ org.apache.sling.commons.contentdetection ---
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:integration-test (default) @ org.apache.sling.commons.contentdetection ---
[INFO] Failsafe report directory: <https://builds.apache.org/job/sling-bundles-commons-contentdetection-1.7/ws/target/failsafe-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.sling.commons.contentdetection.internal.it.ContentAwareMimeTypeServiceImplIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.336 sec - in org.apache.sling.commons.contentdetection.internal.it.ContentAwareMimeTypeServiceImplIT
Running org.apache.sling.commons.contentdetection.internal.it.FileNameExtractorImplIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.788 sec - in org.apache.sling.commons.contentdetection.internal.it.FileNameExtractorImplIT

Results :

Tests run: 4, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] 
[INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.commons.contentdetection ---
[INFO] Checking legal files in: org.apache.sling.commons.contentdetection-1.0.3-SNAPSHOT.jar
[INFO] Checking legal files in: org.apache.sling.commons.contentdetection-1.0.3-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ org.apache.sling.commons.contentdetection ---
[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] 280 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 21 unknown: 21 generated: 0 approved: 12 licence.
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 59.344 s
[INFO] Finished at: 2017-03-18T19:42:03+00:00

[INFO] Final Memory: 43M/429M
[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.commons.contentdetection: Too many files with unapproved license: 21 See RAT report in: <https://builds.apache.org/job/sling-bundles-commons-contentdetection-1.7/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-bundles-commons-contentdetection-1.7 #6

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/sling-bundles-commons-contentdetection-1.7/6/display/redirect>