See <http://jenkins.buildacloud.org/job/build-master-simulator/1152/changes>
Changes: [rajesh.battala] CLOUDSTACK-7929: While creating network offering if one specifies negative value for network rate then we will convert that value to 0 i.e. unlimited ------------------------------------------ [...truncated 1273 lines...] [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ cloud-engine-components-api --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-engine-components-api --- [INFO] Surefire report directory: <http://jenkins.buildacloud.org/job/build-master-simulator/ws/engine/components-api/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache CloudStack Server 4.6.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-server --- [INFO] Deleting <http://jenkins.buildacloud.org/job/build-master-simulator/ws/server/target> (includes = [**/*], excludes = []) [INFO] Deleting <http://jenkins.buildacloud.org/job/build-master-simulator/ws/server> (includes = [target, dist], excludes = []) [INFO] [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-server --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-server --- [INFO] [INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-server --- [INFO] Executing tasks main: [copy] Copying 3 files to <http://jenkins.buildacloud.org/job/build-master-simulator/ws/server/target/conf> [copy] Copying 1 file to <http://jenkins.buildacloud.org/job/build-master-simulator/ws/server/target/conf> [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cloud-server --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 30 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-server --- [INFO] Compiling 405 source files to <http://jenkins.buildacloud.org/job/build-master-simulator/ws/server/target/classes> [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ cloud-server --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 33 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ cloud-server --- [INFO] Compiling 98 source files to <http://jenkins.buildacloud.org/job/build-master-simulator/ws/server/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-server --- [INFO] Surefire report directory: <http://jenkins.buildacloud.org/job/build-master-simulator/ws/server/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running com.cloud.event.EventControlsUnitTest log4j:WARN No appenders could be found for logger (com.cloud.event.EventControlsUnitTest). 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.734 sec Running com.cloud.keystore.KeystoreTest org.apache.cloudstack.api.response.UserVmResponse/null/{"id":"3","securitygroup":[],"nic":[],"tags":[],"affinitygroup":[]} org.apache.cloudstack.api.response.AlertResponse/null/{"id":"100","description":"Hello"} Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.176 sec Running com.cloud.alert.AlertControlsUnitTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec Running com.cloud.capacity.CapacityManagerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.147 sec Running com.cloud.servlet.StaticResourceServletTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.145 sec Running com.cloud.servlet.ConsoleProxyServletTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Running com.cloud.resourcelimit.ResourceLimitManagerImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec Running com.cloud.network.firewall.FirewallManagerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec Running com.cloud.network.ExternalLoadBalancerDeviceManagerImplTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.644 sec Running com.cloud.network.element.VirtualRouterElementTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.024 sec Running com.cloud.network.UpdatePhysicalNetworkTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.139 sec Running com.cloud.network.CreatePrivateNetworkTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec Running com.cloud.network.NetworkModelTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec Running com.cloud.network.router.NetworkHelperImplTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 sec Running com.cloud.network.router.RouterControlHelperTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec Running com.cloud.network.router.VirtualNetworkApplianceManagerImplTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.268 sec Running com.cloud.network.security.SecurityGroupManagerImplTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.541 sec Running com.cloud.network.security.SecurityGroupQueueTest Total jobs dequeued = 10, num queued=1001 queue current size=991 Num Vms= 50 Queue size = 50 Num Vms= 20000 Queue size = 20000 time=879 ms Num Vms= 5000 Queue size = 5000 time=1049 ms Num Vms= 1 Queue size = 1 time=0 ms Num Vms= 1000000 Queue size = 1000000 time=294 ms Total jobs dequeued = 10, num queued=1000 queue current size=992 Tests run: 4, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 2.689 sec <<< FAILURE! Running com.cloud.network.vpc.VpcManagerImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 sec Running com.cloud.network.DedicateGuestVlanRangesTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec Running com.cloud.network.lb.AssignLoadBalancerTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.111 sec Running com.cloud.network.dao.NetworkDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec Running com.cloud.vm.FirstFitPlannerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.649 sec Running com.cloud.vm.DeploymentPlanningManagerImplTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.753 sec Running com.cloud.vm.snapshot.VMSnapshotManagerTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.148 sec Running com.cloud.vm.UserVmManagerTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.343 sec Running com.cloud.configuration.ValidateIpRangeTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Running com.cloud.configuration.ConfigurationManagerTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 sec Running com.cloud.server.ConfigurationServerImplTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec Running com.cloud.template.TemplateManagerImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec Running com.cloud.vpc.Site2SiteVpnTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.694 sec Running com.cloud.vpc.NetworkACLServiceTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.264 sec Running com.cloud.vpc.NetworkACLManagerTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.175 sec Running com.cloud.storage.VolumeApiServiceImplTest Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.135 sec Running com.cloud.user.AccountManagerImplTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.136 sec Running com.cloud.api.ApiServletTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.066 sec Running com.cloud.api.ApiResponseHelperTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec Running com.cloud.api.dispatch.ParamGenericValidationWorkerTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec Running com.cloud.api.dispatch.DispatchChainFactoryTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec Running com.cloud.api.dispatch.CommandCreationWorkerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec Running com.cloud.api.dispatch.SpecificCmdValidationWorkerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec Running com.cloud.api.dispatch.ParamProcessWorkerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec Running com.cloud.ha.KVMFencerTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec Running com.cloud.ha.HighAvailabilityManagerImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec Running org.cloud.network.router.deployment.VpcRouterDeploymentDefinitionTest Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.178 sec Running org.cloud.network.router.deployment.RouterDeploymentDefinitionTest Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.214 sec Running org.apache.cloudstack.networkoffering.CreateNetworkOfferingTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.717 sec Running org.apache.cloudstack.privategw.AclOnPrivateGwTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.355 sec Running org.apache.cloudstack.service.ServiceOfferingVOTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec Running org.apache.cloudstack.affinity.AffinityApiUnitTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.238 sec Running org.apache.cloudstack.network.lb.ApplicationLoadBalancerTest Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.099 sec Running org.apache.cloudstack.network.lb.CertServiceTest Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.212 sec Running org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImplTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.138 sec Running org.apache.cloudstack.region.RegionManagerTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec Results : Failed tests: testDequeueOneJob(com.cloud.network.security.SecurityGroupQueueTest): expected:<990> but was:<992> Tests in error: testNumJobsEqToNumVms3(com.cloud.network.security.SecurityGroupQueueTest): unable to create new native thread Tests run: 250, Failures: 1, Errors: 1, Skipped: 3 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache CloudStack Developer Tools - Checkstyle Configuration SUCCESS [0.730s] [INFO] Apache CloudStack ................................. SUCCESS [0.617s] [INFO] Apache CloudStack Maven Conventions Parent ........ SUCCESS [1.108s] [INFO] Apache CloudStack Framework - Managed Context ..... SUCCESS [2.887s] [INFO] Apache CloudStack Utils ........................... SUCCESS [11.683s] [INFO] Apache CloudStack Framework ....................... SUCCESS [0.050s] [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [7.277s] [INFO] Apache CloudStack Framework - Configuration ....... SUCCESS [6.864s] [INFO] Apache CloudStack API ............................. SUCCESS [16.145s] [INFO] Apache CloudStack Framework - REST ................ SUCCESS [5.343s] [INFO] Apache CloudStack Framework - IPC ................. SUCCESS [5.972s] [INFO] Apache CloudStack Cloud Engine .................... SUCCESS [0.040s] [INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [4.470s] [INFO] Apache CloudStack Framework - Security ............ SUCCESS [3.165s] [INFO] Apache CloudStack Core ............................ SUCCESS [10.697s] [INFO] Apache CloudStack Agents .......................... SUCCESS [7.187s] [INFO] Apache CloudStack Framework - Clustering .......... SUCCESS [3.761s] [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [2.428s] [INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [18.529s] [INFO] Apache CloudStack Framework - Jobs ................ SUCCESS [5.082s] [INFO] Apache CloudStack Cloud Engine Internal Components API SUCCESS [5.245s] [INFO] Apache CloudStack Server .......................... FAILURE [48.131s] [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 Snapshot Component SKIPPED [INFO] Apache CloudStack Plugin POM ...................... SKIPPED [INFO] Apache CloudStack Plugin - Hypervisor Simulator ... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2:49.113s [INFO] Finished at: Tue Nov 18 09:19:30 CET 2014 [INFO] Final Memory: 54M/368M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project cloud-server: There are test failures. [ERROR] [ERROR] Please refer to <http://jenkins.buildacloud.org/job/build-master-simulator/ws/server/target/surefire-reports> for the individual test results. [ERROR] -> [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :cloud-server Build step 'Invoke top-level Maven targets' marked build as failure Recording test results