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/22 19:26:50 UTC

[jira] [Resolved] (CLOUDSTACK-3610) Regresssion test case "test_accounts.TestUserLogin" failed with wrong credentials

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

Prasanna Santhanam resolved CLOUDSTACK-3610.
--------------------------------------------

    Resolution: Fixed
    
> Regresssion test case "test_accounts.TestUserLogin" failed with wrong credentials
> ---------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3610
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3610
>             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: KVM and VMWARe
> Automation
>            Reporter: Rayees Namathponnan
>            Assignee: Gaurav Aradhye
>             Fix For: 4.2.0
>
>
> Test suite integration.component.test_accounts.TestUserLogin failed login failure,
> observed below error in log
> Execute cmd: error failed, due to: errorCode: 531, errorText:Failed to authenticate user test-IRAJPP in domain 1; please provide valid credentials
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestUserLogin: DEBUG: Creating a domain for login with API domain test
> testclient.testcase.TestUserLogin: DEBUG: Domain: Domain-LEH5TP is created succesfully.
> testclient.testcase.TestUserLogin: DEBUG: Checking if the created domain is listed in list domains API
> testclient.testcase.TestUserLogin: DEBUG: Creating an user account in domain: Domain-LEH5TP
> testclient.testcase.TestUserLogin: DEBUG: Logging into the cloudstack with login API
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File "/data/Repo2/qa/cloudstack/test/integration/component/test_accounts.py", line 1587, in test_LoginApiDomain
>     password=self.services["account"]["password"]
>   File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 212, in login
>     return apiclient.login(cmd)
>   File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2725, in login
>     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: error failed, due to: errorCode: 531, errorText:Failed to authenticate user test-IRAJPP in domain 1; please provide valid credentials

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