Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-5981

[Automation] Test case test_01_volume_from_snapshot failing while checking content

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.4.0
    • 4.4.0
    • Automation
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      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

      Attachments

        Activity

          People

            gpshilamkar Girish Shilamkar
            rayeesn Rayees Namathponnan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: