diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
commit | 19fcec84d8d7d21e796c7624e521b60d28ee21ed (patch) | |
tree | 42d26aa27d1e3f7c0b8bd3fd14e7d7082f5008dc /qa/machine_types | |
parent | Initial commit. (diff) | |
download | ceph-upstream/16.2.11+ds.tar.xz ceph-upstream/16.2.11+ds.zip |
Adding upstream version 16.2.11+ds.upstream/16.2.11+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'qa/machine_types')
-rwxr-xr-x | qa/machine_types/schedule_rados_ovh.sh | 34 | ||||
-rwxr-xr-x | qa/machine_types/schedule_subset.sh | 53 | ||||
-rw-r--r-- | qa/machine_types/vps.yaml | 14 |
3 files changed, 101 insertions, 0 deletions
diff --git a/qa/machine_types/schedule_rados_ovh.sh b/qa/machine_types/schedule_rados_ovh.sh new file mode 100755 index 000000000..aeb37162e --- /dev/null +++ b/qa/machine_types/schedule_rados_ovh.sh @@ -0,0 +1,34 @@ +#!/usr/bin/env bash + +# $1 - part +# $2 - branch name +# $3 - machine name +# $4 - email address +# $5 - filter out (this arg is to be at the end of the command line for now) + +## example #1 +## (date +%U) week number +## % 2 - mod 2 (e.g. 0,1,0,1 ...) +## * 7 - multiplied by 7 (e.g. 0,7,0,7...) +## $1 day of the week (0-6) +## /14 for 2 weeks + +## example #2 +## (date +%U) week number +## % 4 - mod 4 (e.g. 0,1,2,3,0,1,2,3 ...) +## * 7 - multiplied by 7 (e.g. 0,7,14,21,0,7,14,21...) +## $1 day of the week (0-6) +## /28 for 4 weeks + +echo "Scheduling " $2 " branch" +if [ $2 = "master" ] ; then + # run master branch with --newest option looking for good sha1 7 builds back + teuthology-suite -v -c $2 -m $3 -k distro -s rados --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/28 --newest 7 -e $4 ~/vps.yaml $5 +elif [ $2 = "jewel" ] ; then + # run jewel branch with /40 jobs + teuthology-suite -v -c $2 -m $3 -k distro -s rados --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/40 -e $4 ~/vps.yaml $5 +else + # run NON master branches without --newest + teuthology-suite -v -c $2 -m $3 -k distro -s rados --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/28 -e $4 ~/vps.yaml $5 +fi + diff --git a/qa/machine_types/schedule_subset.sh b/qa/machine_types/schedule_subset.sh new file mode 100755 index 000000000..0970b2948 --- /dev/null +++ b/qa/machine_types/schedule_subset.sh @@ -0,0 +1,53 @@ +#!/usr/bin/env bash + +#command line => CEPH_BRANCH=<branch>; MACHINE_NAME=<machine_type>; SUITE_NAME=<suite>; ../schedule_subset.sh <day_of_week> $CEPH_BRANCH $MACHINE_NAME $SUITE_NAME $CEPH_QA_EMAIL $KERNEL <$FILTER> + +# $1 - part (day of week) +# $2 - branch name +# $3 - machine name +# $4 - suite name +# $5 - email address +# $6 - kernel (distro or testing) +# $7 - filter out (this arg is to be at the end of the command line for now) + +## example #1 +## (date +%U) week number +## % 2 - mod 2 (e.g. 0,1,0,1 ...) +## * 7 - multiplied by 7 (e.g. 0,7,0,7...) +## $1 day of the week (0-6) +## /14 for 2 weeks + +## example #2 +## (date +%U) week number +## % 4 - mod 4 (e.g. 0,1,2,3,0,1,2,3 ...) +## * 7 - multiplied by 7 (e.g. 0,7,14,21,0,7,14,21...) +## $1 day of the week (0-6) +## /28 for 4 weeks + +echo "Scheduling " $2 " branch" +if [ $2 = "master" ] ; then + # run master branch with --newest option looking for good sha1 7 builds back with /100000 jobs + # using '-p 80 --force-priority' as an execption ATM + teuthology-suite -v -c $2 -m $3 -k $6 -s $4 --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/100000 --newest 7 -e $5 $7 -p 80 --force-priority +elif [ $2 = "jewel" ] ; then + # run jewel branch with /40 jobs + teuthology-suite -v -c $2 -m $3 -k $6 -s $4 --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/40 -e $5 $7 +elif [ $2 = "kraken" ] ; then + # run kraken branch with /999 jobs + teuthology-suite -v -c $2 -m $3 -k $6 -s $4 --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/999 -e $5 $7 +elif [ $2 = "luminous" ] ; then + # run luminous branch with /999 jobs + teuthology-suite -v -c $2 -m $3 -k $6 -s $4 --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/999 -e $5 $7 +elif [ $2 = "mimic" ] ; then + # run mimic branch with /999 jobs + teuthology-suite -v -c $2 -m $3 -k $6 -s $4 --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/999 -e $5 $7 +elif [ $2 = "nautilus" ] ; then + # run nautilus branch with /2999 jobs == ~ 250 jobs + teuthology-suite -v -c $2 -m $3 -k $6 -s $4 --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/2999 -e $5 $7 +elif [ $2 = "octopus" ] ; then + teuthology-suite -v -c $2 -m $3 -k $6 -s $4 --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/9999 -e $5 $7 + # run nautilus branch with /100000 jobs fir rados == ~ 300 job +else + # run NON master branches without --newest + teuthology-suite -v -c $2 -m $3 -k $6 -s $4 --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/999 -e $5 $7 +fi diff --git a/qa/machine_types/vps.yaml b/qa/machine_types/vps.yaml new file mode 100644 index 000000000..64a3da47d --- /dev/null +++ b/qa/machine_types/vps.yaml @@ -0,0 +1,14 @@ +overrides: + ceph: + conf: + global: + osd heartbeat grace: 100 + # this line to address issue #1017 + mon lease: 15 + mon lease ack timeout: 25 + s3tests: + idle_timeout: 1200 + ceph-fuse: + client.0: + mount_wait: 60 + mount_timeout: 120 |