Skip to content

Adding otp-e2e tests on periodic jobs for hive#77906

Open
miyadav wants to merge 2 commits intoopenshift:mainfrom
miyadav:hive-e2e-tests
Open

Adding otp-e2e tests on periodic jobs for hive#77906
miyadav wants to merge 2 commits intoopenshift:mainfrom
miyadav:hive-e2e-tests

Conversation

@miyadav
Copy link
Copy Markdown
Member

@miyadav miyadav commented Apr 16, 2026

/hold

WIP to see if any issues if there is periodic ran from main hive instead of OTP.

Summary by CodeRabbit

  • Chores

    • Added a new weekly periodic test to exercise long-duration AWS installer scenarios.
    • Registered additional base images used by CI workflows.
    • Extended CI cluster-profile allowlist to include the hive repository.
  • Tests

    • New periodic job scheduled weekly to run extended end-to-end longrun tests on AWS.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 16, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 16, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 8475fcbe-4aae-4a85-8867-973e07acc9ae

📥 Commits

Reviewing files that changed from the base of the PR and between 08fec54 and f40d0a9.

📒 Files selected for processing (1)
  • ci-operator/config/openshift/hive/openshift-hive-master__periodic.yaml
🚧 Files skipped from review as they are similar to previous changes (1)
  • ci-operator/config/openshift/hive/openshift-hive-master__periodic.yaml

Walkthrough

Adds a new periodic CI test configuration and corresponding Prow periodic job for OpenShift Hive (AWS IPI long-duration), plus two base_images entries and an update to cluster-profile allowlist to authorize the Hive repo for the aws-qe profile.

Changes

Cohort / File(s) Summary
Hive periodic config
ci-operator/config/openshift/hive/openshift-hive-master__periodic.yaml
Added aws-ipi-f7-longduration-hive-sd-rosa periodic test (cron 0 6 * * 6), steps.cluster_profile: aws-qe, env vars (BASE_DOMAIN, FILTERS_ADDITIONAL, TEST_SCENARIOS, TEST_TIMEOUT), test.chain: openshift-e2e-test-qe-longrun, workflow: cucushift-installer-rehearse-aws-ipi, and two base_images entries (tests-private, upi-installer).
Prow periodic job
ci-operator/jobs/openshift/hive/openshift-hive-master-periodics.yaml
Added periodic Prow job periodic-ci-openshift-hive-master-periodic-aws-ipi-f7-longduration-hive-sd-rosa scheduled 0 6 * * 6 on cluster: build07, using ci-operator container args --target=aws-ipi-f7-longduration-hive-sd-rosa --variant=periodic, with required secret mounts, decorate: true, service account and labels.
Cluster profile allowlist
ci-operator/step-registry/cluster-profiles/cluster-profiles-config.yaml
Added hive repository entry to the org: netobservprofile: aws-qe allowlist mapping.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

🚥 Pre-merge checks | ✅ 8 | ❌ 2

❌ Failed checks (2 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The PR title 'Adding otp-e2e tests on periodic jobs for hive' is vague and generic. It uses the phrase 'otp-e2e tests' without clear context, and the actual changes show an AWS IPI long-duration test, not 'otp-e2e tests' as the title suggests. Clarify the title to accurately reflect the main change, such as 'Add aws-ipi-f7-longduration test to hive periodic jobs' to better represent the actual changeset.
Test Structure And Quality ❓ Inconclusive PR modifies only CI/CD configuration YAML files, not Ginkgo test code files. Clarify whether check should apply to YAML job configurations or actual Ginkgo test code in related repositories.
✅ Passed checks (8 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.
Stable And Deterministic Test Names ✅ Passed PR modifies only YAML CI/CD configuration files with no Ginkgo test definitions present.
Microshift Test Compatibility ✅ Passed PR modifies CI/CD configuration files only, not Ginkgo test implementations. No new test code adding MicroShift-incompatible APIs detected.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR adds only YAML CI/CD configuration files, not new Ginkgo e2e test code (Go files with test blocks).
Topology-Aware Scheduling Compatibility ✅ Passed Changes are CI/CD configuration files (Prow jobs, ci-operator configs) not cluster deployment manifests, containing no scheduling constraints affecting OpenShift topologies.
Ote Binary Stdout Contract ✅ Passed PR contains only YAML CI/CD configuration changes with no Go source code that would write to stdout.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed This check is not applicable to this PR because it does not add any new Ginkgo e2e test code. The PR only modifies YAML configuration files that define CI/CD jobs and cluster profile mappings.

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

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

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

@miyadav
Copy link
Copy Markdown
Member Author

miyadav commented Apr 16, 2026

/pj-rehearse periodic-ci-openshift-hive-master-periodic-aws-ipi-f7-longduration-hive-sd-rosa

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

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

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Apr 16, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: miyadav
Once this PR has been reviewed and has the lgtm label, please assign 2uasimojo, prucek for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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 requested review from jstuever and sosiouxme April 16, 2026 11:44
@miyadav
Copy link
Copy Markdown
Member Author

miyadav commented Apr 16, 2026

/pj-rehearse periodic-ci-openshift-hive-master-periodic-aws-ipi-f7-longduration-hive-sd-rosa

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown

@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 the current code and only fix it if needed.

Inline comments:
In `@ci-operator/jobs/openshift/hive/openshift-hive-master-periodics.yaml`:
- Around line 2-84: This job (name:
periodic-ci-openshift-hive-master-periodic-aws-ipi-f7-longduration-hive-sd-rosa)
is missing a reporter_config block; add a reporter_config at the job level
mirroring the other Hive periodic jobs so failures are sent to Slack (include
the slack reporter settings: slack channel, cluster/cluster alias labels and the
secret reference for the Slack webhook), ensuring the reporter_config key and
its slack subkeys match the schema used by the other Hive periodics in this
file.
🪄 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: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 79a62e74-be49-41cb-9e6a-88bfecac9d3a

📥 Commits

Reviewing files that changed from the base of the PR and between 67c97f7 and 08fec54.

📒 Files selected for processing (3)
  • ci-operator/config/openshift/hive/openshift-hive-master__periodic.yaml
  • ci-operator/jobs/openshift/hive/openshift-hive-master-periodics.yaml
  • ci-operator/step-registry/cluster-profiles/cluster-profiles-config.yaml

Comment on lines +2 to +84
- agent: kubernetes
cluster: build07
cron: 0 6 * * 6
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: master
org: openshift
repo: hive
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-qe
ci-operator.openshift.io/variant: periodic
ci.openshift.io/generator: prowgen
job-release: "4.21"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-hive-master-periodic-aws-ipi-f7-longduration-hive-sd-rosa
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=aws-ipi-f7-longduration-hive-sd-rosa
- --variant=periodic
command:
- ci-operator
env:
- name: HTTP_SERVER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
ports:
- containerPort: 8080
name: http
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Add Slack reporter config for this new periodic job.

This job currently has no reporter_config, unlike the other Hive periodics in this file. Without it, failures can go unnoticed.

Suggested patch
 -  name: periodic-ci-openshift-hive-master-periodic-aws-ipi-f7-longduration-hive-sd-rosa
+  name: periodic-ci-openshift-hive-master-periodic-aws-ipi-f7-longduration-hive-sd-rosa
+  reporter_config:
+    slack:
+      channel: '#team-hive-alert'
+      job_states_to_report:
+      - failure
+      - error
+      - aborted
+      report_template: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs>
   spec:
📝 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
- agent: kubernetes
cluster: build07
cron: 0 6 * * 6
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: master
org: openshift
repo: hive
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-qe
ci-operator.openshift.io/variant: periodic
ci.openshift.io/generator: prowgen
job-release: "4.21"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-hive-master-periodic-aws-ipi-f7-longduration-hive-sd-rosa
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=aws-ipi-f7-longduration-hive-sd-rosa
- --variant=periodic
command:
- ci-operator
env:
- name: HTTP_SERVER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
ports:
- containerPort: 8080
name: http
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build07
cron: 0 6 * * 6
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: master
org: openshift
repo: hive
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-qe
ci-operator.openshift.io/variant: periodic
ci.openshift.io/generator: prowgen
job-release: "4.21"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-hive-master-periodic-aws-ipi-f7-longduration-hive-sd-rosa
reporter_config:
slack:
channel: '#team-hive-alert'
job_states_to_report:
- failure
- error
- aborted
report_template: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs>
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=aws-ipi-f7-longduration-hive-sd-rosa
- --variant=periodic
command:
- ci-operator
env:
- name: HTTP_SERVER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
ports:
- containerPort: 8080
name: http
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@ci-operator/jobs/openshift/hive/openshift-hive-master-periodics.yaml` around
lines 2 - 84, This job (name:
periodic-ci-openshift-hive-master-periodic-aws-ipi-f7-longduration-hive-sd-rosa)
is missing a reporter_config block; add a reporter_config at the job level
mirroring the other Hive periodic jobs so failures are sent to Slack (include
the slack reporter settings: slack channel, cluster/cluster alias labels and the
secret reference for the Slack webhook), ensuring the reporter_config key and
its slack subkeys match the schema used by the other Hive periodics in this
file.

@miyadav
Copy link
Copy Markdown
Member Author

miyadav commented Apr 16, 2026

/pj-rehearse periodic-ci-openshift-hive-master-periodic-aws-ipi-f7-longduration-hive-sd-rosa

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

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

@miyadav
Copy link
Copy Markdown
Member Author

miyadav commented Apr 16, 2026

/pj-rehearse periodic-ci-openshift-hive-master-periodic-aws-ipi-f7-longduration-hive-sd-rosa

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

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

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Apr 16, 2026

@miyadav: 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-hive-master-periodic-aws-ipi-f7-longduration-hive-sd-rosa f40d0a9 link unknown /pj-rehearse periodic-ci-openshift-hive-master-periodic-aws-ipi-f7-longduration-hive-sd-rosa

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.

@miyadav
Copy link
Copy Markdown
Member Author

miyadav commented Apr 16, 2026

/pj-rehearse periodic-ci-openshift-hive-master-periodic-aws-ipi-f7-longduration-hive-sd-rosa

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant