← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1533678] Re: Jenkins py34 gate failing with 'wmi is not defined' error

 

As we use the "direct-release" model in Nova we don't use the
"fix release" status for merged bug fixes anymore. I'm setting
this manually to "fix-released" to be consistent.

[1] "[openstack-dev] [release][all] bugs will now close automatically 
    when patches merge"; Doug Hellmann; 2015-12-07;
    http://lists.openstack.org/pipermail/openstack-dev/2015-December/081612.html

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

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

Title:
  Jenkins py34 gate failing with 'wmi is not defined' error

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  I've seen several patches with this same Jenkins failure. Sometimes
  the python27 gate fails too, but often it is just the python34 gate. A
  sample console output for the python34 failure is quoted and linked
  below:

  2016-01-12 22:26:41.165 | nova.tests.unit.virt.hyperv.test_imagecache.ImageCacheTestCase.test_get_cached_image_with_fetch
  2016-01-12 22:26:41.165 | -----------------------------------------------------------------------------------------------
  2016-01-12 22:26:41.165 | 
  2016-01-12 22:26:41.165 | Captured traceback:
  2016-01-12 22:26:41.166 | ~~~~~~~~~~~~~~~~~~~
  2016-01-12 22:26:41.166 |     b'Traceback (most recent call last):'
  2016-01-12 22:26:41.166 |     b'  File "/home/jenkins/workspace/gate-nova-python34/nova/tests/unit/virt/hyperv/test_imagecache.py", line 59, in setUp'
  2016-01-12 22:26:41.166 |     b'    self.imagecache = imagecache.ImageCache()'
  2016-01-12 22:26:41.166 |     b'  File "/home/jenkins/workspace/gate-nova-python34/nova/virt/hyperv/imagecache.py", line 39, in __init__'
  2016-01-12 22:26:41.166 |     b'    self._pathutils = pathutils.PathUtils()'
  2016-01-12 22:26:41.167 |     b'  File "/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/os_win/utils/pathutils.py", line 46, in __init__'
  2016-01-12 22:26:41.167 |     b'    super(PathUtils, self).__init__()'
  2016-01-12 22:26:41.167 |     b'  File "/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/os_win/utils/storage/smbutils.py", line 35, in __init__'
  2016-01-12 22:26:41.167 |     b'    self._smb_conn = wmi.WMI(moniker=r"root\\Microsoft\\Windows\\SMB")'
  2016-01-12 22:26:41.167 |     b"NameError: name 'wmi' is not defined"
  2016-01-12 22:26:41.168 |     b''

  Link: http://logs.openstack.org/43/189843/22/check/gate-nova-
  python34/a9af778/console.html

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


References