OCPBUGS-100308: Fix test APIs for openshift.io must have stable versions - #31458
OCPBUGS-100308: Fix test APIs for openshift.io must have stable versions#31458sadasu wants to merge 1 commit into
APIs for openshift.io must have stable versions#31458Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
Check if a CRD's version is served before checking if it the stable version. Sometimes, the older unstable versions are not deleted rightaway but these CRDs are not served by default either. That should not cause this test to fail.
WalkthroughThe CRD stability test now ignores unserved version specifications and checks stability only for served versions. ChangesCRD version stability
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@sadasu Makes sense, lgtm, is there a bug that this is fixing? |
I haven't opend a bug for this yet. I opened this in response to the failure I was seeing in this PR : openshift/api#2859 and this run https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_api/2859/pull-ci-openshift-api-master-e2e-aws-ovn/2082842505988018176 |
|
/lgtm Took a quick look to see if this is failing with any frequency, doesn't seem like that's the case so won't bother with a bug and backports |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sadasu, sdodson 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 |
APIs for openshift.io must have stable versions
|
@sadasu: This pull request references Jira Issue OCPBUGS-100308, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
The bug has been updated to refer to the pull request using the external bug tracker. 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 openshift-eng/jira-lifecycle-plugin repository. |
|
Scheduling required tests: |
|
@sadasu: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
|
@sadasu: This PR was included in a payload test run from openshift/api#2859
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/358c41e0-8c51-11f1-8da8-371837a4b288-0 |
Check if a CRD's version is served before checking if it the stable version. Sometimes, the older unstable versions are not deleted rightaway but these CRDs are not served by default either. That should not cause this test to flag a failure.
Summary by CodeRabbit