[LU-7723] few tests in sanity.sh fail because of STRIPES_PER_OBJ=-1 Created: 29/Jan/16 Updated: 21/May/21 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.8.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Alex Zhuravlev | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | easy | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
sanity.sh sets STRIPES_PER_OBJ=-11 unconditionally while few subtests need default striping count = 1. autotest seem to work this around because the filesystem is formatted by external means (not by sanity.sh). |
| Comments |
| Comment by Gerrit Updater [ 29/Jan/16 ] |
|
Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: http://review.whamcloud.com/18216 |
| Comment by Andreas Dilger [ 04/Feb/16 ] |
|
It would be good to know which tests are failing, since IMHO it would be better to fix those tests to work with different stripe counts, rather than only ever testing with default stripe count = 1. |
| Comment by Alex Zhuravlev [ 04/Feb/16 ] |
|
the tests I'm getting failed constantly with "sh sanity.sh": sanity: FAIL: test_27D llapi_layout_test failed with STRIPES_PER_OBJ=1 all they pass. I've got a fix for llapi_layout_test ( http://review.whamcloud.com/#/c/18196/ ), |
| Comment by Andreas Dilger [ 20/Apr/17 ] |
|
I suspect all of these issues will also be hit with a default PFL layout, which is being tested/fixed under IMHO, it is better to fix the individual tests to work with different stripe counts and (less optimal) explicitly specify the required layout for the test, instead of enforcing a global stripe count to make them pass. |