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