# rest of arguments passed directly to teuthology-suite
echo "Scheduling $branch branch"
-teuthology-suite -v -c "$branch" -m "$machine" -k "$kernel" -s "$suite" --ceph-repo git://git.ceph.com/ceph.git --suite-repo git://git.ceph.com/ceph.git --subset "$((RANDOM % partitions))/$partitions" --newest 100 -e "$email" "$@"
+teuthology-suite -v -c "$branch" -m "$machine" -k "$kernel" -s "$suite" --ceph-repo https://git.ceph.com/ceph.git --suite-repo https://git.ceph.com/ceph.git --subset "$((RANDOM % partitions))/$partitions" --newest 100 -e "$email" "$@"
# xfstests is downloaded from this git repository and then built.
# XFSTESTS_REPO="git://oss.sgi.com/xfs/cmds/xfstests.git"
-XFSTESTS_REPO="git://git.ceph.com/xfstests.git"
+XFSTESTS_REPO="https://git.ceph.com/xfstests-dev.git"
# Default command line option values
COUNT="1"
git clone "${XFSTESTS_REPO}"
- cd xfstests
+ cd xfstests-dev
# FIXME: use an older version before the tests were rearranged!
git reset --hard e5f1a13792f20cfac097fef98007610b422f2cac
function remove_xfstests() {
arg_count 0 $#
- rm -rf "${TESTDIR}/xfstests"
+ rm -rf "${TESTDIR}/xfstests-dev"
rm -rf "${XFSTESTS_DIR}"
}
"""
import logging
import pipes
+import os
from teuthology import misc as teuthology
from teuthology.orchestra import run as tor
'mkdir', '--', srcdir,
run.Raw('&&'),
'git',
- 'archive',
- '--remote=git://git.ceph.com/ceph.git',
- '%s:qa/workunits' % refspec,
- run.Raw('|'),
- 'tar',
- '-C', srcdir,
- '-x',
- '-f-',
+ 'clone',
+ 'https://git.ceph.com/ceph.git',
+ srcdir,
run.Raw('&&'),
'cd', '--', srcdir,
run.Raw('&&'),
+ 'git', 'checkout', '-b', 'restart_test', str(refspec),
+ run.Raw('&&'),
+ 'cd', '--', 'qa/workunits',
+ run.Raw('&&'),
'if', 'test', '-e', 'Makefile', run.Raw(';'), 'then', 'make', run.Raw(';'), 'fi',
run.Raw('&&'),
'find', '-executable', '-type', 'f', '-printf', r'%P\0',
],
)
restarts = sorted(remote.read_file(f'{testdir}/restarts.list').decode().split('\0'))
- return (srcdir, restarts)
+ return (os.path.join(srcdir, 'qa/workunits'), restarts)
def task(ctx, config):
"""
retry() {
rm -rf ceph
# double the timeout value
- timeout 3600 git clone git://git.ceph.com/ceph.git
+ timeout 3600 git clone https://git.ceph.com/ceph.git
}
rm -rf ceph
-timeout 1800 git clone git://git.ceph.com/ceph.git
+timeout 1800 git clone https://git.ceph.com/ceph.git
trap - EXIT
cd ceph
set -e
-git clone git://git.ceph.com/xfstests.git
-cd xfstests
+git clone https://git.ceph.com/xfstests-dev.git
+cd xfstests-dev
git checkout 12973fc04fd10d4af086901e10ffa8e48866b735
make -j4
cd ..
-cp xfstests/ltp/fsx .
+cp xfstests-dev/ltp/fsx .
OPTIONS="-z" # don't use zero range calls; not supported by cephfs