LU-3219 tests: add version check code to sanityn test 71

This patch adds Lustre version check codes into sanityn test
71 to make the test work with servers which do not have the
following patch:

Lustre-commit: 58444c4e9bc58e192f0bc0c163a5d51d42ba4255
Lustre-change: http://review.whamcloud.com/6127
or
Lustre-commit: 6a4ea7d154b6c016f482662463c9d2186176fee0
Lustre-change: http://review.whamcloud.com/6377

Since ZFS is not supported in Lustre 2.1.x and facet_fstype()
is not implemented in Lustre 2.1.x test framework, the patch
also removes the lines that check the ZFS backend filesystem.

Test-Parameters: envdefinitions=SLOW=yes,ENABLE_QUOTA=yes \
clientdistro=el6 serverdistro=el6 clientarch=x86_64 \
serverarch=x86_64 serverjob=lustre-b2_1 serverbuildno=191 \
testlist=sanityn

Signed-off-by: Jian Yu <jian.yu@intel.com>
Change-Id: I16f96d28b0c9987274872ce1f4031ba0766d06c9
Reviewed-on: http://review.whamcloud.com/6584
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
LU-1233 tests: clean up files in performance-sanity test

This patch cleans up the files created in performance-sanity.sh
through mdsrate-{create,lookup,stat}-*.sh after create/lookup/stat
operation fails.

Test-Parameters: envdefinitions=SLOW=yes,ENABLE_QUOTA=yes \
clientdistro=el6 serverdistro=el6 clientarch=x86_64 \
serverarch=x86_64 testlist=performance-sanity

Signed-off-by: Jian Yu <jian.yu@intel.com>
Change-Id: I2fc612bea7a10dd7bb5a735af2b1330f339c2a22
Reviewed-on: http://review.whamcloud.com/6483
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Minh Diep <minh.diep@intel.com>
Reviewed-by: Wei Liu <wei3.liu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
LU-3401 tests: make sanity test_27z robust and verbose

* do not depend on positional parameters for most output
* use "lfs getstripe [-c|-i|-s]" options to get specific values
* parse OST index/objid/seq on a line-by-line basis
* dispaly more infomation in error messages

Test-Parameters: envdefinitions=SLOW=yes,ENABLE_QUOTA=yes clientdistro=el6 serverdistro=el6 clientarch=x86_64 serverarch=x86_64 serverjobs=lustre-master serverbuildno=1508 testlist=sanity
Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: Iaf4bbd30a1f9c3bf47d634ddc5e122de60a25776
Reviewed-on: http://review.whamcloud.com/6468
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>