Project

General

Profile

Actions

Bug #48231

closed

qa: test_subvolume_clone_in_progress_snapshot_rm is racy

Added by Patrick Donnelly over 3 years ago. Updated over 1 year ago.

Status:
Resolved
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 2 (0 open2 closed)

Copied to CephFS - Backport #51200: pacific: qa: test_subvolume_clone_in_progress_snapshot_rm is racyResolvedKotresh Hiremath RavishankarActions
Copied to CephFS - Backport #51201: octopus: qa: test_subvolume_clone_in_progress_snapshot_rm is racyResolvedKotresh Hiremath RavishankarActions
Actions #1

Updated by Patrick Donnelly over 3 years ago

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

Updated by Kotresh Hiremath Ravishankar almost 3 years ago

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

Updated by Kotresh Hiremath Ravishankar almost 3 years ago

  • Status changed from In Progress to Fix Under Review
Actions #4

Updated by Patrick Donnelly almost 3 years ago

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

Updated by Backport Bot almost 3 years ago

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

Updated by Backport Bot almost 3 years ago

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

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions #8

Updated by Konstantin Shalygin over 1 year ago

  • Status changed from Pending Backport to Resolved
  • Tags deleted (backport_processed)
Actions

Also available in: Atom PDF