← Back to team overview

dhis2-devs team mailing list archive

Build failed in Jenkins: Dhis2 Service Trunk #2753

 

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

Changes:

[Lars Helge Overland] Removed unnecessary cascading from OrganisationUnit-parent and DataSet-Section associations

------------------------------------------
Started by an SCM change
$ bzr revision-info -d "<http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/";>
info result: bzr revision-info -d <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/> returned 0. Command output: "3771 larshelge@xxxxxxxxx-20110527145001-iro2b8pw2s8iw2hc
" stderr: ""
ERROR: Ignore Problem expanding maven opts macros org.jenkinsci.plugins.tokenmacro.TokenMacro
[workspace] $ bzr pull --overwrite https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
 M  dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataset/DataSetDeletionHandler.java
 M  dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/dataset/hibernate/DataSet.hbm.xml
 M  dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/organisationunit/hibernate/OrganisationUnit.hbm.xml
 M  dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/ehcache.xml
 M  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/section/AddSectionAction.java
 M  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/section/RemoveSectionAction.java
All changes applied successfully.
Now on revision 3772.
$ bzr revision-info -d "<http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/";>
info result: bzr revision-info -d <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/> returned 0. Command output: "3772 larshelge@xxxxxxxxx-20110528115754-kdnvpzjwa04s7mjy
" stderr: ""
[workspace] $ bzr log -v -r revid:larshelge@xxxxxxxxx-20110527145001-iro2b8pw2s8iw2hc..revid:larshelge@xxxxxxxxx-20110528115754-kdnvpzjwa04s7mjy --long --show-ids
Getting local revision...
$ bzr revision-info -d "<http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/";>
info result: bzr revision-info -d <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/> returned 0. Command output: "3772 larshelge@xxxxxxxxx-20110528115754-kdnvpzjwa04s7mjy
" stderr: ""
RevisionState revno:3772 revid:larshelge@xxxxxxxxx-20110528115754-kdnvpzjwa04s7mjy
ERROR: Ignore Problem expanding maven opts macros org.jenkinsci.plugins.tokenmacro.TokenMacro
Found mavenVersion 2.2.1 from file jar:file:/projects/hisp/jenkins_home/tools/2.2.1/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties
Parsing POMs
ERROR: Ignore Problem expanding maven opts macros org.jenkinsci.plugins.tokenmacro.TokenMacro
[dhis-2] $ /local/opt/j2sdk/bin/java -Xmx2048m -XX:MaxPermSize=512m -cp /projects/hisp/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.1.jar:/projects/hisp/jenkins_home/tools/2.2.1/boot/classworlds-1.1.jar hudson.maven.agent.Main /projects/hisp/jenkins_home/tools/2.2.1 /ifi/utgard/p01/dhis/projects/dhis-1.ifi.uio.no/ci/tomcat/webapps/ci/WEB-INF/lib/remoting-1.409.jar /projects/hisp/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.1.jar 51074 /projects/hisp/jenkins_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 XML framework services
[INFO]   DHIS Services Parent Project
[INFO]   DHIS Core API Implementations
[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 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.3-SNAPSHOT/dhis-2.3-SNAPSHOT.pom
[INFO] Preparing findbugs:findbugs
[INFO] No goals needed for project - skipping
[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.
[JENKINS] Archiving <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/dhis-2/pom.xml> to /projects/hisp/jenkins_home/jobs/Dhis2 Service Trunk/modules/org.hisp.dhis$dhis/builds/2011-05-28_14-01-54/archive/org.hisp.dhis/dhis/2.3-SNAPSHOT/dhis-2.3-SNAPSHOT.pom
[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>
[JENKINS] Archiving <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/dhis-2/dhis-api/pom.xml> to /projects/hisp/jenkins_home/jobs/Dhis2 Service Trunk/modules/org.hisp.dhis$dhis-api/builds/2011-05-28_14-01-54/archive/org.hisp.dhis/dhis-api/2.3-SNAPSHOT/dhis-api-2.3-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
	at org.codehaus.plexus.util.DirectoryScanner.scandir(DirectoryScanner.java:677)
	at org.codehaus.plexus.util.DirectoryScanner.scandir(DirectoryScanner.java:727)
	at org.codehaus.plexus.util.DirectoryScanner.scandir(DirectoryScanner.java:727)
	at org.codehaus.plexus.util.DirectoryScanner.scandir(DirectoryScanner.java:727)
	at org.codehaus.plexus.util.DirectoryScanner.scandir(DirectoryScanner.java:727)
	at org.codehaus.plexus.util.DirectoryScanner.scandir(DirectoryScanner.java:727)
	at org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java:593)
	at org.apache.maven.shared.model.fileset.util.FileSetManager.scan(FileSetManager.java:659)
	at org.apache.maven.shared.model.fileset.util.FileSetManager.findDeletableFiles(FileSetManager.java:462)
	at org.apache.maven.shared.model.fileset.util.FileSetManager.findDeletablePaths(FileSetManager.java:366)
	at org.apache.maven.shared.model.fileset.util.FileSetManager.delete(FileSetManager.java:284)
	at org.apache.maven.plugin.clean.CleanMojo.removeDirectory(CleanMojo.java:261)
	at org.apache.maven.plugin.clean.CleanMojo.execute(CleanMojo.java:173)
	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:597)
	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:173)
	at hudson.maven.MavenBuilder.call(MavenBuilder.java:164)
	at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:987)
	at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:918)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:270)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 29 seconds
[INFO] Finished at: Sat May 28 14:02:32 CEST 2011
[INFO] Final Memory: 27M/334M
[INFO] ------------------------------------------------------------------------
channel stopped



Follow ups