Build failed in Jenkins: Dhis2 Web Trunk #2617

See <DHIS2 App Hub;

Changes:

[Morten Olav Hansen] updated UserGroup to implement IdentifiableObject

[Lars Helge Overland] Reverted r3723

[Morten Olav Hansen] added/updated ajax-json actions for getDataElementGroups/getDataElementGroupSets/getIndicatorGroups/getIndicatorGroupSets

[tranthanhtri84@gmail.com] Fixed: GIS - Period does not show when select period type

···

------------------------------------------
Started by upstream project "Dhis2 Service Trunk" build number 2722
$ bzr revision-info -d "<DHIS2 App Hub;
info result: bzr revision-info -d <DHIS2 App Hub; returned 0. Command output: "3722 hieu.hispvietnam@gmail.com-20110524090825-tyrrvyswldg5cf94
" stderr: ""
ERROR: Ignore Problem expanding maven opts macros org.jenkinsci.plugins.tokenmacro.TokenMacro
[workspace] $ bzr pull --overwrite trunk : Code : DHIS
+N dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/jsonDataElementGroupSets.vm
+N dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/jsonIndicatorGroupSets.vm
+N dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/commons/action/GetDataElementGroupSetsAction.java
+N dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/commons/action/GetIndicatorGroupSetsAction.java
M dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserGroup.java
M dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/commons/action/GetDataElementGroupsAction.java
M dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/commons/action/GetIndicatorGroupsAction.java
M dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/commons/action/GetUserGroupsAction.java
M dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/beans.xml
M dhis-2/dhis-web/dhis-web-commons/src/main/resources/dhis-web-commons.xml
All changes applied successfully.
Now on revision 3726.
$ bzr revision-info -d "<DHIS2 App Hub;
info result: bzr revision-info -d <DHIS2 App Hub; returned 0. Command output: "3726 mortenoh@gmail.com-20110524101810-t22jl3nc9oib2ha7
" stderr: ""
[workspace] $ bzr log -v -r revid:hieu.hispvietnam@gmail.com-20110524090825-tyrrvyswldg5cf94..revid:mortenoh@gmail.com-20110524101810-t22jl3nc9oib2ha7 --long --show-ids
Getting local revision...
$ bzr revision-info -d "<DHIS2 App Hub;
info result: bzr revision-info -d <DHIS2 App Hub; returned 0. Command output: "3726 mortenoh@gmail.com-20110524101810-t22jl3nc9oib2ha7
" stderr: ""
RevisionState revno:3726 revid:mortenoh@gmail.com-20110524101810-t22jl3nc9oib2ha7
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
Deleting old artifacts from #2615
Parsing POMs
ERROR: Ignore Problem expanding maven opts macros org.jenkinsci.plugins.tokenmacro.TokenMacro
[dhis-web] $ /local/opt/j2sdk/bin/java -Xmx1024m -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-dev.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 47773 /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 <DHIS2 App Hub; 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 Case Entry
[INFO] DHIS Web API
[INFO] DHIS Web Light
[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 <DHIS2 App Hub; to /ifi/utgard/p01/dhis/.m2/repository/org/hisp/dhis/dhis-web/2.3-SNAPSHOT/dhis-web-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
[JENKINS] Archiving <DHIS2 App Hub; to /projects/hisp/jenkins_home/jobs/Dhis2 Web Trunk/modules/org.hisp.dhis$dhis-web/builds/2011-05-24_12-19-59/archive/org.hisp.dhis/dhis-web/2.3-SNAPSHOT/dhis-web-2.3-SNAPSHOT.pom
[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] <DHIS2 App Hub;
[INFO] Using test source root:
[INFO] <DHIS2 App Hub;
[INFO] Output class directory doesn't exist. Skipping findbugs.
[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 <DHIS2 App Hub;
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
    [mkdir] Created dir: <DHIS2 App Hub;
[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 143 source files to <DHIS2 App Hub;
[JENKINS] Archiving <DHIS2 App Hub; to /projects/hisp/jenkins_home/jobs/Dhis2 Web Trunk/modules/org.hisp.dhis$dhis-web-commons/builds/2011-05-24_12-19-59/archive/org.hisp.dhis/dhis-web-commons/2.3-SNAPSHOT/dhis-web-commons-2.3-SNAPSHOT.pom
Waiting for Jenkins to finish collecting data
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] <DHIS2 App Hub <T>filterNameByKey(java.util.List<T>,java.lang.String,boolean) in org.hisp.dhis.system.util.IdentifiableObjectUtils cannot be applied to (java.util.List<org.hisp.dhis.user.UserGroup>,java.lang.String,boolean)
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
<DHIS2 App Hub <T>filterNameByKey(java.util.List<T>,java.lang.String,boolean) in org.hisp.dhis.system.util.IdentifiableObjectUtils cannot be applied to (java.util.List<org.hisp.dhis.user.UserGroup>,java.lang.String,boolean)

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32 seconds
[INFO] Finished at: Tue May 24 12:20:40 CEST 2011
[INFO] Final Memory: 47M/117M
[INFO] ------------------------------------------------------------------------
Sending e-mails to: dhis2-devs@lists.launchpad.net
channel stopped
Archiving artifacts
ERROR: Ignore Problem expanding maven opts macros org.jenkinsci.plugins.tokenmacro.TokenMacro
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

See <DHIS2 App Hub;