Actions
Bug #62956
closedragweed/tests/tests.py::r_test_multipart_index_versioning::test FAILED
Status:
Resolved
Priority:
Urgent
Assignee:
-
Target version:
-
% Done:
0%
Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
v18.0.0-6437-gde55616429c
Released In:
v19.2.0~1526
Upkeep Timestamp:
2025-07-11T21:38:34+00:00
Description
2023-09-23T00:37:18.955 INFO:teuthology.orchestra.run.smithi190.stdout:=================================== FAILURES ===================================
2023-09-23T00:37:18.955 INFO:teuthology.orchestra.run.smithi190.stdout:____________________ r_test_multipart_index_versioning.test ____________________
2023-09-23T00:37:18.955 INFO:teuthology.orchestra.run.smithi190.stdout:
2023-09-23T00:37:18.955 INFO:teuthology.orchestra.run.smithi190.stdout:self = <ragweed.tests.tests.r_test_multipart_index_versioning object at 0x7fa112987e10>
2023-09-23T00:37:18.955 INFO:teuthology.orchestra.run.smithi190.stdout:
2023-09-23T00:37:18.955 INFO:teuthology.orchestra.run.smithi190.stdout: def test(self):
2023-09-23T00:37:18.956 INFO:teuthology.orchestra.run.smithi190.stdout: suite.register_test(self)
2023-09-23T00:37:18.956 INFO:teuthology.orchestra.run.smithi190.stdout: if suite.is_preparing():
2023-09-23T00:37:18.956 INFO:teuthology.orchestra.run.smithi190.stdout: self.prepare()
2023-09-23T00:37:18.956 INFO:teuthology.orchestra.run.smithi190.stdout: self.save()
2023-09-23T00:37:18.956 INFO:teuthology.orchestra.run.smithi190.stdout:
2023-09-23T00:37:18.956 INFO:teuthology.orchestra.run.smithi190.stdout: if suite.is_checking():
2023-09-23T00:37:18.956 INFO:teuthology.orchestra.run.smithi190.stdout: self.load()
2023-09-23T00:37:18.956 INFO:teuthology.orchestra.run.smithi190.stdout:> self.check()
2023-09-23T00:37:18.956 INFO:teuthology.orchestra.run.smithi190.stdout:
2023-09-23T00:37:18.956 INFO:teuthology.orchestra.run.smithi190.stdout:ragweed/framework.py:340:
2023-09-23T00:37:18.956 INFO:teuthology.orchestra.run.smithi190.stdout:_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-09-23T00:37:18.956 INFO:teuthology.orchestra.run.smithi190.stdout:ragweed/tests/tests.py:296: in check
2023-09-23T00:37:18.957 INFO:teuthology.orchestra.run.smithi190.stdout: index_check_result = rgwa().check_bucket_index(rb.name)
2023-09-23T00:37:18.957 INFO:teuthology.orchestra.run.smithi190.stdout:ragweed/framework.py:68: in check_bucket_index
2023-09-23T00:37:18.957 INFO:teuthology.orchestra.run.smithi190.stdout: return self.get_resource('/admin/bucket',{'index' : None, 'bucket':bucket_name})
2023-09-23T00:37:18.957 INFO:teuthology.orchestra.run.smithi190.stdout:ragweed/framework.py:50: in get_resource
2023-09-23T00:37:18.957 INFO:teuthology.orchestra.run.smithi190.stdout: return munch.munchify(json.loads(r.read()))
2023-09-23T00:37:18.957 INFO:teuthology.orchestra.run.smithi190.stdout:/usr/lib64/python3.6/json/__init__.py:354: in loads
2023-09-23T00:37:18.957 INFO:teuthology.orchestra.run.smithi190.stdout: return _default_decoder.decode(s)
2023-09-23T00:37:18.957 INFO:teuthology.orchestra.run.smithi190.stdout:_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-09-23T00:37:18.957 INFO:teuthology.orchestra.run.smithi190.stdout:
2023-09-23T00:37:18.957 INFO:teuthology.orchestra.run.smithi190.stdout:self = <json.decoder.JSONDecoder object at 0x7fa11a271a58>
2023-09-23T00:37:18.957 INFO:teuthology.orchestra.run.smithi190.stdout:s = '[]{"existing_header":{"usage":{"rgw.main":{"size":18874368,"size_actual":18874368,"size_utilized":18874368,"size_kb":...:18874368,"size_utilized":18874368,"size_kb":18432,"size_kb_actual":18432,"size_kb_utilized":18432,"num_objects":1}}}}'
2023-09-23T00:37:18.957 INFO:teuthology.orchestra.run.smithi190.stdout:_w = <built-in method match of _sre.SRE_Pattern object at 0x7fa11a244630>
2023-09-23T00:37:18.957 INFO:teuthology.orchestra.run.smithi190.stdout:
2023-09-23T00:37:18.958 INFO:teuthology.orchestra.run.smithi190.stdout: def decode(self, s, _w=WHITESPACE.match):
2023-09-23T00:37:18.958 INFO:teuthology.orchestra.run.smithi190.stdout: """Return the Python representation of ``s`` (a ``str`` instance
2023-09-23T00:37:18.958 INFO:teuthology.orchestra.run.smithi190.stdout: containing a JSON document).
2023-09-23T00:37:18.958 INFO:teuthology.orchestra.run.smithi190.stdout:
2023-09-23T00:37:18.958 INFO:teuthology.orchestra.run.smithi190.stdout: """
2023-09-23T00:37:18.958 INFO:teuthology.orchestra.run.smithi190.stdout: obj, end = self.raw_decode(s, idx=_w(s, 0).end())
2023-09-23T00:37:18.958 INFO:teuthology.orchestra.run.smithi190.stdout: end = _w(s, end).end()
2023-09-23T00:37:18.958 INFO:teuthology.orchestra.run.smithi190.stdout: if end != len(s):
2023-09-23T00:37:18.958 INFO:teuthology.orchestra.run.smithi190.stdout:> raise JSONDecodeError("Extra data", s, end)
2023-09-23T00:37:18.958 INFO:teuthology.orchestra.run.smithi190.stdout:E json.decoder.JSONDecodeError: Extra data: line 1 column 3 (char 2)
2023-09-23T00:37:18.958 INFO:teuthology.orchestra.run.smithi190.stdout:
2023-09-23T00:37:18.959 INFO:teuthology.orchestra.run.smithi190.stdout:/usr/lib64/python3.6/json/decoder.py:342: JSONDecodeError
2023-09-23T00:37:18.959 INFO:teuthology.orchestra.run.smithi190.stdout:----------------------------- Captured stdout call -----------------------------
a regression in the /admin/bucket API for 'bucket check' caused by https://github.com/ceph/ceph/pull/52576/commits/6b057fe55413c0eaf9959f006584cba6cc4c192a
Updated by Casey Bodley over 2 years ago
on this failing test, the RGWOp_Check_Bucket_Index op returns the response body:
[]{"existing_header":{"usage":{"rgw.main":{"size":150994944,"size_actual":150994944,"size_utilized":150994944,"size_kb":147456,"size_kb_actual":147456,"size_kb_utilized":147456,"num_objects":8},"rgw.multimeta":{"size":0,"size_actual":0,"size_utilized":0,"size_kb":0,"size_kb_actual":0,"size_kb_utilized":0,"num_objects":0}}},"calculated_header":{"usage":{"rgw.main":{"size":150994944,"size_actual":150994944,"size_utilized":150994944,"size_kb":147456,"size_kb_actual":147456,"size_kb_utilized":147456,"num_objects":8}}}}
with https://github.com/ceph/ceph/pull/52576/commits/6b057fe55413c0eaf9959f006584cba6cc4c192a reverted, it returns:
[]
Updated by Casey Bodley over 2 years ago
- Status changed from New to Resolved
- Pull request ID set to 53607
backports will be bundled with https://tracker.ceph.com/issues/62075
Updated by Upkeep Bot 9 months ago
- Merge Commit set to de55616429c35196e6a803c3907c409f09293015
- Fixed In set to v18.0.0-6437-gde55616429c
- Released In set to v19.2.0~1526
- Upkeep Timestamp set to 2025-07-11T21:38:34+00:00
Actions