Add mpiit-data-router-reporter to OPP interop job post steps - #83081
Add mpiit-data-router-reporter to OPP interop job post steps#83081amiskin94 wants to merge 3 commits into
Conversation
|
@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. DetailsIn 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 kubernetes-sigs/prow repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
WalkthroughThe interop configurations add ChangesInterop post-test steps
Fallback warning commands
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
@amiskin94, Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
There was a problem hiding this comment.
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
📒 Files selected for processing (12)
ci-operator/config/stolostron/policy-collection/stolostron-policy-collection-main__ocp4.22-upgrade.yamlci-operator/config/stolostron/policy-collection/stolostron-policy-collection-main__ocp4.22.yamlci-operator/config/stolostron/policy-collection/stolostron-policy-collection-main__ocp5.0-upgrade.yamlci-operator/config/stolostron/policy-collection/stolostron-policy-collection-main__ocp5.0.yamlci-operator/step-registry/acm/tests/alc/acm-tests-alc-commands.shci-operator/step-registry/acm/tests/alc/acm-tests-alc-ref.yamlci-operator/step-registry/acm/tests/grc/acm-tests-grc-commands.shci-operator/step-registry/acm/tests/grc/acm-tests-grc-ref.yamlci-operator/step-registry/acm/tests/observability/acm-tests-observability-commands.shci-operator/step-registry/acm/tests/observability/acm-tests-observability-ref.yamlci-operator/step-registry/quay-tests/quay-interop-test/quay-tests-quay-interop-test-commands.shci-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 |
There was a problem hiding this comment.
🔒 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.
| 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>
c029440 to
0eddb9a
Compare
|
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. |
|
/pj-rehearse |
|
@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>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: amiskin94 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/pj-rehearse |
|
@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>
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@amiskin94: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
Summary
mpiit-data-router-reporterpost 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 Portalacm-ipi-vsphereworkflow, the post section is defined explicitly since addingpost:replaces the workflow's entire post chainTest plan
make update/make jobsclean)mpiit-data-router-reporterruns after test steps and beforefirewatch-report-issuesin a triggered OPP job/cc @amiskin94
🤖 Generated with Claude Code
Summary by CodeRabbit
This PR updates the OpenShift CI configuration for the
stolostron/policy-collectionrepository.It adds the
mpiit-data-router-reporterpost 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--PostProcessPrepis unavailable, the scripts use a no-op command instead of writing a warning to standard error.