You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Prasanna Santhanam (JIRA)" <ji...@apache.org> on 2013/07/12 18:23:48 UTC
[jira] [Commented] (CLOUDSTACK-3504) Simulator test failure: ERROR:
test DeployVM in anti-affinity groups
[ https://issues.apache.org/jira/browse/CLOUDSTACK-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13707062#comment-13707062 ]
Prasanna Santhanam commented on CLOUDSTACK-3504:
------------------------------------------------
commit e69ebab34e7ecf79e5bc2006696891ed7ba32d25 actually fixes the issue. Did you perform a marvin.sync before running the test?
> 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