ceph/qa/suites/fs/multiclient/tasks/mdtest.yaml

35 lines
1.1 KiB
YAML

# 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