Reviewed: https://review.openstack.org/265485 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=fb5a0442cf20b5c5946e33d2c82ddaa7648efe18 Submitter: Jenkins Branch: master
commit fb5a0442cf20b5c5946e33d2c82ddaa7648efe18 Author: Diana Clarke <[email protected]> Date: Fri Jan 8 19:37:50 2016 -0500 Fix unit tests on Mac OS X Commit f6969afa4708d1702321dcd48062591bd400789e resulted in a bunch of unit test failures on Mac OS X because '/proc/self/mounts' doesn't exist. Change-Id: I4b5cd48ab4774093419a219dddf00672ca6d2e64 Closes-Bug: #1532340 ** Changed in: nova Status: In Progress => 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/1532340 Title: No such file or directory: '/proc/self/mounts' Status in OpenStack Compute (nova): Fix Released Bug description: I'm seeing 147 unit test failures like the following on my mac since this was merged a few hours ago: https://github.com/openstack/nova/commit/b3879bd199036a9327a32d7c7cacdff3a9c9807d https://github.com/openstack/nova/blob/b1588cea68d2037dfc2e792b25fbb56d76b7d439/nova/virt/libvirt/host.py#L1005 Traceback (most recent call last): File "nova/tests/unit/virt/test_virt_drivers.py", line 55, in wrapped_func return f(self, *args, **kwargs) File "nova/tests/unit/virt/test_virt_drivers.py", line 380, in test_power_off instance_ref, network_info = self._get_running_instance() File "nova/tests/unit/virt/test_virt_drivers.py", line 264, in _get_running_instance [], 'herp', network_info=network_info) File "nova/virt/libvirt/driver.py", line 2506, in spawn write_to_disk=True) File "nova/virt/libvirt/driver.py", line 4402, in _get_guest_xml context) File "nova/virt/libvirt/driver.py", line 4223, in _get_guest_config self._update_guest_cputune(guest, flavor, virt_type) File "nova/virt/libvirt/driver.py", line 3571, in _update_guest_cputune is_able = self._host.is_cpu_control_policy_capable() File "nova/virt/libvirt/host.py", line 1005, in is_cpu_control_policy_capable with open("/proc/self/mounts", "r") as fd: IOError: [Errno 2] No such file or directory: '/proc/self/mounts' Related: https://bugs.launchpad.net/nova/+bug/1496854 https://review.openstack.org/#/c/224726/ To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1532340/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

