You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Girish Shilamkar (JIRA)" <ji...@apache.org> on 2014/02/04 08:22:09 UTC

[jira] [Commented] (CLOUDSTACK-5981) [Automation] Test case test_01_volume_from_snapshot failing while checking content

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-5981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13890459#comment-13890459 ] 

Girish Shilamkar commented on CLOUDSTACK-5981:
----------------------------------------------

The template which was used to spawn the instance uses LVM. Therefore the tests failed. 
The tests are written assuming that default Centos template.

> [Automation] Test case test_01_volume_from_snapshot failing while checking content 
> -----------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5981
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5981
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation
>    Affects Versions: 4.4.0
>            Reporter: Rayees Namathponnan
>            Assignee: Girish Shilamkar
>             Fix For: 4.4.0
>
>
> Below test case always failing in vmware
> integration.component.test_snapshots.TestSnapshots.test_01_volume_from_snapshot
> observed below error in log
> paramiko.transport: DEBUG: [chan 5] Max packet out: 32768 bytes
> paramiko.transport: INFO: Secsh channel 5 opened.
> paramiko.transport: DEBUG: [chan 5] Sesch channel 5 request ok
> paramiko.transport: DEBUG: [chan 5] EOF received (5)
> paramiko.transport: DEBUG: [chan 5] EOF sent (5)
> sshClient: DEBUG: {Cmd: cat /mnt/tmp/test/test2/random.data via Host: 10.223.243.36} {returns: ['cat: /mnt/tmp/test/test2/random.data: No such file or directory']}
> test_01_volume_from_snapshot (integration.component.test_snapshots.TestSnapshots): DEBUG: returned_data_0: cat: /mnt/tmp/test/test1/random.data: No such file or directory
> test_01_volume_from_snapshot (integration.component.test_snapshots.TestSnapshots): DEBUG: returned_data_1: cat: /mnt/tmp/test/test2/random.data: No such file or directory
> test_01_volume_from_snapshot (integration.component.test_snapshots.TestSnapshots): CRITICAL: FAILED: test_01_volume_from_snapshot: Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File "/data/Repo2/qa/cloudstack/test/integration/component/test_snapshots.py", line 520, in test_01_volume_from_snapshot
>     "Verify newly attached volume contents with existing one"
>   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)
> AssertionError: Verify newly attached volume contents with existing one
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File "/data/Repo2/qa/cloudstack/test/integration/component/test_snapshots.py", line 520, in test_01_volume_from_snapshot
>     "Verify newly attached volume contents with existing one"
>   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)
> Verify newly attached volume contents with existing one
> -------------------- >> begin captured logging << --------------------
> test_05_snapshot_events (integration.component.test_snapshots.TestSnapshotEvents): DEBUG: sending GET request: deleteServiceOffering {'id': u'fb02efa2-7284-463a-9393-27564de948e4'}
> test_05_snapshot_events (integration.component.test_snapshots.TestSnapshotEvents): DEBUG: Computed Signature by Marvin: VIAVY2npT1ST2Jtu7ADQERxVxGQ=
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)