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/01/16 13:50:53 UTC

Build failed in Jenkins: sling-jcrinstall-bundle-archetype-1.8 #12

See <https://builds.apache.org/job/sling-jcrinstall-bundle-archetype-1.8/12/display/redirect?page=changes>

Changes:

[rombert] SLING-7387 - Update bundle archetypes to use the bnd-maven-plugin

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H25 (ubuntu xenial) in workspace <https://builds.apache.org/job/sling-jcrinstall-bundle-archetype-1.8/ws/>
Cloning the remote Git repository
Cloning repository https://github.com/apache/sling-jcrinstall-bundle-archetype.git
 > git init <https://builds.apache.org/job/sling-jcrinstall-bundle-archetype-1.8/ws/> # timeout=10
Fetching upstream changes from https://github.com/apache/sling-jcrinstall-bundle-archetype.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/apache/sling-jcrinstall-bundle-archetype.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://github.com/apache/sling-jcrinstall-bundle-archetype.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-jcrinstall-bundle-archetype.git # timeout=10
Fetching upstream changes from https://github.com/apache/sling-jcrinstall-bundle-archetype.git
 > git fetch --tags --progress https://github.com/apache/sling-jcrinstall-bundle-archetype.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 4ecc8aa385fe8d0eedf5570030e6b1a6f01de68a (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4ecc8aa385fe8d0eedf5570030e6b1a6f01de68a
Commit message: "SLING-7387 - Update bundle archetypes to use the bnd-maven-plugin"
 > git rev-list 8e98ceae5a2710ef485671361243e8d81aee0b22 # timeout=10
Parsing POMs
Downloaded artifact http://repository.apache.org/snapshots/org/apache/sling/sling-archetype-parent/5-SNAPSHOT/maven-metadata.xml
Downloaded artifact http://repository.apache.org/snapshots/org/apache/sling/sling-archetype-parent/5-SNAPSHOT/sling-archetype-parent-5-20180114.191735-399.pom
Modules changed, recalculating dependency graph
Established TCP socket on 39184
maven33-agent.jar already up to date
maven33-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[sling-jcrinstall-bundle-archetype-1.8] $ /home/jenkins/tools/java/latest1.8/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 39184
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://builds.apache.org/job/sling-jcrinstall-bundle-archetype-1.8/ws/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/1 -U clean deploy
[INFO] Scanning for projects...
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/sling-archetype-parent/5-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/sling-archetype-parent/5-SNAPSHOT/maven-metadata.xml (611 B at 1.5 KB/sec)
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Sling JCRInstall Bundle Archetype 1.0.5-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ sling-jcrinstall-bundle-archetype ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ sling-jcrinstall-bundle-archetype ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ sling-jcrinstall-bundle-archetype ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ sling-jcrinstall-bundle-archetype ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ sling-jcrinstall-bundle-archetype ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (check-memory-task) @ sling-jcrinstall-bundle-archetype ---
[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-resources-plugin:2.7:testResources (default-testResources) @ sling-jcrinstall-bundle-archetype ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.14:check (default) @ sling-jcrinstall-bundle-archetype ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0
[INFO] 
[INFO] --- maven-archetype-plugin:2.2:jar (default-jar) @ sling-jcrinstall-bundle-archetype ---
[INFO] Building archetype jar: <https://builds.apache.org/job/sling-jcrinstall-bundle-archetype-1.8/ws/target/sling-jcrinstall-bundle-archetype-1.0.5-SNAPSHOT>
[INFO] 
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ sling-jcrinstall-bundle-archetype >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ sling-jcrinstall-bundle-archetype ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ sling-jcrinstall-bundle-archetype ---
[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 @ sling-jcrinstall-bundle-archetype <<<
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ sling-jcrinstall-bundle-archetype ---
[INFO] Building jar: <https://builds.apache.org/job/sling-jcrinstall-bundle-archetype-1.8/ws/target/sling-jcrinstall-bundle-archetype-1.0.5-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ sling-jcrinstall-bundle-archetype ---
[INFO] 
[INFO] --- maven-archetype-plugin:2.2:integration-test (default-integration-test) @ sling-jcrinstall-bundle-archetype ---
[INFO] Processing Archetype IT project: normal
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: sling-jcrinstall-bundle-archetype:1.0.5-SNAPSHOT
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: org.apache.sling
[INFO] Parameter: artifactId, Value: test-jcrinstall-bundle-archetype-project
[INFO] Parameter: version, Value: 0.0.1-SNAPSHOT
[INFO] Parameter: package, Value: org.apache.sling.archetype.jcrinstall.bundle.testing
[INFO] Parameter: packageInPathFormat, Value: org/apache/sling/archetype/jcrinstall/bundle/testing
[INFO] Parameter: package, Value: org.apache.sling.archetype.jcrinstall.bundle.testing
[INFO] Parameter: version, Value: 0.0.1-SNAPSHOT
[INFO] Parameter: groupId, Value: org.apache.sling
[INFO] Parameter: artifactId, Value: test-jcrinstall-bundle-archetype-project
[INFO] project created from Archetype in dir: <https://builds.apache.org/job/sling-jcrinstall-bundle-archetype-1.8/ws/target/test-classes/projects/normal/project/test-jcrinstall-bundle-archetype-project>
[INFO] Invoking post-archetype-generation goals: verify
[INFO] [INFO] Error stacktraces are turned on.
[INFO] [INFO] Scanning for projects...
[INFO] [ERROR] [ERROR] Some problems were encountered while processing the POMs:
[INFO] [ERROR] 'dependencies.dependency.version' for org.osgi:org.osgi.annotation.versioning:jar must be a valid version but is '${versionannotations.version}'. @ line 119, column 22
[INFO] [ERROR] 'dependencies.dependency.version' for org.osgi:org.osgi.service.component.annotations:jar must be a valid version but is '${componentannotations.version}'. @ line 125, column 22
[INFO] [ERROR] 'dependencies.dependency.version' for org.osgi:org.osgi.service.metatype.annotations:jar must be a valid version but is '${metatypeannotations.version}'. @ line 131, column 22
[INFO] [ERROR] 'build.plugins.plugin.version' for biz.aQute.bnd:bnd-maven-plugin must be a valid version but is '${bndplugin.version}'. @ line 32, column 26
[INFO]  @ 
[INFO] [ERROR] The build could not read 1 project -> [Help 1]
[INFO] org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[INFO] [ERROR] 'dependencies.dependency.version' for org.osgi:org.osgi.annotation.versioning:jar must be a valid version but is '${versionannotations.version}'. @ line 119, column 22
[INFO] [ERROR] 'dependencies.dependency.version' for org.osgi:org.osgi.service.component.annotations:jar must be a valid version but is '${componentannotations.version}'. @ line 125, column 22
[INFO] [ERROR] 'dependencies.dependency.version' for org.osgi:org.osgi.service.metatype.annotations:jar must be a valid version but is '${metatypeannotations.version}'. @ line 131, column 22
[INFO] [ERROR] 'build.plugins.plugin.version' for biz.aQute.bnd:bnd-maven-plugin must be a valid version but is '${bndplugin.version}'. @ line 32, column 26
[INFO] 
[INFO] 	at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:422)
[INFO] 	at org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:419)
[INFO] 	at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:410)
[INFO] 	at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:83)
[INFO] 	at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:491)
[INFO] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:219)
[INFO] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
[INFO] 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
[INFO] 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
[INFO] 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
[INFO] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
[INFO] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[INFO] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[INFO] 	at java.lang.reflect.Method.invoke(Method.java:498)
[INFO] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
[INFO] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
[INFO] 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
[INFO] 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[INFO] [ERROR]   
[INFO] [ERROR]   The project org.apache.sling:test-jcrinstall-bundle-archetype-project:0.0.1-SNAPSHOT (<https://builds.apache.org/job/sling-jcrinstall-bundle-archetype-1.8/ws/target/test-classes/projects/normal/project/test-jcrinstall-bundle-archetype-project/pom.xml)> has 4 errors
[INFO] [ERROR]     'dependencies.dependency.version' for org.osgi:org.osgi.annotation.versioning:jar must be a valid version but is '${versionannotations.version}'. @ line 119, column 22
[INFO] [ERROR]     'dependencies.dependency.version' for org.osgi:org.osgi.service.component.annotations:jar must be a valid version but is '${componentannotations.version}'. @ line 125, column 22
[INFO] [ERROR]     'dependencies.dependency.version' for org.osgi:org.osgi.service.metatype.annotations:jar must be a valid version but is '${metatypeannotations.version}'. @ line 131, column 22
[INFO] [ERROR]     'build.plugins.plugin.version' for biz.aQute.bnd:bnd-maven-plugin must be a valid version but is '${bndplugin.version}'. @ line 32, column 26
[INFO] [ERROR] 
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR] 
[INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[INFO] Post-archetype-generation invoker exit code: 1
[JENKINS] Recording test results
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.522 s
[INFO] Finished at: 2018-01-16T13:50:50+00:00
[INFO] Final Memory: 29M/394M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:integration-test (default-integration-test) on project sling-jcrinstall-bundle-archetype:
[ERROR] Archetype IT 'normal' failed: Execution failure: exit code = 1
[ERROR] -> [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/MojoExecutionException
channel stopped
Recording test results

Jenkins build is back to normal : sling-jcrinstall-bundle-archetype-1.8 #13

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/sling-jcrinstall-bundle-archetype-1.8/13/display/redirect>