Actions
Bug #48231
closedqa: test_subvolume_clone_in_progress_snapshot_rm is racy
Status:
Resolved
Priority:
Normal
Assignee:
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.
Actions