summaryrefslogtreecommitdiffstats
path: root/qa/suites/fs/multiclient/tasks/mdtest.yaml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--qa/suites/fs/multiclient/tasks/mdtest.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/qa/suites/fs/multiclient/tasks/mdtest.yaml b/qa/suites/fs/multiclient/tasks/mdtest.yaml
new file mode 100644
index 000000000..32720e488
--- /dev/null
+++ b/qa/suites/fs/multiclient/tasks/mdtest.yaml
@@ -0,0 +1,34 @@
+# make sure we get the same MPI version on all hosts
+tasks:
+- pexec:
+ clients:
+ - set -x
+ - cd $TESTDIR
+ - sudo apt purge -y mpich
+ - sudo apt install -y mpich
+ # use ior project instead of mdtest project because latter has been
+ # merged into former. See:
+ # https://github.com/MDTEST-LANL/mdtest/blob/master/README.md
+ - wget http://download.ceph.com/qa/ior-3.3.0.tar.bz2
+ - tar xvfj ior-3.3.0.tar.bz2
+ - cd ior-3.3.0
+ # this option was set originall when mdtest binary was built using
+ # mdtest PR and not through ior project.
+ #- MPI_CC=mpicc make
+ - ./configure
+ - make
+ - make install DESTDIR=$TESTDIR/binary/
+ - cd $TESTDIR/
+ - sudo apt install -y tree
+ - tree binary/
+ - rm ior-3.3.0.tar.bz2
+ - rm -r ior-3.3.0
+ - ln -s $TESTDIR/mnt.* $TESTDIR/gmnt
+- ssh_keys:
+- mpi:
+ exec: $TESTDIR/binary/usr/local/bin/mdtest -d $TESTDIR/gmnt -I 20 -z 5 -b 2 -R
+- pexec:
+ clients:
+ - rm -f $TESTDIR/gmnt/ior.testfile
+ - rm -f $TESTDIR/gmnt
+ - rm -rf $TESTDIR/binary