Bug #49891
closedoctopus: _osd_in_out_completed_events_count() was used without declaration
0%
Description
https://github.com/ceph/ceph/pull/39289 was an incomplete backport where the function _osd_in_out_completed_events_count() was used without declaration as
a result:
2021-03-12T01:41:14.893 INFO:tasks.cephfs_test_runner:======================================================================
2021-03-12T01:41:14.893 INFO:tasks.cephfs_test_runner:ERROR: test_osd_cannot_recover (tasks.mgr.test_progress.TestProgress)
2021-03-12T01:41:14.893 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2021-03-12T01:41:14.894 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2021-03-12T01:41:14.894 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/github.com_ceph_ceph-c_dbb79e0547db3abf076b9bc9b6ad97ede0519a0e/qa/tasks/mgr/test_progress.py", line 352, in test_osd_cannot_recover
2021-03-12T01:41:14.895 INFO:tasks.cephfs_test_runner: self._osd_in_out_completed_events_count('out'),
2021-03-12T01:41:14.895 INFO:tasks.cephfs_test_runner:AttributeError: 'TestProgress' object has no attribute '_osd_in_out_completed_events_count'
2021-03-12T01:41:14.896 INFO:tasks.cephfs_test_runner:
2021-03-12T01:41:14.896 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2021-03-12T01:41:14.896 INFO:tasks.cephfs_test_runner:Ran 2 tests in 157.386s
2021-03-12T01:41:14.897 INFO:tasks.cephfs_test_runner:
2021-03-12T01:41:14.897 INFO:tasks.cephfs_test_runner:FAILED (errors=1)
2021-03-12T01:41:14.897 INFO:tasks.cephfs_test_runner:
2021-03-12T01:41:14.897 INFO:tasks.cephfs_test_runner:======================================================================
2021-03-12T01:41:14.898 INFO:tasks.cephfs_test_runner:ERROR: test_osd_cannot_recover (tasks.mgr.test_progress.TestProgress)
2021-03-12T01:41:14.898 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2021-03-12T01:41:14.899 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2021-03-12T01:41:14.899 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/github.com_ceph_ceph-c_dbb79e0547db3abf076b9bc9b6ad97ede0519a0e/qa/tasks/mgr/test_progress.py", line 352, in test_osd_cannot_recover
2021-03-12T01:41:14.899 INFO:tasks.cephfs_test_runner: self._osd_in_out_completed_events_count('out'),
2021-03-12T01:41:14.899 INFO:tasks.cephfs_test_runner:AttributeError: 'TestProgress' object has no attribute '_osd_in_out_completed_events_count'
/ceph/teuthology-archive/yuriw-2021-03-09_20:27:38-rados-wip-yuri2-testing-2021-03-09-1006-octopus-distro-basic-smithi/5950994/teuthology.log
Fix Under Review with PR: https://github.com/ceph/ceph/pull/40225
Updated by Kamoltat (Junior) Sirivadhna about 5 years ago
- Description updated (diff)
- Status changed from New to Fix Under Review
Updated by Kamoltat (Junior) Sirivadhna almost 5 years ago
- Status changed from Fix Under Review to Resolved
Updated by Upkeep Bot 8 months ago
- Merge Commit set to fde67268d46434f873f8aae753cdb794bdc0aec0
- Fixed In set to v15.2.10-74-gfde67268d4
- Released In set to v15.2.13~2^2~2
- Upkeep Timestamp set to 2025-07-14T17:57:33+00:00
Updated by Upkeep Bot 8 months ago
- Tags (freeform) set to upkeep-bad-parentage
- Upkeep Timestamp changed from 2025-07-14T17:57:33+00:00 to 2025-08-04T17:30:16+00:00