Skip to content

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

Merged
openshift-merge-bot[bot] merged 4 commits into
openshift:mainfrom
amiskin94:add-data-router-reporter-opp
Aug 10, 2026
Merged

Add mpiit-data-router-reporter to OPP interop job post steps#83081
openshift-merge-bot[bot] merged 4 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

  • Updates OPP interop jobs in the policy-collection repository to upload test results to Report Portal through mpiit-data-router-reporter.
  • Adds required DR__RP__CR_COMP_NAME and MAP_TESTS variables for AWS and vSphere tests.
  • Defines the complete vSphere post chain for acm-ipi-vsphere, including diagnostics, deprovisioning, result reporting, and Firewatch reporting.
  • Removes unsupported upgrade jobs that lack the required Report Portal component variable.
  • Preserves warning visibility in observability and Quay interop test scripts.

@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: ea8edbca-3b37-4306-afa4-0df001dc14ba

📥 Commits

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

📒 Files selected for processing (1)
  • ci-operator/config/stolostron/policy-collection/stolostron-policy-collection-main__ocp5.0.yaml

Walkthrough

The policy collection configuration adds data-router reporting variables and post-steps for AWS and vSphere tests. Two shell scripts replace unavailable post-process warning output with no-op commands.

Changes

Policy collection test updates

Layer / File(s) Summary
Test reporting and post-step configuration
ci-operator/config/stolostron/policy-collection/stolostron-policy-collection-main__ocp5.0.yaml
AWS and vSphere tests now define data-router reporting variables. AWS adds data-router reporting. vSphere adds operator-version collection, must-gather, deprovisioning, data-router reporting, and Firewatch post-steps.
Unavailable post-process warning handling
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
Unavailable ExitTrap--PostProcessPrep warnings now use no-op commands instead of stderr output.

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

Possibly related PRs

  • openshift/release#82955: Adds the same data-router reporting variables and updates ExitTrap--PostProcessPrep handling.

Suggested reviewers: amp-rh

🚥 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 the mpiit-data-router-reporter post step to OPP interop jobs.
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 patch changes one YAML job configuration and two shell warning branches; it adds no Ginkgo test declarations or test titles, dynamic or otherwise.
Test Structure And Quality ✅ Passed The PR changes only one YAML file and two shell scripts; no Go files, Ginkgo constructs, or changed cluster-test code are present, so this Ginkgo-specific check is not applicable.
Microshift Test Compatibility ✅ Passed The PR adds no Ginkgo tests or test declarations; it changes CI YAML environment variables and shell warning handling only, so MicroShift compatibility checks do not apply.
Single Node Openshift (Sno) Test Compatibility ✅ Passed The patch changes CI YAML and shell warning handling only; it adds no Ginkgo e2e tests or multi-node assumptions requiring SNO review.
Topology-Aware Scheduling Compatibility ✅ Passed The changes only modify CI job environment variables, post-step ordering, and warning output; they add no deployment manifests, operators, controllers, or scheduling constraints.
Ote Binary Stdout Contract ✅ Passed The full PR diff contains only YAML and Bash changes; it adds no OTE binary source or process-level Go suite code that can write non-JSON stdout.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The PR changes only CI YAML and shell scripts; the complete PR diff adds no Ginkgo e2e test declarations or IPv4/external-connectivity test code.
No-Weak-Crypto ✅ Passed The six added lines only set Report Portal variables, and the two other changes add warning output; no weak cipher, hash, custom crypto, or secret comparison was added.
Container-Privileges ✅ Passed The PR adds only test environment variables and step references, plus shell warning output; no privileged, hostPID, hostNetwork, hostIPC, SYS_ADMIN, root, or allowPrivilegeEscalation settings were...
No-Sensitive-Data-In-Logs ✅ Passed The PR adds only fixed test metadata, post-step references, and static warnings; no added logging exposes passwords, tokens, API keys, hostnames, PII, or customer data.
✨ 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>
@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-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.

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Aug 10, 2026
Comment thread ci-operator/step-registry/acm/tests/alc/acm-tests-alc-commands.sh Outdated
Comment thread ci-operator/step-registry/acm/tests/grc/acm-tests-grc-commands.sh Outdated
- Add DR__RP__CR_COMP_NAME and MAP_TESTS to ocp5.0 AWS and vSphere configs
- Revert acm-tests-alc and acm-tests-grc warnings to echo >&2 since
  these scripts lack xtrace (-x), making : "message" silent

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Aug 10, 2026
@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-policy-collection-main-ocp4.22-interop-opp-vsphere 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-ocp5.1-interop-opp-vsphere N/A periodic Registry content 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.0-interop-opp-aws N/A periodic Ci-operator config changed
periodic-ci-stolostron-policy-collection-main-ocp5.0-interop-opp-vsphere N/A periodic Ci-operator config changed
periodic-ci-RedHatQE-interop-testing-master-acm-cnv-ocp-4.21-p2p-lp-interop-aws N/A periodic Registry content changed
periodic-ci-stolostron-policy-collection-main-ocp4.22-interop-opp-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.

@amp-rh

amp-rh commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Aug 10, 2026
@openshift-ci

openshift-ci Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: amiskin94, amp-rh, gparvin, jbpratt

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 Aug 10, 2026
@amiskin94

Copy link
Copy Markdown
Contributor Author

/pj-rehearse ack

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

@openshift-merge-bot openshift-merge-bot Bot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Aug 10, 2026
@openshift-merge-bot
openshift-merge-bot Bot merged commit f1bc7c4 into openshift:main Aug 10, 2026
16 checks passed
jzding pushed a commit to jzding/release that referenced this pull request Aug 11, 2026
…ft#83081)

* Add mpiit-data-router-reporter to OPP job post steps

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>

* Replace echo with xtrace for ExitTrap guard warnings

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>

* Remove mpiit-data-router-reporter from upgrade jobs

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>

* Address review feedback: add missing env vars and fix warning visibility

- Add DR__RP__CR_COMP_NAME and MAP_TESTS to ocp5.0 AWS and vSphere configs
- Revert acm-tests-alc and acm-tests-grc warnings to echo >&2 since
  these scripts lack xtrace (-x), making : "message" silent

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

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants