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/06 10:25:38 UTC

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

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

Changes:

[olli] use Sling Parent 30

------------------------------------------
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/>
Checking out a fresh workspace because there's no workspace at <https://builds.apache.org/job/sling-bundles-commons-contentdetection-1.7/ws/>
Cleaning local Directory .
Checking out https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/contentdetection at revision '2017-03-06T10:25:26.561 +0000'
A         .gitignore
A         src
A         src/main
A         src/main/java
A         src/main/java/org
A         src/main/java/org/apache
A         src/main/java/org/apache/sling
A         src/main/java/org/apache/sling/commons
A         src/main/java/org/apache/sling/commons/contentdetection
A         src/main/java/org/apache/sling/commons/contentdetection/FileNameExtractor.java
A         src/main/java/org/apache/sling/commons/contentdetection/internal
A         src/main/java/org/apache/sling/commons/contentdetection/internal/ContentAwareMimeTypeServiceImpl.java
A         src/main/java/org/apache/sling/commons/contentdetection/internal/FileNameExtractorImpl.java
A         src/main/java/org/apache/sling/commons/contentdetection/package-info.java
A         src/main/java/org/apache/sling/commons/contentdetection/ContentAwareMimeTypeService.java
A         src/test
A         src/test/resources
AU        src/test/resources/this-is-actually-a-wav-file.mp3
A         src/test/java
A         src/test/java/org
A         src/test/java/org/apache
A         src/test/java/org/apache/sling
A         src/test/java/org/apache/sling/commons
A         src/test/java/org/apache/sling/commons/contentdetection
A         src/test/java/org/apache/sling/commons/contentdetection/internal
A         src/test/java/org/apache/sling/commons/contentdetection/internal/it
A         src/test/java/org/apache/sling/commons/contentdetection/internal/it/ContentAwareMimeTypeServiceImplIT.java
A         src/test/java/org/apache/sling/commons/contentdetection/internal/it/U.java
A         src/test/java/org/apache/sling/commons/contentdetection/internal/it/FileNameExtractorImplIT.java
A         src/test/java/org/apache/sling/commons/contentdetection/internal/FileNameExtractorImplTest.java
A         src/test/java/org/apache/sling/commons/contentdetection/internal/ContentAwareMimeTypeServiceImplTest.java
A         pom.xml
 U        .
At revision 1785621

Parsing POMs
Failed to transfer Could not find artifact org.apache.sling:sling:pom:30 in central (http://repo.maven.apache.org/maven2)
ERROR: Failed to parse POMs
java.io.IOException: remote file operation failed: <https://builds.apache.org/job/sling-bundles-commons-contentdetection-1.7/ws/> at hudson.remoting.Channel@4de74595:H18: hudson.remoting.ProxyException: hudson.maven.MavenModuleSetBuild$MavenExecutionException: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM: Could not find artifact org.apache.sling:sling:pom:30 in central (http://repo.maven.apache.org/maven2) and 'parent.relativePath' points at no local POM @ line 24, column 13

	at hudson.FilePath.act(FilePath.java:992)
	at hudson.FilePath.act(FilePath.java:974)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.parsePoms(MavenModuleSetBuild.java:980)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:692)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
	at hudson.model.Run.execute(Run.java:1728)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:404)
Caused by: hudson.remoting.ProxyException: hudson.maven.MavenModuleSetBuild$MavenExecutionException: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM: Could not find artifact org.apache.sling:sling:pom:30 in central (http://repo.maven.apache.org/maven2) and 'parent.relativePath' points at no local POM @ line 24, column 13

	at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1384)
	at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1118)
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2731)
	at hudson.remoting.UserRequest.perform(UserRequest.java:153)
	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
	at hudson.remoting.Request$2.run(Request.java:336)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
	at ......remote call to H18(Native Method)
	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1537)
	at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
	at hudson.remoting.Channel.call(Channel.java:822)
	at hudson.FilePath.act(FilePath.java:985)
	... 8 more
Caused by: hudson.remoting.ProxyException: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM: Could not find artifact org.apache.sling:sling:pom:30 in central (http://repo.maven.apache.org/maven2) and 'parent.relativePath' points at no local POM @ line 24, column 13

	at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:364)
	at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:361)
	at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:331)
	at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1321)
	at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1118)
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2731)
	at hudson.remoting.UserRequest.perform(UserRequest.java:153)
	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
	at hudson.remoting.Request$2.run(Request.java:336)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
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>


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

Posted by Apache Jenkins Server <je...@builds.apache.org>.
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 unstable: sling-bundles-commons-contentdetection-1.7 #4

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