Bug #70320
closedtest_osd_came_back fails when test does not detect that osd.0 is back in
0%
Description
/a/yuriw-2025-02-26_00:53:37-rados-wip-yuri2-testing-2025-02-25-1331-squid-distro-default-smithi/8153920
2025-02-27T23:30:43.771 INFO:tasks.cephfs_test_runner:When a recovery is underway, but then the out OSD ... ERROR
2025-02-27T23:30:43.771 INFO:tasks.cephfs_test_runner:
2025-02-27T23:30:43.771 INFO:tasks.cephfs_test_runner:======================================================================
2025-02-27T23:30:43.771 INFO:tasks.cephfs_test_runner:ERROR: test_osd_came_back (tasks.mgr.test_progress.TestProgress)
2025-02-27T23:30:43.771 INFO:tasks.cephfs_test_runner:When a recovery is underway, but then the out OSD
2025-02-27T23:30:43.771 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2025-02-27T23:30:43.772 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2025-02-27T23:30:43.772 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/github.com_ceph_ceph-c_c83214873a2785cd4b0a0ceda1b0afe3a5958443/qa/tasks/mgr/test_progress.py", line 347, in test_osd_came_back
2025-02-27T23:30:43.772 INFO:tasks.cephfs_test_runner: ev2 = self._simulate_back_in([0], ev1)
2025-02-27T23:30:43.772 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/github.com_ceph_ceph-c_c83214873a2785cd4b0a0ceda1b0afe3a5958443/qa/tasks/mgr/test_progress.py", line 241, in _simulate_back_in
2025-02-27T23:30:43.772 INFO:tasks.cephfs_test_runner: new_event = self._get_osd_in_out_events('in')[0]
2025-02-27T23:30:43.772 INFO:tasks.cephfs_test_runner:IndexError: list index out of range
cluster.log
2025-02-27T23:30:38.240463+0000 mon.a (mon.0) 424 : cluster [INF] Health check cleared: PG_DEGRADED (was: Degraded data redundancy: 12 pgs degraded) 2025-02-27T23:30:38.240479+0000 mon.a (mon.0) 425 : cluster [INF] Cluster is now healthy 2025-02-27T23:30:38.240861+0000 mon.a (mon.0) 426 : cluster [WRN] Health check failed: nobackfill flag(s) set (OSDMAP_FLAGS) 2025-02-27T23:30:38.256362+0000 mon.a (mon.0) 428 : cluster [DBG] osdmap e73: 4 total, 4 up, 4 in 2025-02-27T23:30:37.711806+0000 mgr.x (mgr.4457) 102 : cluster [DBG] pgmap v145: 16 pgs: 16 active+clean; 0 B data, 195 MiB used, 360 GiB / 360 GiB avail; 0 B/s, 175 objects/s recovering 2025-02-27T23:30:38.240463+0000 mon.a (mon.0) 424 : cluster [INF] Health check cleared: PG_DEGRADED (was: Degraded data redundancy: 12 pgs degraded) 2025-02-27T23:30:38.240479+0000 mon.a (mon.0) 425 : cluster [INF] Cluster is now healthy 2025-02-27T23:30:38.240861+0000 mon.a (mon.0) 426 : cluster [WRN] Health check failed: nobackfill flag(s) set (OSDMAP_FLAGS) 2025-02-27T23:30:38.256362+0000 mon.a (mon.0) 428 : cluster [DBG] osdmap e73: 4 total, 4 up, 4 in 2025-02-27T23:30:39.263852+0000 mon.a (mon.0) 431 : cluster [DBG] osdmap e74: 4 total, 4 up, 4 in 2025-02-27T23:30:39.263852+0000 mon.a (mon.0) 431 : cluster [DBG] osdmap e74: 4 total, 4 up, 4 in 2025-02-27T23:30:39.712048+0000 mgr.x (mgr.4457) 105 : cluster [DBG] pgmap v148: 16 pgs: 16 active+clean; 0 B data, 195 MiB used, 360 GiB / 360 GiB avail; 0 B/s, 175 objects/s recovering 2025-02-27T23:30:40.736743+0000 mon.a (mon.0) 435 : cluster [DBG] osdmap e75: 4 total, 4 up, 4 in 2025-02-27T23:30:39.712048+0000 mgr.x (mgr.4457) 105 : cluster [DBG] pgmap v148: 16 pgs: 16 active+clean; 0 B data, 195 MiB used, 360 GiB / 360 GiB avail; 0 B/s, 175 objects/s recovering 2025-02-27T23:30:40.736743+0000 mon.a (mon.0) 435 : cluster [DBG] osdmap e75: 4 total, 4 up, 4 in 2025-02-27T23:30:41.712378+0000 mgr.x (mgr.4457) 107 : cluster [DBG] pgmap v150: 0 pgs: ; 0 B data, 195 MiB used, 360 GiB / 360 GiB avail 2025-02-27T23:30:41.740525+0000 mon.a (mon.0) 438 : cluster [DBG] osdmap e76: 4 total, 4 up, 4 in 2025-02-27T23:30:41.712378+0000 mgr.x (mgr.4457) 107 : cluster [DBG] pgmap v150: 0 pgs: ; 0 B data, 195 MiB used, 360 GiB / 360 GiB avail 2025-02-27T23:30:41.740525+0000 mon.a (mon.0) 438 : cluster [DBG] osdmap e76: 4 total, 4 up, 4 in 2025-02-27T23:30:42.734914+0000 mon.a (mon.0) 440 : cluster [INF] Health check cleared: OSDMAP_FLAGS (was: norecover flag(s) set) 2025-02-27T23:30:42.734937+0000 mon.a (mon.0) 441 : cluster [INF] Cluster is now healthy 2025-02-27T23:30:42.746098+0000 mon.a (mon.0) 443 : cluster [DBG] osdmap e77: 4 total, 4 up, 4 in 2025-02-27T23:30:43.713036+0000 client.admin (client.?) 0 : cluster [INF] Ended test tasks.mgr.test_progress.TestProgress.test_osd_came_back
This test simulates a scenario where an osd is marked out, which should trigger recovery. Then, the osd is marked back in, which should cancel recovery. The test checks to make sure that osd.0 was marked back in, but it doesn't find it in the event that gets checked.
Looking in the cluster log, it seems that osd.0 was marked back in, so it might be a timing issue with the test.
LF Updated by Laura Flores over 1 year ago
- Tags set to low-hanging-fruit
Seems like this would be a low hanging fruit to work on.
LF Updated by Laura Flores over 1 year ago
- Subject changed from test_osd_came_back fails when osd.0 test does not detect that osd.0 is back in after recovery canceled to test_osd_came_back fails when test does not detect that osd.0 is back in
RZ Updated by Radoslaw Zarzynski over 1 year ago
- Assignee set to Aishwarya Mathuria
Hi Aishwarya, would you mind to take a look?
LF Updated by Laura Flores over 1 year ago
Bump up
RZ Updated by Radoslaw Zarzynski over 1 year ago
Bump up. Pindged Aishwarya.
AM Updated by Aishwarya Mathuria over 1 year ago
@Laura Flores thanks for the analysis. I'm looking into how we can fix it.
AM Updated by Aishwarya Mathuria over 1 year ago
- Status changed from New to In Progress
LF Updated by Laura Flores over 1 year ago
Note from bug scrub: monitoring...
NM Updated by Nitzan Mordechai 10 months ago
/a/yuriw-2026-02-04_23:08:40-rados-wip-yuri3-testing-2026-02-04-1948-tentacle-distro-default-trial/35449
KS Updated by Kamoltat (Junior) Sirivadhna 10 months ago
RADOS bug scrub: will connect with Aishwarya to see if we should re-assign to me since I worked on progress module previously
AM Updated by Aishwarya Mathuria 10 months ago
- Assignee changed from Aishwarya Mathuria to Kamoltat (Junior) Sirivadhna
KS Updated by Kamoltat (Junior) Sirivadhna 10 months ago
bug scrub: bump
KS Updated by Kamoltat (Junior) Sirivadhna 9 months ago
still work in progress
NM Updated by Nitzan Mordechai 9 months ago
/a/nmordech-2026-02-23_13:38:59-rados:mgr-wip-rocky10-branch-of-the-day-2026-02-23-1771833711-distro-default-trial/66521
SS Updated by Sridhar Seshasayee 9 months ago
/a/sseshasa-2026-02-26_14:56:45-rados-wip-sseshasa-testing-2026-02-26-1772100687-distro-default-trial/72432
KS Updated by Kamoltat (Junior) Sirivadhna 9 months ago
bump up
KS Updated by Kamoltat (Junior) Sirivadhna 9 months ago
- Pull request ID set to 67659
Because of the non-deterministic nature of the bug, currently, I am trying to verify the fix by scheduling 2 runs.
Run 1: without the fix (40 jobs) -> goal to get some reds: https://pulpito.ceph.com/ksirivad-2026-03-05_16:11:56-rados:mgr-main-distro-default-trial/
Run 2: with the fix (40 jobs) -> goal to get all green: https://pulpito.ceph.com/ksirivad-2026-03-05_16:15:02-rados:mgr-main-distro-default-trial/
RZ Updated by Radoslaw Zarzynski 9 months ago
bug scrub: will be reviewed.
UB Updated by Upkeep Bot 9 months ago
- Status changed from In Progress to Pending Backport
- Merge Commit set to 90a21b540ffc14c75dad2b841917450ef3b37d2b
- Fixed In set to v20.3.0-5954-g90a21b540f
- Upkeep Timestamp set to 2026-03-11T18:50:14+00:00
UB Updated by Upkeep Bot 9 months ago
- Copied to Backport #75461: squid: test_osd_came_back fails when test does not detect that osd.0 is back in added
UB Updated by Upkeep Bot 9 months ago
- Tags (freeform) set to backport_processed
KS Updated by Kamoltat (Junior) Sirivadhna 9 months ago
- Status changed from Pending Backport to Resolved
main PR + Backport Merged
SS Updated by Sridhar Seshasayee 8 months ago
@Kamoltat (Junior) Sirivadhna This is observed on tentacle and therefore warrants a backport.
/a/skanta-2026-04-14_02:25:39-rados-wip-bharath1-testing-2026-04-14-0415-tentacle-distro-default-trial/150209
LF Updated by Laura Flores 7 months ago
- Status changed from Resolved to Pending Backport
- Backport changed from squid to squid,tentacle
/a/skanta-2026-05-05_10:12:40-rados-wip-bharath13-testing-2026-05-05-1001-tentacle-distro-default-trial/193634
NM Updated by Nitzan Mordechai 3 months ago
/a/skanta-2026-08-24_10:34:23-rados-wip-vallari2-testing-20260819.130432-tentacle-distro-default-trial/509414
UB Updated by Upkeep Bot 3 months ago
- Copied to Backport #80056: tentacle: test_osd_came_back fails when test does not detect that osd.0 is back in added
UB Updated by Upkeep Bot 3 months ago
- Status changed from Pending Backport to Backporting
- Tags (freeform) deleted (
backport_processed) - Upkeep Timestamp changed from 2026-03-11T18:50:14+00:00 to 2026-08-27T18:27:49+00:00
NM Updated by Nitzan Mordechai 3 months ago
/a/yuriw-2026-08-31_17:58:51-rados-wip-yuri9-testing-20260831.150649-tentacle-distro-default-trial/525824
UB Updated by Upkeep Bot about 1 month ago
- Released In set to v21.2.0~1059
- Upkeep Timestamp changed from 2026-08-27T18:27:49+00:00 to 2026-10-24T01:15:36+00:00
UB Updated by Upkeep Bot 29 days ago
- Released In changed from v21.2.0~1059 to v21.2.0~1060
- Upkeep Timestamp changed from 2026-10-24T01:15:36+00:00 to 2026-11-04T01:09:10+00:00