mirror of
https://github.com/ceph/ceph
synced 2024-12-26 05:25:09 +00:00
qa/cephfs: fix build failure for mdtest project
To fix the mdtest job failure (which happens because building mdtest project fails) do - 1. Use ior projects intead of mdtest project bcecause latter was merged into former. See: https://github.com/MDTEST-LANL/mdtest/blob/master/README.md 2. Purge mpich package and then install it again. This is a vital step that's needed to build ior project on Ubuntu 22.04. Fixes: https://tracker.ceph.com/issues/61574 Signed-off-by: Rishabh Dave <ridave@redhat.com>
This commit is contained in:
parent
ed2bd84014
commit
6a2e94b323
@ -3,18 +3,31 @@ tasks:
|
||||
- pexec:
|
||||
clients:
|
||||
- cd $TESTDIR
|
||||
- wget http://download.ceph.com/qa/mdtest-1.9.3.tgz
|
||||
- mkdir mdtest-1.9.3
|
||||
- cd mdtest-1.9.3
|
||||
- tar xvfz $TESTDIR/mdtest-1.9.3.tgz
|
||||
- rm $TESTDIR/mdtest-1.9.3.tgz
|
||||
- MPI_CC=mpicc make
|
||||
- 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/mdtest-1.9.3/mdtest -d $TESTDIR/gmnt -I 20 -z 5 -b 2 -R
|
||||
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/mdtest-1.9.3
|
||||
- rm -rf $TESTDIR/._mdtest-1.9.3
|
||||
- rm -rf $TESTDIR/binary
|
||||
|
Loading…
Reference in New Issue
Block a user