Project

General

Profile

Bug #42646

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

Added by Venky Shankar 3 months ago. Updated 5 days 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:

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

Copied to fs - Backport #42951: nautilus: Test failure: test_subvolume_snapshot_ls (tasks.cephfs.test_volumes.TestVolumes) Resolved

History

#1 Updated by Venky Shankar 3 months ago

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

#2 Updated by Patrick Donnelly 3 months ago

  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Nathan Cutler 3 months ago

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

#4 Updated by Ramana Raja 5 days ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF