OCPBUGS-99533: Add Additional Storage Support - API validation test cases#31418
OCPBUGS-99533: Add Additional Storage Support - API validation test cases#31418BhargaviGudi wants to merge 1 commit into
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
|
@BhargaviGudi: This pull request explicitly references no jira issue. 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. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: BhargaviGudi The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/payload-job periodic-ci-openshift-release-main-ci-4.22-e2e-gcp-ovn-techpreview |
|
@BhargaviGudi: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/aea00b70-8661-11f1-95c9-0c879d5f79a3-0 |
|
/assign @saschagrunert @ngopalak-redhat |
saschagrunert
left a comment
There was a problem hiding this comment.
One blocking issue: error-swallowing in the skip helper. Non-blocking nits shared in the terminal.
| if err != nil { | ||
| framework.Logf("Failed to detect MicroShift cluster: %v", err) | ||
| g.Skip("Cannot verify cluster type") | ||
| } |
There was a problem hiding this comment.
This swallows API errors by skipping. If IsMicroShiftCluster fails for an unexpected reason (e.g., kube API unreachable, auth issue), the test silently never runs and nobody notices.
The established pattern in this directory (see kubelet_secret_pulled_images.go line 56) is:
o.Expect(err).NotTo(o.HaveOccurred())Same issue applies to the Infrastructures().Get() error handling below on line 758. Both should fail the test on unexpected errors rather than skip.
There was a problem hiding this comment.
Updated.
I have removed microft azure skip for now to check whether the feature works on azure. Is that skip required? I believe feature should work on azure platform.
There was a problem hiding this comment.
This check moved https://github.com/openshift/origin/pull/31418/changes#diff-6cdaa2d702b7181438fcc46676220b9ae55135b9481bf8531a28f34c745c2a4aR23 as per the content from main branch.
|
Scheduling required tests: |
|
/label backport-risk-assessed |
|
@BhargaviGudi: The label(s) 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. |
|
@BhargaviGudi: This pull request references Jira Issue OCPBUGS-99533, which is invalid:
Comment 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. |
|
/jira refresh |
|
@BhargaviGudi: This pull request references Jira Issue OCPBUGS-99533, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
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. |
98ad1d4 to
8b23fa2
Compare
|
/payload-job periodic-ci-openshift-release-main-ci-5.0-e2e-azure-ovn-techpreview |
|
@BhargaviGudi: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/c82e6200-8673-11f1-9176-a0ccc3be4485-0 |
c189454 to
98ad1d4
Compare
8b23fa2 to
0509fc6
Compare
|
/payload-job periodic-ci-openshift-release-main-ci-5.0-e2e-azure-ovn-techpreview |
|
@BhargaviGudi: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/c46ec520-8677-11f1-8288-20bd097f8bbd-0 |
|
Scheduling required tests: |
|
@BhargaviGudi: This PR has been marked as verified by 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. |
|
Test cases passed on azure-ovn |
|
ci/prow/e2e-gcp-ovn failure is not related to this PR |
|
/test e2e-gcp-ovn |
|
@BhargaviGudi: 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. |
Manual cherry-pick of PR #31384
Summary:
Add comprehensive API validation tests for Additional Storage Support (additionalArtifactStores, additionalImageStores, additionalLayerStores) feature. These tests validate ContainerRuntimeConfig API behavior
using DryRun, ensuring proper validation without triggering MCO reconciliation.
test/extended/node/additional_storage_api.go- 13 API validation tests