summaryrefslogtreecommitdiffstats
path: root/qa/suites/fs/multiclient/tasks/mdtest.yaml
blob: 32720e488d4f57f0cb83c5fd0de20f66ad4ee91b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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