Fix tests for CI #1108
Conversation
Signed-off-by: Triona Doyle <bot@example.com>
|
|
||
| // also skip for CI | ||
| if strings.Contains(ocVersion, ".ci") { | ||
| Skip("skipping this test in CI because OIDC is not enabled by default") |
There was a problem hiding this comment.
@trdoyle81 if the test was succeeding on 4.21 while testing 1.20 RC I don't think it should be skipped in CI
There was a problem hiding this comment.
auth operator on 4.21 seems to be way more picky about certificates than 4.20 was. So on any cluster that doesn't have genuine ingress certs the operator is staying stuck in progressing. I'm seeing this fail on standard 4.21 clusters too and not just in prow so I think we actually might need to skip this test for 4.21 entirely ?
There was a problem hiding this comment.
Never mind, I didn't realise this test was modified. Can we add a check to skip in CI+ if its version is < 4.20?
There was a problem hiding this comment.
Done. Updated to skip > 4.20. Also updated the AfterEach with null check because the namespace won't exist on skip.
...penshift/e2e/ginkgo/sequential/1-108_alternate_cluster_roles_cluster_scoped_instance_test.go
Show resolved
Hide resolved
|
/lgtm |
Signed-off-by: Triona Doyle <bot@example.com>
Signed-off-by: Triona Doyle <bot@example.com>
Signed-off-by: Triona Doyle <bot@example.com>
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: varshab1210 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
74ae851
into
redhat-developer:v1.20
|
/cherry-pick master |
|
@trdoyle81: only redhat-developer org members may request cherry picks. If you are already part of the org, make sure to change your membership to public. Otherwise you can still do the cherry-pick manually. DetailsIn 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-sigs/prow repository. |
|
/cherry-pick master |
|
@trdoyle81: #1108 failed to apply on top of branch "master": DetailsIn 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-sigs/prow repository. |
What type of PR is this?
/kind failing-test
What does this PR do / why we need it:
This PR fix two E2E test failures that happen when running v1.20 tests against OpenShift 4.21 in CI:
1-050_validate_sso):**o skip the OIDC status check when a.civersion string is detected in the OpenShift version.1-108_alternate_cluster_roles): Fix a race condition in theAfterEachcleanup block. The test was failing with a404 NotFounderror when trying to delete thetest-gitops-nsnamespace because it had already been deleted during the test execution. THave you updated the necessary documentation?
Which issue(s) this PR fixes:
Fixes #
Test acceptance criteria:
How to test changes / Special notes to the reviewer:
4.21.0-0.ci...404status error andReason: "NotFound"for thetest-gitops-nsnamespace in theAfterEachstack trace.