[ https://issues.apache.org/jira/browse/CLOUDSTACK-3921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prasanna Santhanam resolved CLOUDSTACK-3921. -------------------------------------------- Resolution: Cannot Reproduce This exact issue is fixed in the previous commit c93c321b3b64c2d7ad9760d14a2a4520abf3f92a. Can you please try the latest marvin? As I showed, almost any associateIpAddress call should've failed regardless of the testcase since the change is in the library. > [Automation] test cases failing; while associating ipaddress to VM > ------------------------------------------------------------------ > > Key: CLOUDSTACK-3921 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3921 > Project: CloudStack > Issue Type: Test > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Automation, Test > Affects Versions: 4.2.0 > Environment: Automation > Reporter: Rayees Namathponnan > Assignee: Prasanna Santhanam > Priority: Blocker > Fix For: 4.2.0 > > Attachments: management-server.log.2013-07-29.gz, > management-server.rar > > > Automation test cases failing while associating ipaddress to VM, > Seems its happening after below check-in > https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=8be9a47542e0ae0f481733ac4ddb6476d0e20a18 > Observed below error > Error Message > Execute cmd: associateipaddress failed, due to: errorCode: 401, > errorText:unable to verify user credentials and/or request signature > -------------------- >> begin captured logging << -------------------- > testclient.testcase.TestDeployVM: DEBUG: c8b87303-af9e-44cf-93e1-650c7a4d6894 > --------------------- >> end captured logging << --------------------- > Stacktrace > File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 208, in > run > self.setUp() > File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 291, in > setUp > self.setupContext(ancestor) > File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 314, in > setupContext > try_run(context, names) > File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in > try_run > return func() > File > "/Repo_30X/ipcl/cloudstack/test/integration/smoke/test_vm_life_cycle.py", > line 180, in setUpClass > mode=cls.services['mode'] > File > "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line > 404, in create > cls.access_ssh_over_nat(apiclient, services, virtual_machine) > File > "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line > 289, in access_ssh_over_nat > services > File > "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line > 1114, in create > return PublicIPAddress(apiclient.associateIpAddress(cmd).__dict__) > File > "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", > line 921, in associateIpAddress > 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: associateipaddress failed, due to: errorCode: 401, > errorText:unable to verify user credentials and/or request signature > -------------------- >> begin captured logging << -------------------- > testclient.testcase.TestDeployVM: DEBUG: c8b87303-af9e-44cf-93e1-650c7a4d6894 > --------------------- >> 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