Skip to content

Building orig-edivisive from scratch#79283

Open
vishnuchalla wants to merge 1 commit into
openshift:mainfrom
vishnuchalla:ediv-exp
Open

Building orig-edivisive from scratch#79283
vishnuchalla wants to merge 1 commit into
openshift:mainfrom
vishnuchalla:ediv-exp

Conversation

@vishnuchalla
Copy link
Copy Markdown
Contributor

@vishnuchalla vishnuchalla commented May 14, 2026

Description
Updating orig-edivise source code for orion

Testing
Will be verified through rehearsal

Updates the OpenShift CI step for OpenShift QE's Orion workflow (ci-operator/step-registry/openshift-qe/orion) to run the experimental "original e-divisive" Orion implementation from source instead of executing a downloaded prebuilt orion-amd64 binary. The step now clones the orion repo at the orig-edivisive-exp tag, installs Python requirements, and runs the Python-based Orion, writing visualization output for the experimental run to a fixed experimental artifact file ($EXP_DIR/orion-exp-output.txt) to keep experimental results isolated from the standard Orion artifacts. No public API changes. The author has triggered rehearsal runs to validate the change.

@openshift-ci openshift-ci Bot requested review from jtaleric and rsevilla87 May 14, 2026 02:05
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 14, 2026

Walkthrough

The Orion CI step was changed to run an experimental Python-based implementation checked out from the orig-edivisive-exp tag in the orion repo (installing its Python requirements) and the experimental visualization output is written to a fixed file orion-exp-output.txt in the artifacts directory.

Changes

Orion experimental run: fetch, install, execute, and artifact

Layer / File(s) Summary
Fetch and checkout experimental source
ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh
Fetches origin refs for the orig-edivisive-exp tag and checks out the fetched commit instead of relying on a prebuilt experimental binary.
Install Python requirements and package
ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh
Installs Python dependencies from requirements.txt and the local package (pip install -r requirements.txt && pip install .) prior to running the experimental implementation.
Execution and artifact output
ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh
Runs the experimental Orion command (orion --viz ...) and writes visualization output to a fixed artifact file $EXP_DIR/orion-exp-output.txt (previously ${FILENAME}.txt), keeping best-effort execution (`

Sequence Diagram

sequenceDiagram
    participant CI as CI Script
    participant Git as Git Remote
    participant Python as Python Env
    participant Art as Artifacts Dir

    CI->>Git: fetch refs/tags/orig-edivisive-exp
    Git-->>CI: tag commit
    CI->>CI: git checkout fetched commit
    CI->>Python: pip install -r requirements.txt && pip install .
    Python-->>CI: environment ready
    CI->>Python: run `orion --viz ...`
    Python-->>Art: write viz to `$EXP_DIR/orion-exp-output.txt`
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 12
✅ Passed checks (12 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 check for stable Ginkgo test names is not applicable. The PR modifies only a bash shell script without any Ginkgo test definitions.
Test Structure And Quality ✅ Passed Custom check for Ginkgo test structure and quality is not applicable. PR modifies only a bash shell script, not Go Ginkgo test code.
Microshift Test Compatibility ✅ Passed The custom check applies only when new Ginkgo e2e tests are added. This PR modifies a bash CI/CD script, not test code. No Ginkgo tests are added or modified.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR modifies a bash CI script, not Ginkgo e2e tests. No new Ginkgo tests are added, so the SNO Test Compatibility check is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed PR modifies a CI/CD bash script only. The check applies to deployment manifests, operator code, or controllers. This change contains none of those and introduces no Kubernetes scheduling constraints.
Ote Binary Stdout Contract ✅ Passed The OTE Binary Stdout Contract check applies to OTE binaries (Go programs). This PR modifies only a shell script that orchestrates running external tools, not a Go binary. The check is not applicable.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The PR modifies only a bash shell script for CI/CD orchestration. The custom check targets Ginkgo e2e tests (Go code). No Go test files or Ginkgo tests are modified in this PR.
Title check ✅ Passed The title 'Building orig-edivisive from scratch' directly relates to the main change: switching from a prebuilt binary to building from source by fetching and checking out the 'orig-edivisive-exp' tag.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 14, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vishnuchalla

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 May 14, 2026
@vishnuchalla
Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-quay-quay-tests-master-quay-performance-quay-e2e-tests-quay317-performance-test

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

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

@vishnuchalla
Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-netobserv-netobserv-perf-tests-main-netobserv-aws-4.22-nightly-x86-node-density-heavy-25nodes

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

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/openshift-qe/orion/openshift-qe-orion-commands.sh`:
- Line 311: The orion invocation uses unquoted scalars and a plain EXTRA_FLAGS
string which can break on spaces/special chars; change the script to quote
scalar expansions (use "${ORION_CONFIG}", "${IGNORE_JOB_ITERATIONS}", and quote
the tee target "${EXP_DIR}/orion-exp-output.txt") and treat EXTRA_FLAGS as an
array (declare/construct EXTRA_FLAGS as an array earlier and expand it here as
"${EXTRA_FLAGS[@]}") so the command becomes robust to spaces and special
characters while preserving the pipe and the || true behavior.
🪄 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: 5802fcb7-67d1-4be0-94bd-40015991d65a

📥 Commits

Reviewing files that changed from the base of the PR and between 565e299 and 76c6471.

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


echo "Running experimental orion (original e-divisive)..."
"$EXP_BINARY" --node-count ${IGNORE_JOB_ITERATIONS} --config ${ORION_CONFIG} ${EXTRA_FLAGS} --viz | tee "$EXP_DIR/${FILENAME}.txt" || true
orion --node-count ${IGNORE_JOB_ITERATIONS} --config ${ORION_CONFIG} ${EXTRA_FLAGS} --viz | tee "$EXP_DIR/orion-exp-output.txt" || true
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 | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

# First, check if the file exists and get the total line count
wc -l ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh

Repository: openshift/release

Length of output: 141


🏁 Script executed:

# View the context around line 311
sed -n '300,320p' ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh | cat -n

Repository: openshift/release

Length of output: 1107


🏁 Script executed:

# Check the broader experimental section and variable definitions
sed -n '290,330p' ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh | cat -n

Repository: openshift/release

Length of output: 1705


🏁 Script executed:

# Search for where these variables are set to understand their source
rg "IGNORE_JOB_ITERATIONS|ORION_CONFIG|EXTRA_FLAGS" ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh -B 2 -A 1

Repository: openshift/release

Length of output: 2242


Quote variables and use array expansion for flags in the experimental orion invocation (Line 311).

The unquoted variable expansions can break when ORION_CONFIG contains spaces or special characters (e.g., downloaded file paths). Quote scalar values and convert EXTRA_FLAGS to an array for safe expansion.

Suggested fix
-    orion --node-count ${IGNORE_JOB_ITERATIONS} --config ${ORION_CONFIG} ${EXTRA_FLAGS} --viz | tee "$EXP_DIR/orion-exp-output.txt" || true
+    extra_args=()
+    if [[ -n "${EXTRA_FLAGS}" ]]; then
+        # shellcheck disable=SC2206 # intentional split of prebuilt flags string
+        extra_args=( ${EXTRA_FLAGS} )
+    fi
+    orion --node-count "${IGNORE_JOB_ITERATIONS}" --config "${ORION_CONFIG}" "${extra_args[@]}" --viz | tee "$EXP_DIR/orion-exp-output.txt" || true
📝 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
orion --node-count ${IGNORE_JOB_ITERATIONS} --config ${ORION_CONFIG} ${EXTRA_FLAGS} --viz | tee "$EXP_DIR/orion-exp-output.txt" || true
extra_args=()
if [[ -n "${EXTRA_FLAGS}" ]]; then
# shellcheck disable=SC2206 # intentional split of prebuilt flags string
extra_args=( ${EXTRA_FLAGS} )
fi
orion --node-count "${IGNORE_JOB_ITERATIONS}" --config "${ORION_CONFIG}" "${extra_args[@]}" --viz | tee "$EXP_DIR/orion-exp-output.txt" || true
🧰 Tools
🪛 Shellcheck (0.11.0)

[info] 311-311: Double quote to prevent globbing and word splitting.

(SC2086)


[info] 311-311: Double quote to prevent globbing and word splitting.

(SC2086)


[info] 311-311: Double quote to prevent globbing and word splitting.

(SC2086)

🤖 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 311, The orion invocation uses unquoted scalars and a plain EXTRA_FLAGS
string which can break on spaces/special chars; change the script to quote
scalar expansions (use "${ORION_CONFIG}", "${IGNORE_JOB_ITERATIONS}", and quote
the tee target "${EXP_DIR}/orion-exp-output.txt") and treat EXTRA_FLAGS as an
array (declare/construct EXTRA_FLAGS as an array earlier and expand it here as
"${EXTRA_FLAGS[@]}") so the command becomes robust to spaces and special
characters while preserving the pipe and the || true behavior.

Signed-off-by: Vishnu Challa <vchalla@redhat.com>
@openshift-merge-bot
Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@vishnuchalla: 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-netobserv-flowlogs-pipeline-main-flp-node-density-heavy-25nodes netobserv/flowlogs-pipeline presubmit Registry content changed
pull-ci-netobserv-netobserv-ebpf-agent-main-ebpf-node-density-heavy-25nodes netobserv/netobserv-ebpf-agent presubmit Registry content changed
periodic-ci-openshift-ols-load-generator-main-ols-load-test-50workers N/A periodic Registry content changed
periodic-ci-openshift-ols-load-generator-main-ols-load-test-10workers N/A periodic Registry content changed
periodic-ci-netobserv-netobserv-perf-tests-main-netobserv-aws-4.22-nightly-x86-node-density-heavy-25nodes N/A periodic Registry content changed
periodic-ci-openshift-ols-load-generator-main-ols-load-test-1000workers N/A periodic Registry content changed
periodic-ci-netobserv-netobserv-perf-tests-main-netobserv-aws-5.0-nightly-x86-node-density-heavy-25nodes-service-without-loki N/A periodic Registry content changed
periodic-ci-openshift-ols-load-generator-main-mcp-ols-load-test-1000workers-mcp N/A periodic Registry content changed
periodic-ci-quay-quay-tests-master-quay-performance-quay-e2e-tests-quayio-stage-performance-test N/A periodic Registry content changed
periodic-ci-openshift-ols-load-generator-main-ols-load-test-100workers N/A periodic Registry content changed
periodic-ci-netobserv-netobserv-perf-tests-main-netobserv-aws-4.22-nightly-x86-cluster-density-v2-250nodes N/A periodic Registry content changed
periodic-ci-netobserv-netobserv-perf-tests-main-netobserv-aws-5.0-nightly-x86-cluster-density-v2-250nodes N/A periodic Registry content changed
periodic-ci-openshift-ols-load-generator-main-mcp-ols-load-test-25workers-mcp N/A periodic Registry content changed
periodic-ci-netobserv-netobserv-perf-tests-main-netobserv-aws-4.22-nightly-x86-node-density-heavy-25nodes-service-without-loki N/A periodic Registry content changed
periodic-ci-openshift-ols-load-generator-main-mcp-ols-load-test-50workers-mcp N/A periodic Registry content changed
periodic-ci-netobserv-netobserv-perf-tests-main-netobserv-aws-5.0-nightly-x86-node-density-heavy-25nodes N/A periodic Registry content changed
periodic-ci-openshift-ols-load-generator-main-mcp-ols-load-test-100workers-mcp N/A periodic Registry content changed
periodic-ci-openshift-ols-load-generator-main-mcp-ols-load-test-10workers-mcp N/A periodic Registry content changed
periodic-ci-quay-quay-tests-master-quay-performance-quay-e2e-tests-quay317-performance-test N/A periodic Registry content changed
periodic-ci-openshift-ols-load-generator-main-ols-load-test-25workers 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.

@vishnuchalla vishnuchalla changed the title Updating Edivisive file ENV Building orig-edivisive from scratch May 14, 2026
@vishnuchalla
Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-netobserv-netobserv-perf-tests-main-netobserv-aws-4.22-nightly-x86-node-density-heavy-25nodes

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

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

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@vishnuchalla: 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-netobserv-flowlogs-pipeline-main-flp-node-density-heavy-25nodes netobserv/flowlogs-pipeline presubmit Registry content changed
pull-ci-netobserv-netobserv-ebpf-agent-main-ebpf-node-density-heavy-25nodes netobserv/netobserv-ebpf-agent presubmit Registry content changed
periodic-ci-openshift-ols-load-generator-main-mcp-ols-load-test-1000workers-mcp N/A periodic Registry content changed
periodic-ci-openshift-ols-load-generator-main-mcp-ols-load-test-25workers-mcp N/A periodic Registry content changed
periodic-ci-openshift-ols-load-generator-main-mcp-ols-load-test-100workers-mcp N/A periodic Registry content changed
periodic-ci-quay-quay-tests-master-quay-performance-quay-e2e-tests-quayio-stage-performance-test N/A periodic Registry content changed
periodic-ci-netobserv-netobserv-perf-tests-main-netobserv-aws-5.0-nightly-x86-node-density-heavy-25nodes-service-without-loki N/A periodic Registry content changed
periodic-ci-openshift-ols-load-generator-main-ols-load-test-50workers N/A periodic Registry content changed
periodic-ci-netobserv-netobserv-perf-tests-main-netobserv-aws-4.22-nightly-x86-cluster-density-v2-250nodes N/A periodic Registry content changed
periodic-ci-quay-quay-tests-master-quay-performance-quay-e2e-tests-quay317-performance-test N/A periodic Registry content changed
periodic-ci-openshift-ols-load-generator-main-ols-load-test-1000workers N/A periodic Registry content changed
periodic-ci-openshift-ols-load-generator-main-ols-load-test-25workers N/A periodic Registry content changed
periodic-ci-openshift-ols-load-generator-main-ols-load-test-100workers N/A periodic Registry content changed
periodic-ci-netobserv-netobserv-perf-tests-main-netobserv-aws-5.0-nightly-x86-cluster-density-v2-250nodes N/A periodic Registry content changed
periodic-ci-openshift-ols-load-generator-main-ols-load-test-10workers N/A periodic Registry content changed
periodic-ci-netobserv-netobserv-perf-tests-main-netobserv-aws-4.22-nightly-x86-node-density-heavy-25nodes-service-without-loki N/A periodic Registry content changed
periodic-ci-openshift-ols-load-generator-main-mcp-ols-load-test-50workers-mcp N/A periodic Registry content changed
periodic-ci-netobserv-netobserv-perf-tests-main-netobserv-aws-4.22-nightly-x86-node-density-heavy-25nodes N/A periodic Registry content changed
periodic-ci-openshift-ols-load-generator-main-mcp-ols-load-test-10workers-mcp N/A periodic Registry content changed
periodic-ci-netobserv-netobserv-perf-tests-main-netobserv-aws-5.0-nightly-x86-node-density-heavy-25nodes 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
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 14, 2026

@vishnuchalla: 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-quay-quay-tests-master-quay-performance-quay-e2e-tests-quay317-performance-test 565e299 link unknown /pj-rehearse periodic-ci-quay-quay-tests-master-quay-performance-quay-e2e-tests-quay317-performance-test

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.

@vishnuchalla
Copy link
Copy Markdown
Contributor Author

/assign @chentex
/assign @mohit-sheth

@vishnuchalla
Copy link
Copy Markdown
Contributor Author

/pj-rehearse ack

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@vishnuchalla: 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 May 14, 2026
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. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants