sanity test_300g fails with the following lines from the test_log output
The problem is in the test at
The test checks that there are at least two MDTs (we need to stop using MDSCOUNT as MDTCOUNT, but that’s for a different ticket) and then creates two directories with ‘lfs setdirstripe –iN …’, with N = 1 and 2, striping directories at MDT index 1 and MDT index 2.
The problem here is that, with only two MDTs, creating a directory that starts with MDT index 1 works as expected, but creating a directory that starts at index 2 fails because MDT indexes are zero based and we only have two MDTs with indexes 0 and 1.
This test has passed review-dne-part-* testing because typical DNE testing creates two MDSs with two MDTs each and a MDT starting index of 2 is valid.
There are at least two ways to fix this issue; make sure you have three or more MDTs for this test or just create directories that have starting index 0 and 1.
Logs for sanity test 300g failures are at
I will create a patch for this issue.