Project

General

Profile

HOWTO monitor the automated tests AKA nightlies » History » Version 26

Loïc Dachary, 03/31/2016 11:30 AM

1 1 Loïc Dachary
h3. Automated tests AKA nightlies
2
3
The "sepia lab":http://ceph.com/docs/master/dev/sepia/ runs automated teuthology tests on a regular basis. They are sometime called the *nightlies*. The schedule of the nightlies is managed by the QE team:
4
5
* [[Sepia]]
6 26 Loïc Dachary
* [[Ovh]]
7 1 Loïc Dachary
8 22 Yuri Weinstein
The following script is used in the above crontabs to schedule @rados@ suite.
9 20 Loïc Dachary
<pre>
10
#!/bin/bash
11
12
# $1 - part
13
# $2 - branch name
14 1 Loïc Dachary
# $3 - machine name
15 24 Yuri Weinstein
# $4 - email address
16
# $5 - filter out (this arg is to be at the end of the command line for now)
17 1 Loïc Dachary
18 24 Yuri Weinstein
## example #1 
19
## (date +%U) week number
20
## % 2 - mod 2 (e.g. 0,1,0,1 ...)
21
## * 7 -  multiplied by 7 (e.g. 0,7,0,7...)
22
## $1 day of the week (0-6)
23
## /14 for 2 weeks
24
25
## example #2 
26
## (date +%U) week number
27
## % 4 - mod 4 (e.g. 0,1,2,3,0,1,2,3 ...)
28
## * 7 -  multiplied by 7 (e.g. 0,7,14,21,0,7,14,21...)
29
## $1 day of the week (0-6)
30
## /28 for 4 weeks
31
32
teuthology-suite -v -c $2 -m $3 -k distro -s rados --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/28 -e $4 $5
33 20 Loïc Dachary
</pre>
34
35 12 Yuri Weinstein
h3. List of suites and watchers
36 5 Yuri Weinstein
37 6 Yuri Weinstein
| *Suite*                    | *Watchers* |
38 9 Sage Weil
| smoke                      | Sage, Yuri |
39
| big                        | Sage, Sam |
40 6 Yuri Weinstein
| powercycle                 | Yuri |
41
| rados                      | Sage, Sam |
42
| rbd                        | Josh |
43 11 Sage Weil
| krbd                       | Josh, Ilya  |
44 9 Sage Weil
| rgw                        | Yehuda |
45 6 Yuri Weinstein
| fs                         | Greg, John  |
46 11 Sage Weil
| kcephfs                    | Greg, John, Zheng |
47
| knfs                       | Greg, John, Zheng  |
48
| multimds                   | Greg, John, Zheng  |
49 6 Yuri Weinstein
| samba                      | Greg, John  |
50
| ceph-deploy                | Travis, Yuri |
51
| upgrade/client-upgrade     | Yuri  |
52
| upgrade/dumpling-firefly-x | Yuri  |
53
| upgrade/firefly-x          | Yuri  |
54
| upgrade/giant-x            | Yuri  |
55
| upgrade/firefly            | Yuri  |
56
| upgrade/hammer             | Yuri  |
57
| upgrade/giant              | Yuri  |
58 5 Yuri Weinstein
59 25 Yuri Weinstein
*  suites scheduled to run on current set of supported branches: *hammer*, *infernalis*, *jewel* and *master*; *master* runs are used primarily for development purposes, *upgrade** tests are not scheduled to run on master.
60 17 Yuri Weinstein
*  *big* and *powercycle* suites are run manually
61 7 Yuri Weinstein
62 3 Loïc Dachary
h3. Analyze
63
64 19 Loïc Dachary
* See [[HOWTO forensic analysis of integration and upgrade tests]]
65 3 Loïc Dachary
* sorting out the environmental noise
66
* create new bugs for errors for which there is no match in the tracker
67
* add a link to the failed job in pre-existing issues found in the tracker (useful to figure out the frequency and helps with debug when there are multiple outputs / logs)
68
69 1 Loïc Dachary
h3. The ceph-qa mailing list
70
71 2 Loïc Dachary
The results of the nightlies are published for analysis on the "ceph-qa mailing list":http://lists.ceph.com/listinfo.cgi/ceph-qa-ceph.com/. For a given release, the issues that make a job fail in the nightlies need to be backported with a higher priority to reduce the noise.