Project

General

Profile

Sepia » History » Version 54

Cron Tab, 11/22/2015 11:15 PM

1 54 Cron Tab
h3. Crontab<pre>MAILTO="ceph-infra@redhat.com;yweinste@redhat.com"
2
CEPH_QA_EMAIL="ceph-qa@ceph.com"
3
# Edit this file to introduce tasks to be run by cron.
4
# 
5
# Each task to run has to be defined through a single line
6
# indicating with different fields when the task will be run
7
# and what command to run for the task
8
# 
9
# To define the time you can provide concrete values for
10
# minute (m), hour (h), day of month (dom), month (mon),
11
# and day of week (dow) or use '*' in these fields (for 'any').# 
12
# Notice that tasks will be started based on the cron's system
13
# daemon's notion of time and timezones.
14
# 
15
# Output of the crontab jobs (including errors) is sent through
16
# email to the user the crontab file belongs to (unless redirected).
17
# 
18
# For example, you can run a backup of all your user accounts
19
# at 5 a.m every week with:
20
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
21
# 
22
# For more information see the manual pages of crontab(5) and cron(8)
23
# 
24
# m h  dom mon dow   command
25
PATH=/home/teuthology/src/teuthology_master/virtualenv/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
26
27
#Publish this crontab to the Tracker page http://tracker.ceph.com/projects/ceph-releases/wiki/Crontab
28
00 6 * * *  crontab=$(crontab -l | perl -p -e 's/&lt;/&lt;/g; s/&gt;/&gt;/g; s/&/&amp;/g') ; header=$(echo h3. Crontab ; echo) ; curl --verbose -X PUT --header 'Content-type: application/xml' --data-binary '&lt;?xml version="1.0"?&gt;&lt;wiki_page&gt;&lt;text&gt;'"$header"'&lt;pre&gt;'"$crontab"'&lt;/pre&gt;&lt;/text&gt;&lt;/wiki_page&gt;' http://tracker.ceph.com/projects/ceph-releases/wiki/sepia.xml?key=$(cat /etc/redmine-key)
29
30
# Ensure teuthology is up-to-date
31
55 13 * * *   cd /home/teuthology/src/teuthology_master && git pull
32
59 13 * * *   cd /home/teuthology/src/ceph-qa-suite_master && git pull
33
# Ensure ceph-sepia-secrets is up-to-date
34
57 13 * * *   cd /home/teuthology/ceph-sepia-secrets && git pull
35
36
#Powercycle tests - lets try it manually and get a green before we add it to the nightlies
37
#00 20 * * 2,4 teuthology-suite -v -c giant -k testing -m plana,burnupi,mira -s powercycle
38
39
#********** master branch
40
00 5 * * *   teuthology-suite -v -c master -m plana,burnupi,mira -s smoke -k distro -p 70
41
10 5 */3 * * teuthology-suite -v -c master -m plana,burnupi,mira -k distro -s big
42
43
00 23 * * 1,5 teuthology-suite -v -c master -m plana,burnupi,mira -s rbd
44
02 23 * * 2,6 teuthology-suite -v -c master -m plana,burnupi,mira -s rgw
45
04 23 * * 1,5 teuthology-suite -v -c master -m plana,burnupi,mira -s fs
46
06 23 * * 2,6 teuthology-suite -v -c master -m plana,burnupi,mira -k testing -s krbd
47
08 23 * * 1,5 teuthology-suite -v -c master -m plana,burnupi,mira -k testing -s kcephfs
48
10 23 * * 1,5 teuthology-suite -v -c master -m plana,burnupi,mira -k testing -s knfs
49
12 23 * * 2   teuthology-suite -v -c master -m plana,burnupi,mira -s hadoop
50
14 23 * * 2   teuthology-suite -v -c master -m plana,burnupi,mira -s samba
51
16 23 * * 2   teuthology-suite -v -c master -m plana,burnupi,mira -s rest
52
18 23 * * 6   teuthology-suite -v -c master -m plana,burnupi,mira -k testing -s multimds
53
#*********
54
55
########################## infernalis ##################
56
### 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
57
### % is escaped because it is a special character to chron
58
FILTER_OUT="--filter-out=random.yaml\,async.yaml"
59
60
00 21 * * 1 /home/teuthology/bin/schedule_rados.sh 0 infernalis "plana,burnupi,mira" $CEPH_QA_EMAIL $FILTER_OUT
61
00 21 * * 2 /home/teuthology/bin/schedule_rados.sh 1 infernalis "plana,burnupi,mira" $CEPH_QA_EMAIL $FILTER_OUT
62
00 21 * * 3 /home/teuthology/bin/schedule_rados.sh 2 infernalis "plana,burnupi,mira" $CEPH_QA_EMAIL $FILTER_OUT
63
00 21 * * 4 /home/teuthology/bin/schedule_rados.sh 3 infernalis "plana,burnupi,mira" $CEPH_QA_EMAIL $FILTER_OUT
64
00 21 * * 5 /home/teuthology/bin/schedule_rados.sh 4 infernalis "plana,burnupi,mira" $CEPH_QA_EMAIL $FILTER_OUT
65
00 21 * * 6 /home/teuthology/bin/schedule_rados.sh 5 infernalis "plana,burnupi,mira" $CEPH_QA_EMAIL $FILTER_OUT
66
00 21 * * 7 /home/teuthology/bin/schedule_rados.sh 6 infernalis "plana,burnupi,mira" $CEPH_QA_EMAIL $FILTER_OUT
67
##########################
68
69
00 23 * * 2 teuthology-suite -v -c infernalis -m plana,burnupi,mira -k distro -s rbd
70
02 23 * * 1 teuthology-suite -v -c infernalis -m plana,burnupi,mira -k distro -s rgw
71
04 23 * * 2 teuthology-suite -v -c infernalis -m plana,burnupi,mira  -s fs
72
06 23 * * 1 teuthology-suite -v -c infernalis -m plana,burnupi,mira -k testing -s krbd
73
08 23 * * 1 teuthology-suite -v -c infernalis -m plana,burnupi,mira -k testing -s kcephfs
74
10 23 * * 1 teuthology-suite -v -c infernalis -m plana,burnupi,mira -k testing -s knfs
75
12 23 * * 7 teuthology-suite -v -c infernalis -m plana,burnupi,mira  -s hadoop
76
14 23 * * 7 teuthology-suite -v -c infernalis -m plana,burnupi,mira  -s samba
77
16 23 * * 7 teuthology-suite -v -c infernalis -m plana,burnupi,mira  -s rest
78
18 23 * * 7 teuthology-suite -v -c infernalis -m plana,burnupi,mira  -k testing -s multimds
79
20 23 * * 2 teuthology-suite -v -c infernalis -m plana,burnupi,mira -k distro -s upgrade/client-upgrade
80
81
82
########################## jewel ##################
83
### per Sage we are nolding off on running rados on jewel for the time being
84
85
00 23 * * 3,7 teuthology-suite -v -c jewel -m plana,burnupi,mira -k distro -s rbd
86
02 23 * * 2,6 teuthology-suite -v -c jewel -m plana,burnupi,mira -k distro -s rgw
87
04 23 * * 3,7 teuthology-suite -v -c jewel -m plana,burnupi,mira  -s fs
88
06 23 * * 2,6 teuthology-suite -v -c jewel -m plana,burnupi,mira -k testing -s krbd
89
08 23 * * 2,6 teuthology-suite -v -c jewel -m plana,burnupi,mira -k testing -s kcephfs
90
10 23 * * 2,6 teuthology-suite -v -c jewel -m plana,burnupi,mira -k testing -s knfs
91
12 23 * * 7   teuthology-suite -v -c jewel -m plana,burnupi,mira  -s hadoop
92
14 23 * * 7   teuthology-suite -v -c jewel -m plana,burnupi,mira  -s samba
93
16 23 * * 7   teuthology-suite -v -c jewel -m plana,burnupi,mira  -s rest
94
18 23 * * 7   teuthology-suite -v -c jewel -m plana,burnupi,mira  -k testing -s multimds
95
20 23 * * 4,7 teuthology-suite -v -c jewel -m plana,burnupi,mira -k distro -s upgrade/client-upgrade
96
97
## removed for now YuriW - 10 1 * * 1,3,5 teuthology-suite -v -c firefly -m vps -k distro -s ceph-deploy ~/vps.yaml
98
## berametal part of ceph-deploy/hammer/infernalis scheduled in typica lab
99
10 1 * * 7   teuthology-suite -v -c hammer -m vps -k distro -s ceph-deploy ~/vps.yaml --filter ubuntu_14
100
10 2 * * 7   teuthology-suite -v -c infernalis -m vps -k distro -s ceph-deploy ~/vps.yaml
101
10 2 * * 1,3 teuthology-suite -v -c jewel -m vps -k distro -s ceph-deploy ~/vps.yaml
102
103
## Upgrade tests for infernalis - running on bare metal 
104
02 17 * * 4 teuthology-suite -v -c infernalis -k distro -m plana,burnupi,mira -s upgrade/hammer-x --filter ubuntu_
105
02 17 * * 1 teuthology-suite -v -c jewel -k distro -m plana,burnupi,mira -s upgrade/hammer-x --filter ubuntu_
106
107
#********** all below on VPS *****************
108
00 17 * * 2,5 teuthology-suite -v -c firefly -k distro -m vps -s upgrade/firefly --timeout 56000  ~/vps.yaml
109
110
## upgrade dumpling to firefly tests  
111
13 19 * * 7 teuthology-suite -v -c firefly -k distro -m vps -s upgrade/dumpling-x ~/vps.yaml
112
113
# Upgrade tests for giant - running on vps to cover multiple distros
114
#giant EOL 15 18 * * 3,6 teuthology-suite -v -c giant -k distro -m vps -s upgrade/dumpling-firefly-x ~/vps.yaml
115
#giant EOL 18 18 * * 3,6 teuthology-suite -v -c giant -k distro -m vps -s upgrade/firefly-x ~/vps.yaml
116
117
118
#new suite for infernalis, has to run on vps when passed on baremetal
119
18 13 * * 2,4 teuthology-suite -v -c infernalis -k distro -m plana,burnupi,mira -s upgrade/firefly-hammer-x --filter ubuntu_14
120
18 13 * * 3,5,7 teuthology-suite -v -c infernalis -k distro -m plana,burnupi,mira -s upgrade/infernalis --filter ubuntu_14
121
122
# Upgrade tests for hammer - running on vps to cover multiple distros
123
#removed the line below b/c the suite 'upgrade/dumpling-firefly-x' on vps runs out of memory on hammer, YuriW 3/29/15
124
#15 17 * * 1,3 teuthology-suite -v -c hammer -k distro -m vps -s upgrade/dumpling-firefly-x --suite-branch hammer ~/vps.yaml 
125
18 17 * * 1,5 teuthology-suite -v -c hammer -k distro -m vps -s upgrade/firefly-x ~/vps.yaml
126
#giant EOL 05 17 * * 1,5 teuthology-suite -v -c hammer -k distro -m vps -s upgrade/giant-x ~/vps.yaml
127
05 16 * * 1,5 teuthology-suite -v -c hammer -k distro -m vps -s upgrade/hammer ~/vps.yaml
128
129
# Upgrade tests for infernalis - running on vps to cover multiple distros
130
#removed the line below b/c the suite 'upgrade/dumpling-firefly-x' on vps runs out of memory on infernalis, YuriW 3/29/15
131
#dumpling-firefly-x/infernalis is an invalid upgrade path
132
#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
133
10 17 * * 0,2,4,5 teuthology-suite -v -c infernalis -k distro -m vps -s upgrade/hammer-x ~/vps.yaml
134
10 17 * * 1,2,5,7 teuthology-suite -v -c infernalis -k distro -m vps -s upgrade/infernalis ~/vps.yaml</pre>