Actions
Bug #36768
closedtests failures when /dev/sda doesn't exist
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
PR https://github.com/ceph/ceph/pull/24859 introduced new unit tests that rely implicitly on systems that have devices like `/dev/sda`
tests/util/test_device.py:6: in <module> class TestDevice(object): tests/util/test_device.py:120: in TestDevice disk1 = device.Device("/dev/sda") util/device.py:81: in __init__ self._parse() util/device.py:105: in _parse lv = lvm.get_lv_from_argument(self.path) api/lvm.py:353: in get_lv_from_argument lv = get_lv(lv_path=argument) api/lvm.py:374: in get_lv lvs = Volumes() api/lvm.py:764: in __init__ self._populate() api/lvm.py:768: in _populate for lv_item in get_api_lvs(): api/lvm.py:317: in get_api_lvs verbose_on_failure=False process.py:201: in call **kw /usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py:390: in __init__ errread, errwrite) /usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py:1025: in _execute_child raise child_exception E OSError: [Errno 2] No such file or directory -------------------------------------------------------------------------------- Captured stdout --------------------------------------------------------------------------------- --> Absolute path not found for executable: lvs --> Ensure $PATH environment variable contains common executable locations
Updated by Alfredo Deza over 5 years ago
- Status changed from New to Fix Under Review
master PR https://github.com/ceph/ceph/pull/25063
Updated by Alfredo Deza over 5 years ago
- Status changed from Fix Under Review to Resolved
mimic PR: https://github.com/ceph/ceph/pull/25066
luminous PR: https://github.com/ceph/ceph/pull/25067
Actions