Project

General

Profile

Sepia » History » Version 36

Cron Tab, 09/23/2015 01:00 PM

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