Rayees Namathponnan created CLOUDSTACK-3610:
-----------------------------------------------
Summary: 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
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