[LU-1902] disable sanity-quota.sh for OFD on 2.3 Created: 12/Sep/12 Updated: 01/Feb/13 Resolved: 01/Feb/13 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.3.0, Lustre 2.4.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Maloo | Assignee: | Niu Yawei (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | USE_OFD | ||
| Severity: | 3 |
| Rank (Obsolete): | 5141 |
| Description |
|
This issue was created by maloo for Andreas Dilger <adilger@whamcloud.com> This issue relates to the following test suite run: https://maloo.whamcloud.com/test_sets/ec6c56cc-f9ba-11e1-b8d8-52540035b04c. Looking at the test output for a ZFS test run with USE_OFD=yes, it seems that there is some simple check needed in order to disable quota testing with OFD: 11:48:38:CMD: client-19vm4 lctl set_param lquota.lustre-OST*.stats=0
11:48:38:client-19vm4: error: set_param: /proc/{fs,sys}/{lnet,lustre}/lquota/lustre-OST*/stats: Found no match
I suspect the same will be true for ldiskfs-backed OFD tests as well. This needs to be the case for USE_OFD=yes until the orion quota project has finished landing. |
| Comments |
| Comment by Andreas Dilger [ 12/Sep/12 ] |
|
Needs a relatively simple fix to the test that can hopefully still be included into b2_3. |
| Comment by Johann Lombardi (Inactive) [ 12/Sep/12 ] |
|
It is just an issue with the statistics which are not present. I think that s-q can be fixed easily. only running test 33 34 35 |
| Comment by Minh Diep [ 14/Sep/12 ] |
|
Johann, could you take a look at this report https://maloo.whamcloud.com/test_sets/2d46e18e-fdb3-11e1-afe5-52540035b04c and let me know if we still only run test 33 - 35 when USE_OFD=yes with zfs? |
| Comment by Johann Lombardi (Inactive) [ 14/Sep/12 ] |
|
Well, autotest is definitely running the whole suite if [ "$USE_OFD" = "yes" -a -z "$ONLY" ]; then
# only accounting tests are supported with OFD for the time being
ONLY="33 34 35"
fi
I assume that autotest uses ONLY |
| Comment by Minh Diep [ 14/Sep/12 ] |
|
Johann, sorry for not being clear. I ran this manually after removed the ONLY. I wanted to see if we can run all the tests with a little fix. If you think we only require to run 33-35. I can do that. Please let me know. |
| Comment by Johann Lombardi (Inactive) [ 14/Sep/12 ] |
|
Only accounting is supported for now, so only 33-35 should be run. Other tests can't pass for now. |
| Comment by Minh Diep [ 14/Sep/12 ] |
|
https://maloo.whamcloud.com/test_sets/b8a16670-fe7e-11e1-a707-52540035b04c |
| Comment by Johann Lombardi (Inactive) [ 14/Sep/12 ] |
|
Minh, it seems that the filesystem wasn't clean and the quota_user already had some existing files which confused the test. |
| Comment by Minh Diep [ 17/Sep/12 ] |
|
Johann, Something is wrong here. the fs started clean and quota still fail after delete https://maloo.whamcloud.com/test_sessions/99e4c32c-0080-11e2-860a-52540035b04c |
| Comment by Johann Lombardi (Inactive) [ 17/Sep/12 ] |
|
Minh, was this on master or b2_3? Thanks in advance. |
| Comment by Minh Diep [ 18/Sep/12 ] |
|
Assign this to Niu to investigate further - thanks |
| Comment by Niu Yawei (Inactive) [ 19/Sep/12 ] |
|
I think it might because the test_33() doesn't sync_all_data for zfs after the deletion. Hi, Minh For the problem of "error: set_param: /proc/ {fs,sys}/ {lnet,lustre}/lquota/lustre-OST*/stats: Found no match", I think we need to check if USE_OFD is set in |
| Comment by Niu Yawei (Inactive) [ 29/Nov/12 ] |
|
Minh, USE_OFD is obsolete now and test_33() in master do have syc_all_data after deletion. Can we close it now? Thanks. |
| Comment by Andreas Dilger [ 01/Feb/13 ] |
|
This is no longer needed. |