You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Chip Childers (JIRA)" <ji...@apache.org> on 2013/07/12 18:17:48 UTC

[jira] [Created] (CLOUDSTACK-3504) Simulator test failure: ERROR: test DeployVM in anti-affinity groups

Chip Childers created CLOUDSTACK-3504:
-----------------------------------------

             Summary: Simulator test failure: ERROR: test DeployVM in anti-affinity groups
                 Key: CLOUDSTACK-3504
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3504
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
    Affects Versions: 4.2.0
         Environment: simulator
            Reporter: Chip Childers
            Priority: Critical


Running the basic marvin tests, results in a failure of the DeployVM in anti-affinity group test.

Run as (assumes working and setup simulator mgmt server):

mvn -Pdeveloper,marvin.test -Dmarvin.config=setup/dev/advanced.cfg -pl :cloud-marvin integration-test

Test failure stack trace:

======================================================================
ERROR: test DeployVM in anti-affinity groups
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/sg-user/cloudstack/test/integration/smoke/test_affinity_groups.py", line 126, in test_DeployVmAntiAffinityGroup
    affinitygroupnames=[self.ag.name]
  File "/usr/local/lib/python2.7/dist-packages/marvin/integration/lib/base.py", line 317, in create
    virtual_machine = apiclient.deployVirtualMachine(cmd, method=method)
  File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 1011, in deployVirtualMachine
    response = self.connection.marvin_request(command, response_type=response, method=method)
  File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", line 222, in marvin_request
    response = jsonHelper.getResultObj(response.json(), response_type)
  File "/usr/local/lib/python2.7/dist-packages/marvin/jsonHelper.py", line 148, in getResultObj
    raise cloudstackException.cloudstackAPIException(respname, errMsg)
cloudstackAPIException: Execute cmd: deployvirtualmachine failed, due to: errorCode: 431, errorText:Unable to find affinity group by name webvms

----------------------------------------------------------------------
Ran 19 tests in 156.016s

--
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