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