Project

General

Profile

Ovh » History » Version 20

Cron Tab, 03/15/2016 06:00 AM

1 1 Cron Tab
h3. Crontab<pre>MAILTO="ceph-infra@redhat.com"
2
CEPH_QA_EMAIL="ceph-qa@ceph.com"
3 3 Cron Tab
MACHINE_NAME="openstack"
4
FILTER_OUT="--filter-out=random.yaml\,async.yaml"
5 1 Cron Tab
6
# Edit this file to introduce tasks to be run by cron.
7
# 
8
# Each task to run has to be defined through a single line
9
# indicating with different fields when the task will be run
10
# and what command to run for the task
11
# 
12
# To define the time you can provide concrete values for
13
# minute (m), hour (h), day of month (dom), month (mon),
14
# and day of week (dow) or use '*' in these fields (for 'any').# 
15
# Notice that tasks will be started based on the cron's system
16
# daemon's notion of time and timezones.
17
# 
18
# Output of the crontab jobs (including errors) is sent through
19
# email to the user the crontab file belongs to (unless redirected).
20
# 
21
# For example, you can run a backup of all your user accounts
22
# at 5 a.m every week with:
23
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
24
# 
25
# For more information see the manual pages of crontab(5) and cron(8)
26
# 
27
# m h  dom mon dow   command
28
29
PATH=/home/teuthology/src/teuthology_master/virtualenv/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
30
31 16 Cron Tab
# Ensure ceph-sepia-secrets is up-to-date
32
0 0 * * *   cd /home/teuthology/ceph-sepia-secrets && git pull
33
34 2 Cron Tab
35
#Publish this crontab to the Tracker page http://tracker.ceph.com/projects/ceph-releases/wiki/Ovh
36
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/ovh.xml?key=$(cat /etc/redmine-key)
37
38 3 Cron Tab
#Publish this crontab to the Tracker page http://tracker.ceph.com/projects/ceph-releases/wiki/Sepia THIS SHOULD RUN IN SEPIA
39
#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)
40
41
42 1 Cron Tab
# Ensure teuthology is up-to-date
43 20 Cron Tab
55 13 * * *   cd /home/teuthology/src/teuthology_master && git pull && /home/teuthology/src/teuthology_master/bootstrap
44 1 Cron Tab
59 13 * * *   cd /home/teuthology/src/ceph-qa-suite_master && git pull
45
# Ensure ceph-sepia-secrets is up-to-date not needed in ovh
46
#57 13 * * *   cd /home/teuthology/ceph-sepia-secrets && git pull
47 2 Cron Tab
48 3 Cron Tab
#Powercycle tests - lets try it manually and get a green before we add it to the nightlies
49
#00 20 * * 2,4 teuthology-suite -v -c giant -k testing -m plana,burnupi,mira -s powercycle
50 2 Cron Tab
51 18 Cron Tab
26 23 * * 1,3,5,7 teuthology-suite -v -c master -m $MACHINE_NAME -s ceph-ansible -e $CEPH_QA_EMAIL ~/vps.yaml
52
53
54 3 Cron Tab
#********** master branch
55 14 Cron Tab
00 5 * * *   teuthology-suite -v -c master -m $MACHINE_NAME -s smoke -k distro -p 70 -e $CEPH_QA_EMAIL ~/vps.yaml
56
10 5 */3 * * teuthology-suite -v -c master -m $MACHINE_NAME -k distro -s big -e $CEPH_QA_EMAIL ~/vps.yaml
57 2 Cron Tab
58 17 Cron Tab
#--filter-out rbd_cli_tests.yaml while waiting for a fix issue 14825
59
00 16 * * 1,6 teuthology-suite -v -c master -m $MACHINE_NAME -s rbd -e $CEPH_QA_EMAIL ~/vps.yaml --filter-out rbd_cli_tests.yaml
60 15 Cron Tab
#**** MOVED TO SEPIA b/c OVH issues START *****
61
#02 17 * * 1,6 teuthology-suite -v -c master -m $MACHINE_NAME -s rgw -e $CEPH_QA_EMAIL ~/vps.yaml
62
#04 18 * * 1,6 teuthology-suite -v -c master -m $MACHINE_NAME -s fs -e $CEPH_QA_EMAIL ~/vps.yaml
63
#08 20 * * 1,6 teuthology-suite -v -c master -m $MACHINE_NAME -k testing -s kcephfs -e $CEPH_QA_EMAIL ~/vps.yaml
64
#10 21 * * 1,6 teuthology-suite -v -c master -m $MACHINE_NAME -k testing -s knfs -e $CEPH_QA_EMAIL ~/vps.yaml
65
#12 22 * * 1,6 teuthology-suite -v -c master -m $MACHINE_NAME -s hadoop -e $CEPH_QA_EMAIL ~/vps.yaml
66
#14 23 * * 1,6 teuthology-suite -v -c master -m $MACHINE_NAME -s samba -e $CEPH_QA_EMAIL ~/vps.yaml
67
#**** MOVED TO SEPIA b/c OVH issues END *****
68 14 Cron Tab
06 19 * * 1,6 teuthology-suite -v -c master -m $MACHINE_NAME -k testing -s krbd -e $CEPH_QA_EMAIL ~/vps.yaml
69
16 23 * * 1,6 teuthology-suite -v -c master -m $MACHINE_NAME -s rest -e $CEPH_QA_EMAIL ~/vps.yaml
70 6 Cron Tab
#removed per Greg's request 18 23 * * 1,3 teuthology-suite -v -c master -m $MACHINE_NAME -k testing -s multimds -e $CEPH_QA_EMAIL
71 3 Cron Tab
#*********
72
73
74 2 Cron Tab
########################## infernalis ##################
75
### 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
76
### % is escaped because it is a special character to chron
77 5 Cron Tab
### format for filters /home/teuthology/bin/schedule_rados.sh 0 infernalis $MACHINE_NAME $CEPH_QA_EMAIL $FILTER_OUT
78 1 Cron Tab
79 5 Cron Tab
80 12 Cron Tab
00 02 * * 1 /home/teuthology/bin/schedule_rados.sh 0 infernalis $MACHINE_NAME $CEPH_QA_EMAIL
81
00 02 * * 2 /home/teuthology/bin/schedule_rados.sh 1 infernalis $MACHINE_NAME $CEPH_QA_EMAIL
82
00 02 * * 3 /home/teuthology/bin/schedule_rados.sh 2 infernalis $MACHINE_NAME $CEPH_QA_EMAIL
83
00 02 * * 4 /home/teuthology/bin/schedule_rados.sh 3 infernalis $MACHINE_NAME $CEPH_QA_EMAIL
84
00 02 * * 5 /home/teuthology/bin/schedule_rados.sh 4 infernalis $MACHINE_NAME $CEPH_QA_EMAIL
85
00 02 * * 6 /home/teuthology/bin/schedule_rados.sh 5 infernalis $MACHINE_NAME $CEPH_QA_EMAIL
86
00 02 * * 7 /home/teuthology/bin/schedule_rados.sh 6 infernalis $MACHINE_NAME $CEPH_QA_EMAIL
87 1 Cron Tab
##########################
88
89 17 Cron Tab
#--filter-out rbd_cli_tests.yaml while waiting for a fix issue 14825
90
00 14 * * 7 teuthology-suite -v -c infernalis -m $MACHINE_NAME -k distro -s rbd -e $CEPH_QA_EMAIL ~/vps.yaml --filter-out rbd_cli_tests.yaml
91 14 Cron Tab
02 15 * * 7 teuthology-suite -v -c infernalis -m $MACHINE_NAME -k distro -s rgw -e $CEPH_QA_EMAIL ~/vps.yaml
92
04 16 * * 7 teuthology-suite -v -c infernalis -m $MACHINE_NAME -s fs -e $CEPH_QA_EMAIL ~/vps.yaml
93
06 17 * * 7 teuthology-suite -v -c infernalis -m $MACHINE_NAME -k testing -s krbd -e $CEPH_QA_EMAIL ~/vps.yaml
94
08 18 * * 7 teuthology-suite -v -c infernalis -m $MACHINE_NAME -k testing -s kcephfs -e $CEPH_QA_EMAIL ~/vps.yaml
95
10 19 * * 7 teuthology-suite -v -c infernalis -m $MACHINE_NAME -k testing -s knfs -e $CEPH_QA_EMAIL ~/vps.yaml
96
12 20 * * 7 teuthology-suite -v -c infernalis -m $MACHINE_NAME -s hadoop -e $CEPH_QA_EMAIL ~/vps.yaml
97
14 21 * * 7 teuthology-suite -v -c infernalis -m $MACHINE_NAME -s samba -e $CEPH_QA_EMAIL ~/vps.yaml
98
16 22 * * 7 teuthology-suite -v -c infernalis -m $MACHINE_NAME -s rest -e $CEPH_QA_EMAIL ~/vps.yaml
99 6 Cron Tab
#removed per Greg's request 18 23 * * 2 teuthology-suite -v -c infernalis -m $MACHINE_NAME -k testing -s multimds -e $CEPH_QA_EMAIL
100 14 Cron Tab
20 23 * * 7 teuthology-suite -v -c infernalis -m $MACHINE_NAME -k distro -s upgrade/client-upgrade -e $CEPH_QA_EMAIL ~/vps.yaml
101
10 23 * * 7 teuthology-suite -v -c infernalis -m $MACHINE_NAME -k distro -s ceph-deploy -e $CEPH_QA_EMAIL ~/vps.yaml
102 1 Cron Tab
103
########################## jewel ##################
104 5 Cron Tab
### 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
105
### % is escaped because it is a special character to chron
106
### format for filters /home/teuthology/bin/schedule_rados.sh 0 infernalis $MACHINE_NAME $CEPH_QA_EMAIL $FILTER_OUT
107
108
109 9 Cron Tab
#00 19 * * 1 CEPH_BRANCH=jewel; /home/teuthology/bin/schedule_rados.sh 0 $CEPH_BRANCH $MACHINE_NAME $CEPH_QA_EMAIL
110
#00 19 * * 2 CEPH_BRANCH=jewel; /home/teuthology/bin/schedule_rados.sh 1 $CEPH_BRANCH $MACHINE_NAME $CEPH_QA_EMAIL
111
#00 19 * * 3 CEPH_BRANCH=jewel; /home/teuthology/bin/schedule_rados.sh 2 $CEPH_BRANCH $MACHINE_NAME $CEPH_QA_EMAIL
112
#00 19 * * 4 CEPH_BRANCH=jewel; /home/teuthology/bin/schedule_rados.sh 3 $CEPH_BRANCH $MACHINE_NAME $CEPH_QA_EMAIL
113
#00 19 * * 5 CEPH_BRANCH=jewel; /home/teuthology/bin/schedule_rados.sh 4 $CEPH_BRANCH $MACHINE_NAME $CEPH_QA_EMAIL
114
#00 19 * * 6 CEPH_BRANCH=jewel; /home/teuthology/bin/schedule_rados.sh 5 $CEPH_BRANCH $MACHINE_NAME $CEPH_QA_EMAIL
115
#00 19 * * 7 CEPH_BRANCH=jewel; /home/teuthology/bin/schedule_rados.sh 6 $CEPH_BRANCH $MACHINE_NAME $CEPH_QA_EMAIL
116 5 Cron Tab
117
##########################
118
119
########################## jewel ##################
120 1 Cron Tab
121 9 Cron Tab
#00 23 * * 3,5 teuthology-suite -v -c jewel -m $MACHINE_NAME -k distro -s rbd -e $CEPH_QA_EMAIL
122
#02 23 * * 3,5 teuthology-suite -v -c jewel -m $MACHINE_NAME -k distro -s rgw -e $CEPH_QA_EMAIL
123
#04 23 * * 3,5 teuthology-suite -v -c jewel -m $MACHINE_NAME -s fs -e $CEPH_QA_EMAIL
124
#06 23 * * 3,5 teuthology-suite -v -c jewel -m $MACHINE_NAME -k testing -s krbd -e $CEPH_QA_EMAIL
125
#08 23 * * 3,5 teuthology-suite -v -c jewel -m $MACHINE_NAME -k testing -s kcephfs -e $CEPH_QA_EMAIL
126
#10 23 * * 3,5 teuthology-suite -v -c jewel -m $MACHINE_NAME -k testing -s knfs -e $CEPH_QA_EMAIL
127
#12 23 * * 3,5 teuthology-suite -v -c jewel -m $MACHINE_NAME -s hadoop -e $CEPH_QA_EMAIL
128
#14 23 * * 3,5 teuthology-suite -v -c jewel -m $MACHINE_NAME -s samba -e $CEPH_QA_EMAIL
129
#16 23 * * 3,5 teuthology-suite -v -c jewel -m $MACHINE_NAME -s rest -e $CEPH_QA_EMAIL
130 6 Cron Tab
#removed per Greg's request 18 23 * * 3,5 teuthology-suite -v -c jewel -m $MACHINE_NAME -k testing -s multimds -e $CEPH_QA_EMAIL
131 9 Cron Tab
#20 23 * * 3,5 teuthology-suite -v -c jewel -m $MACHINE_NAME -k distro -s upgrade/client-upgrade -e $CEPH_QA_EMAIL
132
#10 23 * * 3,5 teuthology-suite -v -c jewel -m $MACHINE_NAME -k distro -s ceph-deploy -e $CEPH_QA_EMAIL
133 3 Cron Tab
134 1 Cron Tab
##### running off -t wip-13622-fix-wusui temporarily
135 4 Cron Tab
##### ALL REMOVED EOL FIREFLY
136
#30 22 * * 1   teuthology-suite -v -c firefly -m $MACHINE_NAME -k distro -s rados -e $CEPH_QA_EMAIL -t wip-13622-fix-wusui
137
#00 23 * * 2   teuthology-suite -v -c firefly -m $MACHINE_NAME -k distro -s rbd -e $CEPH_QA_EMAIL -t wip-13622-fix-wusui
138
#02 23 * * 2   teuthology-suite -v -c firefly -m $MACHINE_NAME -k distro -s rgw -e $CEPH_QA_EMAIL -t wip-13622-fix-wusui
139
#04 23 * * 2   teuthology-suite -v -c firefly -m $MACHINE_NAME -k distro -s fs -e $CEPH_QA_EMAILi -t wip-13622-fix-wusui
140
#06 23 * * 2   teuthology-suite -v -c firefly -m $MACHINE_NAME -k testing -s krbd -e $CEPH_QA_EMAIL -t wip-13622-fix-wusui
141
#08 23 * * 2   teuthology-suite -v -c firefly -m $MACHINE_NAME -k testing -s kcephfs -e $CEPH_QA_EMAIL -t wip-13622-fix-wusui
142
#10 23 * * 2   teuthology-suite -v -c firefly -m $MACHINE_NAME -k distro -s samba --filter ubuntu_ -e $CEPH_QA_EMAIL -t wip-13622-fix-wusui
143
#20 16 * * 2   teuthology-suite -v -c firefly -m $MACHINE_NAME -k distro -s ceph-deploy --filter ubuntu_ -e $CEPH_QA_EMAIL -t wip-13622-fix-wusui
144
#05 17 * * 2   teuthology-suite -v -c firefly -k distro -m $MACHINE_NAME -s upgrade/firefly --filter ubuntu_ -e $CEPH_QA_EMAIL -t wip-13622-fix-wusui
145 1 Cron Tab
146
##########################
147
### rados suite divided into 14 parts 1 part every day of the 2 weeks
148
149 11 Cron Tab
### temporary running hammer rados on smithi per Sam's request as we observe many ENOSPC failures in ovh lab
150
151
#00 21 * * 1 /home/teuthology/bin/schedule_rados.sh 0 hammer $MACHINE_NAME $CEPH_QA_EMAIL
152
#00 21 * * 2 /home/teuthology/bin/schedule_rados.sh 1 hammer $MACHINE_NAME $CEPH_QA_EMAIL
153
#55 20 * * 3 /home/teuthology/bin/schedule_rados.sh 2 hammer $MACHINE_NAME $CEPH_QA_EMAIL
154
#00 21 * * 4 /home/teuthology/bin/schedule_rados.sh 3 hammer $MACHINE_NAME $CEPH_QA_EMAIL
155
#00 21 * * 5 /home/teuthology/bin/schedule_rados.sh 4 hammer $MACHINE_NAME $CEPH_QA_EMAIL
156 1 Cron Tab
#00 21 * * 6 /home/teuthology/bin/schedule_rados.sh 5 hammer $MACHINE_NAME $CEPH_QA_EMAIL
157
#00 21 * * 7 /home/teuthology/bin/schedule_rados.sh 6 hammer $MACHINE_NAME $CEPH_QA_EMAIL
158 11 Cron Tab
159 17 Cron Tab
#--filter-out rbd_cli_tests.yaml while waiting for a fix issue 14825
160
00 15 * * 7 teuthology-suite -v -c hammer -m $MACHINE_NAME -k distro -s rbd -e $CEPH_QA_EMAIL ~/vps.yaml --filter-out rbd_cli_tests.yaml
161 14 Cron Tab
02 16 * * 7 teuthology-suite -v -c hammer -m $MACHINE_NAME -k distro -s rgw -e $CEPH_QA_EMAIL ~/vps.yaml
162
00 17 * * 7 teuthology-suite -v -c hammer -m $MACHINE_NAME -s fs -e $CEPH_QA_EMAIL ~/vps.yaml
163
06 18 * * 7 teuthology-suite -v -c hammer -m $MACHINE_NAME -k testing -s krbd -e $CEPH_QA_EMAIL ~/vps.yaml
164
08 19 * * 7 teuthology-suite -v -c hammer -m $MACHINE_NAME -k testing -s kcephfs -e $CEPH_QA_EMAIL ~/vps.yaml
165
10 20 * * 7 teuthology-suite -v -c hammer -m $MACHINE_NAME -k testing -s knfs -e $CEPH_QA_EMAIL ~/vps.yaml
166
12 23 * * 7 teuthology-suite -v -c hammer -m $MACHINE_NAME -s hadoop -e $CEPH_QA_EMAIL ~/vps.yaml
167
14 23 * * 7 teuthology-suite -v -c hammer -m $MACHINE_NAME -s samba -e $CEPH_QA_EMAIL ~/vps.yaml
168
16 23 * * 7 teuthology-suite -v -c hammer -m $MACHINE_NAME -s rest -e $CEPH_QA_EMAIL ~/vps.yaml
169 6 Cron Tab
#removed per Greg's request 18 18 * * 7 teuthology-suite -v -c hammer -m $MACHINE_NAME -s -k testing multimds -e $CEPH_QA_EMAIL
170 14 Cron Tab
11 21 * * 7 teuthology-suite -v -c hammer -m $MACHINE_NAME -k distro -s upgrade/client-upgrade -e $CEPH_QA_EMAIL ~/vps.yaml
171
10 21 * * 7 teuthology-suite -v -c hammer -m $MACHINE_NAME -k distro -s ceph-deploy -e $CEPH_QA_EMAIL ~/vps.yaml
172 1 Cron Tab
173 3 Cron Tab
######## UPGRADES
174 19 Cron Tab
#STOPPED running 10 17 1 * *     teuthology-suite -v -c hammer -k distro -m $MACHINE_NAME -s upgrade/dumpling-firefly-x --timeout 54000 -e $CEPH_QA_EMAIL ~/vps.yaml
175 14 Cron Tab
13 17 * * 4     teuthology-suite -v -c hammer -k distro -m $MACHINE_NAME -s upgrade/firefly-x -e $CEPH_QA_EMAIL ~/vps.yaml
176
05 20 * * 3,7   teuthology-suite -v -c hammer -k distro -m $MACHINE_NAME -s upgrade/hammer -e $CEPH_QA_EMAIL ~/vps.yaml
177 1 Cron Tab
 
178 19 Cron Tab
10 02 * * *     teuthology-suite -v -c jewel -k distro -m $MACHINE_NAME -s upgrade/hammer-x -e $CEPH_QA_EMAIL ~/vps.yaml
179
10 02 * * *     teuthology-suite -v -c jewel -k distro -m $MACHINE_NAME -s upgrade/infernalis-x -e $CEPH_QA_EMAIL ~/vps.yaml
180 3 Cron Tab
181 4 Cron Tab
#00 17 * * 2     teuthology-suite -v -c firefly -k distro -m $MACHINE_NAME -s upgrade/firefly -e $CEPH_QA_EMAIL
182
#13 19 * * 7     teuthology-suite -v -c firefly -k distro -m $MACHINE_NAME -s upgrade/dumpling-x -e $CEPH_QA_EMAIL
183 3 Cron Tab
184 14 Cron Tab
02 17 * * 2,4,6 teuthology-suite -v -c infernalis -k distro -m $MACHINE_NAME -s upgrade/hammer-x -e $CEPH_QA_EMAIL ~/vps.yaml
185
18 11 * * 2,4,6 teuthology-suite -v -c infernalis -k distro -m $MACHINE_NAME -s upgrade/firefly-hammer-x -e $CEPH_QA_EMAIL ~/vps.yaml
186
18 13 * * 3,5,7 teuthology-suite -v -c infernalis -k distro -m $MACHINE_NAME -s upgrade/infernalis -e $CEPH_QA_EMAIL ~/vps.yaml</pre>