Project

General

Profile

Actions

Bug #42646

closed

Test failure: test_subvolume_snapshot_ls (tasks.cephfs.test_volumes.TestVolumes)

Added by Venky Shankar over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Testing
Target version:
% Done:

0%

Source:
Q/A
Tags:
Backport:
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

Test cases in TestVolumes create subvolumes/groups/snapshots in format `<string>_<random_number>`. Some test cases will verify list commands by creating (say) 3 subvoumes/group/snapshots and expect that those come back while listing. Python's random number generator is not truly random leading to the same number getting repeated (unlucky) which caused the test case to fail as it would expect a certain count while listing.

In this run: http://qa-proxy.ceph.com/teuthology/vshankar-2019-11-05_04:32:58-fs-wip-40867-testing-basic-mira/4474049/teuthology.log

2019-11-05T06:17:51.441 INFO:teuthology.orchestra.run.mira061:> sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 120 ceph --cluster ceph fs subvolume snapshot create cephfs subvolume_7617 snapshot_17
2019-11-05T06:17:52.171 INFO:teuthology.orchestra.run.mira061:> sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 120 ceph --cluster ceph fs subvolume snapshot create cephfs subvolume_7617 snapshot_17
2019-11-05T06:17:52.877 INFO:teuthology.orchestra.run.mira061:> sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 120 ceph --cluster ceph fs subvolume snapshot create cephfs subvolume_7617 snapshot_15

^^ creating `snapshot_17` gets repeated twice. `mgr/volumes` treats idempotent create/remove operations as valid.


Related issues 1 (0 open1 closed)

Copied to CephFS - Backport #42951: nautilus: Test failure: test_subvolume_snapshot_ls (tasks.cephfs.test_volumes.TestVolumes)ResolvedRamana RajaActions
Actions #1

Updated by Venky Shankar over 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 31418
Actions #2

Updated by Patrick Donnelly over 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #42951: nautilus: Test failure: test_subvolume_snapshot_ls (tasks.cephfs.test_volumes.TestVolumes) added
Actions #4

Updated by Ramana Raja about 4 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF