Whamcloud - gitweb
LU-9182 tests: SKIP sanity/205 for older version of MDS 13/25813/2
authorParinay Kondekar <parinay.kondekar@seagate.com>
Mon, 6 Mar 2017 09:35:08 +0000 (15:05 +0530)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 16 Mar 2017 21:39:17 +0000 (21:39 +0000)
LU-5946 is not present on 2.5.x esp changes from
"LU-5946 lprocfs: free expired jobstats after /proc read"

The changes in sanity/205 rmdir w.r.t DNE are to be SKIPPED
where we are seeing the failure.

Signed-off-by: Parinay kondekar <Parinay.Kondekar@seagate.com>
Change-Id: I02d24eddaac3fc65e801eb86f2e878e117d6cdb1
Reviewed-on: https://review.whamcloud.com/25813
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Wei Liu <wei3.liu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity.sh

index 386a74b..5ec81b2 100755 (executable)
@@ -12083,6 +12083,9 @@ cleanup_205() {
 }
 
 test_205() { # Job stats
+       [[ $(lustre_version_code $SINGLEMDS) -ge $(version_code 2.7.1) ]] ||
+               { skip "Need MDS version with at least 2.7.1"; return 0; }
+
        [ $PARALLEL == "yes" ] && skip "skip parallel run" && return
        remote_mgs_nodsh && skip "remote MGS with nodsh" && return
        remote_mds_nodsh && skip "remote MDS with nodsh" && return