STOR-3090: Select ocp-manifest vs ocp-manifest-long with fallback for older releases - #84414
Conversation
|
@radeore: This pull request references STOR-3090 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the sub-task to target the "5.1.0" version, but no target version was set. 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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (5)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. WalkthroughThe CSI storage scripts now select long or standard OCP manifests based on certification mode and file availability. Manifest output occurs only when the destination file exists. ChangesOCP CSI manifest handling
Estimated code review effort: 2 (Simple) | ~15 minutes Merge Risk: ⚪ Minimal · up to The change adds release-aware fallback selection for storage manifests without any identified merge-blocking risk; it is merge-ready after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 5 files. Full details: Stable And Deterministic Test NamesExplanation PASS: The pull request changes five Full details: Microshift Test CompatibilityExplanation PASS — The pull request changes only five shell command files that select and copy CSI manifests. The diff adds no Ginkgo e2e tests and no It(), Describe(), Context(), or When() declarations. Therefore the MicroShift Test Compatibility check is not applicable. Full details: Single Node Openshift (Sno) Test CompatibilityExplanation PASS: The pull request changes only five shell manifest-selection scripts. The exact HEAD^..HEAD diff contains no Go files, test files, or Ginkgo declarations such as It(), Describe(), Context(), or When(). Therefore the SNO test compatibility check is not applicable. Full details: Topology-Aware Scheduling CompatibilityExplanation PASS: The pull request changes only five Full details: Ote Binary Stdout ContractExplanation PASS: The pull request changes only five shell step-registry files. The diff contains no Go files, OTE binary code, or process-level functions such as main(), TestMain(), BeforeSuite(), or RunSpecs() setup. The added echo and cat commands are shell-step output, not stdout writes from an OTE binary. Full details: Ipv6 And Disconnected Network Test CompatibilityExplanation PASS: The pull request changes only five shell step-registry scripts. The committed diff adds no Ginkgo e2e tests, test declarations, IPv4 addresses, or external connectivity calls. The custom check is therefore not applicable. Full details: No-Weak-CryptoExplanation PASS: The pull-request diff changes only manifest file selection and copying in five shell scripts. The added code uses file tests, Full details: Container-PrivilegesExplanation PASS. The pull request changes only five shell scripts that select and copy CSI manifest files. The added lines contain no Full details: No-Sensitive-Data-In-LogsExplanation PASS. The changed logging prints only selected OCP test manifests and their shared-directory paths. The manifests at the referenced CSI operator split commit contain driver names, test capability flags, pod counts, and timeouts; they contain no passwords, tokens, API keys, PII, session IDs, customer data, or hostnames. The manifest path values are fixed CI filenames such as ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[REHEARSALNOTIFIER]
A total of 929 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs. A full list of affected jobs can be found here Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/pj-rehearse pull-ci-openshift-csi-node-driver-registrar-master-e2e-aws-csi |
|
@gnufied: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse pull-ci-openshift-csi-operator-release-5.0-e2e-aws-csi pull-ci-openshift-csi-operator-release-5.0-e2e-azure-file-csi periodic-ci-openshift-release-main-nightly-4.22-e2e-aws-csi |
|
@jsafrane: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jsafrane, radeore 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 |
|
@jsafrane: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@radeore: 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. |
Summary
Follow-up to #83463 / revert #84395.
#83463 copied
ocp-manifest-long.yamlwheneverENABLE_LONG_CSI_CERTIFICATION_TESTS=true. That file exists only after openshift/csi-operator#596. Payload jobs such asperiodic-ci-openshift-release-main-nightly-4.22-e2e-aws-csiset the long flag, sostorage-conf-csi-aws-ebsfailed with:cp: cannot stat 'test/e2e/aws-ebs/ocp-manifest-long.yaml': No such file or directoryThe step-registry is shared across releases. This change keeps the split, but only copies a file that is present:
ENABLE_LONG_CSI_CERTIFICATION_TESTS=true): copyocp-manifest-long.yamlif it exists, otherwise the combinedocp-manifest.yaml.ocp-manifest.yamlonly when the split is present (ocp-manifest-long.yamlexists).Applies to AWS EBS, Azure Disk, Azure File, GCP PD, and AWS EFS.
Summary by CodeRabbit
This PR updates CSI certification test manifest selection for AWS EBS, Azure Disk, Azure File, GCP PD, and AWS EFS.
ocp-manifest-long.yamlwhen available.ocp-manifest.yamlfor older releases.ocp-manifest.yamlonly when the split manifests exist.These changes prevent failures from shared step-registry configuration across releases that do not provide
ocp-manifest-long.yaml.