Skip to content

USHIFT-7337: Make CentOS / RHEL optional scenarios consistent across OS versions and build types#7032

Open
ggiguash wants to merge 4 commits into
openshift:mainfrom
ggiguash:fix-centos-optional-scenarios
Open

USHIFT-7337: Make CentOS / RHEL optional scenarios consistent across OS versions and build types#7032
ggiguash wants to merge 4 commits into
openshift:mainfrom
ggiguash:fix-centos-optional-scenarios

Conversation

@ggiguash

@ggiguash ggiguash commented Jul 10, 2026

Copy link
Copy Markdown
Contributor
  • Using the same options / logic for optional CentOS scenarios, like we do for RHEL.
  • Making all optional scenarios consistent across all OS

Summary by CodeRabbit

Summary by CodeRabbit

  • Bug Fixes

    • Improved optional ARM VM test reliability by conditionally selecting SR-IOV–appropriate networking and adjusting which checks are skipped per architecture.
    • Updated optional VM launches to include the intended vCPU allocation.
  • Tests

    • Added retry-based cluster DNS verification to confirm DNS resolution after custom DNS resource changes.
  • Chores

    • Extended optional-suite execution and Greenboot timeouts to better accommodate longer optional package startup/restart cycles.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 10, 2026
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 10, 2026
@openshift-ci

openshift-ci Bot commented Jul 10, 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-robot

openshift-ci-robot commented Jul 10, 2026

Copy link
Copy Markdown

@ggiguash: This pull request references USHIFT-7337 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 bug to target the "5.0.0" version, but no target version was set.

Details

In 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.

@openshift-ci

openshift-ci Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ggiguash

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

The pull request process is described 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

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 10, 2026
@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 9e985a9d-3bee-454b-bb31-673e2617a87c

📥 Commits

Reviewing files that changed from the base of the PR and between ed2337f and d7d7042.

📒 Files selected for processing (9)
  • test/scenarios-bootc/el10/periodics/el102-src@optional.sh
  • test/scenarios-bootc/el10/releases/el102-lrel@optional.sh
  • test/scenarios-bootc/el9/periodics/el98-src@optional.sh
  • test/scenarios-bootc/el9/releases/el98-lrel@optional.sh
  • test/scenarios-bootc/upstream/cos10-src@optional.sh
  • test/scenarios-bootc/upstream/cos9-src@optional.sh
  • test/scenarios/periodics/el98-src@optional.sh
  • test/scenarios/releases/el98-lrel@optional.sh
  • test/suites/configuration1/dns-resource-configuration.robot
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (7)

Walkthrough

Optional Bootc scenarios now allow additional restart time, select VM networks by architecture, adjust test skips, and configure VM CPU counts. The DNS configuration suite now retries DNS resolution after resource changes.

Changes

Optional scenario and DNS test updates

Layer / File(s) Summary
Optional scenario runtime configuration
test/scenarios-bootc/el10/periodics/el102-src@optional.sh, test/scenarios-bootc/el10/releases/el102-lrel@optional.sh, test/scenarios-bootc/el9/periodics/el98-src@optional.sh, test/scenarios-bootc/el9/releases/el98-lrel@optional.sh, test/scenarios/releases/el98-lrel@optional.sh, test/scenarios/periodics/el98-src@optional.sh, test/scenarios-bootc/upstream/cos9-src@optional.sh, test/scenarios-bootc/upstream/cos10-src@optional.sh
Optional scenarios set extended execution or Greenboot timeouts; Cos9 and Cos10 derive networking-related values as described in their scripts.
Architecture-specific VM setup
test/scenarios-bootc/el10/periodics/el102-src@optional.sh, test/scenarios-bootc/el9/periodics/el98-src@optional.sh, test/scenarios-bootc/upstream/cos9-src@optional.sh, test/scenarios-bootc/upstream/cos10-src@optional.sh
VM launches use four vCPUs, and network lists omit sriov on aarch64.
Optional test selection
test/scenarios-bootc/el9/periodics/el98-src@optional.sh, test/scenarios-bootc/upstream/cos9-src@optional.sh, test/scenarios-bootc/upstream/cos10-src@optional.sh
Optional test skips vary by architecture; Cos10 also skips generic-device-plugin.
Retryable DNS resource validation
test/suites/configuration1/dns-resource-configuration.robot
The DNS resource-change test uses reusable keywords that retry nslookup through router-default and verify the requested hostname.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Suggested reviewers: kasturinarra, pacevedom, pmtk, vimauro

🚥 Pre-merge checks | ✅ 14 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (14 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: aligning optional CentOS/RHEL scenarios across OS versions and build types.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed No Ginkgo-style test titles were added or changed; the touched files are shell scenarios and a Robot suite with static, deterministic names.
Test Structure And Quality ✅ Passed PASS: The PR only changes shell scripts and one Robot suite; no Ginkgo It/BeforeEach/Eventually code was added or modified, so this check is not applicable.
Microshift Test Compatibility ✅ Passed No new Ginkgo tests were added; the diff is shell scenario logic and a Robot suite, with no blocked MicroShift APIs or unsupported namespaces.
Single Node Openshift (Sno) Test Compatibility ✅ Passed No new or changed Ginkgo e2e tests; the diff only updates bash scenario scripts and a Robot Framework suite, with no SNO-sensitive test code.
Topology-Aware Scheduling Compatibility ✅ Passed Only test scenario scripts and a Robot suite changed; no manifests/controllers or scheduling constraints like affinity, nodeSelector, or PDBs were introduced.
Ote Binary Stdout Contract ✅ Passed No stdout-writing process-level code was added; the PR only changes shell scenario scripts and a Robot suite, with no stdout prints/logging setup.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed No new Ginkgo e2e tests were added; the new Robot test uses cluster-local DNS, and the shell changes don’t add public-internet or IPv4-only assumptions.
No-Weak-Crypto ✅ Passed No weak-crypto primitives, custom crypto, or secret/token comparisons appear in the touched files; changes are scenario timeouts, networking, and DNS lookup keywords only.
Container-Privileges ✅ Passed The PR only changes a shell scenario script; no container/K8s manifest adds privileged, hostPID/hostNetwork, allowPrivilegeEscalation, or CAP_SYS_ADMIN.
No-Sensitive-Data-In-Logs ✅ Passed No added logging of secrets/PII/internal hostnames; changes only adjust scenario args/timeouts and a DNS assertion test.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ggiguash

Copy link
Copy Markdown
Contributor Author

/test ?

@ggiguash

Copy link
Copy Markdown
Contributor Author

/test e2e-aws-tests-bootc-upstream
/test e2e-aws-tests-bootc-upstream-arm

@ggiguash

Copy link
Copy Markdown
Contributor Author

/test e2e-aws-tests-bootc-upstream
/test e2e-aws-tests-bootc-upstream-arm

3 similar comments
@ggiguash

Copy link
Copy Markdown
Contributor Author

/test e2e-aws-tests-bootc-upstream
/test e2e-aws-tests-bootc-upstream-arm

@ggiguash

Copy link
Copy Markdown
Contributor Author

/test e2e-aws-tests-bootc-upstream
/test e2e-aws-tests-bootc-upstream-arm

@ggiguash

Copy link
Copy Markdown
Contributor Author

/test e2e-aws-tests-bootc-upstream
/test e2e-aws-tests-bootc-upstream-arm

@ggiguash ggiguash marked this pull request as ready for review July 10, 2026 18:59
@openshift-ci openshift-ci Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 10, 2026
@openshift-ci openshift-ci Bot requested review from copejon and pacevedom July 10, 2026 19:00
@ggiguash ggiguash changed the title USHIFT-7337: Fix CentOS 9/10 optional scenarios USHIFT-7337: Make CentOS / RHEL optional scenarios consistent across OS versions and build types Jul 10, 2026
@ggiguash

Copy link
Copy Markdown
Contributor Author

/test all

@ggiguash

Copy link
Copy Markdown
Contributor Author

/verified by ci

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Jul 10, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@ggiguash: This PR has been marked as verified by ci.

Details

In response to this:

/verified by ci

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.

@ggiguash ggiguash force-pushed the fix-centos-optional-scenarios branch from ed2337f to d7d7042 Compare July 11, 2026 04:45
@openshift-ci-robot openshift-ci-robot removed the verified Signifies that the PR passed pre-merge verification criteria label Jul 11, 2026
@openshift-ci-robot

openshift-ci-robot commented Jul 11, 2026

Copy link
Copy Markdown

@ggiguash: This pull request references USHIFT-7337 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 bug to target the "5.0.0" version, but no target version was set.

Details

In response to this:

  • Using the same options / logic for optional CentOS scenarios, like we do for RHEL.
  • Making all optional scenarios consistent across all OS

Summary by CodeRabbit

Summary by CodeRabbit

  • Bug Fixes

  • Improved optional ARM VM test reliability by conditionally selecting SR-IOV–appropriate networking and adjusting which checks are skipped per architecture.

  • Updated optional VM launches to include the intended vCPU allocation.

  • Tests

  • Added retry-based cluster DNS verification to confirm DNS resolution after custom DNS resource changes.

  • Chores

  • Extended optional-suite execution and Greenboot timeouts to better accommodate longer optional package startup/restart cycles.

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.

@ggiguash

Copy link
Copy Markdown
Contributor Author

/verified by ci

@openshift-ci-robot

Copy link
Copy Markdown

@ggiguash: This PR has been marked as verified by ci.

Details

In response to this:

/verified by ci

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.

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Jul 11, 2026
@ggiguash

Copy link
Copy Markdown
Contributor Author

/test

@ggiguash

Copy link
Copy Markdown
Contributor Author

/retest-required

@ggiguash

Copy link
Copy Markdown
Contributor Author

/test images security

@openshift-ci

openshift-ci Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

@ggiguash: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/images d7d7042 link false /test images
ci/prow/e2e-aws-tests-bootc-upstream-arm d7d7042 link true /test e2e-aws-tests-bootc-upstream-arm
ci/prow/e2e-aws-tests-bootc-el10 d7d7042 link true /test e2e-aws-tests-bootc-el10
ci/prow/e2e-aws-tests-bootc-el9 d7d7042 link true /test e2e-aws-tests-bootc-el9
ci/prow/e2e-aws-tests-bootc-release-arm-el10 d7d7042 link true /test e2e-aws-tests-bootc-release-arm-el10
ci/prow/e2e-aws-tests-bootc-upstream d7d7042 link true /test e2e-aws-tests-bootc-upstream
ci/prow/e2e-aws-tests-bootc-release-el9 d7d7042 link true /test e2e-aws-tests-bootc-release-el9
ci/prow/e2e-aws-tests-bootc-arm-el9 d7d7042 link true /test e2e-aws-tests-bootc-arm-el9
ci/prow/e2e-aws-tests-release d7d7042 link true /test e2e-aws-tests-release
ci/prow/e2e-aws-tests-bootc-release-arm-el9 d7d7042 link true /test e2e-aws-tests-bootc-release-arm-el9
ci/prow/e2e-aws-tests-periodic d7d7042 link true /test e2e-aws-tests-periodic
ci/prow/e2e-aws-tests-release-arm d7d7042 link true /test e2e-aws-tests-release-arm
ci/prow/e2e-aws-tests-arm d7d7042 link true /test e2e-aws-tests-arm
ci/prow/e2e-aws-tests-bootc-release-el10 d7d7042 link true /test e2e-aws-tests-bootc-release-el10
ci/prow/e2e-aws-tests-bootc-arm-el10 d7d7042 link true /test e2e-aws-tests-bootc-arm-el10
ci/prow/e2e-aws-tests d7d7042 link true /test e2e-aws-tests
ci/prow/e2e-aws-tests-periodic-arm d7d7042 link true /test e2e-aws-tests-periodic-arm

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants