[
https://issues.apache.org/jira/browse/CLOUDSTACK-4425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13748360#comment-13748360
]
ASF subversion and git services commented on CLOUDSTACK-4425:
-------------------------------------------------------------
Commit 0454723f9837d3a2eb2978abe556f18de3d89ef9 in branch refs/heads/master
from [~srikanti]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=0454723 ]
CLOUDSTACK-4425:Fix to attach uploaded volume to a stopped VM test
Signed-off-by: Prasanna Santhanam <[email protected]>
(cherry picked from commit 8762a0d0c6dde46e16b73f6880aa84ec2f359f55)
> test_upload_attach_volume is failing with 'Exception not raised'
> ----------------------------------------------------------------
>
> Key: CLOUDSTACK-4425
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4425
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Test
> Affects Versions: 4.2.0
> Reporter: Srikanteswararao Talluri
> Assignee: Srikanteswararao Talluri
> Priority: Critical
> Fix For: 4.2.0
>
>
> Error Message
> Exception not raised
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestUploadAttachVolume: DEBUG: Uploading the volume:
> DataDisk
> testclient.testcase.TestUploadAttachVolume: DEBUG: Uploading the volume:
> DataDisk
> testclient.testcase.TestUploadAttachVolume: DEBUG: Volume: %s uploaded
> successfully
> testclient.testcase.TestUploadAttachVolume: DEBUG: Deploying VM instance in
> account: test-JEK5HK
> testclient.testcase.TestUploadAttachVolume: DEBUG: Failed to attach the
> volume as expected
> --------------------- >> end captured logging << ---------------------
> Stacktrace
> Traceback (most recent call last):
> File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
> testMethod()
> File "/root/cloudstack/test/integration/component/test_stopped_vm.py", line
> 1702, in test_upload_attach_volume
> self.debug("Failed to attach the volume as expected")
> File "/usr/local/lib/python2.7/unittest/case.py", line 112, in __exit__
> "{0} not raised".format(exc_name))
> AssertionError: Exception not raised
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestUploadAttachVolume: DEBUG: Uploading the volume:
> DataDisk
> testclient.testcase.TestUploadAttachVolume: DEBUG: Uploading the volume:
> DataDisk
> testclient.testcase.TestUploadAttachVolume: DEBUG: Volume: %s uploaded
> successfully
> testclient.testcase.TestUploadAttachVolume: DEBUG: Deploying VM instance in
> account: test-JEK5HK
> testclient.testcase.TestUploadAttachVolume: DEBUG: Failed to attach the
> volume as expected
> --------------------- >> 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