Project

General

Profile

Actions

Bug #80590

closed
KH KH

qa: test_mgr_snapshot_mirror_status_cache_disabled_syncing occasionally fails

Bug #80590: qa: test_mgr_snapshot_mirror_status_cache_disabled_syncing occasionally fails

Added by Kotresh Hiremath Ravishankar 3 months ago. Updated 9 days ago.

Status:
Backporting
Priority:
Normal
Category:
-
Target version:
Due date:
% Done:

0%

Source:
Backport:
umbrella
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-mirror
Labels (FS):
qa, qa-failure
Pull request ID:
Tags (freeform):
Fixed In:
v22.0.0-1288-g1553c313c3
Released In:
Upkeep Timestamp:
2026-11-23T09:18:12+00:00

Description

The test test_mgr_snapshot_mirror_status_cache_disabled_syncing fails occasionally because of timing issue.

The teuthology job https://pulpito.ceph.com/khiremat-2026-09-16_15:07:33-fs-wip-khiremat-testing-20260915.144108-distro-default-trial/561364/

2026-09-16T20:01:19.955 INFO:tasks.cephfs_test_runner:Mgr snapshot mirror status reads omap during sync when cache is disabled.
2026-09-16T20:01:19.955 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2026-09-16T20:01:19.955 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2026-09-16T20:01:19.956 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_ceph-ci_6a91c3264dadfa1d0064afd5ac1446890c47a563/qa/tasks/cephfs/test_mirroring.py
", line 3914, in test_mgr_snapshot_mirror_status_cache_disabled_syncing
2026-09-16T20:01:19.956 INFO:tasks.cephfs_test_runner:    self.check_mgr_snapshot_mirror_status_scopes_match_asok(
2026-09-16T20:01:19.956 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_ceph-ci_6a91c3264dadfa1d0064afd5ac1446890c47a563/qa/tasks/cephfs/test_mirroring.py
", line 51, in wrapper
2026-09-16T20:01:19.956 INFO:tasks.cephfs_test_runner:    while proceed():
2026-09-16T20:01:19.956 INFO:tasks.cephfs_test_runner:          ^^^^^^^^^
2026-09-16T20:01:19.956 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_teuthology_5f338a78c0e7d0ac399679ed5a20790bceeb5263/teuthology/contextutil.py", li
ne 134, in __call__
2026-09-16T20:01:19.956 INFO:tasks.cephfs_test_runner:    raise MaxWhileTries(error_msg)
2026-09-16T20:01:19.956 INFO:tasks.cephfs_test_runner:teuthology.exceptions.MaxWhileTries: 'retry check_mgr_snapshot_mirror_status_scopes_match_asok' reached maximum tries (120) a
fter waiting for 120 seconds
2026-09-16T20:01:19.956 INFO:tasks.cephfs_test_runner:

Related issues 1 (1 open — 0 closed)

Copied to CephFS - Backport #83439: umbrella: qa: test_mgr_snapshot_mirror_status_cache_disabled_syncing occasionally failsNewKotresh Hiremath Ravishankar

Actions

KH Updated by Kotresh Hiremath Ravishankar 3 months ago Actions #1

  • Description updated (diff)

The sync completes before the test can succeed. The /mgr_nc_sync is ~2 GiB (10k files + 20×100 MiB).
It finishes in ~4s. The test needs mgr and asok to match while still syncing, but:

Attempt 1 fails on stale full-scan omap (~1s lag).
Attempt 2 fails when sync completes mid-check (dir-scoped mgr → idle, asok snapshot still syncing).
From Attempt 3 onward, asok is idle permanently and hence the test fails.

KH Updated by Kotresh Hiremath Ravishankar about 1 month ago Actions #3

  • Status changed from New to Fix Under Review
  • Pull request ID set to 73042

UB Updated by Upkeep Bot 9 days ago Actions #4

  • Copied to Backport #83439: umbrella: qa: test_mgr_snapshot_mirror_status_cache_disabled_syncing occasionally fails added

UB Updated by Upkeep Bot 9 days ago Actions #5

  • Status changed from Fix Under Review to Backporting
  • Merge Commit set to 1553c313c3870a281eaef8e99dce2f3b063eccd5
  • Fixed In set to v22.0.0-1288-g1553c313c3
  • Upkeep Timestamp set to 2026-11-23T09:18:12+00:00
Actions

Also available in: PDF Atom