-
Notifications
You must be signed in to change notification settings - Fork 28
Turn unwarranted ABORT cases into FAIL for scs-0117, scs-0123 #1063
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Matthias Büchse <matthias.buechse@alasca.cloud>
Signed-off-by: Matthias Büchse <matthias.buechse@alasca.cloud>
| It will abort with an exception if no service of type object-storage is present. As of now, we deem | ||
| this behavior adequate. | ||
| """ | ||
| if 'object-store' not in services_lookup: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do I misunderstand something here or should this be s3 here instead? s3 is listed in the Mandatory IaaS APIs, whereas object-store is listed optional.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know what you mean, but this test requires the catalog entry to derive the S3 host. We can improve this test if and when a test subject arrives that satisfies our standard without offering object-store.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One alternative would be to have the test succeed, and I'm open to that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As this seems to be related to the issue #1003, let's discuss this in the next SIG Std/Cert.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The thing is that we also have the testcase scs-0123-service-object-store listed as mandatory, which would then be wrong as well, and I have a hunch that this was a conscious decision to make testing possible. We would have to check the supplement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The supplement doesn't help here. The origin can be found here:
https://github.com/SovereignCloudStack/standards/blame/b61054b7ca8a7de6bd627351964bf63b28642feb/Tests/iaas/mandatory-services/mandatory-iaas-services.py#L27
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from that, the script used to have this capability:
If the deployment uses s3 only and does not have the object store endpoint specified in the service catalog, the "
--s3-endpoint" flag may be used to specify the s3 endpoint. In that case the "--s3-access" and "--s3-access-secret" flags must also be set, to give all necessery credentials to the test suite
This capability has since been removed (I think) because it's hard to automate. However, it can be added in again should the need arise.
That doesn't affect the matter regarding object-store.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I have to retract the last sentence:
if s3_credentials:
mandatory_services.remove("object-store")this was in the original code and has since been removed 👀
|
Case "swift/s3" is also related to #1003. |
|
@depressiveRobot actually, I think this is more a case of this: #1004 |
The cases actually warrant FAIL:
Reporting those as ABORT doesn't do the severity of the failures justice.