← Back to team overview

dhis2-devs team mailing list archive

Build failed in Hudson: Dhis2 Web Trunk #1335

 

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

Changes:

[Lars Helge Overland] Applied patch from Tran on style setting. We now have both a system setting and user setting for this, where the user setting overrides the system setting.

[Lars Helge Overland] Improved method for disallowing client caching of responses in StreamActionSupport.

------------------------------------------
Started by upstream project "Dhis2 Service Trunk" build number 1391
$ bzr revision-info -d "<http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/";>
[workspace] $ bzr pull --overwrite https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
+N  dhis-2/dhis-services/dhis-service-options/src/main/java/org/hisp/dhis/options/style/DefaultUserStyleManager.java
+N  dhis-2/dhis-services/dhis-service-options/src/main/java/org/hisp/dhis/options/style/UserStyleManager.java
+N  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/java/org/hisp/dhis/settings/action/user/GetAvailableStylesAction.java
+N  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/java/org/hisp/dhis/settings/action/user/SetCurrentStyleAction.java
 M  dhis-2/dhis-services/dhis-service-options/src/main/resources/META-INF/dhis/beans.xml
 M  dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/DateUtils.java
 M  dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/interceptor/StyleInterceptor.java
 M  dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/util/StreamActionSupport.java
 M  dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/beans.xml
 M  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/resources/META-INF/dhis/beans.xml
 M  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/resources/struts.xml
 M  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/webapp/dhis-web-maintenance-settings/userSettings.vm
 M  dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/reportviewer/action/RenderReportAction.java
All changes applied successfully.
Now on revision 1965.
$ bzr revision-info -d "<http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/";>
[workspace] $ bzr log -v -r revid:luan@minhluan-pc-20101026134140-uoearllnovgajdp3..revid:larshelge@xxxxxxxxx-20101026163552-p36ity2autp2k8dn --long --show-ids
Getting local revision...
$ bzr revision-info -d "<http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/";>
larshelge@xxxxxxxxx-20101026163552-p36ity2autp2k8dn
Deleting old artifacts from #1333
Parsing POMs
[dhis-web] $ /local/opt/j2sdk/bin/java -Xmx1024m -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.375.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.375.jar /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.375.jar 59676 /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%20Web%20Trunk/ws/dhis-2/dhis-web/pom.xml> clean install findbugs:findbugs
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   DHIS Web Modules Project
[INFO]   DHIS Common Functionality for Web
[INFO]   DHIS Common Resources for Web
[INFO]   DHIS Web Modules Maintenance
[INFO]   DHIS Data Set Management
[INFO]   DHIS Data Dictionary
[INFO]   DHIS Organisation Unit Management
[INFO]   DHIS Setting Maintenance
[INFO]   DHIS User Maintenance
[INFO]   DHIS Data Administration
[INFO]   DHIS Patient Management
[INFO]   DHIS Data Entry
[INFO]   DHIS Import-Export
[INFO]   DHIS Data Mart
[INFO]   DHIS Validation Rule
[INFO]   DHIS Web Reporting
[INFO]   DHIS Mapping
[INFO]   DHIS Web Dashboard Integration module
[INFO]   DHIS Web Excel Reporting
[INFO]   DHIS Case Entry
[INFO]   DHIS Web API
[INFO]   DHIS Web Portal
[INFO] ------------------------------------------------------------------------
[INFO] Building DHIS Web Modules Project
[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%20Web%20Trunk/ws/dhis-2/dhis-web/pom.xml> to /ifi/utgard/p01/dhis/.m2/repository/org/hisp/dhis/dhis-web/2.0.6-SNAPSHOT/dhis-web-2.0.6-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%20Web%20Trunk/ws/dhis-2/dhis-web/target/classes>
[INFO]   Using test source root:
[INFO]     <http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/target/test-classes>
[INFO] Output class directory doesn't exist. Skipping findbugs.
[HUDSON] Archiving <http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/pom.xml> to /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Web Trunk/modules/org.hisp.dhis$dhis-web/builds/2010-10-26_18-48-11/archive/org.hisp.dhis/dhis-web/2.0.6-SNAPSHOT/pom.xml
[HUDSON] Archiving /ifi/utgard/p01/dhis/.m2/repository/org/hisp/dhis/dhis-web/2.0.6-SNAPSHOT/dhis-web-2.0.6-SNAPSHOT.pom to /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Web Trunk/modules/org.hisp.dhis$dhis-web/builds/2010-10-26_18-48-11/archive/org.hisp.dhis/dhis-web/2.0.6-SNAPSHOT/dhis-web-2.0.6-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building DHIS Common Functionality for Web
[INFO]    task-segment: [clean, install, findbugs:findbugs]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/dhis-web-commons/target>
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
    [mkdir] Created dir: <http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/dhis-web-commons/target/classes>
[INFO] Executed tasks
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 129 source files to <http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/dhis-web-commons/target/classes>
[HUDSON] Archiving <http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/dhis-web-commons/pom.xml> to /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Web Trunk/modules/org.hisp.dhis$dhis-web-commons/builds/2010-10-26_18-48-11/archive/org.hisp.dhis/dhis-web-commons/2.0.6-SNAPSHOT/pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

<http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/interceptor/StyleInterceptor.java>:[34,34] cannot find symbol
symbol  : class UserStyleManager
location: package org.hisp.dhis.options.style

<http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/interceptor/StyleInterceptor.java>:[61,12] cannot find symbol
symbol  : class UserStyleManager
location: class org.hisp.dhis.interceptor.StyleInterceptor

<http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/interceptor/StyleInterceptor.java>:[63,37] cannot find symbol
symbol  : class UserStyleManager
location: class org.hisp.dhis.interceptor.StyleInterceptor


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28 seconds
[INFO] Finished at: Tue Oct 26 18:48:45 CEST 2010
[INFO] Final Memory: 61M/145M
[INFO] ------------------------------------------------------------------------
Waiting for Hudson to finish collecting data
Failed to send e-mail to Lars Helge Overland because no e-mail address is known, and no default e-mail domain is configured
Sending e-mails to: dhis2-devs@xxxxxxxxxxxxxxxxxxx
channel stopped
Archiving artifacts
Performing Post build task...
Could not match :DHIS Web Portal ....................................... SUCCESS  : False
Logical operation result is FALSE
Skipping script  : echo "Building webapp succeeded. Deploying to dev"
/ifi/utgard/p01/dhis/bin/redeploy-dhis-snapshot
END OF POST BUILD TASK 	: 0
Failed to send e-mail to Lars Helge Overland because no e-mail address is known, and no default e-mail domain is configured




Follow ups