You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sailaja Mada (JIRA)" <ji...@apache.org> on 2013/07/17 19:16:49 UTC
[jira] [Updated] (CLOUDSTACK-3596) [Automation]Fix
integration.component.test_accounts.TestRemoveUserFromAccount.test_02_remove_all_users
script
[ https://issues.apache.org/jira/browse/CLOUDSTACK-3596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sailaja Mada updated CLOUDSTACK-3596:
-------------------------------------
Fix Version/s: 4.2.0
> [Automation]Fix integration.component.test_accounts.TestRemoveUserFromAccount.test_02_remove_all_users script
> ---------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-3596
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3596
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Automation
> Affects Versions: 4.2.0
> Reporter: Sailaja Mada
> Priority: Minor
> Fix For: 4.2.0
>
>
> Observation:
> integration.component.test_accounts.TestRemoveUserFromAccount.test_02_remove_all_users is failed as we are not providing the domain id with deploy VM:
> Failed
> integration.component.test_accounts.TestRemoveUserFromAccount.test_02_remove_all_users (from nosetests)
> Failing for the past 13 builds (Since Unstable#72 )
> Took 77 ms.
> add description
> Error Message
> Execute cmd: deployvirtualmachine failed, due to: errorCode: 431, errorText:Account must be specified with domainId parameter
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestRemoveUserFromAccount: DEBUG: Created user: 518ff586-ee35-4e11-a5ba-dbf83c9901c8
> testclient.testcase.TestRemoveUserFromAccount: DEBUG: Created user: caab48f9-2ff4-4208-8311-6276c57b2191
> --------------------- >> end captured logging << ---------------------
> Stacktrace
> File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
> testMethod()
> File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_accounts.py", line 418, in test_02_remove_all_users
> serviceofferingid=self.service_offering.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 605, 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 222, in marvin_request
> response = jsonHelper.getResultObj(response.json(), response_type)
> File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 148, in getResultObj
> raise cloudstackException.cloudstackAPIException(respname, errMsg)
> Execute cmd: deployvirtualmachine failed, due to: errorCode: 431, errorText:Account must be specified with domainId parameter
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestRemoveUserFromAccount: DEBUG: Created user: 518ff586-ee35-4e11-a5ba-dbf83c9901c8
> testclient.testcase.TestRemoveUserFromAccount: DEBUG: Created user: caab48f9-2ff4-4208-8311-6276c57b2191
> --------------------- >> end captured logging << ---------------------
--
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