[LU-15179] sanity-quota tests don't cleanup space causing later tests to fail Created: 29/Oct/21  Updated: 26/Jan/23  Resolved: 07/Dec/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.15.0

Type: Bug Priority: Major
Reporter: Sergey Cheremencev Assignee: Sergey Cheremencev
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

TestsĀ 39, 40a, 40b, 40c, 40d, 50, 51, 52, 53, 55, 56, 57, 59, 62, 64, 65, 76 use setup_quota_test without "stack_trap cleanup_quota_test". For example, if sanity-quota_55 fails it does not cleanup quota space causing to fail later tests: https://testing-archive.whamcloud.com/gerrit-janitor/18638/testresults/sanity-quota-ldiskfs-DNE-centos7_x86_64-centos7_x86_64/.

Another problem is that sanity-quota_75 doesn't remove tdir_dom. This also makes impossible to land new quota patches with tests.



 Comments   
Comment by Gerrit Updater [ 29/Oct/21 ]

"Sergey Cheremencev <sergey.cheremencev@hpe.com>" uploaded a new patch: https://review.whamcloud.com/45418
Subject: LU-15179 tests: add trap cleanup_quota_test
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: f156b3b990ee585073b03b63f49cd2f692b3d98f

Comment by Gerrit Updater [ 30/Nov/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45418/
Subject: LU-15179 tests: add trap cleanup_quota_test
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: c44b2bea1bacc3cb9173353037cf3a616f13669f

Comment by Cory Spitz [ 07/Dec/21 ]

Landed for 2.15.0.

Generated at Sat Feb 10 03:16:07 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.