← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1358702] Re: Hyper-V unit test fails on Windows due to path separator inconsistency: nova.tests.virt.hyperv.test_pathutils.PathUtilsTestCase.test_lookup_config_drive_path

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-3

-- 
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/1358702

Title:
  Hyper-V unit test fails on Windows due to path separator
  inconsistency:
  nova.tests.virt.hyperv.test_pathutils.PathUtilsTestCase.test_lookup_config_drive_path

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  The following test fails due to mismatching in the path separator.

  FAIL: nova.tests.virt.hyperv.test_pathutils.PathUtilsTestCase.test_lookup_config_drive_path
  ----------------------------------------------------------------------
  _StringException: Empty attachments:
    pythonlogging:''

  Traceback (most recent call last):
    File "C:\OpenStack\nova\nova\tests\virt\hyperv\test_pathutils.py", line 48, i
   test_lookup_configdrive_path
      format_ext)
    File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\
  ite-packages\testtools\testcase.py", line 321, in assertEqual
      self.assertThat(observed, matcher, message)
    File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\
  ite-packages\testtools\testcase.py", line 406, in assertThat
      raise mismatch_error
  MismatchError: !=:
  reference = 'C:/fake_instance_dir\\configdrive.vhd'
  actual    = 'C:/fake_instance_dir/configdrive.vhd'

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


References