Project

General

Profile

Sepia » History » Version 38

« Previous - Version 38/220 (diff) - Next » - Current version
Cron Tab, 10/02/2015 01:00 PM


Crontab
MAILTO="ceph-infra@redhat.com;yweinste@redhat.com" 
# Edit this file to introduce tasks to be run by cron.
# 
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
# 
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').# 
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
# 
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
# 
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
# 
# For more information see the manual pages of crontab(5) and cron(8)
# 
# m h  dom mon dow   command
PATH=/home/teuthology/src/teuthology_master/virtualenv/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

#Publish this crontab to the Tracker page http://tracker.ceph.com/projects/ceph-releases/wiki/Crontab
00 6 * * *  crontab=$(crontab -l | perl -p -e 's/</</g; s/>/>/g; s/&/&/g') ; header=$(echo h3. Crontab ; echo) ; curl --verbose -X PUT --header 'Content-type: application/xml' --data-binary '<?xml version="1.0"?><wiki_page><text>'"$header"'<pre>'"$crontab"'</pre></text></wiki_page>' http://tracker.ceph.com/projects/ceph-releases/wiki/sepia.xml?key=$(cat /etc/redmine-key)

# Ensure teuthology is up-to-date
55 13 * * *   cd /home/teuthology/src/teuthology_master && git pull
# Ensure ceph-sepia-secrets is up-to-date
57 13 * * *   cd /home/teuthology/ceph-sepia-secrets && git pull

#Powercycle tests - lets try it manually and get a green before we add it to the nightlies
#00 20 * * 2,4 teuthology-suite -v -c giant -k testing -m plana,burnupi,mira -s powercycle

#********** master branch
00 5 * * *   teuthology-suite -v -c master -m plana,burnupi,mira -s smoke -k distro -p 70
10 5 */3 * * teuthology-suite -v -c master -m plana,burnupi,mira -k distro -s big

00 23 * * 1,5 teuthology-suite -v -c master -m plana,burnupi,mira -s rbd
02 23 * * 2,6 teuthology-suite -v -c master -m plana,burnupi,mira -s rgw
04 23 * * 1,5 teuthology-suite -v -c master -m plana,burnupi,mira -s fs
06 23 * * 2,6 teuthology-suite -v -c master -m plana,burnupi,mira -k testing -s krbd
08 23 * * 1,5 teuthology-suite -v -c master -m plana,burnupi,mira -k testing -s kcephfs
10 23 * * 1,5 teuthology-suite -v -c master -m plana,burnupi,mira -k testing -s knfs
12 23 * * 2   teuthology-suite -v -c master -m plana,burnupi,mira -s hadoop
14 23 * * 2   teuthology-suite -v -c master -m plana,burnupi,mira -s samba
16 23 * * 2   teuthology-suite -v -c master -m plana,burnupi,mira -s rest
18 23 * * 6   teuthology-suite -v -c master -m plana,burnupi,mira -k testing -s multimds
#*********

##########################
### rados suite divided into 14 parts 1 part every day of the 2 weeks, the bc part does 0-6 on even weeks and 7-13 on odd
### % is escaped because it is a special character to chron
00 21 * * 1 /home/teuthology/bin/schedule_rados.sh 0 infernalis "plana,burnupi,mira" 
00 21 * * 2 /home/teuthology/bin/schedule_rados.sh 1 infernalis "plana,burnupi,mira" 
00 21 * * 3 /home/teuthology/bin/schedule_rados.sh 2 infernalis "plana,burnupi,mira" 
00 21 * * 4 /home/teuthology/bin/schedule_rados.sh 3 infernalis "plana,burnupi,mira" 
00 21 * * 5 /home/teuthology/bin/schedule_rados.sh 4 infernalis "plana,burnupi,mira" 
00 21 * * 6 /home/teuthology/bin/schedule_rados.sh 5 infernalis "plana,burnupi,mira" 
00 21 * * 7 /home/teuthology/bin/schedule_rados.sh 6 infernalis "plana,burnupi,mira" 
##########################

00 23 * * 2,6 teuthology-suite -v -c infernalis -m plana,burnupi,mira -k distro -s rbd
02 23 * * 1,5 teuthology-suite -v -c infernalis -m plana,burnupi,mira -k distro -s rgw
04 23 * * 2,6 teuthology-suite -v -c infernalis -m plana,burnupi,mira  -s fs
06 23 * * 1,5 teuthology-suite -v -c infernalis -m plana,burnupi,mira -k testing -s krbd
08 23 * * 1,5 teuthology-suite -v -c infernalis -m plana,burnupi,mira -k testing -s kcephfs
10 23 * * 1,5 teuthology-suite -v -c infernalis -m plana,burnupi,mira -k testing -s knfs
12 23 * * 7   teuthology-suite -v -c infernalis -m plana,burnupi,mira  -s hadoop
14 23 * * 7   teuthology-suite -v -c infernalis -m plana,burnupi,mira  -s samba
16 23 * * 7   teuthology-suite -v -c infernalis -m plana,burnupi,mira  -s rest
18 23 * * 7   teuthology-suite -v -c infernalis -m plana,burnupi,mira  -k testing -s multimds
20 23 * * 2,7 teuthology-suite -v -c infernalis -m plana,burnupi,mira -k distro -s upgrade/client-upgrade

## removed for now YuriW - 10 1 * * 1,3,5 teuthology-suite -v -c firefly -m vps -k distro -s ceph-deploy ~/vps.yaml
## berametal part of ceph-deploy/hammer/infernalis scheduled in typica lab
10 1 * * 7   teuthology-suite -v -c hammer -m vps -k distro -s ceph-deploy ~/vps.yaml
10 2 * * 7   teuthology-suite -v -c infernalis -m vps -k distro -s ceph-deploy ~/vps.yaml

## Upgrade tests for infernalis - running on bare metal 
02 17 * * 2,7 teuthology-suite -v -c infernalis -k distro -m plana,burnupi,mira -s upgrade/hammer-x --filter ubuntu_

#********** all below on VPS *****************
00 17 * * 2,5 teuthology-suite -v -c firefly -k distro -m vps -s upgrade/firefly --timeout 56000  ~/vps.yaml

## upgrade dumpling to firefly tests  
13 19 * * 7 teuthology-suite -v -c firefly -k distro -m vps -s upgrade/dumpling-x ~/vps.yaml

# Upgrade tests for giant - running on vps to cover multiple distros
15 18 * * 3,6 teuthology-suite -v -c giant -k distro -m vps -s upgrade/dumpling-firefly-x ~/vps.yaml
18 18 * * 3,6 teuthology-suite -v -c giant -k distro -m vps -s upgrade/firefly-x ~/vps.yaml

#new suite for infernalis, has to run on vps when passed on baremetal
#change to when infernalis is in ceph-qa-suite 
#18 13 * * 1,3,5 teuthology-suite -v -c infernalis -k distro -m plana,burnupi,mira -s upgrade/firefly-hammer-x/parallel --filter ubuntu_14
18 13 * * 1,3,5,7 teuthology-suite -v -c infernalis -k distro -m plana,burnupi,mira -s upgrade/firefly-hammer-x/parallel --suite-branch infernalis --filter ubuntu_14

# Upgrade tests for hammer - running on vps to cover multiple distros
#removed the line below b/c the suite 'upgrade/dumpling-firefly-x' on vps runs out of memory on hammer, YuriW 3/29/15
#15 17 * * 1,3 teuthology-suite -v -c hammer -k distro -m vps -s upgrade/dumpling-firefly-x --suite-branch hammer ~/vps.yaml 
18 17 * * 1,5 teuthology-suite -v -c hammer -k distro -m vps -s upgrade/firefly-x ~/vps.yaml
05 17 * * 1,5 teuthology-suite -v -c hammer -k distro -m vps -s upgrade/giant-x ~/vps.yaml
05 16 * * 1,5 teuthology-suite -v -c hammer -k distro -m vps -s upgrade/hammer ~/vps.yaml

# Upgrade tests for infernalis - running on vps to cover multiple distros
#removed the line below b/c the suite 'upgrade/dumpling-firefly-x' on vps runs out of memory on infernalis, YuriW 3/29/15
#15 17 * * 0,2,4,6 teuthology-suite -v -c infernalis -k distro -m vps -s upgrade/dumpling-firefly-x --suite-branch hammer ~/vps.yaml
10 17 * * 0,2,4,5 teuthology-suite -v -c infernalis -k distro -m vps -s upgrade/hammer-x ~/vps.yaml