Skip to content

[WIP] automate Orion configurations and metadata detection#80284

Open
rsevilla87 wants to merge 4 commits into
openshift:mainfrom
rsevilla87:automatic-metadata
Open

[WIP] automate Orion configurations and metadata detection#80284
rsevilla87 wants to merge 4 commits into
openshift:mainfrom
rsevilla87:automatic-metadata

Conversation

@rsevilla87

@rsevilla87 rsevilla87 commented Jun 9, 2026

Copy link
Copy Markdown
Member

Summary by CodeRabbit

This PR modifies OpenShift CI step definitions and the Orion runner used by OpenShift QE performance jobs (ci-operator/step-registry/openshift-qe/orion). It adds workload-type driven auto-selection of Orion configs, injects runtime cluster metadata into Orion invocations, and changes how the Orion codebase and metadata tool are fetched.

What changed in practice

  • Auto-config selection: steps gained ORION_WORKLOAD_TYPE (examples: crd-scale -> "crd-scale", udn-density -> "udn-density-pods"). If ORION_WORKLOAD_TYPE is set and ORION_CONFIG is empty, the runner sets ORION_CONFIG at runtime to examples/<ORION_WORKLOAD_TYPE>.yaml.
  • Cleared defaults: ORION_CONFIG default for the crd-scale and udn-density step refs is now empty, enabling the auto-selection behavior.
  • Cluster metadata injection: the runner downloads an ocp-metadata binary (github.com/rsevilla87/go-commons releases v1.2.4), runs it to produce CLUSTER_METADATA, and appends it to Orion via --input-vars so test inputs reflect the actual cluster.
  • Orion repository and install flow: the commands script now shallow-clones https://github.com/rsevilla87/orion.git --depth 1 (removing the previous tag-discovery / branch-selection logic) and installs the checked-out repo with pip.
  • ORION_CONFIG download tightened: the script only attempts to download ORION_CONFIG when it is an HTTP(S) URL.
  • Invocation flags: the script initializes EXTRA_FLAGS earlier; removed passing --node-count ${IGNORE_JOB_ITERATIONS}; Orion is invoked as: orion --config ${ORION_CONFIG} ${EXTRA_FLAGS} --viz.
  • Workload selection simplification: prior worker-count prefix variant selection and UDN L2/L3 selection logic was replaced by the ORION_WORKLOAD_TYPE suffix-based selection (note: udn-density still exposes ENABLE_LAYER_3 to switch between L2/L3 examples).

Files / step refs impacted

  • ci-operator/step-registry/openshift-qe/orion/crd-scale/openshift-qe-orion-crd-scale-ref.yaml — ORION_CONFIG default cleared; ORION_WORKLOAD_TYPE added (default: "crd-scale").
  • ci-operator/step-registry/openshift-qe/orion/udn-density/openshift-qe-orion-udn-density-ref.yaml — ORION_CONFIG default cleared; ORION_WORKLOAD_TYPE added (default: "udn-density-pods"); ENABLE_LAYER_3 remains for L2/L3 selection behavior.
  • ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh — major runtime changes described above (clone URL, ocp-metadata download/source, EXTRA_FLAGS timing, config selection, invocation).

Reviewer notes / impact

  • CI jobs using these steps will auto-select workload-specific example configs and include cluster metadata at runtime.
  • Reviewers should validate:
    • Reasoning and risk of switching to the pinned clone at github.com/rsevilla87/orion (tag/branch discovery removed).
    • Source, versioning and supply-chain/security implications of the ocp-metadata binary (github.com/rsevilla87/go-commons/releases v1.2.4).
    • Presence and correctness of examples/<ORION_WORKLOAD_TYPE>.yaml files for targeted workloads.
    • Behavioural impact of removing --node-count ${IGNORE_JOB_ITERATIONS} and the prior worker-count/variant selection logic.

Signed-off-by: Raul Sevilla <rsevilla@redhat.com>
@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 Jun 9, 2026
@coderabbitai

coderabbitai Bot commented Jun 9, 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

Switches ORION_CONFIG selection to workload-type-driven behavior: adds ORION_WORKLOAD_TYPE in step refs, derives ORION_CONFIG from that type when empty, fetches cluster metadata via ocp-metadata, tightens config-download conditions, and adjusts the Orion repo checkout and invocation.

Changes

Orion workload type and configuration selection

Layer / File(s) Summary
Workload type parameter definitions across step references
ci-operator/step-registry/openshift-qe/orion/crd-scale/openshift-qe-orion-crd-scale-ref.yaml, ci-operator/step-registry/openshift-qe/orion/udn-density/openshift-qe-orion-udn-density-ref.yaml
New ORION_WORKLOAD_TYPE parameters are defined with workload-specific defaults ("crd-scale" and "udn-density-pods"), and ORION_CONFIG default is cleared in crd-scale to enable dynamic selection.
Orion repository checkout
ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh
Replaces previous tag-discovery and branch selection with a shallow clone from https://github.com/rsevilla87/orion.git.
Workload-type based ORION_CONFIG derivation and metadata injection
ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh
When ORION_WORKLOAD_TYPE is set and ORION_CONFIG is empty, sets ORION_CONFIG=examples/<type>.yaml, downloads and runs ocp-metadata-linux-amd64 to generate cluster metadata, and appends --input-vars=<metadata> to EXTRA_FLAGS.
Configuration download and Orion invocation
ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh
Only attempts to download/overwrite ORION_CONFIG when it is a non-empty HTTP(S) URL; main orion invocation no longer passes --node-count ${IGNORE_JOB_ITERATIONS} and runs orion --config ${ORION_CONFIG} ${EXTRA_FLAGS} --viz.

🎯 3 (Moderate) | ⏱️ ~20 minutes

Suggested labels: rehearsals-ack

Suggested reviewers:

  • jtaleric

Important

Pre-merge checks failed

Please resolve all errors before merging. Addressing warnings is optional.

❌ Failed checks (1 error)

Check name Status Explanation Resolution
No-Sensitive-Data-In-Logs ❌ Error Script enables xtrace (set -x) while loading credentials from files and embedding them in ES_SERVER variable. With xtrace, all variable expansions are logged, exposing passwords and API keys. Disable xtrace before credential operations with 'set +x', or use 'BASH_XTRACEFD' to redirect debug output, or move credential handling to a function with xtrace disabled.
✅ 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 describes the main changes: automating Orion configurations and implementing metadata detection via the new ORION_WORKLOAD_TYPE variable and auto-config flow.
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 PR modifies CI/CD operator configuration files (YAML) and shell scripts, not Ginkgo test code. No Ginkgo tests exist in the repository.
Test Structure And Quality ✅ Passed This PR modifies YAML configuration files and shell scripts only (no Ginkgo test files present). The custom check for Ginkgo test code quality is not applicable to this PR.
Microshift Test Compatibility ✅ Passed PR modifies only YAML configs and shell scripts, not Ginkgo e2e tests. No new test code with It(), Describe(), Context(), or When() patterns found. Check not applicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed This PR modifies CI/CD configuration files and shell scripts, not Ginkgo e2e tests. The SNO compatibility check applies only to new Ginkgo test code, which is not present here.
Topology-Aware Scheduling Compatibility ✅ Passed PR modifies CI test infrastructure (step registry configs and scripts), not deployment manifests, operator code, or controllers. No Kubernetes scheduling constraints are introduced.
Ote Binary Stdout Contract ✅ Passed PR modifies CI infrastructure (YAML configs and bash scripts), not OTE binary source code. Check is inapplicable—no Go test binaries or Ginkgo/OTE code present.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed No new Ginkgo e2e tests added. PR changes only CI configuration YAML and bash scripts for Orion workload orchestration, not subject to this check.
No-Weak-Crypto ✅ Passed No weak cryptographic algorithms (MD5, SHA1, DES, RC4, 3DES, Blowfish, ECB), custom crypto implementations, or non-constant-time secret comparisons found in the PR changes.
Container-Privileges ✅ Passed No privileged container flags (privileged: true, hostPID, hostNetwork, hostIPC, SYS_ADMIN, allowPrivilegeEscalation) found in modified YAML files or shell script.
✨ 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 and usage tips.

@openshift-ci

openshift-ci Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rsevilla87

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 Jun 9, 2026
@openshift-ci openshift-ci Bot requested review from capolrik and chentex June 9, 2026 10:54

@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: 4

🤖 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/openshift-qe/orion/openshift-qe-orion-commands.sh`:
- Line 104: The assignment uses unquoted variables which can cause
word-splitting/globbing; update occurrences to quote ORION_CONFIG (e.g.,
fileBasename="$(basename "${ORION_CONFIG}")") and any uses of ARTIFACT_DIR to
use "${ARTIFACT_DIR}" so paths with spaces are safe, but keep EXTRA_FLAGS
unquoted where intentionally meant to split into multiple args (line with
EXTRA_FLAGS on or around 180); ensure references to ORION_CONFIG, EXTRA_FLAGS,
ARTIFACT_DIR and fileBasename are the ones you change.
- Line 18: Replace the personal development repository URLs with the official
organization repos: find and replace occurrences of
"https://github.com/rsevilla87/orion.git" with the official
"https://github.com/cloud-bulldozer/orion.git" and replace
"https://github.com/rsevilla87/go-commons" (and any similar
rsevilla87/go-commons references) with the official go-commons repository
source; update both git clone lines and any related references in the script
(search for the exact URL strings) so the CI uses the official cloud-bulldozer
repositories before removing the WIP tag.
- Line 18: The git clone invocation uses the URL as the --branch value; update
the git clone command so the repository URL is the positional argument and the
branch uses the LATEST_TAG variable (i.e., pass LATEST_TAG to --branch),
replacing the invalid "--branch https://github.com/..." usage in the git clone
line so it becomes: git clone -q --branch "$LATEST_TAG"
https://github.com/rsevilla87/orion.git --depth 1; ensure you reference the
LATEST_TAG variable declared earlier.
- Around line 76-81: The script downloads and immediately executes the
ocp-metadata-linux-amd64 binary which will fail without executable permission
and lacks verification and error handling; update the block that sets
ORION_CONFIG / downloads ocp-metadata-linux-amd64 so that after curl you (1)
check curl exit status and fail with a clear error if the download failed, (2)
validate the binary via checksum or signature before use (or switch to an
official release URL), (3) chmod +x the downloaded ocp-metadata-linux-amd64
before running it, and (4) handle failures from executing
ocp-metadata-linux-amd64 and avoid proceeding if CLUSTER_METADATA is empty;
reference symbols: ORION_WORKLOAD_TYPE, ORION_CONFIG, ocp-metadata-linux-amd64,
CLUSTER_METADATA, EXTRA_FLAGS.
🪄 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: b2c492df-f8a7-4de0-9892-a4c7694f1713

📥 Commits

Reviewing files that changed from the base of the PR and between 9658b15 and 68cee1d.

📒 Files selected for processing (3)
  • ci-operator/step-registry/openshift-qe/orion/crd-scale/openshift-qe-orion-crd-scale-ref.yaml
  • ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh
  • ci-operator/step-registry/openshift-qe/orion/udn-density/openshift-qe-orion-udn-density-ref.yaml

Comment thread ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh Outdated
@rsevilla87 rsevilla87 force-pushed the automatic-metadata branch from 9010d1b to f9320ed Compare June 9, 2026 11:03
@rsevilla87

Copy link
Copy Markdown
Member Author

/pj-rehearse periodic-ci-openshift-eng-ocp-qe-perfscale-ci-main-aws-5.0-nightly-x86-payload-control-plane-6nodes

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@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: 2

🤖 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/openshift-qe/orion/openshift-qe-orion-commands.sh`:
- Around line 76-85: The cluster metadata binary is executed without being on
PATH and the appended flag is later dropped because EXTRA_FLAGS is
reinitialized; fix by installing or invoking the helper with a stable path
(move/copy ocp-metadata-linux-amd64 into /usr/local/bin or call it via
./ocp-metadata-linux-amd64) and capture its output into CLUSTER_METADATA, then
ensure EXTRA_FLAGS is not re-assigned later (do not reinitialize EXTRA_FLAGS or
re-append --input-vars=${CLUSTER_METADATA} after any reset) so the --input-vars
flag is present when invoking orion; update the block around
ORION_WORKLOAD_TYPE/ORION_CONFIG, ocp-metadata-linux-amd64, CLUSTER_METADATA,
and EXTRA_FLAGS accordingly.
- Around line 13-18: The current hardcoded git clone (git clone -q
https://github.com/rsevilla87/orion.git --depth 1) ignores ORION_REPO and TAG;
restore the original logic: compute LATEST_TAG by checking if TAG == "latest"
(use git ls-remote ... | awk ... | sort -V | tail -n1) otherwise set
LATEST_TAG=$TAG, then perform git clone -q "$ORION_REPO" --branch "$LATEST_TAG"
--depth 1 (or equivalent) so the main checkout uses the same repo/tag inputs as
the experimental block and both runs analyze the same revision.
🪄 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: b1671f30-079f-4e4d-9711-f9a333593ca8

📥 Commits

Reviewing files that changed from the base of the PR and between 68cee1d and f9320ed.

📒 Files selected for processing (1)
  • ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh

Comment on lines +13 to +18
#if [[ $TAG == "latest" ]]; then
# LATEST_TAG=$(git ls-remote --tags https://github.com/cloud-bulldozer/orion.git | awk -F'refs/tags/' '{print $2}' | grep -v '\^{}' | sort -V | tail -n1)
#else
# LATEST_TAG=$TAG
#fi
git clone -q https://github.com/rsevilla87/orion.git --depth 1

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.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Don't drop the repo/tag inputs from the main checkout.

This now always clones a hardcoded default branch, so the main run ignores ${ORION_REPO} and ${TAG} while the experimental block later still clones ${ORION_REPO}. The two Orion runs can end up analyzing different revisions entirely.

🔧 Suggested fix
-#if [[ $TAG == "latest" ]]; then
-#    LATEST_TAG=$(git ls-remote --tags https://github.com/cloud-bulldozer/orion.git | awk -F'refs/tags/' '{print $2}' | grep -v '\^{}' | sort -V | tail -n1)
-#else
-#    LATEST_TAG=$TAG
-#fi
-git clone -q https://github.com/rsevilla87/orion.git --depth 1
+if [[ "${TAG}" == "latest" ]]; then
+    LATEST_TAG=$(git ls-remote --tags "${ORION_REPO}" | awk -F'refs/tags/' '{print $2}' | grep -v '\^{}' | sort -V | tail -n1)
+else
+    LATEST_TAG="${TAG}"
+fi
+git clone -q --branch "${LATEST_TAG}" "${ORION_REPO}" --depth 1

Based on the PR objective and stack context for Orion workload config derivation.

🤖 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/openshift-qe/orion/openshift-qe-orion-commands.sh`
around lines 13 - 18, The current hardcoded git clone (git clone -q
https://github.com/rsevilla87/orion.git --depth 1) ignores ORION_REPO and TAG;
restore the original logic: compute LATEST_TAG by checking if TAG == "latest"
(use git ls-remote ... | awk ... | sort -V | tail -n1) otherwise set
LATEST_TAG=$TAG, then perform git clone -q "$ORION_REPO" --branch "$LATEST_TAG"
--depth 1 (or equivalent) so the main checkout uses the same repo/tag inputs as
the experimental block and both runs analyze the same revision.

Signed-off-by: Raul Sevilla <rsevilla@redhat.com>
@rsevilla87 rsevilla87 force-pushed the automatic-metadata branch from f9320ed to 424e933 Compare June 9, 2026 13:02
@rsevilla87

Copy link
Copy Markdown
Member Author

/pj-rehearse periodic-ci-openshift-eng-ocp-qe-perfscale-ci-main-aws-5.0-nightly-x86-payload-control-plane-6nodes

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@rsevilla87 rsevilla87 changed the title [WIP] Automatic metadata [WIP] automate Orion configurations and metadata detection Jun 9, 2026
Signed-off-by: Raul Sevilla <rsevilla@redhat.com>
@rsevilla87

Copy link
Copy Markdown
Member Author

/pj-rehearse periodic-ci-openshift-eng-ocp-qe-perfscale-ci-main-aws-5.0-nightly-x86-payload-control-plane-6nodes

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

Signed-off-by: Raul Sevilla <rsevilla@redhat.com>
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@rsevilla87: 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
pull-ci-openshift-ovn-kubernetes-main-qe-perfscale-payload-control-plane-6nodes openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-5.1-qe-perfscale-payload-control-plane-6nodes openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-5.0-qe-perfscale-payload-control-plane-6nodes openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.23-qe-perfscale-payload-control-plane-6nodes openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.22-qe-perfscale-payload-control-plane-6nodes openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.21-qe-perfscale-payload-control-plane-6nodes openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.20-qe-perfscale-payload-control-plane-6nodes openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.19-qe-perfscale-payload-control-plane-6nodes openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.18-qe-perfscale-payload-control-plane-6nodes openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-main-qe-perfscale-aws-ovn-small-udn-density-churn-l3 openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-main-qe-perfscale-aws-ovn-small-udn-density-l3 openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-main-qe-perfscale-aws-ovn-small-udn-density-l2 openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-5.1-qe-perfscale-aws-ovn-small-udn-density-churn-l3 openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-5.1-qe-perfscale-aws-ovn-small-udn-density-l3 openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-5.1-qe-perfscale-aws-ovn-small-udn-density-l2 openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-5.0-qe-perfscale-aws-ovn-small-udn-density-churn-l3 openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-5.0-qe-perfscale-aws-ovn-small-udn-density-l3 openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-5.0-qe-perfscale-aws-ovn-small-udn-density-l2 openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.23-qe-perfscale-aws-ovn-small-udn-density-churn-l3 openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.23-qe-perfscale-aws-ovn-small-udn-density-l3 openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.23-qe-perfscale-aws-ovn-small-udn-density-l2 openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.22-qe-perfscale-aws-ovn-small-udn-density-churn-l3 openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.22-qe-perfscale-aws-ovn-small-udn-density-l3 openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.22-qe-perfscale-aws-ovn-small-udn-density-l2 openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.21-qe-perfscale-aws-ovn-small-udn-density-l3 openshift/ovn-kubernetes presubmit Registry content changed

A total of 179 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs.

A full list of affected jobs can be found here

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.

@rsevilla87

Copy link
Copy Markdown
Member Author

/pj-rehearse periodic-ci-openshift-eng-ocp-qe-perfscale-ci-main-aws-5.0-nightly-x86-payload-control-plane-6nodes

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh (1)

80-80: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Remove orphan curl command downloading unused file.

Line 80 downloads ocp-metadata-linux-amd64 but this file is never used. Line 81 downloads a different file (ocp-metadata) which is what's actually executed at line 86. This appears to be a leftover from a previous edit.

🐛 Proposed fix
 if [[ -n "${ORION_WORKLOAD_TYPE:-}" ]] && [[ -z "${ORION_CONFIG:-}" ]]; then
     ORION_CONFIG="examples/${ORION_WORKLOAD_TYPE}.yaml"
-    curl -LO https://github.com/rsevilla87/go-commons/releases/download/v1.2.4/ocp-metadata-linux-amd64
     if ! curl -fsSLO https://github.com/rsevilla87/go-commons/releases/download/v1.2.4/ocp-metadata; then
         echo "Error: Failed to download ocp-metadata binary"
         exit 1
🤖 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/openshift-qe/orion/openshift-qe-orion-commands.sh`
at line 80, Remove the unused download command for ocp-metadata-linux-amd64:
delete the curl invocation that fetches
"https://github.com/rsevilla87/go-commons/releases/download/v1.2.4/ocp-metadata-linux-amd64"
since the script actually uses the "ocp-metadata" binary (downloaded later) at
the execution point referenced by "ocp-metadata"; ensure only the needed curl
for "ocp-metadata" remains so no orphan artifact is downloaded.
🤖 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.

Outside diff comments:
In `@ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh`:
- Line 80: Remove the unused download command for ocp-metadata-linux-amd64:
delete the curl invocation that fetches
"https://github.com/rsevilla87/go-commons/releases/download/v1.2.4/ocp-metadata-linux-amd64"
since the script actually uses the "ocp-metadata" binary (downloaded later) at
the execution point referenced by "ocp-metadata"; ensure only the needed curl
for "ocp-metadata" remains so no orphan artifact is downloaded.

ℹ️ Review info
⚙️ Run configuration

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

Review profile: CHILL

Plan: Enterprise

Run ID: 81235d1e-214e-4746-ba6c-d16f9a71ca7b

📥 Commits

Reviewing files that changed from the base of the PR and between 3cef3ce and 6057bf3.

📒 Files selected for processing (1)
  • ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh

@openshift-ci

openshift-ci Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

@rsevilla87: The following test 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-openshift-eng-ocp-qe-perfscale-ci-main-aws-5.0-nightly-x86-payload-control-plane-6nodes 6057bf3 link unknown /pj-rehearse periodic-ci-openshift-eng-ocp-qe-perfscale-ci-main-aws-5.0-nightly-x86-payload-control-plane-6nodes

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. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant