Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
Lustre 2.1.0
-
None
-
10193
Description
If the $RUNAS_ID user does not have executable permissions on the lustre source tree, certain tests cases will fail with obscure error messages.
For example, with a user id of 0, runas id of 99, and a umask of 0077.. sanity.sh test 33a fails because the $LUSTRE_SRC/lustre/tests/openfile is not executable by user 99.
Although, if our umask if 0000, then of course user 99 has executable permissions on the openfile binary and the test passes.
To top it off, the tests will fail without reporting the permissions issue. From the outside, it appears that Lustre is failing these specific test cases when that is not the real problem at all.
Perhaps, there needs to be a way to check the permissions and then skip the tests it cannot run based on this check? Also, displaying a human readable message explaining to the user why these tests are being skipped could provide useful.