← Back to team overview

dhis2-devs team mailing list archive

Build failed in Hudson: Dhis2 Service Trunk #1061

 

See <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/1061/>

------------------------------------------
Started by user olati
$ bzr revision-info -d "<http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/";>
[workspace] $ bzr pull --overwrite https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
No revisions to pull.
$ bzr revision-info -d "<http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/";>
[workspace] $ bzr log -v -r revid:hieu.hispvietnam@xxxxxxxxx-20100902170837-1z2nnlrti0bxu9b1..revid:hieu.hispvietnam@xxxxxxxxx-20100902170837-1z2nnlrti0bxu9b1 --long --show-ids
Getting local revision...
$ bzr revision-info -d "<http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/";>
hieu.hispvietnam@xxxxxxxxx-20100902170837-1z2nnlrti0bxu9b1
Parsing POMs
[dhis-2] $ java -Xmx2048m -XX:MaxPermSize=512m -cp /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.369.jar:/ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/tools/2.2.1/boot/classworlds-1.1.jar hudson.maven.agent.Main /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/tools/2.2.1 /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/tomcat/webapps/ci/WEB-INF/lib/remoting-1.369.jar /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.369.jar 47223 /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/plugins/maven-plugin/WEB-INF/lib/maven2.1-interceptor-1.2.jar
<===[HUDSON REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/dhis-2/pom.xml> clean install findbugs:findbugs
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   DHIS 2
[INFO]   DHIS API
[INFO]   DHIS Support Parent Project
[INFO]   DHIS Test Support
[INFO]   DHIS External Support
[INFO]   DHIS Hibernate Support
[INFO]   DHIS System Support
[INFO]   DHIS JDBC Service
[INFO]   DHIS Services Parent Project
[INFO]   DHIS Core API Implementations
[INFO]   DHIS XML framework services
[INFO]   DHIS I18n Static
[INFO]   DHIS Options
[INFO]   DHIS Administration Service
[INFO]   DHIS DataMart Service - Default
[INFO]   DHIS Aggregation Service - Default
[INFO]   DHIS OrganisationUnit API Implementations
[INFO]   DHIS Reporting Service
[INFO]   DHIS Import-Export Service
[INFO]   DHIS Excel Reporting Service
[INFO]   DHIS Patient API Implementations
[INFO]   DHIS JDBC / External Test Project
[INFO] ------------------------------------------------------------------------
[INFO] Building DHIS 2
[INFO]    task-segment: [clean, install, findbugs:findbugs]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/dhis-2/pom.xml> to /ifi/utgard/p01/dhis/.m2/repository/org/hisp/dhis/dhis/2.0.6-SNAPSHOT/dhis-2.0.6-SNAPSHOT.pom
[INFO] Preparing findbugs:findbugs
[INFO] No goals needed for project - skipping
[HUDSON] Archiving <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/dhis-2/pom.xml> to /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Service Trunk/modules/org.hisp.dhis$dhis/builds/2010-09-02_22-37-31/archive/org.hisp.dhis/dhis/2.0.6-SNAPSHOT/pom.xml
[HUDSON] Archiving /ifi/utgard/p01/dhis/.m2/repository/org/hisp/dhis/dhis/2.0.6-SNAPSHOT/dhis-2.0.6-SNAPSHOT.pom to /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Service Trunk/modules/org.hisp.dhis$dhis/builds/2010-09-02_22-37-31/archive/org.hisp.dhis/dhis/2.0.6-SNAPSHOT/dhis-2.0.6-SNAPSHOT.pom
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] ************************************************************** 
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties
[INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
[INFO] Velocimacro : error using  VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'
[INFO] Velocimacro :  VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be  global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [findbugs:findbugs {execution: default-cli}]
[INFO]   Using source root:
[INFO]     <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/dhis-2/target/classes>
[INFO]   Using test source root:
[INFO]     <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/dhis-2/target/test-classes>
[INFO] Output class directory doesn't exist. Skipping findbugs.
[INFO] ------------------------------------------------------------------------
[INFO] Building DHIS API
[INFO]    task-segment: [clean, install, findbugs:findbugs]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/dhis-2/dhis-api/target>
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[INFO] [compiler:compile {execution: default-compile}]
[HUDSON] Archiving <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/dhis-2/dhis-api/pom.xml> to /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Service Trunk/modules/org.hisp.dhis$dhis-api/builds/2010-09-02_22-37-31/archive/org.hisp.dhis/dhis-api/2.0.6-SNAPSHOT/pom.xml[INFO] Compiling 340 source files to <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/dhis-2/dhis-api/target/classes>

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
Unable to locate the Javac Compiler in:
  /usr/lib/jvm/java-1.6.0-sun-1.6.0.21.x86_64/jre/../lib/tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Thu Sep 02 22:37:53 CEST 2010
[INFO] Final Memory: 35M/85M
[INFO] ------------------------------------------------------------------------
Sending e-mails to: dhis2-devs@xxxxxxxxxxxxxxxxxxx
channel stopped




Follow ups

References