Skip to content

Commit e9c5bc4

Browse files
authored
Merge branch 'main' into feat/migrate-scs-compatible-iaas-fine-grained
2 parents 3aca923 + 5191f16 commit e9c5bc4

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

.zuul.d/secure.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -157,16 +157,16 @@
157157
5R+u/2lLoubnjt4U5lhkuzXXCak2V2QHneXfjTmEg68KHGfATLzoOY7S1e+Yi92AFOFSj
158158
TP+IrsMFqUQ7xq+a3MGnR2zB3srlAfWozgxwBgxzywqGaHFVdXdv00vvweUYnI=
159159
pco_prod1_ac_secret: !encrypted/pkcs1-oaep
160-
- sY/0vmiW/qBnmhtApqmcDePhX1HgzUchzfVFkFCfGf8W6MlEKd2rZztb3U8Q9DrY2Ickb
161-
zzU+Pml6MSImb1pBWlA5dIbPUiBgEdeLa6sv/9zDiwmr8Xp53q5u6B1MLDrHQWlR6GSVU
162-
XnppbSI2NeaDW4oFnzDMffwejq0PZvrVXXbM/daD5w2jzilxdFh6xT8Ar0qiT8UxrX1Pl
163-
8dd/hD0WBIAmLZxVYaIJ8YJfpdoxnAjU75g+L4snghq3IEWLUExoqQWa2AElIcS0TQf9U
164-
JoAwBvU8le8FCuCX0mUH/pSBOwPr+ycd4jUBQMNSpbFkPpoClC8JZnqWXiat/HI0vCNsB
165-
6vNRxWwvdnA3juP6EW+in3LC5tY2h56zN/btmvJaYvaUWKcEpJEooQxCR53gCemcNsFmE
166-
zAGIghGEewRsaYptYVG/4qAOzml2n91tw2bs67oZ7hCTsFpN/jpFceFfK5jvsRhFurs5p
167-
HsWBGvTRoii4m060Vf5zcZPh+S2iMt7vJMGVsV+O103WsVbscH4aTBvbpcJSkq2gW6oTI
168-
soL5C2TuI1BGJqGaBEstl/1NKMgKr5Xr0itGuBNIp3yOFLC8NmDL4wxKr7zRM2a7igC7w
169-
QptFrz+NbYKIOCUcESDN2QyHNQUTkGmF094ROEtOyk7pQ88DTIPEbiDqwkCAxY=
160+
- s8UGo8Cbbw7hgndde6c6NzUrWMaqHyUxCb+qDFDlxBQYXZkDmc+i35aSWGl7Ox5V8b03W
161+
d/EdVG/fK3Q/DRHFYAbVDbuqx3Q/7OdVpE3QoHI/uKaAsAblGIddkwrd3JHsieh2PN3Kv
162+
kwFH5iKjkv5KWRcg9sSJD7y2NJR0sXDjROuD+8JxiPqkEwuXtK+KdcTkGlKgOMV6r8Zch
163+
MCM8cxJNV/j9EAFBgZz4ZXHqgJ+4SSosEAU1ld4ikNHN/g90L2zYBX8Gqn7SR5W/s8zaT
164+
W6+4HhDzd8R9B+amEaOpFqwOytsaYf5BEvbccAcDhghHbi3rvfFSH5DvdaiHYOw6gTZiC
165+
5iNeDw8Ie8VPmh4XmuPqwOxeFxbPmqTV/QvFPrPCu6FGjWaNGmDEqhXKx0zmsPW1E6aw6
166+
xSY1jVnHIqR/yxN72/sArWJEDVlUa8wACvabKGP3/zEH/H9yMGO391/54ezzgv3KHyOiO
167+
lYq33fZq3ZU7HFTXksZ0qSSH7A9/hqbV1nyV2sXyQVevTBpq7KSuD7b5xXsd4U8Gnaahf
168+
nRK6mCX7/rhlG2XXR4G62bc8rt+eoo9VLFOw38YtozVjYTSbBJ4KVphLCLPVahR6mN7bP
169+
ezyDKZwHeDIjrSMTgUQuRVan5O2X0xLJIjgci38rRIGsRX1+ClDjWC2BK0nefA=
170170
pco_prod2_ac_id: !encrypted/pkcs1-oaep
171171
- spFJenyEj9ppvHKBryGw1TXRcpICwTov7rju9Mss31ctLjffA/r3TXwOnbS5dVIoqi7OH
172172
Axd8j9mOdDPUTaGVhkyd22XYyPPFN7GNT7eEI+VoRAVrtD9mx2tlOG6n92wLQP8us07fJ

Tests/iaas/scs_0101_entropy/entropy_check.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def compute_scs_0101_image_property(images, attributes=IMAGE_ATTRIBUTES):
7373
# drop those candidates that are fine
7474
offenders = [candidate for candidate in candidates if candidate[1]]
7575
for name, wrong in offenders:
76-
logger.error(f"Image '{name}' missing recommended attributes: {', '.join(wrong)}")
76+
logger.error(f"Image '{name}' missing attributes: {', '.join(wrong)}")
7777
return not offenders
7878

7979

@@ -86,10 +86,10 @@ def compute_scs_0101_flavor_property(flavors, attributes=FLAVOR_ATTRIBUTES, opti
8686
miss_opt = [key for key in optional if extra_specs.get(key) is None]
8787
if wrong:
8888
offenses += 1
89-
message = f"Flavor '{flavor.name}' missing recommended attributes: {', '.join(wrong)}"
90-
# only report missing optional attributes if recommended are missing as well
89+
message = f"Flavor '{flavor.name}' missing attributes: {', '.join(wrong)}"
90+
# only report missing optional attributes if main ones are missing as well
9191
# reasoning here is that these optional attributes are merely a hint for implementers
92-
# and if the recommended attributes are present, we assume that implementers have done their job already
92+
# and if the main ones are present, we assume that implementers have done their job already
9393
if miss_opt:
9494
message += f"; additionally, missing optional attributes: {', '.join(miss_opt)}"
9595
logger.error(message)
@@ -113,7 +113,7 @@ def compute_scs_0101_rngd(collected_vm_output, image_name):
113113
"""This test ensures that the `rngd` service is running on a test VM."""
114114
lines = collected_vm_output['rngd']
115115
if "could not be found" in '\n'.join(lines):
116-
logger.error(f"VM '{image_name}' doesn't provide the recommended service rngd")
116+
logger.error(f"VM '{image_name}' doesn't provide service rngd")
117117
return False
118118
return True
119119

@@ -158,7 +158,7 @@ def compute_scs_0101_virtio_rng(collected_vm_output, image_name):
158158
return False
159159
return True
160160
except BaseException:
161-
logger.critical(f"Couldn't check VM '{image_name}' recommends", exc_info=True)
161+
logger.critical(f"Couldn't check VM '{image_name}' properties", exc_info=True)
162162

163163

164164
class TestEnvironment:

0 commit comments

Comments
 (0)