← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1711093] [NEW] Unit test get_disk_mapping_rescue_with_config error in AArch64

 

Public bug reported:

nova.tests.unit.virt.libvirt.test_blockinfo.LibvirtBlockInfoTest.test_get_disk_mapping_rescue_with_config
---------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "nova/tests/unit/virt/libvirt/test_blockinfo.py", line 265, in test_get_disk_mapping_rescue_with_config
        self.assertEqual(expect, mapping)
      File "/opt/stack/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
        self.assertThat(observed, matcher, message)
      File "/opt/stack/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
        raise mismatch_error
    testtools.matchers._impl.MismatchError: !=:
    reference = {'disk': {'bus': 'virtio', 'dev': 'vdb', 'type': 'disk'},
     'disk.config.rescue': {'bus': 'ide', 'dev': 'hda', 'type': 'cdrom'},
     'disk.rescue': {'boot_index': '1',
                     'bus': 'virtio',
                     'dev': 'vda',
                     'type': 'disk'},
     'root': {'boot_index': '1', 'bus': 'virtio', 'dev': 'vda', 'type': 'disk'}}
    actual    = {'disk': {'bus': 'virtio', 'dev': 'vdb', 'type': 'disk'},
     'disk.config.rescue': {'bus': 'scsi', 'dev': 'sda', 'type': 'cdrom'},
     'disk.rescue': {'boot_index': '1',
                     'bus': 'virtio',
                     'dev': 'vda',
                     'type': 'disk'},
     'root': {'boot_index': '1', 'bus': 'virtio', 'dev': 'vda', 'type': 'disk'}}
    
    


                            'type': 'disk', 'boot_index': '1'},

** Affects: nova
     Importance: Undecided
     Assignee: Kevin Zhao (kevin-zhao)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Kevin Zhao (kevin-zhao)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1711093

Title:
  Unit test get_disk_mapping_rescue_with_config error in AArch64

Status in OpenStack Compute (nova):
  New

Bug description:
  nova.tests.unit.virt.libvirt.test_blockinfo.LibvirtBlockInfoTest.test_get_disk_mapping_rescue_with_config
  ---------------------------------------------------------------------------------------------------------

  Captured traceback:
  ~~~~~~~~~~~~~~~~~~~
      Traceback (most recent call last):
        File "nova/tests/unit/virt/libvirt/test_blockinfo.py", line 265, in test_get_disk_mapping_rescue_with_config
          self.assertEqual(expect, mapping)
        File "/opt/stack/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
          self.assertThat(observed, matcher, message)
        File "/opt/stack/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
          raise mismatch_error
      testtools.matchers._impl.MismatchError: !=:
      reference = {'disk': {'bus': 'virtio', 'dev': 'vdb', 'type': 'disk'},
       'disk.config.rescue': {'bus': 'ide', 'dev': 'hda', 'type': 'cdrom'},
       'disk.rescue': {'boot_index': '1',
                       'bus': 'virtio',
                       'dev': 'vda',
                       'type': 'disk'},
       'root': {'boot_index': '1', 'bus': 'virtio', 'dev': 'vda', 'type': 'disk'}}
      actual    = {'disk': {'bus': 'virtio', 'dev': 'vdb', 'type': 'disk'},
       'disk.config.rescue': {'bus': 'scsi', 'dev': 'sda', 'type': 'cdrom'},
       'disk.rescue': {'boot_index': '1',
                       'bus': 'virtio',
                       'dev': 'vda',
                       'type': 'disk'},
       'root': {'boot_index': '1', 'bus': 'virtio', 'dev': 'vda', 'type': 'disk'}}
      
      

  
                              'type': 'disk', 'boot_index': '1'},

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1711093/+subscriptions


Follow ups