Project

General

Profile

HOWTO run integration and upgrade tests » History » Revision 3

Revision 2 (Loïc Dachary, 03/26/2015 10:45 AM) → Revision 3/40 (Loïc Dachary, 03/27/2015 11:04 AM)

h3. Scheduling a suite 

 This requires access to a running teuthology cluster, for instance the cluster from the sepia lab. 

 * git clone https://github.com/ceph/teuthology/ 
 * cd teuthology 
 * ./bootstrap 
 * Schedule the suite with something like: 
 <pre> 
 ./virtualenv/bin/teuthology-suite --filter-out btrfs,ext4 --priority 1000 --suite rados --suite-branch giant --machine-type plana,burnupi,mira --distro ubuntu --email loic@dachary.org --owner loic@dachary.org --ceph giant 
 </pre> 

 h3. Re-scheduling failed or dead jobs from an existing suite 

 * Ask https://github.com/ceph/paddles (the server in which suite runs are stored) about the *dead* jobs 
 <pre> 
 run=loic-2015-03-23_01:09:31-rados-giant---basic-multi 
 eval filter=$(curl --silent http://paddles.front.sepia.ceph.com/runs/$run/jobs/?status=dead | jq '.[].description' | while read description ; do echo -n $description, ; done | sed -e 's/,$//') 
 </pre> 
 or the *fail*ed jobs: 
 <pre> 
 run=loic-2015-03-23_01:09:31-rados-giant---basic-multi 
 eval filter=$(curl --silent http://paddles.front.sepia.ceph.com/runs/$run/jobs/?status=fail | jq '.[].description' | while read description ; do echo -n $description, ; done | sed -e 's/,$//') 
 </pre> 
 * Re-run the suite using the same command line without *--filter-out* and with *--filter "$filter"* to only schedule the jobs described in the *fitler* variable 
 <pre> 
 ./virtualenv/bin/teuthology-suite --filter "$filter" --priority 1000 --suite rados --suite-branch giant --machine-type plana,burnupi,mira --distro ubuntu --email loic@dachary.org --owner loic@dachary.org --ceph giant 
 </pre> 


 h3. Integration suites 

 Expected to be successfully run on the integration branch before "asking approval to the leads":http://ceph.com/docs/master/dev/development-workflow/#resolving-bug-reports-and-implementing-features (hence before asking QE to tests further) 

 "rados":https://github.com/ceph/ceph-qa-suite/tree/master/suites/rados 
 "rgw":https://github.com/ceph/ceph-qa-suite/tree/master/suites/rgw 
 "rbd":https://github.com/ceph/ceph-qa-suite/tree/master/suites/rbd 
 "fs":https://github.com/ceph/ceph-qa-suite/tree/master/suites/fs 

 h3. QE suites 

 Expected to be successfully run on the release branch before "passing it to the person publishing the release":http://ceph.com/docs/master/dev/development-workflow/#cutting-a-new-stable-release. 

 h4. dumpling 

 rados 
 rbd 
 rgw 
 fs 
 ceph-deploy 
 upgrade/dumpling 

 h4. firefly 

 rados 
 rbd 
 rgw 
 fs 
 krbd 
 kcephfs 
 samba 
 ceph-deploy 
 upgrade/firefly 
 upgrade/dumpling-firefly-x (to giant) 
 powercycle  

 h4. giant 

 rados 
 rbd 
 rgw 
 fs 
 krbd 
 kcephfs 
 knfs 
 haddop 
 samba 
 rest 
 multimds 
 multi-version 
 upgrade/giant 
 powecycle