-
Notifications
You must be signed in to change notification settings - Fork 433
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
fix: remove ExemptFeatures in experimental suite #2279
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Xunzhuo The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/kind bug |
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.
Thanks, @Xunzhuo! This change makes total sense to me, but I see it as incomplete:
what happens when you want to be conformant with let's say the HTTP
profile, but you exempt a mandatory feature like SupportGateway
? With this kind of check, I think the conformance will be given, even if the Gateway
tests are not executed.
Thanks for comments @mlavacca, let me try to understand this point. You mean we cannot exempt a coreFeatures in profiles? If so, this is a bit werid for me, I think users should be able to exempt features in core or extended. Correct me if I misundstand it. This is synced with https://github.com/kubernetes-sigs/gateway-api/blob/main/conformance/utils/suite/suite.go#L102 |
I think @mlavacca's point is that if a feature is exempted that is part of one of the conformance profiles specified, then the resulting report should not mark that profile as having passed e.g. if I use this branch and have a config like this:
I still get a report that says everything passed even though not all the tests were run
Seems like for completeness we should make sure to set the profile result field to partial or otherwise if an exempt feature is specified that is part of a profile (and probably make sure the skipped tests are recorded as well) |
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.
left a comment, the change is correct, but probably needs more to make it complete in the context of the conformance profile suite
Yes, I agree that you should not be able to skip any Core tests in any profile and still have your conformance test marked as "Passing". Allowing that will undermine the value of the Core parts of the tests. |
Yep, this is 100% what I meant 👍 |
Great for clarifications, I will update it to make it complete. |
@Xunzhuo do you think you'll have a chance to follow up on this one? |
Yep @robscott |
Signed-off-by: bitliu <bitliu@tencent.com>
@Xunzhuo thanks for the update here! Unless I'm missing something, it still doesn't address @sunjayBhatia's comment above though: #2279 (comment). |
@Xunzhuo: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
In experimental test suite, we did not remove ExemptFeatures. This makes ExemptFeatures in Options does not work.
Which issue(s) this PR fixes:
Fixes #2347
Does this PR introduce a user-facing change?: