[ https://issues.apache.org/jira/browse/CLOUDSTACK-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13727560#comment-13727560 ]
Gaurav Aradhye commented on CLOUDSTACK-4029: -------------------------------------------- Ran the test case successfully on KVM advanced setup. test_05_snapshots_per_project (test_project_limits_fixed.TestResourceLimitsProject) Test Snapshot limit per project ... ==> client.log <== 2013-08-01 23:44:08,584 - DEBUG - test_05_snapshots_per_project (test_project_limits_fixed.TestResourceLimitsProject) - Updating snapshot resource limits for pr oject: 13232873-cba0-4d51-9ca4-4f1b61aa5595 2013-08-01 23:44:08,611 - DEBUG - test_05_snapshots_per_project (test_project_limits_fixed.TestResourceLimitsProject) - Deploying VM for account: test-EZNX6V 2013-08-01 23:45:49,488 - DEBUG - test_05_snapshots_per_project (test_project_limits_fixed.TestResourceLimitsProject) - Creating snapshot from volume: 67564234- 9b70-4ff9-9f1d-00202bb1a346 ==> result.log <== ok Ran 8 tests in 343.523s OK (skipped=7) > [Automation] TestResourceLimitsProject.test_05_snapshots_per_project failed > to take snapshot while VM are in Expunging > ---------------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-4029 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4029 > Project: CloudStack > Issue Type: Test > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Automation > Affects Versions: 4.2.0 > Reporter: Rayees Namathponnan > Fix For: 4.2.0 > > > Test case > integration.component.test_project_limits.TestResourceLimitsProject.test_05_snapshots_per_project > failed with below error > Error Message > Execute cmd: createsnapshot failed, due to: errorCode: 431, > errorText:VolumeId: 1143 is not in Ready state but Expunging. Cannot take > snapshot. > -------------------- >> begin captured logging << -------------------- > testclient.testcase.TestResourceLimitsProject: DEBUG: Updating snapshot > resource limits for project: fdb7ce2b-cf35-4f58-ad43-38966aa91bc6 > testclient.testcase.TestResourceLimitsProject: DEBUG: Deploying VM for > account: test-test_project_limits-0OA2IY > testclient.testcase.TestResourceLimitsProject: DEBUG: Creating snapshot from > volume: abacc4ea-4151-45f2-b474-ba9a20880553 > --------------------- >> 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_project_limits.py", > line 782, in test_05_snapshots_per_project > projectid=self.project.id > File > "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line > 765, in create > return Snapshot(apiclient.createSnapshot(cmd).__dict__) > File > "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", > line 701, in createSnapshot > 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: createsnapshot failed, due to: errorCode: 431, > errorText:VolumeId: 1143 is not in Ready state but Expunging. Cannot take > snapshot. > -------------------- >> begin captured logging << -------------------- > testclient.testcase.TestResourceLimitsProject: DEBUG: Updating snapshot > resource limits for project: fdb7ce2b-cf35-4f58-ad43-38966aa91bc6 > testclient.testcase.TestResourceLimitsProject: DEBUG: Deploying VM for > account: test-test_project_limits-0OA2IY > testclient.testcase.TestResourceLimitsProject: DEBUG: Creating snapshot from > volume: abacc4ea-4151-45f2-b474-ba9a20880553 > --------------------- >> 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