Skip to content

USHIFT-7297: Consolidate c2cc test suites into grouped subdirectories and normalize naming#7013

Merged
openshift-merge-bot[bot] merged 6 commits into
openshift:mainfrom
vimauro:consolidations
Jul 9, 2026
Merged

USHIFT-7297: Consolidate c2cc test suites into grouped subdirectories and normalize naming#7013
openshift-merge-bot[bot] merged 6 commits into
openshift:mainfrom
vimauro:consolidations

Conversation

@vimauro

@vimauro vimauro commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • New Features
    • Added shared C2CC suite setup/teardown and “full stack” aggregate verification (connectivity, DNS, health probes, overall health).
    • Added/expanded C2CC test suites for basic connectivity and disruptive reboot scenarios; added a sequential C2CC upgrade suite.
  • Bug Fixes
    • Standardized verification steps into clearer “Verify …” keywords and improved infrastructure validation, including an added tracking annotation check.
  • Tests
    • Narrowed which scenario suites run (basic/disruptive/ipsec/upgrade) and removed runner support for --include tag filtering.
    • Centralized suite lifecycle wiring and retired older connectivity/reboot suites.

@vimauro

vimauro commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

/label tide/merge-method-squash

@openshift-ci openshift-ci Bot added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Jul 8, 2026
@coderabbitai

coderabbitai Bot commented Jul 8, 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

Walkthrough

C2CC test execution now uses shared suite setup/teardown and renamed verification keywords. Scenario scripts point to narrower or renamed suite directories, and disruptive, reboot, ipsec, and upgrade suites reuse the shared orchestration.

Changes

C2CC suite refactor

Layer / File(s) Summary
Runner and scenario paths
test/bin/c2cc_common.sh, test/scenarios-bootc/c2cc/el{98,102}-src@*.sh
Removes include-tag argument handling from c2cc_run_tests and updates scenario invocations to the new C2CC suite paths.
Shared keywords and basic suites
test/resources/c2cc.resource, test/suites/c2cc/basic/{cleanup,custom-route-tables,dns,healthcheck,infrastructure,probe,reconciliation,sanity}.robot, test/suites/c2cc/basic/connectivity.robot
Renames shared verification keywords, adds shared suite orchestration helpers, and rewires the basic suites to use them.
Disruptive, reboot, ipsec, and upgrade flows
test/suites/c2cc/disruptive/{disruptive,reboot}.robot, test/suites/c2cc/ipsec/ipsec.robot, test/suites/c2cc/upgrade/upgrade-c2cc.robot
Moves disruptive and ipsec suites onto shared lifecycle keywords, adds reboot scenarios, and introduces sequential upgrade validation with bootc and reboot checks.

Estimated code review effort: 4 (Complex) | ~60 minutes

Suggested labels: ready-for-human-review

🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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 The diff only changes shell and Robot Framework files; no Ginkgo It/Describe/Context/When titles or dynamic test names are present.
Test Structure And Quality ✅ Passed PR changes only .sh and .robot files; no Ginkgo/Go test code is touched, so the check is not applicable.
Microshift Test Compatibility ✅ Passed PASS: PR only adds Robot/shell C2CC suites; no new Ginkgo tests, MicroShift skip tags, or unsupported OpenShift APIs/features were found.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR only changes shell and Robot Framework files; no Go/Ginkgo e2e tests were added, so the SNO-specific check is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed PR only reorganizes C2CC Robot test suites/resources; no deployment manifests, operators, or controllers were modified, and no scheduling constraints were introduced.
Ote Binary Stdout Contract ✅ Passed Diff only touches Robot/shell test harness files; no main/init/TestMain or binary code, and no process-level stdout writes found.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PASS: PR adds Robot suites/scripts only; no new Ginkgo tests, and the added C2CC flows use cluster-internal checks without public internet dependence or IPv4-only parsing.
No-Weak-Crypto ✅ Passed Patch only reshapes C2CC test files; strict diff scan found no MD5/SHA1/DES/RC4/3DES/Blowfish/ECB or secret/token comparisons.
Container-Privileges ✅ Passed No touched file is a container/K8s manifest, and searches of the changed files found none of the flagged privilege settings.
No-Sensitive-Data-In-Logs ✅ Passed PASS — the diff only narrows suite paths and retries an existing check; no new log/echo statements or secret/PII interpolation were added.
Title check ✅ Passed The title accurately summarizes the main change: reorganizing C2CC suites into subdirectories and normalizing keyword/test naming.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@openshift-ci openshift-ci Bot requested review from jerpeter1 and pmtk July 8, 2026 13:07

@coderabbitai coderabbitai Bot left a comment

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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@test/suites/c2cc/upgrade/upgrade-c2cc.robot`:
- Around line 39-42: The baseline flow in upgrade-c2cc.robot jumps from Deploy
Test Workloads straight to Verify Full C2CC Connectivity, unlike the upgrade
loop that waits first; add the same readiness gating before the initial
connectivity check by calling Wait For Test Pods and Wait For Service Endpoints
in this sequence near the existing Verify All Clusters Healthy and Verify All
RemoteClusters Healthy steps.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

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

Review profile: CHILL

Plan: Enterprise

Run ID: c92d2be6-27d1-4268-a706-28a502adaebd

📥 Commits

Reviewing files that changed from the base of the PR and between d4dc9fc and 5a2067b.

📒 Files selected for processing (27)
  • test/bin/c2cc_common.sh
  • test/resources/c2cc.resource
  • test/scenarios-bootc/c2cc/el102-src@c2cc-disruptive.sh
  • test/scenarios-bootc/c2cc/el102-src@c2cc-ipsec.sh
  • test/scenarios-bootc/c2cc/el102-src@c2cc-ipv6.sh
  • test/scenarios-bootc/c2cc/el102-src@c2cc.sh
  • test/scenarios-bootc/c2cc/el98-src@c2cc-disruptive.sh
  • test/scenarios-bootc/c2cc/el98-src@c2cc-ipsec.sh
  • test/scenarios-bootc/c2cc/el98-src@c2cc-ipv6.sh
  • test/scenarios-bootc/c2cc/el98-src@c2cc.sh
  • test/scenarios-bootc/c2cc/el98-src@el102-src@c2cc-upgrade-ok.sh
  • test/suites/c2cc/basic/cleanup.robot
  • test/suites/c2cc/basic/connectivity.robot
  • test/suites/c2cc/basic/custom-route-tables.robot
  • test/suites/c2cc/basic/dns.robot
  • test/suites/c2cc/basic/healthcheck.robot
  • test/suites/c2cc/basic/infrastructure.robot
  • test/suites/c2cc/basic/probe.robot
  • test/suites/c2cc/basic/reconciliation.robot
  • test/suites/c2cc/basic/sanity.robot
  • test/suites/c2cc/connectivity.robot
  • test/suites/c2cc/disruptive/disruptive.robot
  • test/suites/c2cc/disruptive/reboot.robot
  • test/suites/c2cc/ipsec/ipsec.robot
  • test/suites/c2cc/reboot.robot
  • test/suites/c2cc/upgrade/upgrade-c2cc.robot
  • test/suites/upgrade/upgrade-c2cc.robot
💤 Files with no reviewable changes (4)
  • test/suites/c2cc/connectivity.robot
  • test/suites/upgrade/upgrade-c2cc.robot
  • test/suites/c2cc/reboot.robot
  • test/bin/c2cc_common.sh

Comment thread test/suites/c2cc/upgrade/upgrade-c2cc.robot Outdated
@vimauro

vimauro commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Comment thread test/suites/c2cc/upgrade/upgrade-c2cc.robot Outdated
Comment thread test/suites/c2cc/upgrade/upgrade-c2cc.robot Outdated
Comment thread test/suites/c2cc/basic/infrastructure.robot Outdated
@coderabbitai coderabbitai Bot added the ready-for-human-review Indicates a PR has been reviewed by automated tools and is ready for human review label Jul 8, 2026
@agullon

agullon commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

/lgtm
/verified by CI

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

Copy link
Copy Markdown

@agullon: This PR has been marked as verified by CI.

Details

In response to this:

/lgtm
/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 openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 9, 2026
@openshift-ci

openshift-ci Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: agullon, vimauro

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 9, 2026
@agullon

agullon commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

/override ci/prow/e2e-aws-tests-bootc-periodic-arm-el10
/override ci/prow/e2e-aws-tests-bootc-periodic-el10

@openshift-ci

openshift-ci Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@agullon: Overrode contexts on behalf of agullon: ci/prow/e2e-aws-tests-bootc-periodic-arm-el10, ci/prow/e2e-aws-tests-bootc-periodic-el10

Details

In response to this:

/override ci/prow/e2e-aws-tests-bootc-periodic-arm-el10
/override ci/prow/e2e-aws-tests-bootc-periodic-el10

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.

@vimauro vimauro changed the title Consolidate c2cc test suites into grouped subdirectories and normalize naming USHIFT-7297: Consolidate c2cc test suites into grouped subdirectories and normalize naming Jul 9, 2026
@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 9, 2026
@openshift-ci-robot

openshift-ci-robot commented Jul 9, 2026

Copy link
Copy Markdown

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

Details

In response to this:

Summary by CodeRabbit

  • New Features
  • Added shared C2CC suite setup/teardown and “full stack” aggregate verification (connectivity, DNS, health probes, overall health).
  • Added/expanded C2CC test suites for basic connectivity and disruptive reboot scenarios; added a sequential C2CC upgrade suite.
  • Bug Fixes
  • Standardized verification steps into clearer “Verify …” keywords and improved infrastructure validation, including an added tracking annotation check.
  • Tests
  • Narrowed which scenario suites run (basic/disruptive/ipsec/upgrade) and removed runner support for --include tag filtering.
  • Centralized suite lifecycle wiring and retired older connectivity/reboot suites.

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.

@vimauro

vimauro commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

/jira refresh

@openshift-ci-robot

openshift-ci-robot commented Jul 9, 2026

Copy link
Copy Markdown

@vimauro: This pull request references USHIFT-7297 which is a valid jira issue.

Details

In response to this:

/jira refresh

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.

@agullon

agullon commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

/override ci/prow/e2e-aws-tests-bootc-el9

@openshift-ci

openshift-ci Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@agullon: Overrode contexts on behalf of agullon: ci/prow/e2e-aws-tests-bootc-el9

Details

In response to this:

/override ci/prow/e2e-aws-tests-bootc-el9

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.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD 0e09fc5 and 2 for PR HEAD 9b8483e in total

@agullon

agullon commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

/override ci/prow/e2e-aws-tests-bootc-periodic-arm-el10
/override ci/prow/e2e-aws-tests-bootc-periodic-el10
/override ci/prow/e2e-aws-tests-bootc-el9

@openshift-ci

openshift-ci Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@agullon: Overrode contexts on behalf of agullon: ci/prow/e2e-aws-tests-bootc-el9, ci/prow/e2e-aws-tests-bootc-periodic-arm-el10, ci/prow/e2e-aws-tests-bootc-periodic-el10

Details

In response to this:

/override ci/prow/e2e-aws-tests-bootc-periodic-arm-el10
/override ci/prow/e2e-aws-tests-bootc-periodic-el10
/override ci/prow/e2e-aws-tests-bootc-el9

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.

@openshift-merge-bot openshift-merge-bot Bot merged commit ba06055 into openshift:main Jul 9, 2026
21 checks passed
@openshift-ci

openshift-ci Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@vimauro: all tests passed!

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. lgtm Indicates that a PR is ready to be merged. ready-for-human-review Indicates a PR has been reviewed by automated tools and is ready for human review tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants