[ https://issues.apache.org/jira/browse/CLOUDSTACK-3916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13723578#comment-13723578 ]
ASF subversion and git services commented on CLOUDSTACK-3916: ------------------------------------------------------------- Commit 90c6fcf2a923da90b17c4ca123513c06d352bd05 in branch refs/heads/4.2 from [~tsp] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=90c6fcf ] CLOUDSTACK-3916: The size test is invalid ISO size can differ from the mounted packages within the ISO. Remove the size check and only perform attach and detach in the guest. Signed-off-by: Prasanna Santhanam <t...@apache.org> (cherry picked from commit d875a36e5c79df0f2aea57804dde22a00ba36f7e) > [Automation] TestVMLifeCycle.test_10_attachAndDetach_iso failing while > checking size of iso > -------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-3916 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3916 > 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 case TestVMLifeCycle.test_10_attachAndDetach_iso failin KVM , and Xen > Test cases failed below error > paramiko.transport: DEBUG: [chan 6] EOF received (6) > paramiko.transport: DEBUG: [chan 6] EOF sent (6) > sshClient: DEBUG: {Cmd: mount |grep /dev/hdc|head -1 via Host: 10.223.122.72} > {returns: ['/dev/hdc on /mnt/tmp type iso9660 (ro)']} > testclient.testcase.TestVMLifeCycle: DEBUG: Found a mount point at ['/dev/hdc > on /mnt/tmp type iso9660 (ro)'] > --------------------- >> 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/smoke/test_vm_life_cycle.py", > line 778, in test_10_attachAndDetach_iso > "ISO size mismatch. reported size within guest %s" % str(iso_size) > File "/usr/local/lib/python2.7/unittest/case.py", line 494, in assertEqual > assertion_func(first, second, msg=msg) > File "/usr/local/lib/python2.7/unittest/case.py", line 487, in > _baseAssertEqual > raise self.failureException(msg) > ISO size mismatch. reported size within guest 360448 > Test case trying to get ISO size with below command; > [root@RyzNW2VM1 mnt1]# mount |grep /dev/hdc |head -1 > /dev/hdc on /tmp/mnt1 type iso9660 (ro) > Prasanna - i dont think we can get size from this; can you please check your > recent check in ? > https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=93f79e1a158cb1f69915a4036f5c1840a38c5e53 -- 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