Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
9223372036854775807
Description
Tests should not use skip_env if they are skipped because FSTYPE != "ldiskfs".
Such tests would always be skipped when the filesystem type is ZFS, and this is not an indication of a deficient test environment. The skip_env() check is meant for detecting test environments that are lacking things like test programs (e.g. dbench or IOR) or are configured incorrectly (e.g. MDT or OST is too small, or not enough of them for basic tests). The intent is that skip_env() allows such tests to be skipped during developer testing, where the test environment may not have everything configured, but it should be considered an error() if the autotest environment does not have everything installed properly in order to execute the test case.
The regular "skip" check is intended to skip tests when the configuration is unsuitable for the current test for whatever reason, so we don't need to mark such cases with "skip_env".
It looks like several such checks are in the current tests:
- sanity.sh test 17m (ldiskfs), 17n, 24E, 51e, 57a, 57b, 60a, 77a (GSS), 77b, 77c, 77d, 77f, 77g, 77k, 100, 101a, 103a, 129, 130a (ZFS), 130b, 130c, 130d, 130e, 228a, 228b, 228c, 233a, 233b, 252, 315, 399b, 804,
Attachments
Issue Links
- is related to
-
LU-10461 sanity 77c failure due to variables called in cleanup routine are out of scope
- Resolved