-
Notifications
You must be signed in to change notification settings - Fork 4.8k
OCPBUGS-59176: skip specific tests if DNSManaged is false #29985
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -53,8 +53,16 @@ var _ = g.Describe("[sig-network-edge][Conformance][Area:Networking][Feature:Rou | |
| g.Skip("Skip on platforms where the default router is not exposed by a load balancer service.") | ||
| } | ||
|
|
||
| defaultDomain, err := getDefaultIngressClusterDomainName(oc, time.Minute) | ||
| o.Expect(err).NotTo(o.HaveOccurred(), "failed to find default domain name") | ||
| isDNSManaged, err := isDNSManaged(oc, time.Minute) | ||
| if err != nil { | ||
| e2e.Failf("Failed to get default ingresscontroller DNSManaged status: %v", err) | ||
| } | ||
| if !isDNSManaged { | ||
| g.Skip("Skipping on this cluster since DNSManaged is false") | ||
| } | ||
|
Comment on lines
+56
to
+62
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm wondering why only GRPC interoperability test should be skipped. We have a lot more tests in
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Firstly, there are three conditions for Secondly, in the job "e2e-gcp-user-provisioned-dns" we just see the 4 failing tests, and the cluster set Thirdly, I believe most tests in
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @alebedev87 , @lihongan just checking to see what the resolution of this is. We need this fix so that the "e2e-gcp-user-provisioned-dns" periodic jobs are not in the Red due to these tests and force this feature to be reverted.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are we planning to make this a permanent skip? I don't agree with that.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As discussed with Andrey, I plan to amend the logic of sending of HTTP requests to target the Load Balancer's IP address in case the DNS is not managed, with this trick then we don't need to skip the tests. |
||
|
|
||
| baseDomain, err := getClusterBaseDomainName(oc, time.Minute) | ||
| o.Expect(err).NotTo(o.HaveOccurred(), "failed to find base domain name") | ||
|
|
||
| g.By("Locating the canary image reference") | ||
| image, err := getCanaryImage(oc) | ||
|
|
@@ -196,7 +204,7 @@ var _ = g.Describe("[sig-network-edge][Conformance][Area:Networking][Feature:Rou | |
| pemCrt2, err := certgen.MarshalCertToPEMString(tlsCrt2Data) | ||
| o.Expect(err).NotTo(o.HaveOccurred()) | ||
|
|
||
| shardFQDN := oc.Namespace() + "." + defaultDomain | ||
| shardFQDN := oc.Namespace() + "." + baseDomain | ||
|
|
||
| g.By("Creating routes to test for gRPC interoperability") | ||
| routeType := oc.Namespace() | ||
|
|
||
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.
Can this be checked outside the 10 minute loop, or do we need to check it every time?