close
Skip to content

Updating jira link to point to prow job#78575

Merged
openshift-merge-bot[bot] merged 3 commits intoopenshift:mainfrom
jfrazierRedHat:jf_ocm_22313
Apr 29, 2026
Merged

Updating jira link to point to prow job#78575
openshift-merge-bot[bot] merged 3 commits intoopenshift:mainfrom
jfrazierRedHat:jf_ocm_22313

Conversation

@jfrazierRedHat
Copy link
Copy Markdown
Contributor

@jfrazierRedHat jfrazierRedHat commented Apr 29, 2026

Summary by CodeRabbit

  • Chores
    • Enhanced CI test result link tracking and reporting capabilities for build verification processes.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 29, 2026

Warning

Rate limit exceeded

@jfrazierRedHat has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 42 minutes and 49 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

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

Review profile: CHILL

Plan: Enterprise

Run ID: 413dcacb-c85e-4cbe-ab74-39e3c9bb6376

📥 Commits

Reviewing files that changed from the base of the PR and between 50a87e0 and 27f92ea.

📒 Files selected for processing (1)
  • ci-operator/config/openshift-online/rosa-e2e/openshift-online-rosa-e2e-main.yaml

Walkthrough

A periodic ROSA E2E test script adds logic to compute and export a JOB_LINK environment variable pointing to the Prow CI test-platform-results page, with conditional URL path logic based on the presence of a PULL_NUMBER variable.

Changes

Cohort / File(s) Summary
CI Job Configuration
ci-operator/config/openshift-online/rosa-e2e/openshift-online-rosa-e2e-main.yaml
Added job link computation logic that constructs a JOB_LINK URL conditionally based on PULL_NUMBER presence and exports it for downstream steps (e.g., Jira reporting).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 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.
Title check ✅ Passed The title accurately describes the main change: updating a Jira link to point to the Prow job instead of a different location, which aligns with the changeset that computes JOB_LINK and exports it for Jira reporting.
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 configuration files, not Ginkgo test code. No dynamic test names are present.
Test Structure And Quality ✅ Passed The custom check for Ginkgo test code quality is not applicable to this PR, which only modifies a YAML CI configuration file containing no test code.
Microshift Test Compatibility ✅ Passed PR modifies only Prow CI YAML configuration without adding new Ginkgo e2e tests, making the MicroShift Test Compatibility check inapplicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed This pull request modifies a CI configuration YAML file to fix how a JOB_LINK environment variable is constructed for Prow job reporting. The custom check applies only to new Ginkgo e2e tests, not infrastructure/configuration-only changes.
Topology-Aware Scheduling Compatibility ✅ Passed PR modifies only CI/CD configuration and test job setup scripts without introducing deployment manifests, operator code, controllers, or scheduling constraints.
Ote Binary Stdout Contract ✅ Passed The OTE Binary Stdout Contract check targets Go source code violations in OTE binaries, not CI configuration files. This PR modifies only YAML CI configuration.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PR modifies CI pipeline config file with no new Ginkgo e2e tests, falling outside the scope of this check.

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

✨ 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
Review rate limit: 0/1 reviews remaining, refill in 42 minutes and 49 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci Bot requested review from bmeng and tiwillia April 29, 2026 16:23
@jfrazierRedHat
Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-periodic-cs-rosa-hcp-ad-staging-main

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

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

🧹 Nitpick comments (1)
ci-operator/config/openshift-online/rosa-e2e/openshift-online-rosa-e2e-main.yaml (1)

56-60: Normalize URL concatenation to avoid // in paths.

The base value ends with / and both branches prepend /, creating double slashes in the final URL. Usually tolerated, but easy to clean up.

Suggested cleanup
-    JOB_LINK="https://prow.ci.openshift.org/view/gs/test-platform-results/"
+    JOB_LINK="https://prow.ci.openshift.org/view/gs/test-platform-results"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@ci-operator/config/openshift-online/rosa-e2e/openshift-online-rosa-e2e-main.yaml`
around lines 56 - 60, The JOB_LINK concatenation can produce double slashes
because the base JOB_LINK ends with '/' and the branches prepend '/' before
paths; to fix, normalize before concatenation by stripping any trailing slash
from JOB_LINK (use parameter expansion on JOB_LINK) or avoid leading slashes in
the appended strings so the if/else branches build URLs without introducing '//'
— update the branches that reference JOB_LINK, PULL_NUMBER, JOB_NAME, and
BUILD_ID accordingly to use the normalized base.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@ci-operator/config/openshift-online/rosa-e2e/openshift-online-rosa-e2e-main.yaml`:
- Around line 57-60: The subshell started with env -i clears all environment
variables so PULL_NUMBER, JOB_NAME and BUILD_ID are empty when constructing
JOB_LINK; modify the env -i invocation that launches bash so it explicitly
exports PULL_NUMBER, JOB_NAME and BUILD_ID into the sanitized environment (e.g.,
pass each as PULL_NUMBER="$PULL_NUMBER" JOB_NAME="$JOB_NAME"
BUILD_ID="$BUILD_ID" to env -i) so the conditional that references PULL_NUMBER,
JOB_NAME and BUILD_ID produces a correct JOB_LINK.

---

Nitpick comments:
In
`@ci-operator/config/openshift-online/rosa-e2e/openshift-online-rosa-e2e-main.yaml`:
- Around line 56-60: The JOB_LINK concatenation can produce double slashes
because the base JOB_LINK ends with '/' and the branches prepend '/' before
paths; to fix, normalize before concatenation by stripping any trailing slash
from JOB_LINK (use parameter expansion on JOB_LINK) or avoid leading slashes in
the appended strings so the if/else branches build URLs without introducing '//'
— update the branches that reference JOB_LINK, PULL_NUMBER, JOB_NAME, and
BUILD_ID accordingly to use the normalized base.
🪄 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: 7c4839d6-69b9-417a-a4a5-7ffbcc379bc5

📥 Commits

Reviewing files that changed from the base of the PR and between d52b059 and 50a87e0.

📒 Files selected for processing (1)
  • ci-operator/config/openshift-online/rosa-e2e/openshift-online-rosa-e2e-main.yaml

Comment on lines +57 to +60
if [ -n "${PULL_NUMBER:-}" ]; then
JOB_LINK="${JOB_LINK}/pr-logs/pull/openshift-online_rosa-e2e/${PULL_NUMBER}/${JOB_NAME}/${BUILD_ID}"
else
JOB_LINK="${JOB_LINK}/logs/${JOB_NAME}/${BUILD_ID}"
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

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify env -i behavior for JOB_NAME/BUILD_ID/PULL_NUMBER.
set -euo pipefail

echo "Case 1: vars set in parent, then env -i without pass-through"
JOB_NAME=job BUILD_ID=123 PULL_NUMBER=456 \
  env -i bash --norc --noprofile -c 'echo "JOB_NAME=${JOB_NAME:-<empty>} BUILD_ID=${BUILD_ID:-<empty>} PULL_NUMBER=${PULL_NUMBER:-<empty>}"'

echo "Case 2: vars explicitly passed through env -i"
JOB_NAME=job BUILD_ID=123 PULL_NUMBER=456 \
  env -i JOB_NAME="${JOB_NAME:-}" BUILD_ID="${BUILD_ID:-}" PULL_NUMBER="${PULL_NUMBER:-}" \
  bash --norc --noprofile -c 'echo "JOB_NAME=${JOB_NAME:-<empty>} BUILD_ID=${BUILD_ID:-<empty>} PULL_NUMBER=${PULL_NUMBER:-<empty>}"'

Repository: openshift/release

Length of output: 276


🏁 Script executed:

cat ci-operator/config/openshift-online/rosa-e2e/openshift-online-rosa-e2e-main.yaml | head -80 | tail -35

Repository: openshift/release

Length of output: 1347


🏁 Script executed:

rg 'JOB_NAME|BUILD_ID|PULL_NUMBER' --type yaml ci-operator/config/openshift-online/rosa-e2e/ | head -30

Repository: openshift/release

Length of output: 508


🏁 Script executed:

rg 'env -i.*bash' ci-operator/config --type yaml -A 5 | grep -E '(PULL_NUMBER|JOB_NAME|BUILD_ID|env -i)' | head -40

Repository: openshift/release

Length of output: 324


🏁 Script executed:

rg -i 'prow.*environment|JOB_NAME|BUILD_ID' --type md --type txt . 2>/dev/null | head -20

Repository: openshift/release

Length of output: 1902


🏁 Script executed:

#!/bin/bash
# Detailed test of env -i variable passing
set -euo pipefail

echo "=== Test 1: env -i with inline assignment (as suggested in review) ==="
export JOB_NAME=myjob
export BUILD_ID=123
export PULL_NUMBER=456
env -i JOB_NAME="${JOB_NAME}" BUILD_ID="${BUILD_ID}" PULL_NUMBER="${PULL_NUMBER}" \
  bash -c 'echo "JOB_NAME=$JOB_NAME BUILD_ID=$BUILD_ID PULL_NUMBER=$PULL_NUMBER"'

echo ""
echo "=== Test 2: Using env with multiple -u flags (alternative) ==="
env -i \
  -u JOB_NAME -u BUILD_ID -u PULL_NUMBER \
  bash -c 'echo "After -u flags: JOB_NAME=${JOB_NAME:-<empty>}"'

echo ""
echo "=== Test 3: Exporting before env -i ==="
export JOB_NAME=myjob
export BUILD_ID=123
export PULL_NUMBER=456
env -i bash -c 'echo "JOB_NAME=${JOB_NAME:-<empty>} BUILD_ID=${BUILD_ID:-<empty>} PULL_NUMBER=${PULL_NUMBER:-<empty>}"'

echo ""
echo "=== Test 4: Keep specific vars with env -i ==="
export JOB_NAME=myjob
export BUILD_ID=123
export PULL_NUMBER=456
env -i $(for var in JOB_NAME BUILD_ID PULL_NUMBER; do echo "$var=${!var}"; done) \
  bash -c 'echo "JOB_NAME=$JOB_NAME BUILD_ID=$BUILD_ID PULL_NUMBER=$PULL_NUMBER"'

Repository: openshift/release

Length of output: 460


Pass Prow environment variables through env -i to prevent malformed JOB_LINK.

Inside the env -i bash subshell (line 52), PULL_NUMBER, JOB_NAME, and BUILD_ID are unavailable because env -i clears the entire inherited environment. This causes the URL construction (lines 59–60) to expand empty variables, producing malformed links like .../logs//.

Pass these variables explicitly through env -i:

Fix
-    env -i bash --norc --noprofile << 'EOF' > /tmp/podman.env
+    env -i \
+      JOB_NAME="${JOB_NAME}" \
+      BUILD_ID="${BUILD_ID}" \
+      PULL_NUMBER="${PULL_NUMBER:-}" \
+      bash --norc --noprofile << 'EOF' > /tmp/podman.env
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@ci-operator/config/openshift-online/rosa-e2e/openshift-online-rosa-e2e-main.yaml`
around lines 57 - 60, The subshell started with env -i clears all environment
variables so PULL_NUMBER, JOB_NAME and BUILD_ID are empty when constructing
JOB_LINK; modify the env -i invocation that launches bash so it explicitly
exports PULL_NUMBER, JOB_NAME and BUILD_ID into the sanitized environment (e.g.,
pass each as PULL_NUMBER="$PULL_NUMBER" JOB_NAME="$JOB_NAME"
BUILD_ID="$BUILD_ID" to env -i) so the conditional that references PULL_NUMBER,
JOB_NAME and BUILD_ID produces a correct JOB_LINK.

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@jfrazierRedHat: 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-openshift-online-rosa-e2e-main-ocm-fvt-periodic-cs-rosa-hcp-ad-staging-main N/A periodic Ci-operator config 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.

@jfrazierRedHat
Copy link
Copy Markdown
Contributor Author

/retest

@psalajova
Copy link
Copy Markdown
Contributor

/test generated-config

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 29, 2026

@jfrazierRedHat: 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/prow/prow-config-semantics 25cebbd link true /test prow-config-semantics

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.

@dustman9000
Copy link
Copy Markdown
Member

/lgtm

@dustman9000
Copy link
Copy Markdown
Member

/pj-rehearse ack

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Apr 29, 2026
@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@dustman9000: 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 Apr 29, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 29, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dustman9000, jfrazierRedHat

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 Apr 29, 2026
@openshift-merge-bot openshift-merge-bot Bot merged commit 26f5464 into openshift:main Apr 29, 2026
14 checks passed
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.

3 participants