Actions
Bug #64782
closedtest_python.sh TestIoctx.test_locator failes in cases of SeaStore
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
=================================== FAILURES =================================== ____________________________ TestIoctx.test_locator ____________________________ self = <test_rados.TestIoctx object at 0x2b50b6e1a438> def test_locator(self): self.ioctx.set_locator_key("bar") self.ioctx.write('foo', b'contents1') objects = [i for i in self.ioctx.list_objects()] eq(len(objects), 1) eq(self.ioctx.get_locator_key(), "bar") self.ioctx.set_locator_key("") objects[0].seek(0) objects[0].write(b"contents2") eq(self.ioctx.get_locator_key(), "") self.ioctx.set_locator_key("bar") contents = self.ioctx.read("foo") > eq(contents, b"contents2") ../../../clone.client.0/src/test/pybind/test_rados.py:729: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ a = b'contents1', b = b'contents2' def assert_equal(a, b): > assert a == b E AssertionError ../../../clone.client.0/src/test/pybind/assertions.py:2: AssertionError
Seems that this is due to SeaStore's onode tree doesn't save objects' location keys.
Updated by Matan Breizman 13 days ago
- Status changed from New to Fix Under Review
Updated by Matan Breizman 7 days ago
- Status changed from Fix Under Review to Resolved
Actions