Skip to content

OCPNODE 4897: Testplan for podman/crio compatibility 5.0 - #31959

Draft
aksjadha wants to merge 1 commit into
openshift:release-5.0from
aksjadha:OCPNODE-4897
Draft

aksjadha wants to merge 1 commit into
openshift:release-5.0from
aksjadha:OCPNODE-4897

Conversation

@aksjadha

@aksjadha aksjadha commented Nov 26, 2026 •

Copy link
Copy Markdown

Summary

This PR adds a comprehensive test plan document for validating the Podman/CRI-O shared library consolidation feature in OpenShift Container Platform 5.0.

What

Adds test/extended/node/testplan/podman-crio-consolidation-test-plan.md - a formal IEEE 829-style test plan that defines validation criteria, test approach, environmental needs, and risk mitigation strategies for the CRI-O container- libs bump to version 5.8.z.

Why

RHEL/Container-tools is consolidating Podman versions across streams to reduce CVE maintenance overhead. CRI-O and Podman share the same underlying container-libs code (storage, image, common), requiring a matching CRI-O library bump on OpenShift 5.0. Historical data shows 2-3 boot-breaking bugs have resulted from version mismatches, making thorough validation critical.

Summary by CodeRabbit

  • New Features
    • Added an option to skip cluster readiness checks during E2E analysis; skipped checks are recorded in JUnit reports.
    • Added extended test coverage for TLS profiles, network observability, Pacemaker health, device taint rules, and CSI volume cleanup.
    • Added cluster topology and platform detection to support test selection and reporting across different environments.
  • Bug Fixes
    • Improved handling of ROSA-specific test applicability and transient cluster or log-collection issues.
    • Updated test image versions and refined several upgrade, networking, storage, and recovery checks.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Pipeline controller notification

This PR uses the pipeline controller for second-stage tests. Selection and triggering follow the repository configuration.

Use /test ? to list jobs and /pipeline help for commands.

@openshift-ci

openshift-ci Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci openshift-ci Bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Nov 26, 2026
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
Pre-merge checks: Passed 10

Check name Status Explanation
Stable And Deterministic Test Names Passed PR #31959 (openshift/origin, head OCPNODE-4897, base release-5.0, author aksjadha) adds one file: test/extended/node/testplan/podman-crio-consolidation-test-plan.md (465 lines, a Markdown test plan). …
Test Structure And Quality Passed The check applies to Ginkgo test code. PR #31959 (openshift/origin, head OCPNODE-4897 into release-5.0, author aksjadha) adds a Markdown document, `test/extended/node/testplan/podman-crio-consolidatio…
Microshift Test Compatibility Passed The check applies only when a PR adds Ginkgo e2e specs (It, Describe, Context, When). This PR adds no such specs. - The provider-reported PR #31959 (openshift/origin, base release-5.0, head OCPNODE-48…
Single Node Openshift (Sno) Test Compatibility Passed The check applies only when a pull request adds new Ginkgo e2e specs (It, Describe, Context, When). PR #31959 (openshift/origin, base release-5.0, head OCPNODE-4897, author aksjadha) adds a single Mar…
Topology-Aware Scheduling Compatibility Passed The check applies only when deployment manifests, operator code, or controllers are added or modified. The PR (openshift/origin #31959, head OCPNODE-4897, base release-5.0, author aksjadha) adds one M…
Ote Binary Stdout Contract Passed The check does not apply to this PR. PR #31959 (openshift/origin, head OCPNODE-4897 into release-5.0, author aksjadha) adds a single Markdown document, `test/extended/node/testplan/podman-crio-consoli…
Ipv6 And Disconnected Network Test Compatibility Passed The check applies only when new Ginkgo e2e tests (It, Describe, Context, When) are added. PR #31959 (openshift/origin, head OCPNODE-4897, base release-5.0, author aksjadha) adds a Markdown test plan, …
No-Weak-Crypto Passed Summary: The PR (openshift/origin #31959, author aksjadha, base release-5.0, head OCPNODE-4897) adds one document: test/extended/node/testplan/podman-crio-consolidation-test-plan.md (465 l…
Container-Privileges Passed The check flags privileged settings in container/K8s manifests: privileged: true, hostPID, hostNetwork, hostIPC, SYS_ADMIN, running as root without justification, and allowPrivilegeEscalation: true. S…
No-Sensitive-Data-In-Logs Passed The check looks for logging that may expose passwords, tokens, API keys, PII, session IDs, internal hostnames, or customer data. PR #31959 (openshift/origin, head OCPNODE-4897 into release-5.0) adds o…
Full details: Stable And Deterministic Test Names

Explanation

PR #31959 (openshift/origin, head OCPNODE-4897, base release-5.0, author aksjadha) adds one file: test/extended/node/testplan/podman-crio-consolidation-test-plan.md (465 lines, a Markdown test plan). The root commit's diff-tree output was too large to list in full, but the PR description and the test plan directory both point to this single document, and no Go source with Ginkgo It/Describe/Context/When calls was found under the testplan path. The check therefore has no Ginkgo test code in this PR to evaluate. The Markdown does list planned automated test titles (Section 9.5, which cites PR #31722 as the implementation location). These are static descriptive phrases, such as "Verify Podman and CRI-O concurrent image pulls do not corrupt shared storage". They contain no pod names with generated suffixes, timestamps, UUIDs, node names, namespace suffixes, or IP addresses. The file also contains no legacy openshift-tests-private metadata tokens (Author:, NonHyperShiftHOST, ROSA/OSD_CCS/ARO, Polarion-style IDs, ConnectedOnly, PreChkUpgrade and similar). The one openshift-tests run-test "[sig-node] [Jira:Node/Kubelet] Podman and CRI-O version compatibility" command uses only standard bracketed labels, and it is a static string. The check applies to test titles in code, and this PR does not change any. The planned titles that appear in the document also satisfy the stability rules. The check passes.

Full details: Test Structure And Quality

Explanation

The check applies to Ginkgo test code. PR #31959 (openshift/origin, head OCPNODE-4897 into release-5.0, author aksjadha) adds a Markdown document, test/extended/node/testplan/podman-crio-consolidation-test-plan.md. The PR description and title both describe only this IEEE 829-style test plan. The checkout's HEAD commit "Testplan for podman/crio compatibility 5.0" is a squashed snapshot with no usable parent, so I could not produce a clean per-file diff against release-5.0. Within the tree, test/extended/node/testplan/ contains only that Markdown file, and rg found no It( blocks there. No Ginkgo It, Describe, BeforeEach, or Eventually code is introduced by this PR. The check's quality criteria therefore have no test code to evaluate, so the check is inapplicable.

Full details: Microshift Test Compatibility

Explanation

The check applies only when a PR adds Ginkgo e2e specs (It, Describe, Context, When). This PR adds no such specs. - The provider-reported PR #31959 (openshift/origin, base release-5.0, head OCPNODE-4897, author aksjadha) changes one file according to its description: test/extended/node/testplan/podman-crio-consolidation-test-plan.md, a 465-line IEEE 829-style test plan. - That file contains no Ginkgo specs. A search for It(, Describe(, Context(, When( and related terms found only prose and table entries. - The plan names test/extended/node/node_e2e/podman_crio_bump.go as an implementation reference, citing PR #31722. That file is not present in the checkout, so it does not belong to this PR. - Caveat: HEAD is a root commit that contains the full repository tree, so I could not run a base-to-head diff. The verdict relies on the PR description and the content of the test plan file. Both show that the only change is a Markdown document. With no new e2e specs, no MicroShift-unsupported API usage is introduced. The check does not fail.

Full details: Single Node Openshift (Sno) Test Compatibility

Explanation

The check applies only when a pull request adds new Ginkgo e2e specs (It, Describe, Context, When). PR #31959 (openshift/origin, base release-5.0, head OCPNODE-4897, author aksjadha) adds a single Markdown file, test/extended/node/testplan/podman-crio-consolidation-test-plan.md, per the PR title, description, and commit subject "Testplan for podman/crio compatibility 5.0". The repository holds a single commit, so a base-to-head diff cannot be computed. Checks against the tree found no new Ginkgo specs tied to this change: - The test plan (section 9.5) cites an automated suite in openshift/origin PR #31722. That suite is not part of this PR. Its file test/extended/node/node_e2e/podman_crio_bump.go does not exist in this tree. - The only Go file in test/extended/node/node_e2e that a search surfaced, image_mirror_set.go, contains three pre-existing specs (ImageTagMirrorSet/ImageDigestMirrorSet). It has no Podman or CRI-O references, and this PR's description does not mention it. - No added Go code in the PR's commit introduces a Ginkgo block that this check governs. Because no new e2e tests are added, the SNO compatibility criteria do not apply. The test plan's topology section (9.2) lists SNO as a required configuration. That is a planning statement, not a test, and this check does not cover it. Any future Ginkgo tests from PR #31722 would require their own SNO review.

Full details: Topology-Aware Scheduling Compatibility

Explanation

The check applies only when deployment manifests, operator code, or controllers are added or modified. The PR (openshift/origin #31959, head OCPNODE-4897, base release-5.0, author aksjadha) adds one Markdown file: test/extended/node/testplan/podman-crio-consolidation-test-plan.md (465 insertions). The PR description describes no other change. The local checkout shows the HEAD commit ("Testplan for podman/crio compatibility 5.0") with a stat for the testplan path of one file and 465 insertions. The HEAD commit is a full-tree snapshot, so I could not compare it against a clean base. I relied on the testplan-path stat and the PR description for the change scope. The test plan text discusses topologies such as SNO, TNF, and TNA, but a planning document is not a manifest, operator, or controller. No scheduling constraint is introduced, so the check is not triggered.

Full details: Ote Binary Stdout Contract

Explanation

The check does not apply to this PR. PR #31959 (openshift/origin, head OCPNODE-4897 into release-5.0, author aksjadha) adds a single Markdown document, test/extended/node/testplan/podman-crio-consolidation-test-plan.md (465 lines). The PR description and title describe only this test plan. The file contains no Go code, no func main/func init, no klog or fmt.Print calls, and no code fences. A repository-wide search of test/extended/node found no klog.SetOutput, LogToStderr, or log.SetOutput calls, but that is pre-existing context and is not a change from this PR. Limitation: the sandbox checkout is a single root commit (d8dd263329) that contains the whole repository. It has no parent, so a base-to-head diff could not be isolated mechanically. The verdict relies on the PR description and the file contents. No changed Go process-level code was identified, so no failure condition is established.

Full details: Ipv6 And Disconnected Network Test Compatibility

Explanation

The check applies only when new Ginkgo e2e tests (It, Describe, Context, When) are added. PR #31959 (openshift/origin, head OCPNODE-4897, base release-5.0, author aksjadha) adds a Markdown test plan, test/extended/node/testplan/podman-crio-consolidation-test-plan.md (465 lines). The PR description describes this file as the only change. Evidence: - The local checkout is a single root commit (d8dd263, no parent). The full PR patch therefore cannot be isolated from git history. The commit contains the whole repository, so I could not confirm the change set from a diff. - A search of the test plan for Ginkgo constructs, IP literals, and URLs found no Go test code. The only external references are image-pull scenarios from Quay and registry.redhat.io in the plan text, plus documentation links. - The plan's automated test suite row (line 301) and references (line 465) point to openshift/origin PR #31722 as the Ginkgo implementation. That work is outside this PR. Because no new Ginkgo test code is attributable to this PR, the IPv4 and disconnected-network criteria do not apply. The verdict is PASS on inapplicability. The verdict depends on the PR description being accurate. If this PR also adds Go e2e tests, those tests need review against this check.

Resolution

None required for this PR. If Go e2e tests are later added to this PR, re-run the check against those tests.

Full details: No-Weak-Crypto

Explanation

Summary: The PR (openshift/origin #31959, author aksjadha, base release-5.0, head OCPNODE-4897) adds one document: test/extended/node/testplan/podman-crio-consolidation-test-plan.md (465 lines). It is an IEEE 829-style test plan. It contains no code. Evidence checked: - The new test plan has no matches for MD5, SHA-1, DES, 3DES, RC4, Blowfish, ECB, HMAC, string-compare of secrets, or constant-time terms. Its crypto-adjacent words ("digest-pinned", "signature/policy behavior") describe image verification behavior, not weak primitives. - The .agentic, .apm, .claude, .cursor, and testplan directories contain no weak-crypto tokens. - The local clone has the PR head commit d8dd2633 as a parentless root commit. Its stat lists about 42,000 files. The base revision is therefore unavailable, so the true PR diff cannot be fully established. Under the decision contract, the whole tree is not treated as introduced by this PR. - Repo-wide hits exist outside the PR's stated scope. These are: pkg/test/extensions/util.go (SHA-1 used to build a non-security directory-name suffix), test/extended/apiserver/tls.go (a comment mentioning RC4 in a TLS test that exercises cipher restrictions), test/extended/testdata/** Kerberos fixtures listing des-cbc-md5 and arcfour-hmac enctypes, and an unrelated Grafana dashboard label. None is described in the PR as changed, and none is attributable to this PR. Conclusion: The PR's changed content is a Markdown test plan with no weak cryptography, no custom cipher code, and no non-constant-time secret comparison. No explicit failure condition is introduced by this PR. Caveat: The local clone cannot show the PR's full diff against release-5.0. If the provider diff includes the repo-wide files listed above, the SHA-1 call in pkg/test/extensions/util.go would be a literal match to "SHA1 usage". It would need a separate review of whether that call is new and whether a non-security use is acceptable under this check.

Full details: Container-Privileges

Explanation

The check flags privileged settings in container/K8s manifests: privileged: true, hostPID, hostNetwork, hostIPC, SYS_ADMIN, running as root without justification, and allowPrivilegeEscalation: true. Scope of the change: the PR description says it adds one file, test/extended/node/testplan/podman-crio-consolidation-test-plan.md. That file is a 465-line Markdown IEEE 829-style test plan. Its only fenced code blocks are at lines 226-229 and 369-371. The file contains no YAML, no kind:, no apiVersion:, and no securityContext. Keyword search of the file returned only test-scope prose and a table row: - Line 116: "Privileged pods and special networking modes (hostNetwork, hostPID)". This is a test scope item, not a manifest setting. - Line 414: "Privileged pod validation" in a checklist table, with an empty value column. - Line 384: a risk-table row that mentions "Privileged" only in a different context, from the "Storage format incompatibility" row. No hits for SYS_ADMIN, allowPrivilegeEscalation, runAsUser, root, or capabilities. Evidence limit: the local repository has one root commit (d8dd263) that lists the whole tree as added. No base revision is available, so the exact PR file list could not be confirmed from git. I did not treat the rest of the tree as PR-introduced. The check's failure conditions do not cover a missing diff, so this limit does not change the verdict. The only file the PR describes contains no flagged manifest content.

Full details: No-Sensitive-Data-In-Logs

Explanation

The check looks for logging that may expose passwords, tokens, API keys, PII, session IDs, internal hostnames, or customer data. PR #31959 (openshift/origin, head OCPNODE-4897 into release-5.0) adds one Markdown file, test/extended/node/testplan/podman-crio-consolidation-test-plan.md (465 lines). It adds no executable code and no logging statements. A case-insensitive search of the file for log, password, token, secret, API key, @, hostname, and credential found only generic prose. The "logs" hit refers to pod log operations in a test scope list, and the "logging" hit refers to a severity table entry. No sensitive values appear. The diff base could not be resolved in the checkout, but the commit under review is a single test-plan document, so no code logging path is introduced.

@openshift-ci openshift-ci Bot added e2e-images-update Related to images used by e2e tests vendor-update Touching vendor dir or related files labels Nov 26, 2026
@openshift-ci

openshift-ci Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: aksjadha
Once this PR has been reviewed and has the lgtm label, please assign jacobsee for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@aksjadha
aksjadha changed the base branch from main to release-5.0 November 26, 2026 13:37
@openshift-ci openshift-ci Bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 27, 2026

| Test Case |
|---|
| Verify sync=filesystem configuration and basic storage operations |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to add this case, already covered under that feature

| Milestone | Target | Description | JIRA |
|---|---|---|---|
| M0 | TBD | Library pins and requirements agreed with Container-tools | OCPNODE-4644 |
| M1 | TBD | OCP 5.0 vendor-bump PR created and CI passing | OCPNODE-4648 |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already done, and JIRA story has been closed.

---

**References**:
- Parent Epic: [OCPNODE-4640](https://issues.redhat.com/browse/OCPNODE-4640)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


| OCP Version | Current Podman | Target Podman | Change Complexity | Risk Tier |
|-------------|----------------|---------------|-------------------|-----------|
| 5.0 | n/a (new release) | 5.8.z (via podman-5.8-rhel downstream) | Large - full container-libs replace bundling 3 features (sync=filesystem, mirror fallback, tar-split fix) plus forced securejoin/selinux/runc downgrades and go-criu protobuf conflict resolution | P0 - Highest |

@asahay19 asahay19 Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small clarity : please check that 5.8.z is the Podman / container-libs target, not the CRI-O binary version. On 5.0, CRI-O will still be the OpenShift runtime version (e.g. 1.36.x). We already saw skew on a MicroShift 5.0 cluster where CRI-O was newer but Podman was still 5.4.z so matched versions should be a hard check, not only "document the mismatch."
Also, no need to mention about features (sync=filesystem, mirror fallback, tar-split fix) . They were just commits which were got pulled during bumping.

### 9.5 Automated Test Suite

**Location**: openshift/origin PR #31722
**Implementation**: test/extended/node/node_e2e/podman_crio_bump.go, image_mirror_set.go

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should not add image_mirror_set.go as part of this suite. That file is the generic IDMS e2e helper, not the Podman/CRI-O bump tests.


**Location**: openshift/origin PR #31722
**Implementation**: test/extended/node/node_e2e/podman_crio_bump.go, image_mirror_set.go
**Coverage**: 9 automated test cases addressing critical scenarios

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here it is 9, but below table shows 10 test cases

| Confirm CRI-O doesn't wrongly repair healthy storage after the bump |
| Verify Podman and CRI-O share pulled images and layers correctly |

**Cluster Type Detection:**

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here, Please note the current automation limits here :

MicroShift is skipped in #31722 today
IDMS is skipped on HyperShift (External topology / no MCP path)
So MicroShift and HyperShift are still manual-required, not fully covered by the automated suite. even though section 9.2 marks them Required.


### 9.4 Test Data Requirements

Test scenarios require:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add the IDMS gotcha we hit during real execution:
Default pull-from-mirror = "digest-only" means tag pulls never use the mirror list. Tests must:

  • clear both crictl and podman image caches
  • pull by digest (image@sha256:...)
  • check Podman fallback with podman pull --log-level=debug (not journalctl -u crio)


### 3.3 Image Operations
- Image pull from Quay, registry.redhat.io, and mirrored registries
- Multi-layer image handling

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a minimum layer requirement here? ubi9/nodejs-18 only has 3 layers (squashed), so it is not a good stress image. We had to use something deeper (e.g. Prometheus ~9 layers).
Suggestion: require ≥5 layers (ideally ≥8), otherwise the multi-layer test can pass without really stressing the stack.

| CRI-O vendor-bump PR created and merged | |
| All required CI jobs passing | |
| Fresh install successful (cluster operators healthy) | |
| CRI-O version verification (5.8.z) | |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This checklist item is incorrect as written. Please change to something like:

  • Verify Podman version is 5.8.z
  • Verify CRI-O version matches the 5.0 expected runtime version
  • Verify shared libs are the expected go.podman.io/{storage,image,common} set

“CRI-O 5.8.z” will confuse anyone running the checklist.


---

## Appendix B: Manual Test Cases

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appendix B only lists a few TCs (01, 03, 04, 14, 17–19) and skips many from the 21-case matrix with no explanation. Either:

  • list the full manual set, or
  • say “full matrix lives in usecases / execution tracker” and link it

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will prefer to have all the test cases , here and mention as manual only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. e2e-images-update Related to images used by e2e tests vendor-update Touching vendor dir or related files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants