Created
June 13, 2013 16:10
-
-
Save thesurlydev/5774980 to your computer and use it in GitHub Desktop.
cloudstack failing integration tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digitalsanctum:cloudstack shane$ mvn -e -Pdeveloper,marvin.test -Dmarvin.config=setup/dev/advanced.cfg -pl :cloud-marvin integration-test | |
[INFO] Error stacktraces are turned on. | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Apache CloudStack marvin 4.2.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- gmaven-plugin:1.5:execute (setproperty) @ cloud-marvin --- | |
[INFO] | |
[INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources) @ cloud-marvin --- | |
[INFO] | |
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-marvin --- | |
[INFO] | |
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ cloud-marvin --- | |
[INFO] | |
[INFO] --- exec-maven-plugin:1.2.1:exec (integration-test) @ cloud-marvin --- | |
test DeployVM in anti-affinity groups ... ERROR | |
Test Deploy Virtual Machine ... ERROR | |
Test userdata as GET, size > 2k ... ok | |
Test userdata as POST, size > 2k ... ok | |
Test to deploy vm with a first fit offering ... ERROR | |
Test deploy VMs using user concentrated planner ... ERROR | |
Test deploy VMs using user dispersion planner ... ERROR | |
Test to create disk offering ... ok | |
Test to update existing disk offering ... ok | |
Test to delete disk offering ... ok | |
test update configuration setting at zone level scope ... ok | |
Test guest vlan range dedication ... ERROR | |
ERROR | |
Test to update a physical network and extend its vlan ... ERROR | |
ERROR | |
ERROR | |
Test to create a portable public ip range ... ok | |
Test public IP range dedication ... ERROR | |
Test for create region ... ok | |
Test advanced zone virtual router ... ERROR | |
Test Deploy Virtual Machine ... ok | |
====================================================================== | |
ERROR: test DeployVM in anti-affinity groups | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/shane/citrix/cloudstack/test/integration/smoke/test_affinity_groups.py", line 126, in test_DeployVmAntiAffinityGroup | |
affinitygroupnames=[self.ag.name] | |
File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 317, in create | |
virtual_machine = apiclient.deployVirtualMachine(cmd, method=method) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 1545, in deployVirtualMachine | |
response = self.connection.marvin_request(command, response_type=response, method=method) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 231, in marvin_request | |
response = self.poll(asyncJobId, response_type) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 91, in poll | |
"asyncquery", asyncResonse.jobresult) | |
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 533, errortext : u'Unable to create a deployment for VM[User|18e75a19-7a86-49f6-8406-b9bfd42ed328], Please check the affinity groups provided, there may not be sufficient capacity to follow them'} | |
====================================================================== | |
ERROR: Test Deploy Virtual Machine | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/shane/citrix/cloudstack/test/integration/smoke/test_deploy_vm.py", line 114, in test_deploy_vm | |
templateid=self.template.id | |
File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 317, in create | |
virtual_machine = apiclient.deployVirtualMachine(cmd, method=method) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 1545, in deployVirtualMachine | |
response = self.connection.marvin_request(command, response_type=response, method=method) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 231, in marvin_request | |
response = self.poll(asyncJobId, response_type) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 91, in poll | |
"asyncquery", asyncResonse.jobresult) | |
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 533, errortext : u'Unable to create a deployment for VM[User|testvm]'} | |
====================================================================== | |
ERROR: Test to deploy vm with a first fit offering | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/shane/citrix/cloudstack/test/integration/smoke/test_deploy_vms_with_varied_deploymentplanners.py", line 102, in test_deployvm_firstfit | |
templateid=self.template.id | |
File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 317, in create | |
virtual_machine = apiclient.deployVirtualMachine(cmd, method=method) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 1545, in deployVirtualMachine | |
response = self.connection.marvin_request(command, response_type=response, method=method) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 231, in marvin_request | |
response = self.poll(asyncJobId, response_type) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 91, in poll | |
"asyncquery", asyncResonse.jobresult) | |
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 533, errortext : u'Unable to create a deployment for VM[User|510f0b71-6382-4161-8bb9-ee7ddaddf1b1]'} | |
====================================================================== | |
ERROR: Test deploy VMs using user concentrated planner | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/shane/citrix/cloudstack/test/integration/smoke/test_deploy_vms_with_varied_deploymentplanners.py", line 206, in test_deployvm_userconcentrated | |
templateid=self.template.id | |
File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 317, in create | |
virtual_machine = apiclient.deployVirtualMachine(cmd, method=method) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 1545, in deployVirtualMachine | |
response = self.connection.marvin_request(command, response_type=response, method=method) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 231, in marvin_request | |
response = self.poll(asyncJobId, response_type) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 91, in poll | |
"asyncquery", asyncResonse.jobresult) | |
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 533, errortext : u'Unable to create a deployment for VM[User|349a8f48-d74a-4922-b6cf-fa1eff9c9db4]'} | |
====================================================================== | |
ERROR: Test deploy VMs using user dispersion planner | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/shane/citrix/cloudstack/test/integration/smoke/test_deploy_vms_with_varied_deploymentplanners.py", line 145, in test_deployvm_userdispersing | |
templateid=self.template.id | |
File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 317, in create | |
virtual_machine = apiclient.deployVirtualMachine(cmd, method=method) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 1545, in deployVirtualMachine | |
response = self.connection.marvin_request(command, response_type=response, method=method) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 231, in marvin_request | |
response = self.poll(asyncJobId, response_type) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 91, in poll | |
"asyncquery", asyncResonse.jobresult) | |
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 533, errortext : u'Unable to create a deployment for VM[User|baf3a4fe-82f6-4274-9b01-3bf1ee41f6f7]'} | |
====================================================================== | |
ERROR: Test guest vlan range dedication | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/shane/citrix/cloudstack/test/integration/smoke/test_guest_vlan_range.py", line 131, in test_dedicateGuestVlanRange | |
addGuestVlanRangeResponse = physical_network_response.update(self.apiclient, id=physical_network_response.id, vlan=self.services["vlan"]) | |
File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 2313, in update | |
return apiclient.updatePhysicalNetwork(cmd) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 625, in updatePhysicalNetwork | |
response = self.connection.marvin_request(command, response_type=response, method=method) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 231, in marvin_request | |
response = self.poll(asyncJobId, response_type) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 91, in poll | |
"asyncquery", asyncResonse.jobresult) | |
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u"Can't add vnet range to the physical network in the zone that supports Basic network, Security Group enabled: true"} | |
-------------------- >> begin captured logging << -------------------- | |
testclient.testcase.TestDedicateGuestVlanRange: DEBUG: Listing available physical network | |
testclient.testcase.TestDedicateGuestVlanRange: DEBUG: Adding guest vlan range | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
ERROR: test suite for <class 'integration.smoke.test_guest_vlan_range.TestDedicateGuestVlanRange'> | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 227, in run | |
self.tearDown() | |
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 350, in tearDown | |
self.teardownContext(ancestor) | |
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 366, in teardownContext | |
try_run(context, names) | |
File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in try_run | |
return func() | |
File "/Users/shane/citrix/cloudstack/test/integration/smoke/test_guest_vlan_range.py", line 86, in tearDownClass | |
raise Exception("Warning: Exception during cleanup : %s" % e) | |
Exception: Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'The vlan range you are trying to delete does not exist.'} | |
====================================================================== | |
ERROR: Test to update a physical network and extend its vlan | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/shane/citrix/cloudstack/test/integration/smoke/test_non_contigiousvlan.py", line 56, in test_extendPhysicalNetworkVlan | |
updatePhysicalNetworkResponse = self.network.update(self.apiClient, id = self.networkid, vlan = vlan1) | |
File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 2313, in update | |
return apiclient.updatePhysicalNetwork(cmd) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 625, in updatePhysicalNetwork | |
response = self.connection.marvin_request(command, response_type=response, method=method) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 231, in marvin_request | |
response = self.poll(asyncJobId, response_type) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 91, in poll | |
"asyncquery", asyncResonse.jobresult) | |
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u"Can't add vnet range to the physical network in the zone that supports Basic network, Security Group enabled: true"} | |
====================================================================== | |
ERROR: Test to update a physical network and extend its vlan | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/shane/citrix/cloudstack/test/integration/smoke/test_non_contigiousvlan.py", line 83, in tearDown | |
updateResponse = self.network.update(self.apiClient, id = self.networkid, removevlan = self.vlan["full"]) | |
File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 2313, in update | |
return apiclient.updatePhysicalNetwork(cmd) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 625, in updatePhysicalNetwork | |
response = self.connection.marvin_request(command, response_type=response, method=method) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 231, in marvin_request | |
response = self.poll(asyncJobId, response_type) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 91, in poll | |
"asyncquery", asyncResonse.jobresult) | |
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'The vlan range you are trying to delete does not exist.'} | |
====================================================================== | |
ERROR: test suite for <class 'integration.smoke.test_portable_publicip.TestPortablePublicIPAcquire'> | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 208, in run | |
self.setUp() | |
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 291, in setUp | |
self.setupContext(ancestor) | |
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 314, in setupContext | |
try_run(context, names) | |
File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in try_run | |
return func() | |
File "/Users/shane/citrix/cloudstack/test/integration/smoke/test_portable_publicip.py", line 190, in setUpClass | |
cls.account.domainid | |
File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 1851, in create | |
return Network(apiclient.createNetwork(cmd).__dict__) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 695, in createNetwork | |
response = self.connection.marvin_request(command, response_type=response, method=method) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 223, in marvin_request | |
response = jsonHelper.getResultObj(response.json(), response_type) | |
File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 128, in getResultObj | |
raise cloudstackException.cloudstackAPIException(responseName.replace("response", ""), errMsg) | |
cloudstackAPIException: Execute cmd: createnetwork failed, due to: errorCode: 431, errorText:Only AclType=Domain can be specified for network creation in Basic zone | |
====================================================================== | |
ERROR: Test public IP range dedication | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/shane/citrix/cloudstack/test/integration/smoke/test_public_ip_range.py", line 116, in test_dedicatePublicIpRange | |
self.services | |
File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 2188, in create | |
return PublicIpRange(apiclient.createVlanIpRange(cmd).__dict__) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 475, in createVlanIpRange | |
response = self.connection.marvin_request(command, response_type=response, method=method) | |
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 223, in marvin_request | |
response = jsonHelper.getResultObj(response.json(), response_type) | |
File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 128, in getResultObj | |
raise cloudstackException.cloudstackAPIException(responseName.replace("response", ""), errMsg) | |
cloudstackAPIException: Execute cmd: createvlaniprange failed, due to: errorCode: 431, errorText:Unable to find the default physical network with traffic=Public in the specified zone id | |
-------------------- >> begin captured logging << -------------------- | |
testclient.testcase.TestDedicatePublicIPRange: DEBUG: Creating Public IP range | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
ERROR: Test advanced zone virtual router | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/shane/citrix/cloudstack/test/integration/smoke/test_vm_life_cycle.py", line 255, in test_advZoneVirtualRouter | |
self.assertTrue(len(routers) > 0, msg = "No virtual router found") | |
TypeError: object of type 'NoneType' has no len() | |
-------------------- >> begin captured logging << -------------------- | |
testclient.testcase.TestDeployVM: DEBUG: f833dfcf-80df-4553-b363-8033f7f4ba50 | |
--------------------- >> end captured logging << --------------------- | |
---------------------------------------------------------------------- | |
Ran 18 tests in 164.928s | |
FAILED (errors=12) | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 2:59.240s | |
[INFO] Finished at: Thu Jun 13 12:08:28 EDT 2013 | |
[INFO] Final Memory: 24M/554M | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (integration-test) on project cloud-marvin: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] | |
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (integration-test) on project cloud-marvin: Command execution failed. | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) | |
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) | |
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) | |
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) | |
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) | |
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) | |
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) | |
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) | |
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) | |
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) | |
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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) | |
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) | |
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) | |
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) | |
Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed. | |
at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:362) | |
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) | |
... 19 more | |
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) | |
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377) | |
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160) | |
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:610) | |
at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:352) | |
... 21 more | |
[ERROR] | |
[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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment