Skip to content

Commit 2ec3e8e

Browse files
committed
yet another intermediate state, still not good
Signed-off-by: Matthias Büchse <[email protected]>
1 parent c592262 commit 2ec3e8e

File tree

1 file changed

+136
-0
lines changed

1 file changed

+136
-0
lines changed

Tests/scs-compatible-iaas.yaml

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,144 +4,245 @@
44
# - 2025-05-22 pruned old content; affected versions: v1, v2, v3-orig, v5
55

66

7+
# #### (TESTCASE) CATEGORIES ####
8+
# each category loosely corresponds to a standard
9+
# you can do one category for each version of the standard, but these can't share testcases!
10+
# so this works well for OpenStack Powered Compute
11+
# apart from that, put all versions into one category
12+
13+
- id: category/opc-v2022.11
14+
name: OpenStack Powered Compute v2022.11
15+
url: https://opendev.org/openinfra/interop/src/branch/master/guidelines/2022.11.json
16+
- id: category/scs-0100
17+
name: Flavor naming
18+
url: https://docs.scs.community/standards/iaas/scs-0100
19+
- id: category/scs-0101
20+
name: Entropy
21+
url: https://docs.scs.community/standards/iaas/scs-0101
22+
- id: category/scs-0102
23+
name: Image metadata
24+
url: https://docs.scs.community/standards/iaas/scs-0102
25+
- id: category/scs-0103
26+
name: Standard flavors
27+
url: https://docs.scs.community/standards/iaas/scs-0103
28+
- id: category/scs-0104
29+
name: Standard images
30+
url: https://docs.scs.community/standards/iaas/scs-0104
31+
# parameters:
32+
# image_spec: address (URL) of an image-spec (YAML) file
33+
- id: category/scs-0114
34+
name: Volume Types
35+
url: https://docs.scs.community/standards/iaas/scs-0114
36+
- id: category/scs-0115
37+
name: Default rules for security groups
38+
url: https://docs.scs.community/standards/iaas/scs-0115
39+
- id: category/scs-0116
40+
name: Key manager
41+
url: https://docs.scs.community/standards/iaas/scs-0116
42+
- id: category/scs-0117
43+
name: Volume backup
44+
url: https://docs.scs.community/standards/iaas/scs-0117
45+
- id: category/scs-0121
46+
name: Availability Zones
47+
url: https://docs.scs.community/standards/iaas/scs-0121
48+
- id: category/scs-0123
49+
name: Mandatory and Supported IaaS Services
50+
url: https://docs.scs.community/standards/iaas/scs-0123
51+
- id: category/scs-0302
52+
name: Domain Manager Role
53+
url: https://docs.scs.community/standards/iam/scs-0302
54+
55+
756
# #### TESTCASES ####
57+
858
- id: testcase/flavor-name-syntax-check-v2-3
59+
category: category/scs-0100
960
tags: [scs-0100-v3.1]
1061
description: >
1162
Flavor names comply with syntax described in
1263
<https://docs.scs.community/standards/scs-0100-v3-flavor-naming> (identical with v2)
1364
- id: testcase/flavor-name-semantics-check
65+
category: category/scs-0100
1466
tags: [scs-0100-v3.1]
1567
description: >
1668
Flavor names tell the truth according to
1769
<https://docs.scs.community/standards/scs-0100-v3-flavor-naming> (subsuming v1 and v2)
1870
- id: testcase/entropy-check-flavor-properties
71+
category: category/scs-0101
1972
tags: [scs-0101-v1-rec]
2073
description: >
2174
Must have all flavor properties recommended in
2275
<https://docs.scs.community/standards/scs-0101-w1-entropy-implementation-testing#warnings>
2376
- id: testcase/entropy-check-image-properties
77+
category: category/scs-0101
2478
tags: [scs-0101-v1-rec]
2579
description: >
2680
Must have all image properties recommended in
2781
<https://docs.scs.community/standards/scs-0101-w1-entropy-implementation-testing#warnings>
2882
- id: testcase/entropy-check-rngd
83+
category: category/scs-0101
2984
tags: [scs-0101-v1]
3085
description: >
3186
Images of the test sample must have the service `rngd`; see
3287
<https://docs.scs.community/standards/scs-0101-w1-entropy-implementation-testing#errors>
3388
- id: testcase/entropy-check-entropy-avail
89+
category: category/scs-0101
3490
tags: [scs-0101-v1]
3591
description: >
3692
A test instance must have the correct `entropy_avail`; see
3793
<https://docs.scs.community/standards/scs-0101-w1-entropy-implementation-testing#errors>
3894
- id: testcase/entropy-check-fips-test
95+
category: category/scs-0101
3996
tags: [scs-0101-v1]
4097
description: >
4198
A test instance must pass the "FIPS test"; see
4299
<https://docs.scs.community/standards/scs-0101-w1-entropy-implementation-testing#errors>
43100
- id: testcase/image-metadata-check
101+
category: category/scs-0102
44102
tags: [scs-0102-v1]
45103
description: >
46104
Must fulfill all requirements of <https://docs.scs.community/standards/scs-0102-v1-image-metadata>
47105
# required flavors as per scs-0103-v1
48106
- id: testcase/check-flavor-scs-1v-4
107+
category: category/scs-0103
49108
tags: [scs-0103-v1]
50109
- id: testcase/check-flavor-scs-2v-8
110+
category: category/scs-0103
51111
tags: [scs-0103-v1]
52112
- id: testcase/check-flavor-scs-4v-16
113+
category: category/scs-0103
53114
tags: [scs-0103-v1]
54115
- id: testcase/check-flavor-scs-8v-32
116+
category: category/scs-0103
55117
tags: [scs-0103-v1]
56118
- id: testcase/check-flavor-scs-1v-2
119+
category: category/scs-0103
57120
tags: [scs-0103-v1]
58121
- id: testcase/check-flavor-scs-2v-4
122+
category: category/scs-0103
59123
tags: [scs-0103-v1]
60124
- id: testcase/check-flavor-scs-4v-8
125+
category: category/scs-0103
61126
tags: [scs-0103-v1]
62127
- id: testcase/check-flavor-scs-8v-16
128+
category: category/scs-0103
63129
tags: [scs-0103-v1]
64130
- id: testcase/check-flavor-scs-16v-32
131+
category: category/scs-0103
65132
tags: [scs-0103-v1]
66133
- id: testcase/check-flavor-scs-1v-8
134+
category: category/scs-0103
67135
tags: [scs-0103-v1]
68136
- id: testcase/check-flavor-scs-2v-16
137+
category: category/scs-0103
69138
tags: [scs-0103-v1]
70139
- id: testcase/check-flavor-scs-4v-32
140+
category: category/scs-0103
71141
tags: [scs-0103-v1]
72142
- id: testcase/check-flavor-scs-1l-1
143+
category: category/scs-0103
73144
tags: [scs-0103-v1]
74145
- id: testcase/check-flavor-scs-2v-4-20s
146+
category: category/scs-0103
75147
tags: [scs-0103-v1]
76148
- id: testcase/check-flavor-scs-4v-16-100s
149+
category: category/scs-0103
77150
tags: [scs-0103-v1]
78151
# recommended flavors as per scs-0103-v1
79152
- id: testcase/check-flavor-scs-1v-4-10
153+
category: category/scs-0103
80154
tags: [scs-0103-v1-rec]
81155
- id: testcase/check-flavor-scs-2v-8-20
156+
category: category/scs-0103
82157
tags: [scs-0103-v1-rec]
83158
- id: testcase/check-flavor-scs-4v-16-50
159+
category: category/scs-0103
84160
tags: [scs-0103-v1-rec]
85161
- id: testcase/check-flavor-scs-8v-32-100
162+
category: category/scs-0103
86163
tags: [scs-0103-v1-rec]
87164
- id: testcase/check-flavor-scs-1v-2-5
165+
category: category/scs-0103
88166
tags: [scs-0103-v1-rec]
89167
- id: testcase/check-flavor-scs-2v-4-10
168+
category: category/scs-0103
90169
tags: [scs-0103-v1-rec]
91170
- id: testcase/check-flavor-scs-4v-8-20
171+
category: category/scs-0103
92172
tags: [scs-0103-v1-rec]
93173
- id: testcase/check-flavor-scs-8v-16-50
174+
category: category/scs-0103
94175
tags: [scs-0103-v1-rec]
95176
- id: testcase/check-flavor-scs-16v-32-100
177+
category: category/scs-0103
96178
tags: [scs-0103-v1-rec]
97179
- id: testcase/check-flavor-scs-1v-8-20
180+
category: category/scs-0103
98181
tags: [scs-0103-v1-rec]
99182
- id: testcase/check-flavor-scs-2v-16-50
183+
category: category/scs-0103
100184
tags: [scs-0103-v1-rec]
101185
- id: testcase/check-flavor-scs-4v-32-100
186+
category: category/scs-0103
102187
tags: [scs-0103-v1-rec]
103188
- id: testcase/check-flavor-scs-1l-1-5
189+
category: category/scs-0103
104190
tags: [scs-0103-v1-rec]
105191
# # image sources
106192
# ## capi
107193
- id: testcase/check-image-source-capi-2
194+
category: category/scs-0104
108195
tags: [scs-0104-v1-2]
109196
- id: testcase/check-image-source-capi-1
197+
category: category/scs-0104
110198
tags: [scs-0104-v1-1]
111199
# ## Ubuntu
112200
- id: testcase/check-image-source-ubuntu-24.04
201+
category: category/scs-0104
113202
tags: [scs-0104-v1-2]
114203
- id: testcase/check-image-source-ubuntu-22.04
204+
category: category/scs-0104
115205
tags: [scs-0104-v1-1, scs-0104-v1-2]
116206
- id: testcase/check-image-source-ubuntu-20.04
207+
category: category/scs-0104
117208
tags: [scs-0104-v1-1, scs-0104-v1-2]
118209
# ## Debian
119210
- id: testcase/check-image-source-debian-12
211+
category: category/scs-0104
120212
tags: [scs-0104-v1-1, scs-0104-v1-2]
121213
- id: testcase/check-image-source-debian-11
214+
category: category/scs-0104
122215
tags: [scs-0104-v1-1, scs-0104-v1-2]
123216
- id: testcase/check-image-source-debian-10
217+
category: category/scs-0104
124218
tags: [scs-0104-v1-1, scs-0104-v1-2]
125219
# # image presence
126220
# ## capi
127221
- id: testcase/check-image-capi-2
222+
category: category/scs-0104
128223
tags: [scs-0104-v1-2]
129224
- id: testcase/check-image-capi-1
225+
category: category/scs-0104
130226
tags: [scs-0104-v1-1]
131227
# ## Ubuntu
132228
- id: testcase/check-image-ubuntu-24.04
229+
category: category/scs-0104
133230
tags: [scs-0104-v1-2]
134231
- id: testcase/check-image-ubuntu-22.04
232+
category: category/scs-0104
135233
tags: [scs-0104-v1-1]
136234
# ## Debian
137235
- id: testcase/check-image-debian-12
236+
category: category/scs-0104
138237
tags: [scs-0104-v1-2]
139238
# # volume types
140239
- id: testcase/volume-type-encrypted
240+
category: category/scs-0114
141241
tags: [scs-0114-v1-rec]
142242
description: >
143243
An encrypted volume type can be discovered.
144244
- id: testcase/volume-type-replicated
245+
category: category/scs-0114
145246
tags: [scs-0114-v1-rec]
146247
description: >
147248
A replicated volume type can be discovered.
@@ -150,52 +251,87 @@
150251
# see the correspondence between the test script and the standards requirements and recommendations
151252
# (the latter probably simply aren't checked?)
152253
- id: testcase/security-groups-default-rules-check
254+
category: category/scs-0115
153255
tags: [scs-0115-v1]
154256
description: >
155257
Must fulfill all requirements of <https://docs.scs.community/standards/scs-0115-v1-default-rules-for-security-groups>
156258
# # key manager
157259
- id: testcase/key-manager-presence-check
260+
category: category/scs-0116
158261
tags: [scs-0116-v1-rec]
159262
description: >
160263
Key manager service is discoverable.
161264
- id: testcase/key-manager-permissions-check
265+
category: category/scs-0116
162266
tags: [scs-0116-v1]
163267
description: >
164268
Key manager is usable with member role.
165269
# # volume backup
166270
- id: testcase/volume-backup-check
271+
category: category/scs-0117
167272
tags: [scs-0117-v1]
168273
description: >
169274
Volume backup works.
170275
# # availability zones
171276
- id: testcase/availability-zones-check
277+
category: category/scs-0121
172278
tags: [scs-0121-v1,manual]
173279
description: >
174280
Note: manual check! Must fulfill all requirements of <https://docs.scs.community/standards/scs-0121-v1-Availability-Zones-Standard>
175281
# # service APIs
176282
- id: testcase/service-apis-check
283+
category: category/scs-0123
177284
tags: [scs-0123-v1]
178285
description: >
179286
All required services (besides block-storage) are discoverable; as listed in <https://docs.scs.community/standards/scs-0123-v1-mandatory-and-supported-IaaS-services>.
180287
- id: testcase/storage-apis-check
288+
category: category/scs-0123
181289
tags: [scs-0123-v1]
182290
description: >
183291
The block-storage API is discoverable; as listed in <https://docs.scs.community/standards/scs-0123-v1-mandatory-and-supported-IaaS-services>.
184292
- id: testcase/swift-s3-check
293+
category: category/scs-0123
185294
tags: [scs-0123-v1]
186295
description: >
187296
The object-storage API is compatible with S3; as described in <https://docs.scs.community/standards/scs-0123-v1-mandatory-and-supported-IaaS-services>.
188297
type: swift-s3-check
189298
- id: testcase/service-apis-docs-check
299+
category: category/scs-0123
190300
tags: [scs-0123-v1,manual]
191301
description: >
192302
Note: manual check! Must fulfill documentation requirements of <https://docs.scs.community/standards/scs-0123-v1-mandatory-and-supported-IaaS-services>.
193303
- id: testcase/domain-manager-check
304+
category: category/scs-0302
194305
tags: [scs-0302-v1,manual]
195306
description: >
196307
Note: manual check! Must fulfill all requirements of <https://docs.scs.community/standards/scs-0302-v1-domain-manager-role>
197308
309+
198310
# #### TARGETS ####
311+
# we want to enable a visualization like the following
312+
# v5.1 v6
313+
# category 1
314+
# - testcase 1.1 required required
315+
# - testcase 1.2 recommended required
316+
# - testcase 1.3 -- recommended
317+
# etc.
318+
#
319+
# these categories alone would be too rigid though: if we have many testcase, it may be desireable to
320+
# highlight certain parts in a way that is orthogonal to categories.
321+
#
322+
# therefore we use two concepts:
323+
# - categories for sorting the testcase just like above, and
324+
# - targets for certain aspects of interest (such as security) that don't cover all testcases
325+
#
326+
# the former would be defined with the testcases
327+
# the latter would be more or less like the targets we currently have
328+
#
329+
# and then we still need to specify for each version: which testcases are required/recommended
330+
# we can still use targets for that:
331+
# - any testcase in `main` is required (it could be hidden from the list of targets if categories are used)
332+
# - any testcase not in main, but in another target is `recommended`
333+
# - if there is a target `recommended` we could hide that from the official list of targets same as `main`
334+
199335
- id: target/scs-compatible-iaas-main-v5.1
200336
selectors:
201337
- scs-0100-v3.1

0 commit comments

Comments
 (0)