You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Apache Hudson Server <hu...@hudson.zones.apache.org> on 2010/04/28 12:09:25 UTC
Build failed in Hudson: sling-trunk-1.5 #695
See <http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/695/changes>
Changes:
[cziegeler] Use released version of launchpad base
[cziegeler] Use released version of commons osgi.
------------------------------------------
[...truncated 3459 lines...]
[INFO] [bundle:install {execution: default-install}]
[INFO] Parsing file:/home/hudson/.m2/repository/repository.xml
[Fatal Error] :-1:-1: Premature end of file.
org.xml.sax.SAXParseException: Premature end of file.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:264)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:172)
at org.apache.felix.obrplugin.ObrUpdate.parseFile(ObrUpdate.java:347)
at org.apache.felix.obrplugin.ObrUpdate.parseRepositoryXml(ObrUpdate.java:324)
at org.apache.felix.obrplugin.ObrInstall.execute(ObrInstall.java:140)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at hudson.maven.agent.Main.launch(Main.java:165)
at hudson.maven.MavenBuilder.call(MavenBuilder.java:159)
at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:688)
at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:632)
at hudson.remoting.UserRequest.perform(UserRequest.java:104)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:236)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
at java.lang.Thread.run(Thread.java:595)
[INFO] Writing OBR metadata
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] Retrieving previous build number from apache.snapshots.https
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/org.apache.sling.commons.threads/3.0.1-SNAPSHOT/org.apache.sling.commons.threads-3.0.1-20100428.100157-262.jar
28K uploaded (org.apache.sling.commons.threads-3.0.1-20100428.100157-262.jar)
[INFO] Retrieving previous metadata from apache.snapshots.https
[INFO] Uploading repository metadata for: 'artifact org.apache.sling:org.apache.sling.commons.threads'
[INFO] Retrieving previous metadata from apache.snapshots.https
[INFO] Uploading repository metadata for: 'snapshot org.apache.sling:org.apache.sling.commons.threads:3.0.1-SNAPSHOT'
[INFO] Uploading project information for org.apache.sling.commons.threads 3.0.1-20100428.100157-262
[INFO] Retrieving previous build number from apache.snapshots.https
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/org.apache.sling.commons.threads/3.0.1-SNAPSHOT/org.apache.sling.commons.threads-3.0.1-20100428.100157-262-sources.jar
22K uploaded (org.apache.sling.commons.threads-3.0.1-20100428.100157-262-sources.jar)
[INFO] [bundle:deploy {execution: default-deploy}]
[INFO] Remote OBR update disabled (enable with -DremoteOBR)
[HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/commons/threads/target/org.apache.sling.commons.threads-3.0.1-SNAPSHOT.jar> to /export/home/hudson/hudson/jobs/sling-trunk-1.5/modules/org.apache.sling$org.apache.sling.commons.threads/builds/2010-04-28_10-01-19/archive/org.apache.sling/org.apache.sling.commons.threads/3.0.1-20100428.100157-262/org.apache.sling.commons.threads-3.0.1-SNAPSHOT.jar
[HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/commons/threads/target/org.apache.sling.commons.threads-3.0.1-SNAPSHOT-sources.jar> to /export/home/hudson/hudson/jobs/sling-trunk-1.5/modules/org.apache.sling$org.apache.sling.commons.threads/builds/2010-04-28_10-01-19/archive/org.apache.sling/org.apache.sling.commons.threads/3.0.1-20100428.100157-262/org.apache.sling.commons.threads-3.0.1-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Sling Scheduler Support
[INFO] task-segment: [clean, deploy]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting file set: <http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/commons/scheduler/target> (included: [**], excluded: [])
Downloading: http://repo1.maven.org/maven2/opensymphony/quartz/1.6.3/quartz-1.6.3.pom
[INFO] Unable to find resource 'opensymphony:quartz:pom:1.6.3' in repository central (http://repo1.maven.org/maven2)
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[echo] ********************** WARNING (SLING-443) **********************************
[echo] On most platforms, building Apache Sling currently requires setting
[echo] MAVEN_OPTS="-Xmx256M", see https://issues.apache.org/jira/browse/SLING-443
[echo] You might get a "java.lang.OutOfMemoryError: Java heap space" if that
[echo] setting is not correct.
[echo] *****************************************************************************
[INFO] Executed tasks
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 6 source files to <http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/commons/scheduler/target/classes>
[INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
[INFO] Writing abstract service descriptor <http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/commons/scheduler/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml> with 1 entries.
[INFO] Generating 1 Service Component Descriptors to <http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/commons/scheduler/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml>
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/commons/scheduler/src/test/resources>
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: <http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/commons/scheduler/target/surefire-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[HUDSON] Recording test results[INFO] [bundle:bundle {execution: default-bundle}]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/commons/scheduler/pom.xml> to /export/home/hudson/hudson/jobs/sling-trunk-1.5/modules/org.apache.sling$org.apache.sling.commons.scheduler/builds/2010-04-28_10-01-19/archive/org.apache.sling/org.apache.sling.commons.scheduler/2.2.1-SNAPSHOT/pom.xml
[HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/commons/scheduler/target/org.apache.sling.commons.scheduler-2.2.1-SNAPSHOT.jar> to /export/home/hudson/hudson/jobs/sling-trunk-1.5/modules/org.apache.sling$org.apache.sling.commons.scheduler/builds/2010-04-28_10-01-19/archive/org.apache.sling/org.apache.sling.commons.scheduler/2.2.1-SNAPSHOT/org.apache.sling.commons.scheduler-2.2.1-SNAPSHOT.jar
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: <http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/commons/scheduler/target/org.apache.sling.commons.scheduler-2.2.1-SNAPSHOT-sources.jar>
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: org.apache.sling.commons.scheduler-2.2.1-SNAPSHOT.jar
[INFO] Checking legal files in: org.apache.sling.commons.scheduler-2.2.1-SNAPSHOT-sources.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing <http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/commons/scheduler/target/org.apache.sling.commons.scheduler-2.2.1-SNAPSHOT.jar> to /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.scheduler/2.2.1-SNAPSHOT/org.apache.sling.commons.scheduler-2.2.1-SNAPSHOT.jar
[INFO] Installing <http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/commons/scheduler/target/org.apache.sling.commons.scheduler-2.2.1-SNAPSHOT-sources.jar> to /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.scheduler/2.2.1-SNAPSHOT/org.apache.sling.commons.scheduler-2.2.1-SNAPSHOT-sources.jar
[INFO] [bundle:install {execution: default-install}]
[INFO] Parsing file:/home/hudson/.m2/repository/repository.xml
[Fatal Error] :-1:-1: Premature end of file.
org.xml.sax.SAXParseException: Premature end of file.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:264)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:172)
at org.apache.felix.obrplugin.ObrUpdate.parseFile(ObrUpdate.java:347)
at org.apache.felix.obrplugin.ObrUpdate.parseRepositoryXml(ObrUpdate.java:324)
at org.apache.felix.obrplugin.ObrInstall.execute(ObrInstall.java:140)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at hudson.maven.agent.Main.launch(Main.java:165)
at hudson.maven.MavenBuilder.call(MavenBuilder.java:159)
at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:688)
at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:632)
at hudson.remoting.UserRequest.perform(UserRequest.java:104)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:236)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
at java.lang.Thread.run(Thread.java:595)
[INFO] Writing OBR metadata
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] Retrieving previous build number from apache.snapshots.https
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/org.apache.sling.commons.scheduler/2.2.1-SNAPSHOT/org.apache.sling.commons.scheduler-2.2.1-20100428.100157-262.jar
974K uploaded (org.apache.sling.commons.scheduler-2.2.1-20100428.100157-262.jar)
[INFO] Uploading project information for org.apache.sling.commons.scheduler 2.2.1-20100428.100157-262
[INFO] Retrieving previous metadata from apache.snapshots.https
[INFO] Uploading repository metadata for: 'snapshot org.apache.sling:org.apache.sling.commons.scheduler:2.2.1-SNAPSHOT'
[INFO] Retrieving previous metadata from apache.snapshots.https
[INFO] Uploading repository metadata for: 'artifact org.apache.sling:org.apache.sling.commons.scheduler'
[INFO] Retrieving previous build number from apache.snapshots.https
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/org.apache.sling.commons.scheduler/2.2.1-SNAPSHOT/org.apache.sling.commons.scheduler-2.2.1-20100428.100157-262-sources.jar
18K uploaded (org.apache.sling.commons.scheduler-2.2.1-20100428.100157-262-sources.jar)
[INFO] [bundle:deploy {execution: default-deploy}]
[INFO] Remote OBR update disabled (enable with -DremoteOBR)
[HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/commons/scheduler/target/org.apache.sling.commons.scheduler-2.2.1-SNAPSHOT.jar> to /export/home/hudson/hudson/jobs/sling-trunk-1.5/modules/org.apache.sling$org.apache.sling.commons.scheduler/builds/2010-04-28_10-01-19/archive/org.apache.sling/org.apache.sling.commons.scheduler/2.2.1-20100428.100157-262/org.apache.sling.commons.scheduler-2.2.1-SNAPSHOT.jar
[HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/commons/scheduler/target/org.apache.sling.commons.scheduler-2.2.1-SNAPSHOT-sources.jar> to /export/home/hudson/hudson/jobs/sling-trunk-1.5/modules/org.apache.sling$org.apache.sling.commons.scheduler/builds/2010-04-28_10-01-19/archive/org.apache.sling/org.apache.sling.commons.scheduler/2.2.1-20100428.100157-262/org.apache.sling.commons.scheduler-2.2.1-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Sling Engine Implementation
[INFO] task-segment: [clean, deploy]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting file set: <http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/engine/target> (included: [**], excluded: [])
Downloading: http://repo1.maven.org/maven2/org/apache/sling/org.apache.sling.api/2.0.9-R932364/org.apache.sling.api-2.0.9-R932364.pom
[INFO] Unable to find resource 'org.apache.sling:org.apache.sling.api:pom:2.0.9-R932364' in repository central (http://repo1.maven.org/maven2)
Downloading: http://repo1.maven.org/maven2/org/apache/sling/org.apache.sling.commons.auth/0.9.0-R925144/org.apache.sling.commons.auth-0.9.0-R925144.pom
[INFO] Unable to find resource 'org.apache.sling:org.apache.sling.commons.auth:pom:0.9.0-R925144' in repository central (http://repo1.maven.org/maven2)
Downloading: http://repo1.maven.org/maven2/org/apache/sling/org.apache.sling.api/2.0.9-R932364/org.apache.sling.api-2.0.9-R932364.jar
[INFO] Unable to find resource 'org.apache.sling:org.apache.sling.api:jar:2.0.9-R932364' in repository central (http://repo1.maven.org/maven2)
Downloading: http://repo1.maven.org/maven2/org/apache/sling/org.apache.sling.commons.auth/0.9.0-R925144/org.apache.sling.commons.auth-0.9.0-R925144.jar
[INFO] Unable to find resource 'org.apache.sling:org.apache.sling.commons.auth:jar:0.9.0-R925144' in repository central (http://repo1.maven.org/maven2)
[HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/engine/pom.xml> to /export/home/hudson/hudson/jobs/sling-trunk-1.5/modules/org.apache.sling$org.apache.sling.engine/builds/2010-04-28_10-01-19/archive/org.apache.sling/org.apache.sling.engine/2.0.7-R938445/pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.sling:org.apache.sling.api:jar:2.0.9-R932364
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.sling -DartifactId=org.apache.sling.api -Dversion=2.0.9-R932364 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.sling -DartifactId=org.apache.sling.api -Dversion=2.0.9-R932364 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.sling:org.apache.sling.engine:bundle:2.0.7-R938445
2) org.apache.sling:org.apache.sling.api:jar:2.0.9-R932364
2) org.apache.sling:org.apache.sling.commons.auth:jar:0.9.0-R925144
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.sling -DartifactId=org.apache.sling.commons.auth -Dversion=0.9.0-R925144 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.sling -DartifactId=org.apache.sling.commons.auth -Dversion=0.9.0-R925144 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.sling:org.apache.sling.engine:bundle:2.0.7-R938445
2) org.apache.sling:org.apache.sling.commons.auth:jar:0.9.0-R925144
----------
2 required artifacts are missing.
for artifact:
org.apache.sling:org.apache.sling.engine:bundle:2.0.7-R938445
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.snapshots (http://repository.apache.org/snapshots)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 minutes 32 seconds
[INFO] Finished at: Wed Apr 28 10:09:13 UTC 2010
[INFO] Final Memory: 82M/121M
[INFO] ------------------------------------------------------------------------
channel stopped
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Hudson build is back to normal : sling-trunk-1.5 #696
Posted by Apache Hudson Server <hu...@hudson.zones.apache.org>.
See <http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/696/changes>