[
https://issues.apache.org/jira/browse/CLOUDSTACK-4225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rayees Namathponnan reopened CLOUDSTACK-4225:
---------------------------------------------
Test case still fails with below error
Error Message
'TestCreateVMSnapshotTemplate' object has no attribute 'config'
-------------------- >> begin captured logging << --------------------
testclient.testcase.TestCreateVMSnapshotTemplate: DEBUG: Created VM with ID:
a309a0fe-d723-4db0-869a-b052cbc97cd6
testclient.testcase.TestCreateVMSnapshotTemplate: DEBUG: Snapshot created: ID -
df60caf5-781e-4c4d-9db7-a41fca2237f5
testclient.testcase.TestCreateVMSnapshotTemplate: DEBUG: select backup_snap_id,
account_id, volume_id from snapshots where uuid =
'df60caf5-781e-4c4d-9db7-a41fca2237f5';
testclient.testcase.TestCreateVMSnapshotTemplate: DEBUG: Created template from
snapshot: 44a3649f-478b-4bd1-a916-8d7b79ea0b19
testclient.testcase.TestCreateVMSnapshotTemplate: DEBUG: Created VM with ID:
c099be9b-5971-4aa2-9e7f-6fe35a7ca70c from template:
44a3649f-478b-4bd1-a916-8d7b79ea0b19
--------------------- >> 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_snapshots.py", line
1016, in test_01_createVM_snapshotTemplate
self.assertTrue(is_snapshot_on_nfs(self.apiclient, self.dbclient,
self.config, self.zone.id, snapshot_uuid))
'TestCreateVMSnapshotTemplate' object has no attribute 'config'
-------------------- >> begin captured logging << --------------------
testclient.testcase.TestCreateVMSnapshotTemplate: DEBUG: Created VM with ID:
a309a0fe-d723-4db0-869a-b052cbc97cd6
testclient.testcase.TestCreateVMSnapshotTemplate: DEBUG: Snapshot created: ID -
df60caf5-781e-4c4d-9db7-a41fca2237f5
testclient.testcase.TestCreateVMSnapshotTemplate: DEBUG: select backup_snap_id,
account_id, volume_id from snapshots where uuid =
'df60caf5-781e-4c4d-9db7-a41fca2237f5';
testclient.testcase.TestCreateVMSnapshotTemplate: DEBUG: Created template from
snapshot: 44a3649f-478b-4bd1-a916-8d7b79ea0b19
testclient.testcase.TestCreateVMSnapshotTemplate: DEBUG: Created VM with ID:
c099be9b-5971-4aa2-9e7f-6fe35a7ca70c from template:
44a3649f-478b-4bd1-a916-8d7b79ea0b19
--------------------- >> end captured logging << ---------------------
> [Automation] integration.component.test_snapshots failing with error
> 'TestSnapshots' object has no attribute 'template'
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-4225
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4225
> 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: Critical
> Fix For: 4.2.0
>
>
> Test cases failed with below error
> 'TestSnapshots' object has no attribute 'config'
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestSnapshots: DEBUG: Creating a Snapshot from data
> volume: 53efb886-b2f8-4420-af47-cb8017eb8f54
> --------------------- >> 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_snapshots.py",
> line 354, in test_02_snapshot_data_disk
> self.assertTrue(self.is_snapshot_on_nfs(snapshot_uuid))
> File
> "/Repo_30X/ipcl/cloudstack/test/integration/component/test_snapshots.py",
> line 265, in is_snapshot_on_nfs
> (self.config.mgtSvr[0].mgtSvrIp, e))
> 'TestSnapshots' object has no attribute 'config'
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestSnapshots: DEBUG: Creating a Snapshot from data
> volume: 53efb886-b2f8-4420-af47-cb8017eb8f54
> --------------------- >> 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