Project

General

Profile

Sepia » History » Revision 10

Revision 9 (Cron Tab, 05/04/2015 09:18 PM) → Revision 10/220 (Cron Tab, 05/04/2015 09:21 PM)

h3. Crontab<pre>MAILTO="yweinste@redhat.com" 
 # Edit this file to introduce tasks to be run by cron. 
 #  
 # Each task to run has to be defined through a single line 
 # indicating with different fields when the task will be run 
 # and what command to run for the task 
 #  
 # To define the time you can provide concrete values for 
 # minute (m), hour (h), day of month (dom), month (mon), 
 # and day of week (dow) or use '*' in these fields (for 'any').#  
 # Notice that tasks will be started based on the cron's system 
 # daemon's notion of time and timezones. 
 #  
 # Output of the crontab jobs (including errors) is sent through 
 # email to the user the crontab file belongs to (unless redirected). 
 #  
 # For example, you can run a backup of all your user accounts 
 # at 5 a.m every week with: 
 # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ 
 #  
 # For more information see the manual pages of crontab(5) and cron(8) 
 #  
 # m h    dom mon dow     command 
 PATH=/home/teuthology/src/teuthology_master/virtualenv/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin 

 #Publish this crontab to the Tracker page http://tracker.ceph.com/projects/ceph-releases/wiki/Crontab 
 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) 

 #Powercycle tests - lets try it manually and get a green before we add it to the nightlies 
 #00 20 6 * * 2,4 *    teuthology-suite -v -c giant -k testing -m plana,burnupi,mira hammer -s powercycle teuthology --suite-branch master -p 50 --machine-type typica --filter-out 'vps,rhel' 

 #********** 
 #fs is having issues with low drive space on typica and is running in sepia for now 
 04 23 00 5 * * 1,3,5 *     teuthology-suite -v -c master -m plana,burnupi,mira typica -s smoke -k testing -s fs distro 
 04 23 10 5 */3 * * 7 teuthology-suite -v -c giant master -m plana,burnupi,mira typica -k testing distro -s fs 
 #********* big 

 ########################## 
 ### rados suite divided into 7 parts 1 part every day of the week 
 00 21 * * 1 teuthology-suite -v -c next master -m plana,burnupi,mira typica -k distro -s rados --subset 1/7 
 00 21 * * 2 teuthology-suite -v -c next master -m plana,burnupi,mira typica -k distro -s rados --subset 2/7 
 00 21 * * 3 teuthology-suite -v -c next master -m plana,burnupi,mira typica -k distro -s rados --subset 3/7 
 00 21 * * 4 teuthology-suite -v -c next master -m plana,burnupi,mira typica -k distro -s rados --subset 4/7 
 00 21 * * 5 teuthology-suite -v -c next master -m plana,burnupi,mira typica -k distro -s rados --subset 5/7 
 00 21 * * 6 teuthology-suite -v -c next master -m plana,burnupi,mira typica -k distro -s rados --subset 6/7 
 00 21 * * 7 teuthology-suite -v -c next master -m plana,burnupi,mira typica -k distro -s rados --subset 7/7 
 ########################## 

 00 23 * * 2,4,6 1,3,5 teuthology-suite -v -c next master -m plana,burnupi,mira typica -k distro testing -s rbd 
 02 23 * * 1,3,5 2,4,6 teuthology-suite -v -c next master -m plana,burnupi,mira typica -k distro testing -s rgw 
 04 #fs is having issues with low drive space on typica and is running in sepia for now 
 #04 23 * * 2,4,6 1,3,5 teuthology-suite -v -c next master -m plana,burnupi,mira typica -k testing -s fs 
 06 23 * * 1,3,5 2,4,6 teuthology-suite -v -c next master -m plana,burnupi,mira typica -k testing -s krbd 
 08 23 * * 1,3,5 teuthology-suite -v -c next master -m plana,burnupi,mira typica -k testing -s kcephfs 
 10 23 * * 1,3,5 teuthology-suite -v -c next master -m plana,burnupi,mira typica -k testing -s knfs 
 12 23 * * 7 2       teuthology-suite -v -c next master -m plana,burnupi,mira typica -k testing -s hadoop 
 14 23 * * 7 2       teuthology-suite -v -c next master -m plana,burnupi,mira typica -k testing -s samba 
 16 23 * * 7 2       teuthology-suite -v -c next master -m plana,burnupi,mira typica -k testing -s rest 
 18 23 * * 7 6       teuthology-suite -v -c next master -m plana,burnupi,mira typica -k testing -s multimds 
 20 23 * * 2,5,7 2,4,6 teuthology-suite -v -c next master -m plana,burnupi,mira typica -k distro -s upgrade/client-upgrade 

 ## removed for now YuriW - 10 1 #GIANT branch 
 00 21 * * 1,3,5 4 teuthology-suite -v -c firefly giant -m vps typica -k distro -s ceph-deploy ~/vps.yaml 
 ## removed for now YuriW - 10 1 rados 

 00 23 * * 0,2,4,6 5 teuthology-suite -v -c hammer giant -m vps typica -k distro testing -s ceph-deploy ~/vps.yaml 

 ## Upgrade tests for next - running on bare metal  
 10 17 rbd 
 02 23 * * 2,4,7 7 teuthology-suite -v -c next giant -m typica -k distro -m plana,burnupi,mira testing -s upgrade/dumpling-firefly-x --suite-branch hammer --filter ubuntu_ rgw 
 13 17 #fs is having issues with low drive space on typica and is running in sepia for now 
 #04 23 * * 2,4,7 5 teuthology-suite -v -c next giant -m typica -k distro -m plana,burnupi,mira testing -s upgrade/firefly-x --suite-branch hammer --filter ubuntu_ fs 
 05 17 06 23 * * 2,4,7 7 teuthology-suite -v -c next giant -m typica -k distro -m plana,burnupi,mira testing -s upgrade/giant-x --suite-branch hammer --filter ubuntu_ 

 #********** all below on VPS ***************** krbd 
 00 17 08 23 * * 2,5 5 teuthology-suite -v -c firefly giant -m typica -k distro -m vps testing -s upgrade/firefly --suite-branch firefly --timeout 54000    ~/vps.yaml kcephfs 
 15 17 10 23 * * 1,3     7 teuthology-suite -v -c giant -m typica -k distro -m vps testing -s upgrade/giant --suite-branch giant --timeout 54000    ~/vps.yaml 

 ## upgrade dumpling to firefly tests   
 13 19 knfs 
 12 23 * * 7 5 teuthology-suite -v -c firefly giant -m typica -k distro -m vps testing -s upgrade/dumpling-x --suite-branch firefly ~/vps.yaml 

 # Upgrade tests for giant - running on vps to cover multiple distros hadoop 
 15 18 14 23 * * 1,4,6 5 teuthology-suite -v -c giant -m typica -k distro -m vps testing -s upgrade/dumpling-firefly-x --suite-branch giant ~/vps.yaml samba 
 18 18 16 23 * * 1,4,6 5 teuthology-suite -v -c giant -m typica -k distro -m vps testing -s upgrade/firefly-x --suite-branch giant ~/vps.yaml 


 # Upgrade tests for hammer - running on vps to cover multiple distros rest 
 #removed the line below b/c the suite 'upgrade/dumpling-firefly-x' on vps runs out of memory on hammer, YuriW 3/29/15 
 #15 17 18 23 * * 1,3 7 teuthology-suite -v -c hammer giant -m typica -k distro -m vps testing -s upgrade/dumpling-firefly-x --suite-branch hammer ~/vps.yaml  
 18 17 multimds 
 20 23 * * 1,3,5 5 teuthology-suite -v -c hammer giant -m typica -k distro -m vps -s upgrade/firefly-x --suite-branch hammer ~/vps.yaml upgrade/multi-version 
 05 17 * * 1,3,5 7 teuthology-suite -v -c hammer giant -k distro -m vps typica -s upgrade/giant-x --suite-branch hammer ~/vps.yaml 

 # --filter ubuntu_ 
 ## Upgrade tests for next giant - running on vps to cover multiple distros 
 #removed the line below b/c the suite 'upgrade/dumpling-firefly-x' on vps runs out of memory on next, YuriW 3/29/15 
 #15 17 bare metal  
 10 18 * * 0,2,4,6 0,4 teuthology-suite -v -c next giant -k distro -m vps typica -s upgrade/dumpling-firefly-x --suite-branch hammer ~/vps.yaml giant --filter ubuntu_ 
 13 18 17 * * 0,2,4,6 0,4 teuthology-suite -v -c next giant -k distro -m vps typica -s upgrade/firefly-x --suite-branch hammer ~/vps.yaml 
 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> giant --filter ubuntu_</pre>