← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1533678] [NEW] Jenkins py34 date failing with 'wmi is not defined' error

 

Public bug reported:

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

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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 date failing with 'wmi is not defined' error

Status in OpenStack Compute (nova):
  New

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


Follow ups