Project

General

Profile

Sepia » History » Version 3

Cron Tab, 05/02/2015 01:00 PM

1 1 Cron Tab
h3. Crontab<pre>MAILTO="yweinste@redhat.com"
2
# 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 3 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 3 Cron Tab
00 6 * * *  teuthology-suite -v -c hammer -s teuthology --suite-branch master -p 50
30 1 Cron Tab
31 3 Cron Tab
#Powercycle tests - lets try it manually and get a green before we add it to the nightlies
32
#00 20 * * 2,4 teuthology-suite -v -c giant -k testing -m plana,burnupi,mira -s powercycle
33 1 Cron Tab
34 3 Cron Tab
#**********
35
#fs is having issues with low drive space on typica and is running in sepia for now
36
04 23 * * 1,3,5 teuthology-suite -v -c master -m plana,burnupi,mira -k testing -s fs
37
#*********
38
39 1 Cron Tab
##########################
40
### rados suite divided into 7 parts 1 part every day of the week
41 3 Cron Tab
00 21 * * 1 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s rados --subset 1/7
42
00 21 * * 2 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s rados --subset 2/7
43
00 21 * * 3 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s rados --subset 3/7
44
00 21 * * 4 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s rados --subset 4/7
45
00 21 * * 5 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s rados --subset 5/7
46
00 21 * * 6 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s rados --subset 6/7
47
00 21 * * 7 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s rados --subset 7/7
48 1 Cron Tab
##########################
49
50 3 Cron Tab
00 23 * * 2,4,6 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s rbd
51
02 23 * * 1,3,5 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s rgw
52
04 23 * * 2,4,6 teuthology-suite -v -c next -m plana,burnupi,mira -k testing -s fs
53
06 23 * * 1,3,5 teuthology-suite -v -c next -m plana,burnupi,mira -k testing -s krbd
54
08 23 * * 1,3,5 teuthology-suite -v -c next -m plana,burnupi,mira -k testing -s kcephfs
55
10 23 * * 1,3,5 teuthology-suite -v -c next -m plana,burnupi,mira -k testing -s knfs
56
12 23 * * 7 teuthology-suite -v -c next -m plana,burnupi,mira -k testing -s hadoop
57
14 23 * * 7 teuthology-suite -v -c next -m plana,burnupi,mira -k testing -s samba
58
16 23 * * 7 teuthology-suite -v -c next -m plana,burnupi,mira -k testing -s rest
59
18 23 * * 7 teuthology-suite -v -c next -m plana,burnupi,mira -k testing -s multimds
60
20 23 * * 2,5,7 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s upgrade/client-upgrade
61 1 Cron Tab
62 3 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
63
## removed for now YuriW - 10 1 * * 0,2,4,6 teuthology-suite -v -c hammer -m vps -k distro -s ceph-deploy ~/vps.yaml
64 1 Cron Tab
65 3 Cron Tab
## Upgrade tests for next - running on bare metal 
66
10 17 * * 2,4,7 teuthology-suite -v -c next -k distro -m plana,burnupi,mira -s upgrade/dumpling-firefly-x --suite-branch hammer --filter ubuntu_
67
13 17 * * 2,4,7 teuthology-suite -v -c next -k distro -m plana,burnupi,mira -s upgrade/firefly-x --suite-branch hammer --filter ubuntu_
68
05 17 * * 2,4,7 teuthology-suite -v -c next -k distro -m plana,burnupi,mira -s upgrade/giant-x --suite-branch hammer --filter ubuntu_
69
70
#********** all below on VPS *****************
71
00 17 * * 2,5 teuthology-suite -v -c firefly -k distro -m vps -s upgrade/firefly --suite-branch firefly --timeout 54000  ~/vps.yaml
72
15 17 * * 1,3   teuthology-suite -v -c giant -k distro -m vps -s upgrade/giant --suite-branch giant --timeout 54000  ~/vps.yaml
73
74
## upgrade dumpling to firefly tests  
75
13 19 * * 7 teuthology-suite -v -c firefly -k distro -m vps -s upgrade/dumpling-x --suite-branch firefly ~/vps.yaml
76
77
# Upgrade tests for giant - running on vps to cover multiple distros
78
15 18 * * 1,4,6 teuthology-suite -v -c giant -k distro -m vps -s upgrade/dumpling-firefly-x --suite-branch giant ~/vps.yaml
79
18 18 * * 1,4,6 teuthology-suite -v -c giant -k distro -m vps -s upgrade/firefly-x --suite-branch giant ~/vps.yaml
80
81
82
# Upgrade tests for hammer - running on vps to cover multiple distros
83
#removed the line below b/c the suite 'upgrade/dumpling-firefly-x' on vps runs out of memory on hammer, YuriW 3/29/15
84
#15 17 * * 1,3 teuthology-suite -v -c hammer -k distro -m vps -s upgrade/dumpling-firefly-x --suite-branch hammer ~/vps.yaml 
85
18 17 * * 1,3,5 teuthology-suite -v -c hammer -k distro -m vps -s upgrade/firefly-x --suite-branch hammer ~/vps.yaml
86
05 17 * * 1,3,5 teuthology-suite -v -c hammer -k distro -m vps -s upgrade/giant-x --suite-branch hammer ~/vps.yaml
87
88
# Upgrade tests for next - running on vps to cover multiple distros
89
#removed the line below b/c the suite 'upgrade/dumpling-firefly-x' on vps runs out of memory on next, YuriW 3/29/15
90
#15 17 * * 0,2,4,6 teuthology-suite -v -c next -k distro -m vps -s upgrade/dumpling-firefly-x --suite-branch hammer ~/vps.yaml
91
18 17 * * 0,2,4,6 teuthology-suite -v -c next -k distro -m vps -s upgrade/firefly-x --suite-branch hammer ~/vps.yaml
92
05 17 * * 0,2,4,6 teuthology-suite -v -c next -k distro -m vps -s upgrade/giant-x --suite-branch hammer ~/vps.yaml</pre>