See <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/406/changes>
Changes: [Daan Hoogland] try-with-resource to prevent resource leaks [Daan Hoogland] Fixed issues reported by coverity NPEs, unwritten field access and self assignment [Daan Hoogland] Fix for test_01_create_volume to use the correct volume name for KVM ------------------------------------------ [...truncated 528 lines...] Tests run: 122, Failures: 0, Errors: 0, Skipped: 1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache CloudStack Framework 4.4.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloudstack-framework --- [INFO] Deleting <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/framework/target> (includes = [**/*], excludes = []) [INFO] Deleting <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/framework> (includes = [target, dist], excludes = []) [INFO] [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloudstack-framework --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache CloudStack Framework - Event Notification 4.4.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-framework-db --- [INFO] Deleting <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/framework/db/target> (includes = [**/*], excludes = []) [INFO] Deleting <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/framework/db> (includes = [target, dist], excludes = []) [INFO] [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-framework-db --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-framework-db --- [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cloud-framework-db --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-framework-db --- [INFO] Compiling 43 source files to <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/framework/db/target/classes> [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ cloud-framework-db --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/framework/db/test/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ cloud-framework-db --- [INFO] Compiling 15 source files to <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/framework/db/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-framework-db --- [INFO] Surefire report directory: <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/framework/db/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running com.cloud.utils.DbUtilTest Failed to find db.properties log4j:WARN No appenders could be found for logger (com.cloud.utils.db.DbProperties). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Tests run: 15, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.713 sec Results : Tests run: 15, Failures: 0, Errors: 0, Skipped: 2 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache CloudStack Framework - Configuration 4.4.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-framework-config --- [INFO] Deleting <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/framework/config/target> (includes = [**/*], excludes = []) [INFO] Deleting <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/framework/config> (includes = [target, dist], excludes = []) [INFO] [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-framework-config --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-framework-config --- [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cloud-framework-config --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-framework-config --- [INFO] Compiling 10 source files to <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/framework/config/target/classes> [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ cloud-framework-config --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/framework/config/test/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ cloud-framework-config --- [INFO] Compiling 1 source file to <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/framework/config/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-framework-config --- [INFO] Surefire report directory: <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/framework/config/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.cloudstack.framework.config.impl.ConfigDepotAdminTest log4j:WARN No appenders could be found for logger (org.apache.cloudstack.framework.config.impl.ConfigDepotImpl). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.451 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache CloudStack API 4.4.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-api --- [INFO] Deleting <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/api/target> (includes = [**/*], excludes = []) [INFO] Deleting <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/api> (includes = [target, dist], excludes = []) [INFO] [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-api --- [INFO] Starting audit... <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/api/src/com/cloud/event/EventTypes.java>:46:8: Unused import - com.cloud.network.Site2SiteCustomerGateway. <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/api/src/com/cloud/event/EventTypes.java>:47:8: Unused import - com.cloud.network.Site2SiteVpnConnection. <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/api/src/com/cloud/event/EventTypes.java>:48:1: Duplicate import to line 23 - com.cloud.network.Site2SiteVpnGateway. <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/api/src/com/cloud/event/EventTypes.java>:55:1: Duplicate import to line 24 - com.cloud.network.rules.FirewallRule. <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/api/src/com/cloud/event/EventTypes.java>:56:1: Duplicate import to line 25 - com.cloud.network.rules.HealthCheckPolicy. <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/api/src/com/cloud/event/EventTypes.java>:59:1: Duplicate import to line 26 - com.cloud.network.rules.StickinessPolicy. <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/api/src/com/cloud/event/EventTypes.java>:68:1: Duplicate import to line 29 - com.cloud.server.ResourceTag. <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/api/src/com/cloud/event/EventTypes.java>:76:1: Duplicate import to line 30 - com.cloud.vm.ConsoleProxy. <http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/api/src/com/cloud/event/EventTypes.java>:77:1: Duplicate import to line 31 - com.cloud.vm.SecondaryStorageVm. Audit done. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache CloudStack Developer Tools - Checkstyle Configuration SUCCESS [0.686s] [INFO] Apache CloudStack ................................. SUCCESS [0.612s] [INFO] Apache CloudStack Maven Conventions Parent ........ SUCCESS [1.014s] [INFO] Apache CloudStack Framework - Managed Context ..... SUCCESS [2.726s] [INFO] Apache CloudStack Utils ........................... SUCCESS [10.003s] [INFO] Apache CloudStack Framework ....................... SUCCESS [0.048s] [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [5.962s] [INFO] Apache CloudStack Framework - Configuration ....... SUCCESS [3.525s] [INFO] Apache CloudStack API ............................. FAILURE [1.839s] [INFO] Apache CloudStack Framework - REST ................ SKIPPED [INFO] Apache CloudStack Framework - IPC ................. SKIPPED [INFO] Apache CloudStack Cloud Engine .................... SKIPPED [INFO] Apache CloudStack Cloud Engine API ................ SKIPPED [INFO] Apache CloudStack Framework - Security ............ SKIPPED [INFO] Apache CloudStack Core ............................ SKIPPED [INFO] Apache CloudStack Agents .......................... SKIPPED [INFO] Apache CloudStack Framework - Clustering .......... SKIPPED [INFO] Apache CloudStack Framework - Event Notification .. SKIPPED [INFO] Apache CloudStack Cloud Engine Schema Component ... SKIPPED [INFO] Apache CloudStack Framework - Jobs ................ SKIPPED [INFO] Apache CloudStack Cloud Engine Internal Components API SKIPPED [INFO] Apache CloudStack Server .......................... SKIPPED [INFO] Apache CloudStack Usage Server .................... SKIPPED [INFO] Apache XenSource XAPI ............................. SKIPPED [INFO] Apache CloudStack Cloud Engine Orchestration Component SKIPPED [INFO] Apache CloudStack Cloud Services .................. SKIPPED [INFO] Apache CloudStack Secondary Storage ............... SKIPPED [INFO] Apache CloudStack Secondary Storage Service ....... SKIPPED [INFO] Apache CloudStack Engine Storage Component ........ SKIPPED [INFO] Apache CloudStack Engine Storage Volume Component . SKIPPED [INFO] Apache CloudStack Engine Storage Image Component .. SKIPPED [INFO] Apache CloudStack Engine Storage Data Motion Component SKIPPED [INFO] Apache CloudStack Engine Storage Cache Component .. SKIPPED [INFO] Apache CloudStack Engine Storage Snapshot Component SKIPPED [INFO] Apache CloudStack Cloud Engine API ................ SKIPPED [INFO] Apache CloudStack Cloud Engine Service ............ SKIPPED [INFO] Apache CloudStack Plugin POM ...................... SKIPPED [INFO] Apache CloudStack Plugin - API Rate Limit ......... SKIPPED [INFO] Apache CloudStack Plugin - API Discovery .......... SKIPPED [INFO] Apache CloudStack Plugin - ACL Static Role Based .. SKIPPED [INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor SKIPPED [INFO] Apache CloudStack Plugin - Explicit Dedication Processor SKIPPED [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner SKIPPED [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner SKIPPED [INFO] Apache CloudStack Plugin - Implicit Dedication Planner SKIPPED [INFO] Apache CloudStack Plugin - Skip Heurestics Planner SKIPPED [INFO] Apache CloudStack Plugin - Host Allocator Random .. SKIPPED [INFO] Apache CloudStack Plugin - Dedicated Resources .... SKIPPED [INFO] Apache CloudStack Plugin - Hypervisor OracleVM .... SKIPPED [INFO] Apache CloudStack Plugin - Open vSwitch ........... SKIPPED [INFO] Apache CloudStack Plugin - Hypervisor Xen ......... SKIPPED [INFO] Apache CloudStack Plugin - Hypervisor KVM ......... SKIPPED [INFO] Apache CloudStack Plugin - RabbitMQ Event Bus ..... SKIPPED [INFO] Apache CloudStack Plugin - In Memory Event Bus .... SKIPPED [INFO] Apache CloudStack Plugin - Hypervisor Baremetal ... SKIPPED [INFO] Apache CloudStack Plugin - Hypervisor UCS ......... SKIPPED [INFO] Apache CloudStack Plugin - Hypervisor Hyper-V ..... SKIPPED [INFO] Apache CloudStack Plugin - Network Elastic Load Balancer SKIPPED [INFO] Apache CloudStack Plugin - Network Internal Load Balancer SKIPPED [INFO] Apache CloudStack Framework - Spring Life Cycle ... SKIPPED [INFO] Apache CloudStack Plugin - Network Juniper Contrail SKIPPED [INFO] Apache CloudStack Plugin - Palo Alto .............. SKIPPED [INFO] Apache CloudStack Plugin - Network Netscaler ...... SKIPPED [INFO] Apache CloudStack Plugin - Network Nicira NVP ..... SKIPPED [INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment SKIPPED [INFO] Apache CloudStack Plugin - Midokura Midonet ....... SKIPPED [INFO] Apache CloudStack Plugin - Stratosphere SSP ....... SKIPPED [INFO] Apache CloudStack Plugin - Network Opendaylight ... SKIPPED [INFO] Apache CloudStack Plugin - Storage Allocator Random SKIPPED [INFO] Apache CloudStack Plugin - User Authenticator LDAP SKIPPED [INFO] Apache CloudStack Plugin - User Authenticator MD5 . SKIPPED [INFO] Apache CloudStack Plugin - User Authenticator Plain Text SKIPPED [INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted SKIPPED [INFO] Apache CloudStack Plugin - Dns Notifier Example ... SKIPPED [INFO] Apache CloudStack Plugin - Storage Image S3 ....... SKIPPED [INFO] Apache CloudStack Plugin - Storage Image Swift provider SKIPPED [INFO] Apache CloudStack Plugin - Storage Image default provider SKIPPED [INFO] Apache CloudStack Plugin - Storage Image sample provider SKIPPED [INFO] Apache CloudStack Plugin - Storage Volume Nexenta Provider SKIPPED [INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider SKIPPED [INFO] Apache CloudStack Plugin - Storage Volume default provider SKIPPED [INFO] Apache CloudStack Plugin - Storage Volume CloudByte Provider SKIPPED [INFO] Apache CloudStack Plugin - Storage Volume sample provider SKIPPED [INFO] Apache CloudStack Plugin - SNMP Alerts ............ SKIPPED [INFO] Apache CloudStack Plugin - Syslog Alerts .......... SKIPPED [INFO] Apache CloudStack Plugin - Network VXLAN .......... SKIPPED [INFO] Apache CloudStack Framework - Spring Module ....... SKIPPED [INFO] Apache CloudStack Secondary Storage Controller .... SKIPPED [INFO] Apache CloudStack Client UI ....................... SKIPPED [INFO] Apache CloudStack Console Proxy - RDP Client ...... SKIPPED [INFO] Apache CloudStack Console Proxy ................... SKIPPED [INFO] Apache CloudStack Console Proxy - Server .......... SKIPPED [INFO] Apache CloudStack Framework - QuickCloud .......... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 28.464s [INFO] Finished at: Wed Jul 30 13:12:39 CEST 2014 [INFO] Final Memory: 46M/306M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) on project cloud-api: Failed during checkstyle execution: There are 9 checkstyle errors. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :cloud-api Build step 'Invoke top-level Maven targets' marked build as failure