Skip to content

Commit 6509202

Browse files
committed
Merge PR ceph#56218 into main
* refs/pull/56218/head: qa/crontab: use historically normal priorities for nightlies doc/dev: update teuthology priority guidance Reviewed-by: Yuri Weinstein <[email protected]>
2 parents 878d2d0 + 416c079 commit 6509202

File tree

2 files changed

+51
-40
lines changed

2 files changed

+51
-40
lines changed

doc/dev/developer_guide/testing_integration_tests/tests-integration-testing-teuthology-intro.rst

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,22 @@ also reported on the `ceph-qa mailing list <https://ceph.com/irc/>`_.
4747
Testing Priority
4848
----------------
4949

50-
In brief: in the ``teuthology-suite`` command option ``-p <N>``, set the value of ``<N>`` to a number lower than 1000. An explanation of why follows.
50+
In brief: in the ``teuthology-suite`` command option ``-p <N>``, set the value
51+
of ``<N>`` to a number less than 500. An explanation of why follows.
5152

5253
The ``teuthology-suite`` command includes an option ``-p <N>``. This option specifies the priority of the jobs submitted to the queue. The lower the value of ``N``, the higher the priority.
5354

54-
The default value of ``N`` is ``1000``. This is the same priority value given to the nightly tests (the nightlies). Often, the volume of testing done during the nightly tests is so great that the full number of nightly tests do not get run during the time allotted for their run.
55+
The default value of ``N`` is ``1000``. Most nightly tests automatically
56+
scheduled by ``[email protected]`` are run with ``N >=
57+
500``. Some critical nightly tests are given higher priority, such as smoke
58+
tests or QA runs for an imminent major releases.
5559

56-
Set the value of ``N`` lower than ``1000``, or your tests will not have priority over the nightly tests. This means that they might never run.
60+
.. note:: Often the volume of testing done during the nightly tests is so great
61+
that the full number of nightly tests do not get run during the time allotted
62+
for their run.
63+
64+
Set the value of ``N`` lower than ``500`` or your tests will not have priority
65+
over the nightly tests. This means that they might never run.
5766

5867
Select your job's priority (the value of ``N``) in accordance with the following guidelines:
5968

@@ -79,7 +88,7 @@ Select your job's priority (the value of ``N``) in accordance with the following
7988
* - **150 <= N < 200**
8089
- Use this priority for 100 jobs or fewer that test a particular feature
8190
or fix. Results are available in about 24 hours.
82-
* - **200 <= N < 1000**
91+
* - **200 <= N < 500**
8392
- Use this priority for large test runs. Results are available in about a
8493
week.
8594

qa/crontab/teuthology-cronjobs

Lines changed: 38 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ CEPH_QA_EMAIL="[email protected]"
1919
CW="/home/teuthology/ceph/qa/nightlies/cron_wrapper"
2020
SS="/home/teuthology/ceph/qa/nightlies/schedule_subset.sh"
2121
# default/common arguments added by schedule_subset.sh
22-
TEUTHOLOGY_SUITE_ARGS="--non-interactive --newest=100 --ceph-repo=https://git.ceph.com/ceph.git --suite-repo=https://git.ceph.com/ceph.git --machine-type smithi --force-priority"
22+
TEUTHOLOGY_SUITE_ARGS="--non-interactive --newest=100 --ceph-repo=https://git.ceph.com/ceph.git --suite-repo=https://git.ceph.com/ceph.git --machine-type smithi"
2323

2424
### !!!!!!!!!!!!!!!!!!!!!!!!!!
2525
## THIS CRONTAB MUST NOT BE EDITED MANUALLY !!!!
@@ -49,10 +49,10 @@ TEUTHOLOGY_SUITE_ARGS="--non-interactive --newest=100 --ceph-repo=https://git.ce
4949

5050

5151
## ********** smoke tests on main and release branches
52-
00 05 * * 0,2,4 $CW $SS 1 --ceph main --suite smoke -p 70
53-
08 05 * * 0 $CW $SS 1 --ceph squid --suite smoke -p 70
54-
16 05 * * 0 $CW $SS 1 --ceph reef --suite smoke -p 70
55-
24 05 * * 0 $CW $SS 1 --ceph quincy --suite smoke -p 70
52+
00 05 * * 0,2,4 $CW $SS 1 --ceph main --suite smoke -p 100 --force-priority
53+
08 05 * * 0 $CW $SS 1 --ceph squid --suite smoke -p 100 --force-priority
54+
16 05 * * 0 $CW $SS 1 --ceph reef --suite smoke -p 100 --force-priority
55+
24 05 * * 0 $CW $SS 1 --ceph quincy --suite smoke -p 100 --force-priority
5656

5757
## ********** windows tests on main branch - weekly
5858
# 00 03 * * 1 CEPH_BRANCH=main; MACHINE_NAME=smithi; $CW teuthology-suite -v -c $CEPH_BRANCH -n 100 -m $MACHINE_NAME -s windows -k distro -e $CEPH_QA_EMAIL
@@ -63,48 +63,49 @@ TEUTHOLOGY_SUITE_ARGS="--non-interactive --newest=100 --ceph-repo=https://git.ce
6363

6464

6565
## ********** teuthology/nop on main branch - daily
66-
@daily $CW $SS 1 --ceph main --suite teuthology/nop -p 50
66+
@daily $CW $SS 1 --ceph main --suite teuthology/nop -p 1 --force-priority
6767

6868

6969
## main branch runs - weekly
7070
## suites rados and rbd use --subset arg and must be call with schedule_subset.sh
7171
## see script in https://github.com/ceph/ceph/tree/main/qa/machine_types
7272

7373
# rados is massive and difficult to bring down to less than 300 jobs, use one higher priority
74-
00 20 * * 0 $CW $SS 100000 --ceph main --suite rados -p 201
75-
08 20 * * 1 $CW $SS 64 --ceph main --suite orch -p 200
76-
16 20 * * 2 $CW $SS 128 --ceph main --suite rbd -p 200
77-
24 20 * * 3 $CW $SS 512 --ceph main --suite fs -p 200
78-
32 20 * * 4 $CW $SS 4 --ceph main --suite powercycle -p 200
79-
40 20 * * 5 $CW $SS 1 --ceph main --suite rgw -p 200
80-
48 20 * * 6 $CW $SS 4 --ceph main --suite krbd -p 200 --kernel testing
74+
00 20 * * 0 $CW $SS 100000 --ceph main --suite rados -p 951
75+
08 20 * * 1 $CW $SS 64 --ceph main --suite orch -p 950
76+
16 20 * * 2 $CW $SS 128 --ceph main --suite rbd -p 950
77+
24 20 * * 3 $CW $SS 512 --ceph main --suite fs -p 950
78+
32 20 * * 4 $CW $SS 4 --ceph main --suite powercycle -p 950
79+
40 20 * * 5 $CW $SS 1 --ceph main --suite rgw -p 950
80+
48 20 * * 6 $CW $SS 4 --ceph main --suite krbd -p 950 --kernel testing
8181

8282

8383
## squid branch runs - twice weekly
8484
## suites rados and rbd use --subset arg and must be call with schedule_subset.sh
8585
## see script in https://github.com/ceph/ceph/tree/main/qa/machine_types
8686

8787
# rados is massive and difficult to bring down to less than 300 jobs, use one higher priority
88-
00 21 * * 0,4 $CW $SS 100000 --ceph squid --suite rados -p 101
89-
08 21 * * 1,5 $CW $SS 64 --ceph squid --suite orch -p 100
90-
16 21 * * 2,6 $CW $SS 128 --ceph squid --suite rbd -p 100
91-
24 21 * * 3,0 $CW $SS 512 --ceph squid --suite fs -p 100
92-
32 21 * * 4,1 $CW $SS 4 --ceph squid --suite powercycle -p 100
93-
40 21 * * 5,2 $CW $SS 1 --ceph squid --suite rgw -p 100
94-
48 21 * * 6,3 $CW $SS 4 --ceph squid --suite krbd -p 100 --kernel testing
88+
# -p 94-
89+
00 21 * * 0,4 $CW $SS 100000 --ceph squid --suite rados -p 101 --force-priority
90+
08 21 * * 1,5 $CW $SS 64 --ceph squid --suite orch -p 100 --force-priority
91+
16 21 * * 2,6 $CW $SS 128 --ceph squid --suite rbd -p 100 --force-priority
92+
24 21 * * 3,0 $CW $SS 512 --ceph squid --suite fs -p 100 --force-priority
93+
32 21 * * 4,1 $CW $SS 4 --ceph squid --suite powercycle -p 100 --force-priority
94+
40 21 * * 5,2 $CW $SS 1 --ceph squid --suite rgw -p 100 --force-priority
95+
48 21 * * 6,3 $CW $SS 4 --ceph squid --suite krbd -p 100 --force-priority --kernel testing
9596

9697
## reef branch runs - weekly
9798
## suites rados and rbd use --subset arg and must be call with schedule_subset.sh
9899
## see script in https://github.com/ceph/ceph/tree/main/qa/machine_types
99100

100101
# rados is massive and difficult to bring down to less than 300 jobs, use one higher priority
101-
00 22 * * 0 $CW $SS 100000 --ceph reef --suite rados -p 181
102-
08 22 * * 1 $CW $SS 64 --ceph reef --suite orch -p 180
103-
16 22 * * 2 $CW $SS 128 --ceph reef --suite rbd -p 180
104-
24 22 * * 3 $CW $SS 512 --ceph reef --suite fs -p 180
105-
32 22 * * 4 $CW $SS 4 --ceph reef --suite powercycle -p 180
106-
40 22 * * 5 $CW $SS 1 --ceph reef --suite rgw -p 180
107-
48 22 * * 6 $CW $SS 4 --ceph reef --suite krbd -p 180 --kernel testing
102+
00 22 * * 0 $CW $SS 100000 --ceph reef --suite rados -p 931
103+
08 22 * * 1 $CW $SS 64 --ceph reef --suite orch -p 930
104+
16 22 * * 2 $CW $SS 128 --ceph reef --suite rbd -p 930
105+
24 22 * * 3 $CW $SS 512 --ceph reef --suite fs -p 930
106+
32 22 * * 4 $CW $SS 4 --ceph reef --suite powercycle -p 930
107+
40 22 * * 5 $CW $SS 1 --ceph reef --suite rgw -p 930
108+
48 22 * * 6 $CW $SS 4 --ceph reef --suite krbd -p 930 --kernel testing
108109

109110

110111
### The suite below must run on bare-metal because it's performance suite and run 3 times to produce more data points
@@ -119,24 +120,25 @@ TEUTHOLOGY_SUITE_ARGS="--non-interactive --newest=100 --ceph-repo=https://git.ce
119120

120121
## !!!! the client suites below MUST use --suite-branch octopus, pacific (see https://tracker.ceph.com/issues/24021)
121122

122-
08 00 * * 1 $CW $SS 1 --ceph quincy --suite upgrade-clients/client-upgrade-octopus-quincy --suite-branch octopus -p 175
123-
16 00 * * 1 $CW $SS 1 --ceph quincy --suite upgrade-clients/client-upgrade-pacific-quincy --suite-branch pacific -p 175
124-
24 00 * * 1 $CW $SS 120000 --ceph quincy --suite upgrade:octopus-x -p 175
125-
32 00 * * 1 $CW $SS 120000 --ceph quincy --suite upgrade:pacific-x -p 175
126-
40 00 * * 1 $CW $SS 1 --ceph quincy --suite upgrade/quincy-p2p -p 175
123+
08 00 * * 1 $CW $SS 1 --ceph quincy --suite upgrade-clients/client-upgrade-octopus-quincy --suite-branch octopus -p 820
124+
16 00 * * 1 $CW $SS 1 --ceph quincy --suite upgrade-clients/client-upgrade-pacific-quincy --suite-branch pacific -p 820
125+
24 00 * * 1 $CW $SS 120000 --ceph quincy --suite upgrade:octopus-x -p 820
126+
32 00 * * 1 $CW $SS 120000 --ceph quincy --suite upgrade:pacific-x -p 820
127+
40 00 * * 1 $CW $SS 1 --ceph quincy --suite upgrade/quincy-p2p -p 820
127128

128129
### upgrade runs for reef release
129130
###### on smithi
130131

131-
08 01 * * 3 $CW $SS 1 --ceph reef --suite upgrade:pacific-x -p 170
132-
16 01 * * 3 $CW $SS 1 --ceph reef --suite upgrade:quincy-x -p 170
132+
08 01 * * 3 $CW $SS 1 --ceph reef --suite upgrade:pacific-x -p 830
133+
16 01 * * 3 $CW $SS 1 --ceph reef --suite upgrade:quincy-x -p 830
133134

134135
### upgrade runs for squid release
135136
###### on smithi
136137

137-
08 02 * * 5 $CW $SS 32 --ceph squid --suite upgrade -p 165
138+
# -p 840
139+
08 02 * * 5 $CW $SS 32 --ceph squid --suite upgrade -p 100 --force-priority
138140

139141
### upgrade runs for main
140142
###### on smithi
141143

142-
08 03 * * 6 $CW $SS 32 --ceph main --suite upgrade -p 160
144+
08 03 * * 6 $CW $SS 32 --ceph main --suite upgrade -p 850

0 commit comments

Comments
 (0)