From: Laura Flores Date: Thu, 30 Mar 2023 15:38:14 +0000 (-0500) Subject: qa/crontab: check older builds on teuthology/nop when necessary X-Git-Tag: v19.0.0~1476^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7f6c3f393e6140b108f18278f26056b1ae29b745;p=ceph-ci.git qa/crontab: check older builds on teuthology/nop when necessary Today's scheduled run failed since the newest build of main had failed. If we add `-n 10` to the command, this will make it so we start at the newest build and backtrack up to 10 older builds if necessary. A higher number than that is not necessary, as the suite failing to run will signal to us that more than the last 10 main builds are broken in Shaman. Signed-off-by: Laura Flores --- diff --git a/qa/crontab/teuthology-cronjobs b/qa/crontab/teuthology-cronjobs index bc1e92acb22..1fc21ed0c35 100644 --- a/qa/crontab/teuthology-cronjobs +++ b/qa/crontab/teuthology-cronjobs @@ -44,7 +44,7 @@ CEPH_QA_EMAIL="ceph-qa@ceph.io" # 01 01 * * 0 CEPH_BRANCH=main; MACHINE_NAME=smithi; SUITE_NAME=crimson-rados; KERNEL=distro; /home/teuthology/bin/cron_wrapper /home/teuthology/bin/schedule_subset.sh 100000 $CEPH_BRANCH $MACHINE_NAME $SUITE_NAME $CEPH_QA_EMAIL $KERNEL ## ********** teuthology/nop on main branch - daily -0 0 * * * CEPH_BRANCH=main; MACHINE_NAME=smithi; /home/teuthology/bin/cron_wrapper teuthology-suite -v -c $CEPH_BRANCH -m $MACHINE_NAME -s teuthology/nop -k distro -e $CEPH_QA_EMAIL -p 50 +0 0 * * * CEPH_BRANCH=main; MACHINE_NAME=smithi; /home/teuthology/bin/cron_wrapper teuthology-suite -v -c $CEPH_BRANCH -n 10 -m $MACHINE_NAME -s teuthology/nop -k distro -e $CEPH_QA_EMAIL -p 50 ## quincy branch runs - weekly ## suites rados and rbd use --subset arg and must be call with schedule_subset.sh