Project

General

Profile

Bug #48231

qa: test_subvolume_clone_in_progress_snapshot_rm is racy

Added by Patrick Donnelly 5 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Category:
-
Target version:
% Done:

0%

Source:
Q/A
Tags:
Backport:
pacific,octopus,nautilus
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.

History

#1 Updated by Patrick Donnelly 3 months ago

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

Also available in: Atom PDF