cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Girish Shilamkar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-3610) Regresssion test case "test_accounts.TestUserLogin" failed with wrong credentials
Date Mon, 22 Jul 2013 12:45:05 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-3610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13715168#comment-13715168
] 

Girish Shilamkar commented on CLOUDSTACK-3610:
----------------------------------------------

Not just the domainId was missing, but the default algorithm has also changed from MD5 to
SHA256Salt.
https://issues.apache.org/jira/browse/CLOUDSTACK-1734
                
> 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: Girish Shilamkar
>             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

Mime
View raw message