]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/cephfs: fix ior project build failure 53079/head
authorRishabh Dave <ridave@redhat.com>
Tue, 22 Aug 2023 09:53:05 +0000 (15:23 +0530)
committerRishabh Dave <ridave@redhat.com>
Tue, 5 Sep 2023 09:51:32 +0000 (15:21 +0530)
1. Re-install mpich packages.
2. Use a more recent version of ior project.
3. Log contents of binary directory for easy debugging.
4. Set "-x" for bash session so commands are also logged.

Fixes: https://tracker.ceph.com/issues/61399
Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/suites/fs/multiclient/tasks/ior-shared-file.yaml

index 5329fa67ff1eabcbfd0a927b079f3f9bc6feecde..8293595e2d09a4304b4beaf4a1a74916aaf91a60 100644 (file)
@@ -2,16 +2,24 @@
 tasks:
 - pexec:
     clients:
+      - set -x
       - cd $TESTDIR
-      - wget http://download.ceph.com/qa/ior.tbz2
-      - tar xvfj ior.tbz2
-      - cd ior
+      # partially or incorrectly installed mpich will create a mess and the
+      # configure script or the build process (which is initiated using "make"
+      # command) for the ior project will fail
+      - sudo apt purge -y mpich
+      - sudo apt install -y mpich
+      - 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
       - ./configure
       - make
       - make install DESTDIR=$TESTDIR/binary/
       - cd $TESTDIR/
-      - rm ior.tbz2
-      - rm -r ior
+      - 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: