Skip to content

Commit 019112e

Browse files
committed
intermediate state
Signed-off-by: Matthias Büchse <[email protected]>
1 parent 09d05e5 commit 019112e

File tree

1 file changed

+237
-63
lines changed

1 file changed

+237
-63
lines changed

Tests/scs-compatible-iaas.yaml

Lines changed: 237 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,238 @@
22
# whenever old content is removed as per scs-0003-v1, add a line of the form
33
# - YYYY-MM-DD pruned old content; affected versions: vN, ...
44
# - 2025-05-22 pruned old content; affected versions: v1, v2, v3-orig, v5
5-
name: SCS-compatible IaaS
6-
uuid: 50393e6f-2ae1-4c5c-a62c-3b75f2abef3f
7-
url: https://raw.githubusercontent.com/SovereignCloudStack/standards/main/Tests/scs-compatible-iaas.yaml
8-
variables:
9-
- os_cloud
10-
modules:
11-
- id: opc-v2022.11
12-
name: OpenStack Powered Compute v2022.11
13-
url: https://opendev.org/openinfra/interop/src/branch/master/guidelines/2022.11.json
14-
- id: scs-standards
15-
run:
16-
- executable: ./iaas/run_scs.py
17-
args: -c {os_cloud} -t {testcases_file}
18-
testcases:
19-
- include: testcases/scs-0100.yaml
20-
- include: testcases/scs-0101.yaml
21-
- include: testcases/scs-0102.yaml
22-
- include: testcases/scs-0103.yaml
23-
- include: testcases/scs-0104.yaml
24-
- include: testcases/scs-0114.yaml
25-
- include: testcases/scs-0115.yaml
26-
- include: testcases/scs-0116.yaml
27-
- include: testcases/scs-0117.yaml
28-
- include: testcases/scs-0121.yaml
29-
- include: testcases/scs-0123.yaml
30-
- include: testcases/scs-0302.yaml
31-
timeline:
5+
6+
7+
# #### TESTCASES ####
8+
- id: testcase/flavor-name-syntax-check-v2-3
9+
tags: [scs-0100-v3.1]
10+
description: >
11+
Flavor names comply with syntax described in
12+
<https://docs.scs.community/standards/scs-0100-v3-flavor-naming> (identical with v2)
13+
- id: testcase/flavor-name-semantics-check
14+
tags: [scs-0100-v3.1]
15+
description: >
16+
Flavor names tell the truth according to
17+
<https://docs.scs.community/standards/scs-0100-v3-flavor-naming> (subsuming v1 and v2)
18+
- id: testcase/entropy-check-flavor-properties
19+
tags: [scs-0101-v1-rec]
20+
description: >
21+
Must have all flavor properties recommended in
22+
<https://docs.scs.community/standards/scs-0101-w1-entropy-implementation-testing#warnings>
23+
- id: testcase/entropy-check-image-properties
24+
tags: [scs-0101-v1-rec]
25+
description: >
26+
Must have all image properties recommended in
27+
<https://docs.scs.community/standards/scs-0101-w1-entropy-implementation-testing#warnings>
28+
- id: testcase/entropy-check-rngd
29+
tags: [scs-0101-v1]
30+
description: >
31+
Images of the test sample must have the service `rngd`; see
32+
<https://docs.scs.community/standards/scs-0101-w1-entropy-implementation-testing#errors>
33+
- id: testcase/entropy-check-entropy-avail
34+
tags: [scs-0101-v1]
35+
description: >
36+
A test instance must have the correct `entropy_avail`; see
37+
<https://docs.scs.community/standards/scs-0101-w1-entropy-implementation-testing#errors>
38+
- id: testcase/entropy-check-fips-test
39+
tags: [scs-0101-v1]
40+
description: >
41+
A test instance must pass the "FIPS test"; see
42+
<https://docs.scs.community/standards/scs-0101-w1-entropy-implementation-testing#errors>
43+
- id: testcase/image-metadata-check
44+
tags: [scs-0102-v1]
45+
description: >
46+
Must fulfill all requirements of <https://docs.scs.community/standards/scs-0102-v1-image-metadata>
47+
# required flavors as per scs-0103-v1
48+
- id: testcase/check-flavor-scs-1v-4
49+
tags: [scs-0103-v1]
50+
- id: testcase/check-flavor-scs-2v-8
51+
tags: [scs-0103-v1]
52+
- id: testcase/check-flavor-scs-4v-16
53+
tags: [scs-0103-v1]
54+
- id: testcase/check-flavor-scs-8v-32
55+
tags: [scs-0103-v1]
56+
- id: testcase/check-flavor-scs-1v-2
57+
tags: [scs-0103-v1]
58+
- id: testcase/check-flavor-scs-2v-4
59+
tags: [scs-0103-v1]
60+
- id: testcase/check-flavor-scs-4v-8
61+
tags: [scs-0103-v1]
62+
- id: testcase/check-flavor-scs-8v-16
63+
tags: [scs-0103-v1]
64+
- id: testcase/check-flavor-scs-16v-32
65+
tags: [scs-0103-v1]
66+
- id: testcase/check-flavor-scs-1v-8
67+
tags: [scs-0103-v1]
68+
- id: testcase/check-flavor-scs-2v-16
69+
tags: [scs-0103-v1]
70+
- id: testcase/check-flavor-scs-4v-32
71+
tags: [scs-0103-v1]
72+
- id: testcase/check-flavor-scs-1l-1
73+
tags: [scs-0103-v1]
74+
- id: testcase/check-flavor-scs-2v-4-20s
75+
tags: [scs-0103-v1]
76+
- id: testcase/check-flavor-scs-4v-16-100s
77+
tags: [scs-0103-v1]
78+
# recommended flavors as per scs-0103-v1
79+
- id: testcase/check-flavor-scs-1v-4-10
80+
tags: [scs-0103-v1-rec]
81+
- id: testcase/check-flavor-scs-2v-8-20
82+
tags: [scs-0103-v1-rec]
83+
- id: testcase/check-flavor-scs-4v-16-50
84+
tags: [scs-0103-v1-rec]
85+
- id: testcase/check-flavor-scs-8v-32-100
86+
tags: [scs-0103-v1-rec]
87+
- id: testcase/check-flavor-scs-1v-2-5
88+
tags: [scs-0103-v1-rec]
89+
- id: testcase/check-flavor-scs-2v-4-10
90+
tags: [scs-0103-v1-rec]
91+
- id: testcase/check-flavor-scs-4v-8-20
92+
tags: [scs-0103-v1-rec]
93+
- id: testcase/check-flavor-scs-8v-16-50
94+
tags: [scs-0103-v1-rec]
95+
- id: testcase/check-flavor-scs-16v-32-100
96+
tags: [scs-0103-v1-rec]
97+
- id: testcase/check-flavor-scs-1v-8-20
98+
tags: [scs-0103-v1-rec]
99+
- id: testcase/check-flavor-scs-2v-16-50
100+
tags: [scs-0103-v1-rec]
101+
- id: testcase/check-flavor-scs-4v-32-100
102+
tags: [scs-0103-v1-rec]
103+
- id: testcase/check-flavor-scs-1l-1-5
104+
tags: [scs-0103-v1-rec]
105+
# # image sources
106+
# ## capi
107+
- id: testcase/check-image-source-capi-2
108+
tags: [scs-0104-v1-2]
109+
- id: testcase/check-image-source-capi-1
110+
tags: [scs-0104-v1-1]
111+
# ## Ubuntu
112+
- id: testcase/check-image-source-ubuntu-24.04
113+
tags: [scs-0104-v1-2]
114+
- id: testcase/check-image-source-ubuntu-22.04
115+
tags: [scs-0104-v1-1, scs-0104-v1-2]
116+
- id: testcase/check-image-source-ubuntu-20.04
117+
tags: [scs-0104-v1-1, scs-0104-v1-2]
118+
# ## Debian
119+
- id: testcase/check-image-source-debian-12
120+
tags: [scs-0104-v1-1, scs-0104-v1-2]
121+
- id: testcase/check-image-source-debian-11
122+
tags: [scs-0104-v1-1, scs-0104-v1-2]
123+
- id: testcase/check-image-source-debian-10
124+
tags: [scs-0104-v1-1, scs-0104-v1-2]
125+
# # image presence
126+
# ## capi
127+
- id: testcase/check-image-capi-2
128+
tags: [scs-0104-v1-2]
129+
- id: testcase/check-image-capi-1
130+
tags: [scs-0104-v1-1]
131+
# ## Ubuntu
132+
- id: testcase/check-image-ubuntu-24.04
133+
tags: [scs-0104-v1-2]
134+
- id: testcase/check-image-ubuntu-22.04
135+
tags: [scs-0104-v1-1]
136+
# ## Debian
137+
- id: testcase/check-image-debian-12
138+
tags: [scs-0104-v1-2]
139+
# # volume types
140+
- id: testcase/volume-type-encrypted
141+
tags: [scs-0114-v1-rec]
142+
description: >
143+
An encrypted volume type can be discovered.
144+
- id: testcase/volume-type-replicated
145+
tags: [scs-0114-v1-rec]
146+
description: >
147+
A replicated volume type can be discovered.
148+
# # default security groups
149+
# do monolithic test for the default security groups because it's hard to decompose, and frankly, I don't
150+
# see the correspondence between the test script and the standards requirements and recommendations
151+
# (the latter probably simply aren't checked?)
152+
- id: testcase/security-groups-default-rules-check
153+
tags: [scs-0115-v1]
154+
description: >
155+
Must fulfill all requirements of <https://docs.scs.community/standards/scs-0115-v1-default-rules-for-security-groups>
156+
# # key manager
157+
- id: testcase/key-manager-presence-check
158+
tags: [scs-0116-v1-rec]
159+
description: >
160+
Key manager service is discoverable.
161+
- id: testcase/key-manager-permissions-check
162+
tags: [scs-0116-v1]
163+
description: >
164+
Key manager is usable with member role.
165+
# # volume backup
166+
- id: testcase/volume-backup-check
167+
tags: [scs-0117-v1]
168+
description: >
169+
Volume backup works.
170+
# # availability zones
171+
- id: testcase/availability-zones-check
172+
tags: [scs-0121-v1,manual]
173+
description: >
174+
Note: manual check! Must fulfill all requirements of <https://docs.scs.community/standards/scs-0121-v1-Availability-Zones-Standard>
175+
# # service APIs
176+
- id: testcase/service-apis-check
177+
tags: [scs-0123-v1]
178+
description: >
179+
All required services (besides block-storage) are discoverable; as listed in <https://docs.scs.community/standards/scs-0123-v1-mandatory-and-supported-IaaS-services>.
180+
- id: testcase/storage-apis-check
181+
tags: [scs-0123-v1]
182+
description: >
183+
The block-storage API is discoverable; as listed in <https://docs.scs.community/standards/scs-0123-v1-mandatory-and-supported-IaaS-services>.
184+
- id: testcase/swift-s3-check
185+
tags: [scs-0123-v1]
186+
description: >
187+
The object-storage API is compatible with S3; as described in <https://docs.scs.community/standards/scs-0123-v1-mandatory-and-supported-IaaS-services>.
188+
type: swift-s3-check
189+
- id: testcase/service-apis-docs-check
190+
tags: [scs-0123-v1,manual]
191+
description: >
192+
Note: manual check! Must fulfill documentation requirements of <https://docs.scs.community/standards/scs-0123-v1-mandatory-and-supported-IaaS-services>.
193+
- id: testcase/domain-manager-check
194+
tags: [scs-0302-v1,manual]
195+
description: >
196+
Note: manual check! Must fulfill all requirements of <https://docs.scs.community/standards/scs-0302-v1-domain-manager-role>
197+
198+
# #### TARGETS ####
199+
- id: target/scs-compatible-iaas-main-v5.1
200+
selectors:
201+
- scs-0100-v3.1
202+
- scs-0101-v1
203+
- scs-0102-v1
204+
- scs-0103-v1
205+
- scs-0104-v1-2
206+
- scs-0114-v1
207+
- scs-0115-v1
208+
- scs-0116-v1
209+
- scs-0117-v1
210+
- scs-0121-v1 !manual
211+
- scs-0123-v1 !manual
212+
- scs-0302-v1 !manual
213+
- id: target/scs-compatible-iaas-preview-v5.1
214+
selectors:
215+
- scs-0121-v1 manual
216+
- scs-0123-v1 manual
217+
- scs-0302-v1 manual
218+
- id: target/scs-compatible-iaas-main-v4
219+
selectors:
220+
- scs-0100-v3.1
221+
- scs-0101-v1
222+
- scs-0102-v1
223+
- scs-0103-v1
224+
- scs-0104-v1-1
225+
- id: target/scs-compatible-iaas-main-v3
226+
selectors:
227+
- scs-0100-v3.1
228+
- scs-0102-v1
229+
230+
231+
# #### SCOPE ####
232+
- id: scope/scs-compatible-iaas
233+
name: SCS-compatible IaaS
234+
uuid: 50393e6f-2ae1-4c5c-a62c-3b75f2abef3f
235+
url: https://raw.githubusercontent.com/SovereignCloudStack/standards/main/Tests/scs-compatible-iaas.yaml
236+
timeline:
32237
- date: 2025-02-01
33238
versions:
34239
v5.1: effective
@@ -39,51 +244,20 @@ timeline:
39244
v5.1: effective
40245
v4: effective
41246
v3: deprecated
42-
versions:
247+
versions:
43248
- version: v5.1 # copy of v5, but with include "scs-0123-v1", which had simply been forgotten
44249
stabilized_at: 2024-12-19
45-
include:
46-
- opc-v2022.11
47-
- scs-standards
48250
targets:
49-
main: >
50-
scs-0100-v3.1,
51-
scs-0101-v1,
52-
scs-0102-v1,
53-
scs-0103-v1,
54-
scs-0104-v1-2,
55-
scs-0114-v1,
56-
scs-0115-v1,
57-
scs-0116-v1,
58-
scs-0117-v1,
59-
scs-0121-v1 !manual,
60-
scs-0123-v1 !manual,
61-
scs-0302-v1 !manual
62-
preview: >
63-
scs-0121-v1 manual,
64-
scs-0123-v1 manual,
65-
scs-0302-v1 manual
251+
main: target/scs-compatible-iaas-main-v5.1
252+
preview: target/scs-compatible-iaas-preview-v5.1
66253
- version: v4
67254
stabilized_at: 2024-02-28
68-
include:
69-
- opc-v2022.11
70-
- scs-standards
71255
targets:
72-
main: >
73-
scs-0100-v3.1,
74-
scs-0101-v1,
75-
scs-0102-v1,
76-
scs-0103-v1,
77-
scs-0104-v1-1
256+
main: target/scs-compatible-iaas-main-v4
78257
- version: v3
79258
# comment: >
80259
# This is what our documentation wrongly stated as being v3 when we introduced v4.
81260
# What was originally v3 (and what we actually continued to test) can be found as v3-orig.
82261
stabilized_at: 2024-02-28
83-
include:
84-
- opc-v2022.11
85-
- scs-standards
86262
targets:
87-
main: >
88-
scs-0100-v3.1,
89-
scs-0102-v1
263+
main: target/scs-compatible-iaas-main-v3

0 commit comments

Comments
 (0)