Skip to content

Add mpiit-data-router-reporter to OPP interop job post steps - #83081

Open
amiskin94 wants to merge 3 commits into
openshift:mainfrom
amiskin94:add-data-router-reporter-opp
Open

Add mpiit-data-router-reporter to OPP interop job post steps#83081
amiskin94 wants to merge 3 commits into
openshift:mainfrom
amiskin94:add-data-router-reporter-opp

Conversation

@amiskin94

@amiskin94 amiskin94 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds mpiit-data-router-reporter post step to all 6 OPP interop jobs (AWS + vSphere day-1, AWS upgrade for 4.22 and 5.0) so test results are uploaded to Report Portal
  • For vSphere jobs using the acm-ipi-vsphere workflow, the post section is defined explicitly since adding post: replaces the workflow's entire post chain
  • Required by INTEROP-9202 AC Section 2

Test plan

  • CI validation passes (make update / make jobs clean)
  • Verify mpiit-data-router-reporter runs after test steps and before firewatch-report-issues in a triggered OPP job
  • Confirm Report Portal receives test results from OPP jobs

/cc @amiskin94

🤖 Generated with Claude Code

Summary by CodeRabbit

This PR updates the OpenShift CI configuration for the stolostron/policy-collection repository.

It adds the mpiit-data-router-reporter post step to AWS OPP interoperability day-1 and upgrade jobs for OCP 4.22 and 5.0.

It defines the complete post-step sequence for the vSphere OPP job. The sequence collects operator versions, gathers must-gather data, deprovisions vSphere, uploads results to Report Portal, and reports issues through Firewatch.

It changes fallback handling in ACM and Quay test scripts. When ExitTrap--PostProcessPrep is unavailable, the scripts use a no-op command instead of writing a warning to standard error.

@openshift-ci

openshift-ci Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

@amiskin94: GitHub didn't allow me to request PR reviews from the following users: amiskin94.

Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs.

Details

In response to this:

Summary

  • Adds mpiit-data-router-reporter post step to all 6 OPP interop jobs (AWS + vSphere day-1, AWS upgrade for 4.22 and 5.0) so test results are uploaded to Report Portal
  • For vSphere jobs using the acm-ipi-vsphere workflow, the post section is defined explicitly since adding post: replaces the workflow's entire post chain
  • Required by INTEROP-9202 AC Section 2

Test plan

  • CI validation passes (make update / make jobs clean)
  • Verify mpiit-data-router-reporter runs after test steps and before firewatch-report-issues in a triggered OPP job
  • Confirm Report Portal receives test results from OPP jobs

/cc @amiskin94

🤖 Generated with Claude Code

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.

@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

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: Pro Plus

Run ID: ad1c1bf0-0b27-44cb-915a-9fbfdbf1d7d1

📥 Commits

Reviewing files that changed from the base of the PR and between 0eddb9a and 0f03ea7.

📒 Files selected for processing (4)
  • ci-operator/step-registry/acm/tests/alc/acm-tests-alc-commands.sh
  • ci-operator/step-registry/acm/tests/grc/acm-tests-grc-commands.sh
  • ci-operator/step-registry/acm/tests/observability/acm-tests-observability-commands.sh
  • ci-operator/step-registry/quay-tests/quay-interop-test/quay-tests-quay-interop-test-commands.sh

Walkthrough

The interop configurations add mpiit-data-router-reporter to AWS tests and upgrades. The vSphere test gains post-test diagnostics, cleanup, operator-version collection, data-router reporting, and Firewatch issue reporting. Test scripts replace stderr warning output with no-op commands.

Changes

Interop post-test steps

Layer / File(s) Summary
AWS data-router reporting
ci-operator/config/stolostron/policy-collection/*
AWS interop and upgrade jobs now run mpiit-data-router-reporter after AWS deprovisioning or in the AWS post-step sequence.
vSphere post-test workflow
ci-operator/config/stolostron/policy-collection/stolostron-policy-collection-main__ocp5.0.yaml
The vSphere test now runs diagnostics, cleanup, operator-version collection, data-router reporting, and Firewatch issue reporting.

Fallback warning commands

Layer / File(s) Summary
Post-processing fallback branches
ci-operator/step-registry/acm/tests/*/*-commands.sh, ci-operator/step-registry/quay-tests/quay-interop-test/*-commands.sh
Unavailable ExitTrap--PostProcessPrep branches now use no-op commands while retaining the warning text.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • openshift/release#82839: Updates overlapping Stolostron interop configurations with data-router reporting and related post-steps.
  • openshift/release#82881: Modifies the same ACM and Quay fallback branches for ExitTrap--PostProcessPrep.
🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the main change: adding mpiit-data-router-reporter to OPP interop job post steps.
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 inspected changes add CI post steps and shell no-op warnings; they add no Ginkgo It, Describe, Context, or When titles, dynamic or otherwise.
Test Structure And Quality ✅ Passed Not applicable: the PR changes only CI YAML and shell scripts; the full PR range contains no Ginkgo source or Ginkgo markers to review.
Microshift Test Compatibility ✅ Passed The combined PR diff adds only CI YAML post-step entries and shell no-op changes; it adds no Ginkgo It, Describe, Context, or When tests requiring MicroShift review.
Single Node Openshift (Sno) Test Compatibility ✅ Passed The pull request changes only CI YAML and shell scripts; the complete recent diff adds no Go files or Ginkgo declarations, so SNO compatibility review is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed The changes only add an existing CI post-step and replace shell warning output; they add no deployment, controller, replica, affinity, topology, node, or PDB scheduling constraints.
Ote Binary Stdout Contract ✅ Passed The change set contains only YAML and shell edits; it changes no OTE binary source, suite setup, or process-level stdout/logging code.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The PR adds only CI YAML post steps and shell warning changes; no new Ginkgo e2e tests or new IPv4/external-connectivity assumptions were added.
No-Weak-Crypto ✅ Passed The patch only replaces four warning echo commands with : no-ops; changed lines contain no MD5, SHA1, DES, RC4, 3DES, Blowfish, ECB, crypto, or secret comparisons.
Container-Privileges ✅ Passed The complete PR patch adds step references and changes warning output only; scans found no privileged:true, hostPID/hostNetwork/hostIPC, SYS_ADMIN, allowPrivilegeEscalation, or root execution.
No-Sensitive-Data-In-Logs ✅ Passed The PR adds only reporter references and non-sensitive job metadata; it replaces warning logging with a no-op. No passwords, tokens, API keys, PII, session IDs, or customer data are logged.
✨ 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.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@amiskin94, pj-rehearse: unable to determine affected jobs. This could be due to a branch that needs to be rebased. ERROR:

couldn't prepare candidate: couldn't rebase candidate onto 8787b922e575f7afef39d5aab5600db56587958b due to conflicts
Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@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
`@ci-operator/step-registry/quay-tests/quay-interop-test/quay-tests-quay-interop-test-commands.sh`:
- Line 2: Update the script’s global shell options to remove xtrace, changing
the default setup to enable only errexit, nounset, and pipefail; keep tracing
limited to an explicit, short diagnostic scope if needed.
🪄 Autofix

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: Pro Plus

Run ID: 2de318fb-baec-40f6-95aa-1bc26043d323

📥 Commits

Reviewing files that changed from the base of the PR and between 8787b92 and c029440.

📒 Files selected for processing (12)
  • ci-operator/config/stolostron/policy-collection/stolostron-policy-collection-main__ocp4.22-upgrade.yaml
  • ci-operator/config/stolostron/policy-collection/stolostron-policy-collection-main__ocp4.22.yaml
  • ci-operator/config/stolostron/policy-collection/stolostron-policy-collection-main__ocp5.0-upgrade.yaml
  • ci-operator/config/stolostron/policy-collection/stolostron-policy-collection-main__ocp5.0.yaml
  • ci-operator/step-registry/acm/tests/alc/acm-tests-alc-commands.sh
  • ci-operator/step-registry/acm/tests/alc/acm-tests-alc-ref.yaml
  • ci-operator/step-registry/acm/tests/grc/acm-tests-grc-commands.sh
  • ci-operator/step-registry/acm/tests/grc/acm-tests-grc-ref.yaml
  • ci-operator/step-registry/acm/tests/observability/acm-tests-observability-commands.sh
  • ci-operator/step-registry/acm/tests/observability/acm-tests-observability-ref.yaml
  • ci-operator/step-registry/quay-tests/quay-interop-test/quay-tests-quay-interop-test-commands.sh
  • ci-operator/step-registry/quay-tests/quay-interop-test/quay-tests-quay-interop-test-ref.yaml

set -o pipefail

#Set Kubeconfig:
set -euxo pipefail; shopt -s inherit_errexit

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.

🔒 Security & Privacy | 🟠 Major | ⚡ Quick win

Remove global xtrace.

Line 2 enables -x for the entire script. Use set -euo pipefail as the default. Enable tracing only in a short non-sensitive diagnostic scope when required.

Proposed fix
-set -euxo pipefail; shopt -s inherit_errexit
+set -euo pipefail
+shopt -s inherit_errexit
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
set -euxo pipefail; shopt -s inherit_errexit
set -euo pipefail
shopt -s inherit_errexit
🤖 Prompt for 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.

In
`@ci-operator/step-registry/quay-tests/quay-interop-test/quay-tests-quay-interop-test-commands.sh`
at line 2, Update the script’s global shell options to remove xtrace, changing
the default setup to enable only errexit, nounset, and pipefail; keep tracing
limited to an explicit, short diagnostic scope if needed.

Source: Coding guidelines

Adds the data-router-reporter step to all 6 OPP interop jobs
(AWS + vSphere day-1, AWS upgrade for both 4.22 and 5.0) so
test results are uploaded to Report Portal per INTEROP-9202 AC.

For vSphere jobs using the acm-ipi-vsphere workflow, the post
section is duplicated explicitly since adding post: replaces the
workflow's entire post chain.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@amiskin94
amiskin94 force-pushed the add-data-router-reporter-opp branch from c029440 to 0eddb9a Compare August 7, 2026 06:42
@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@amiskin94

Copy link
Copy Markdown
Contributor Author

/pj-rehearse

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@amiskin94: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

Use `: "message"` instead of `echo "message" >&2` to follow
team convention of relying on xtrace for script output.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@openshift-ci

openshift-ci Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: amiskin94
Once this PR has been reviewed and has the lgtm label, please assign amp-rh, gparvin, sridipta 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

@amiskin94

Copy link
Copy Markdown
Contributor Author

/pj-rehearse

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@amiskin94: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

Upgrade jobs don't set DR__RP__CR_COMP_NAME and run generic tests
(preflight, upgrade, smoke) rather than per-product CR-mapped tests.
The step hard-fails without a component name. Remove until a
dedicated upgrade CR component is defined.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@amiskin94: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
periodic-ci-stolostron-acmqe-autotest-main-acm-ocp4.14-lp-interop-acm-interop-aws N/A periodic Registry content changed
periodic-ci-stolostron-policy-collection-main-ocp5.0-interop-opp-aws N/A periodic Ci-operator config changed
periodic-ci-RedHatQE-interop-testing-master-acm-cnv-ocp-4.22-p2p-lp-interop-aws N/A periodic Registry content changed
periodic-ci-stolostron-policy-collection-main-ocp5.1-interop-opp-vsphere N/A periodic Registry content changed
periodic-ci-stolostron-policy-collection-main-ocp4.22-interop-opp-vsphere N/A periodic Registry content changed
periodic-ci-stolostron-acmqe-autotest-main-acm-ocp4.17-lp-interop-acm-interop-aws N/A periodic Registry content changed
periodic-ci-stolostron-policy-collection-main-ocp5.0-interop-opp-vsphere N/A periodic Ci-operator config changed
periodic-ci-stolostron-acmqe-autotest-main-acm-ocp4.15-lp-interop-acm-interop-aws N/A periodic Registry content changed
periodic-ci-stolostron-acmqe-autotest-main-acm-ocp4.16-lp-interop-acm-interop-aws N/A periodic Registry content changed
periodic-ci-stolostron-policy-collection-main-ocp5.1-interop-opp-aws N/A periodic Registry content changed
periodic-ci-stolostron-policy-collection-main-ocp4.22-interop-opp-aws N/A periodic Registry content changed
periodic-ci-RedHatQE-interop-testing-master-acm-cnv-ocp-4.21-p2p-lp-interop-aws N/A periodic Registry content changed
Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@openshift-ci

openshift-ci Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

@amiskin94: 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/rehearse/periodic-ci-stolostron-acmqe-autotest-main-acm-ocp4.15-lp-interop-acm-interop-aws 0f03ea7 link unknown /pj-rehearse periodic-ci-stolostron-acmqe-autotest-main-acm-ocp4.15-lp-interop-acm-interop-aws
ci/rehearse/periodic-ci-stolostron-policy-collection-main-ocp5.0-interop-opp-aws 0f03ea7 link unknown /pj-rehearse periodic-ci-stolostron-policy-collection-main-ocp5.0-interop-opp-aws
ci/rehearse/periodic-ci-stolostron-policy-collection-main-ocp5.0-upgrade-interop-opp-upgrade-aws 0f03ea7 link unknown /pj-rehearse periodic-ci-stolostron-policy-collection-main-ocp5.0-upgrade-interop-opp-upgrade-aws
ci/rehearse/periodic-ci-stolostron-policy-collection-main-ocp5.1-interop-opp-vsphere 0f03ea7 link unknown /pj-rehearse periodic-ci-stolostron-policy-collection-main-ocp5.1-interop-opp-vsphere
ci/rehearse/periodic-ci-RedHatQE-interop-testing-master-acm-cnv-ocp-4.21-p2p-lp-interop-aws 0f03ea7 link unknown /pj-rehearse periodic-ci-RedHatQE-interop-testing-master-acm-cnv-ocp-4.21-p2p-lp-interop-aws

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant