This will make it to be much easier when debugging the qa tests failures.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
16 files changed:
# Note that the failed clones would be in retry loop and it's state would be 'pending' or 'in-progress'.
# It's state is not updated to 'failed' as the config update to gets ENOSPACE too.
-set -e
ignore_failure() {
if "$@"; then return 0; else return 0; fi
}
#!/bin/sh
-set -e
+set -ex
echo "making directory tree and files"
mkdir -p 1/a/b/c/
#!/bin/sh
-set -e
+set -ex
do_tarball() {
wget http://download.ceph.com/qa/$1
#!/usr/bin/env bash
-set -e
-set -x
+set -ex
WC_INPUT=/wc_input
WC_OUTPUT=/wc_output
#!/usr/bin/env bash
-set -e
+set -ex
wget -O linux.tar.gz http://download.ceph.com/qa/linux-5.4.tar.gz
#!/usr/bin/env bash
-set -e
+set -ex
echo "getting blogbench"
wget http://download.ceph.com/qa/blogbench-1.0.tar.bz2
#!/usr/bin/env bash
-set -e
+set -ex
bonnie_bin=`which bonnie++`
[ $? -eq 1 ] && bonnie_bin=/usr/sbin/bonnie++
#!/usr/bin/env bash
-set -e
-set -x
+set -ex
export BIN="${BIN:-cephfs-journal-tool --rank=cephfs:0}"
export JOURNAL_FILE=/tmp/journal.bin
#!/usr/bin/env bash
-set -e
+set -ex
dbench 1
#!/usr/bin/env bash
-set -e
+set -ex
dbench 1
dbench 10
#!/usr/bin/env bash
-set -e
+set -ex
mydir=`dirname $0`
-#!/bin/sh -x
+#!/bin/sh
-set -e
+set -ex
# To skirt around GPL compatibility issues:
wget http://download.ceph.com/qa/fsync-tester.c
#!/usr/bin/env bash
-set -e
+set -ex
echo "getting iogen"
wget http://download.ceph.com/qa/iogen_3.1p0.tar
#!/usr/bin/env bash
-set -e
+set -ex
# basic tests of O_SYNC, O_DSYNC, O_RSYNC
# test O_SYNC
#!/usr/bin/env bash
-set -e
+set -ex
wget http://download.ceph.com/qa/pjd-fstest-20090130-RC-aclfixes.tgz
tar zxvf pjd*.tgz
-#!/bin/sh
+#!/bin/sh -ex
true