← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1533290] [NEW] nova unit tests failing with os-win 0.1.0

 

Public bug reported:

2016-01-12 16:30:52.921 | Captured traceback:
2016-01-12 16:30:52.921 | ~~~~~~~~~~~~~~~~~~~
2016-01-12 16:30:52.921 |     Traceback (most recent call last):
2016-01-12 16:30:52.921 |       File "nova/tests/unit/virt/hyperv/test_imagecache.py", line 59, in setUp
2016-01-12 16:30:52.921 |         self.imagecache = imagecache.ImageCache()
2016-01-12 16:30:52.922 |       File "nova/virt/hyperv/imagecache.py", line 39, in __init__
2016-01-12 16:30:52.922 |         self._pathutils = pathutils.PathUtils()
2016-01-12 16:30:52.922 |       File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/os_win/utils/pathutils.py", line 46, in __init__
2016-01-12 16:30:52.922 |         super(PathUtils, self).__init__()
2016-01-12 16:30:52.922 |       File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/os_win/utils/storage/smbutils.py", line 35, in __init__
2016-01-12 16:30:52.922 |         self._smb_conn = wmi.WMI(moniker=r"root\Microsoft\Windows\SMB")
2016-01-12 16:30:52.922 |     NameError: global name 'wmi' is not defined

https://jenkins05.openstack.org/job/gate-nova-python27/15232/console

os-win 0.1.0 was released today which is causing the regression:

http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22NameError%3A%20global%20name%20'wmi'%20is%20not%20defined%5C%22%20AND%20tags%3A%5C%22console%5C%22

** Affects: os-win
     Importance: Undecided
         Status: Confirmed


** Tags: hyper-v testing

** Also affects: os-win
   Importance: Undecided
       Status: New

** No longer affects: nova

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

Title:
  nova unit tests failing with os-win 0.1.0

Status in os-win:
  Confirmed

Bug description:
  2016-01-12 16:30:52.921 | Captured traceback:
  2016-01-12 16:30:52.921 | ~~~~~~~~~~~~~~~~~~~
  2016-01-12 16:30:52.921 |     Traceback (most recent call last):
  2016-01-12 16:30:52.921 |       File "nova/tests/unit/virt/hyperv/test_imagecache.py", line 59, in setUp
  2016-01-12 16:30:52.921 |         self.imagecache = imagecache.ImageCache()
  2016-01-12 16:30:52.922 |       File "nova/virt/hyperv/imagecache.py", line 39, in __init__
  2016-01-12 16:30:52.922 |         self._pathutils = pathutils.PathUtils()
  2016-01-12 16:30:52.922 |       File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/os_win/utils/pathutils.py", line 46, in __init__
  2016-01-12 16:30:52.922 |         super(PathUtils, self).__init__()
  2016-01-12 16:30:52.922 |       File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/os_win/utils/storage/smbutils.py", line 35, in __init__
  2016-01-12 16:30:52.922 |         self._smb_conn = wmi.WMI(moniker=r"root\Microsoft\Windows\SMB")
  2016-01-12 16:30:52.922 |     NameError: global name 'wmi' is not defined

  https://jenkins05.openstack.org/job/gate-nova-python27/15232/console

  os-win 0.1.0 was released today which is causing the regression:

  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22NameError%3A%20global%20name%20'wmi'%20is%20not%20defined%5C%22%20AND%20tags%3A%5C%22console%5C%22

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-win/+bug/1533290/+subscriptions


Follow ups