cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rayees Namathponnan (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (CLOUDSTACK-4021) [Automation] TestExplicitDedication.test_01_deploy_vm_with_explicit_dedication failed to deploy VM
Date Mon, 12 Aug 2013 19:28:48 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-4021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rayees Namathponnan reopened CLOUDSTACK-4021:
---------------------------------------------


Test case failed execute after this fix, 


unindent does not match any outer indentation level (test_explicit_dedication.py, line 184)
Stacktrace

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
    testMethod()
  File "/usr/local/lib/python2.7/site-packages/nose/loader.py", line 413, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_explicit_dedication.py",
line 184
    self.skipTest("Did not find any empty hosts, Skipping")
                                                          ^
IndentationError: unindent does not match any outer indentation level
                
> [Automation] TestExplicitDedication.test_01_deploy_vm_with_explicit_dedication failed
to deploy VM
> --------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4021
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4021
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation
>    Affects Versions: 4.2.0
>         Environment: Automation
>            Reporter: Rayees Namathponnan
>            Assignee: Saksham Srivastava
>             Fix For: 4.2.0
>
>
> Test case "integration.component.test_explicit_dedication.TestExplicitDedication.test_01_deploy_vm_with_explicit_dedication"
failing automation runs 
> Error Message
> Execute cmd: asyncquery failed, due to: {errorcode : 533, errortext : u'Unable to create
a deployment for VM[User|dec11341-27b0-4fc9-86f4-7570037a456c], Please check the affinity
groups provided, there may not be sufficient capacity to follow them'}
> Stacktrace
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_explicit_dedication.py",
line 204, in test_01_deploy_vm_with_explicit_dedication
>     mode=self.services["mode"]
>   File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line
388, in create
>     virtual_machine = apiclient.deployVirtualMachine(cmd, method=method)
>   File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 614, 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
230, 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|dec11341-27b0-4fc9-86f4-7570037a456c], Please
check the affinity groups provided, there may not be sufficient capacity to follow them'}
> Looks like test case trying to create VM eventhough there is no host with emplty VM 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message