Project

General

Profile

Bug #48231

qa: test_subvolume_clone_in_progress_snapshot_rm is racy

Added by Patrick Donnelly about 1 year ago. Updated 6 months ago.

Status:
Pending Backport
Priority:
Normal
Category:
-
Target version:
% Done:

0%

Source:
Q/A
Tags:
Backport:
pacific,octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
mgr/volumes
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2020-11-13T13:00:10.369 INFO:tasks.cephfs_test_runner:======================================================================
2020-11-13T13:00:10.369 INFO:tasks.cephfs_test_runner:FAIL: test_subvolume_clone_in_progress_snapshot_rm (tasks.cephfs.test_volumes.TestVolumes)
2020-11-13T13:00:10.370 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2020-11-13T13:00:10.370 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2020-11-13T13:00:10.370 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/github.com_ceph_ceph_octopus/qa/tasks/cephfs/test_volumes.py", line 2120, in test_subvolume_clone_in_progress_snapshot_rm
2020-11-13T13:00:10.370 INFO:tasks.cephfs_test_runner:    self.fail("expected removing source snapshot of a clone to fail")
2020-11-13T13:00:10.370 INFO:tasks.cephfs_test_runner:AssertionError: expected removing source snapshot of a clone to fail

From: /ceph/teuthology-archive/yuriw-2020-11-12_17:52:51-fs-octopus-distro-basic-smithi/5617035/teuthology.log

The clone completes before the removal of the snapshot.

I suggest adding a config to insert delays at the beginning of a clone to avoid the race.


Related issues

Copied to CephFS - Backport #51200: pacific: qa: test_subvolume_clone_in_progress_snapshot_rm is racy Resolved
Copied to CephFS - Backport #51201: octopus: qa: test_subvolume_clone_in_progress_snapshot_rm is racy New

History

#1 Updated by Patrick Donnelly 11 months ago

  • Target version changed from v16.0.0 to v17.0.0
  • Backport changed from octopus,nautilus to pacific,octopus,nautilus

#2 Updated by Kotresh Hiremath Ravishankar 7 months ago

  • Status changed from New to In Progress
  • Pull request ID set to 41403

#3 Updated by Kotresh Hiremath Ravishankar 7 months ago

  • Status changed from In Progress to Fix Under Review

#4 Updated by Patrick Donnelly 6 months ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from pacific,octopus,nautilus to pacific,octopus

#5 Updated by Backport Bot 6 months ago

  • Copied to Backport #51200: pacific: qa: test_subvolume_clone_in_progress_snapshot_rm is racy added

#6 Updated by Backport Bot 6 months ago

  • Copied to Backport #51201: octopus: qa: test_subvolume_clone_in_progress_snapshot_rm is racy added

Also available in: Atom PDF