libvirt test cases fail due to lockutils error when run via testtools
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Daniel Berrange |
Bug Description
When running libvirt tests via testtools.run, there are a number of cases which fail due to lockutils setup
$ .venv/bin/python -m testtools.run nova.tests.
..snip...
=======
ERROR: nova.tests.
-------
pythonlogging:'': {{{INFO [nova.network.
Traceback (most recent call last):
File "nova/tests/
self.
File "nova/virt/
self.
File "nova/virt/
self.
File "nova/openstack
with lock(name, lock_file_prefix, external, lock_path):
File "/usr/lib64/
return self.gen.next()
File "nova/openstack
ext_lock = external_lock(name, lock_file_prefix, lock_path)
File "nova/openstack
lock_file_path = _get_lock_
File "nova/openstack
raise cfg.RequiredOpt
RequiredOptError: value required for option: lock_path
The tox.ini / run_tests.sh work around this problem by using "-m nova.openstack.
Changed in nova: | |
assignee: | nobody → Daniel Berrange (berrange) |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in nova: | |
milestone: | none → juno-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-rc1 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/121861
Review: https:/