Skip to content

Netobserv 5.0 wait timeout#80504

Open
oliver-smakal wants to merge 5 commits into
openshift:mainfrom
oliver-smakal:netobserv_5.0_wait_timeout
Open

Netobserv 5.0 wait timeout#80504
oliver-smakal wants to merge 5 commits into
openshift:mainfrom
oliver-smakal:netobserv_5.0_wait_timeout

Conversation

@oliver-smakal

@oliver-smakal oliver-smakal commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Not intended to merge, just for ocp 5.0 and netobserv testing

Summary by CodeRabbit

This PR adjusts the OpenShift CI test infrastructure for Network Observability (NetObserv) testing across multiple release versions. The changes are focused on test job configuration files that define how Prow executes CI tests for the openshift-tests-private repository.

What's changing:

The PR modifies Prow job definitions in the CI operator configuration to add timeout and wait step enhancements to NetObserv-related test jobs:

  • Added timeouts: Test jobs now specify explicit TIMEOUT values (4 hours for most jobs, 6 hours for ARM-based jobs) to prevent test hangs
  • Added wait steps: A - ref: wait step is prepended to the test phase of affected jobs, inserting a waiting period before the actual test chains execute

Affected jobs and versions:

  • 4.19 release: vSphere and bare-metal NetObserv test jobs
  • 4.20 release: vSphere and bare-metal NetObserv test jobs (amd64 and multi-architecture ARM)
  • 5.0 release: vSphere and bare-metal NetObserv test jobs (amd64)

Files modified:

  • ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.19__amd64-nightly.yaml
  • ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.20__amd64-nightly.yaml
  • ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.20__multi-nightly.yaml
  • ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-5.0__amd64-nightly.yaml

Note: This PR is explicitly marked as test-only and not intended for merging. The changes are debugging/validation adjustments to the CI testing infrastructure for NetObserv validation across OCP 5.0 and related releases.

@openshift-ci

openshift-ci Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: oliver-smakal
Once this PR has been reviewed and has the lgtm label, please assign amoghrd 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

@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Walkthrough

Across four CI operator YAML files (releases 4.19, 4.20 amd64, 4.20 multi, and 5.0 amd64), Network Observability job definitions are updated to add a TIMEOUT override (4 hours, or 6 hours for the ARM job) and a ref: wait step inserted into each job's steps.test sequence before the existing netobserv QE chain.

Changes

NetObserv CI Job Wait Step and Timeout

Layer / File(s) Summary
release-4.19 amd64: NetObserv wait + timeout
ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.19__amd64-nightly.yaml
Four NetObserv jobs (vsphere-...-nwevents-netobserv, metal-ds-...-ipv4-f28-virt-netobserv, metal-ds-...-dualstack-primaryv6-f28-ipv6-netobserv, vsphere-...-ipsec-netobserv) gain TIMEOUT: 4 hours and a ref: wait step in steps.test.
release-4.20 amd64: NetObserv wait + timeout
ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.20__amd64-nightly.yaml
Same four analogous NetObserv jobs gain TIMEOUT: 4 hours and a ref: wait step inserted before the QE test chain.
release-4.20 multi: NetObserv wait + timeout
ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.20__multi-nightly.yaml
The aws-ipi-arm-f28-netobserv job gains TIMEOUT: 6 hours and a ref: wait step prepended to steps.test.
release-5.0 amd64: NetObserv wait + timeout
ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-5.0__amd64-nightly.yaml
Four NetObserv jobs gain TIMEOUT: 4 hours and a ref: wait step inserted into steps.test.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

  • openshift/release#80424: Modifies the same NetObservability job stanzas (vsphere-...-ipsec-netobserv, ...-nwevents-netobserv) in the same openshift-tests-private YAML files, disabling their cron triggers via always_run: false.

Suggested reviewers

  • sergiordlr
  • memodi
🚥 Pre-merge checks | ✅ 14 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title refers to Netobserv 5.0 wait timeout, but changes span multiple OpenShift releases (4.19, 4.20, 4.20 multi, and 5.0) with timeout and wait step adjustments across all versions. Revise title to reflect the broader scope: e.g., 'Add wait steps and timeout settings to Netobserv test jobs across releases 4.19-5.0' or similar.
✅ Passed checks (14 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 PR modifies only CI/prow YAML configuration files, not Ginkgo test source code. The check applies only to Ginkgo test titles, which are not present in these infrastructure configuration files.
Test Structure And Quality ✅ Passed This PR contains only YAML CI/prow configuration changes, not Ginkgo test code. The custom check for "Test Structure and Quality" is not applicable to infrastructure configuration files.
Microshift Test Compatibility ✅ Passed PR contains no new Ginkgo e2e tests. Changes are only to CI YAML configuration files and utility test infrastructure, not e2e test definitions requiring MicroShift compatibility assessment.
Single Node Openshift (Sno) Test Compatibility ✅ Passed This PR contains no new Ginkgo e2e tests—only CI YAML configuration updates (timeout and wait step additions to existing test orchestration). The SNO compatibility check does not apply.
Topology-Aware Scheduling Compatibility ✅ Passed PR modifies only CI/CD test configuration files (not deployment manifests, operator code, or controllers), and introduces no scheduling constraints affecting cluster topologies.
Ote Binary Stdout Contract ✅ Passed PR modifies only CI/Prow YAML configuration files. OTE Binary Stdout Contract check applies to test binaries/code, not CI job definitions. Not applicable.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed This PR modifies only CI configuration YAML files (ci-operator/config) with timeout and wait step adjustments. No new Ginkgo e2e tests (Go test code) are being added, so the IPv6/disconnected netwo...
No-Weak-Crypto ✅ Passed PR only modifies CI/Prow YAML test configuration files with no cryptographic code, weak crypto, or custom crypto implementations present.
Container-Privileges ✅ Passed PR modifies only CI test configuration files with no container security context changes; no privileged, hostPID, hostNetwork, hostIPC, SYS_ADMIN, or allowPrivilegeEscalation settings detected.
No-Sensitive-Data-In-Logs ✅ Passed The PR adds ref: wait steps to netobservability test jobs. The wait step logs only non-sensitive information: user ID messages, PR debug mode status, and timeout dates. No passwords, tokens, API...

✏️ 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

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

@openshift-ci openshift-ci Bot requested review from jechen0648 and memodi June 15, 2026 06:08
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@oliver-smakal: 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-openshift-tests-private-release-4.20-amd64-nightly-metal-ds-ipi-ovn-dualstack-primaryv6-f28-ipv6-netobserv openshift/openshift-tests-private presubmit Ci-operator config changed
pull-ci-openshift-openshift-tests-private-release-4.20-amd64-nightly-metal-ds-ipi-ovn-ipv4-f28-virt-netobserv openshift/openshift-tests-private presubmit Ci-operator config changed
pull-ci-openshift-openshift-tests-private-release-4.20-amd64-nightly-vsphere-ipi-amd-f28-ipsec-netobserv openshift/openshift-tests-private presubmit Ci-operator config changed
pull-ci-openshift-openshift-tests-private-release-4.20-amd64-nightly-vsphere-ipi-amd-f28-techpreview-nwevents-netobserv openshift/openshift-tests-private presubmit Ci-operator config changed
pull-ci-openshift-openshift-tests-private-release-5.0-amd64-nightly-metal-ds-ipi-ovn-dualstack-primaryv6-f28-ipv6-netobserv openshift/openshift-tests-private presubmit Ci-operator config changed
pull-ci-openshift-openshift-tests-private-release-5.0-amd64-nightly-metal-ds-ipi-ovn-ipv4-f28-virt-netobserv openshift/openshift-tests-private presubmit Ci-operator config changed
pull-ci-openshift-openshift-tests-private-release-5.0-amd64-nightly-vsphere-ipi-amd-f28-ipsec-netobserv openshift/openshift-tests-private presubmit Ci-operator config changed
pull-ci-openshift-openshift-tests-private-release-5.0-amd64-nightly-vsphere-ipi-amd-f28-techpreview-nwevents-netobserv openshift/openshift-tests-private presubmit Ci-operator config changed
pull-ci-openshift-openshift-tests-private-release-4.19-amd64-nightly-metal-ds-ipi-ovn-dualstack-primaryv6-f28-ipv6-netobserv openshift/openshift-tests-private presubmit Ci-operator config changed
pull-ci-openshift-openshift-tests-private-release-4.19-amd64-nightly-metal-ds-ipi-ovn-ipv4-f28-virt-netobserv openshift/openshift-tests-private presubmit Ci-operator config changed
pull-ci-openshift-openshift-tests-private-release-4.19-amd64-nightly-vsphere-ipi-amd-f28-ipsec-netobserv openshift/openshift-tests-private presubmit Ci-operator config changed
pull-ci-openshift-openshift-tests-private-release-4.19-amd64-nightly-vsphere-ipi-amd-f28-techpreview-nwevents-netobserv openshift/openshift-tests-private presubmit Ci-operator config changed
pull-ci-openshift-openshift-tests-private-release-4.20-multi-nightly-aws-ipi-arm-f28-netobserv openshift/openshift-tests-private presubmit Ci-operator config changed

Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals.

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.

@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: 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/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-5.0__amd64-nightly.yaml`:
- Around line 4397-4400: The `ref: wait` step in the test chain has been added
unconditionally to configurations that run as periodic cron jobs (where
`PR_ONLY` is not set), which will cause each execution to pause for 4 hours
before running the `openshift-e2e-test-netobserv-qe` chain. Either gate the
`ref: wait` step with `PR_ONLY: "true"` to ensure it only runs on pull requests,
or remove it entirely before merging if this is debug-only code. This applies at
multiple locations in the file where similar patterns exist with the wait
reference followed by the NetObserv chain.
🪄 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: 262e2209-c483-4b38-be08-c95affa7e492

📥 Commits

Reviewing files that changed from the base of the PR and between 591a844 and 9ea2d30.

📒 Files selected for processing (4)
  • ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.19__amd64-nightly.yaml
  • ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.20__amd64-nightly.yaml
  • ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.20__multi-nightly.yaml
  • ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-5.0__amd64-nightly.yaml

Comment on lines +4397 to 4400
TIMEOUT: 4 hours
test:
- ref: wait
- chain: openshift-e2e-test-netobserv-qe

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

ref: wait introduces an unconditional 4-hour delay on periodic runs

Because these are cron jobs and PR_ONLY is not set, the added ref: wait will pause each execution for up to 4 hours before the NetObserv chain. If this is debug-only, gate it with PR_ONLY: "true" (or remove before merge) to avoid long-running periodic backlog.

Also applies to: 4428-4432, 4460-4464, 4485-4488

🤖 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/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-5.0__amd64-nightly.yaml`
around lines 4397 - 4400, The `ref: wait` step in the test chain has been added
unconditionally to configurations that run as periodic cron jobs (where
`PR_ONLY` is not set), which will cause each execution to pause for 4 hours
before running the `openshift-e2e-test-netobserv-qe` chain. Either gate the
`ref: wait` step with `PR_ONLY: "true"` to ensure it only runs on pull requests,
or remove it entirely before merging if this is debug-only code. This applies at
multiple locations in the file where similar patterns exist with the wait
reference followed by the NetObserv chain.

@oliver-smakal

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-openshift-openshift-tests-private-release-5.0-amd64-nightly-metal-ds-ipi-ovn-dualstack-primaryv6-f28-ipv6-netobserv

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@oliver-smakal

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-openshift-openshift-tests-private-release-5.0-amd64-nightly-metal-ds-ipi-ovn-ipv4-f28-virt-netobserv

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@oliver-smakal

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-openshift-openshift-tests-private-release-5.0-amd64-nightly-vsphere-ipi-amd-f28-ipsec-netobserv

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@oliver-smakal

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-openshift-openshift-tests-private-release-5.0-amd64-nightly-vsphere-ipi-amd-f29-techpreview-nwevents-netobserv

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@oliver-smakal: 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

@oliver-smakal: job(s): pull-ci-openshift-openshift-tests-private-release-5.0-amd64-nightly-vsphere-ipi-amd-f29-techpreview-nwevents-netobserv either don't exist or were not found to be affected, and cannot be rehearsed

@openshift-ci

openshift-ci Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

@oliver-smakal: The following tests 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/openshift/openshift-tests-private/release-5.0/amd64-nightly-metal-ds-ipi-ovn-ipv4-f28-virt-netobserv 9ea2d30 link unknown /pj-rehearse pull-ci-openshift-openshift-tests-private-release-5.0-amd64-nightly-metal-ds-ipi-ovn-ipv4-f28-virt-netobserv
ci/rehearse/openshift/openshift-tests-private/release-5.0/amd64-nightly-metal-ds-ipi-ovn-dualstack-primaryv6-f28-ipv6-netobserv 9ea2d30 link unknown /pj-rehearse pull-ci-openshift-openshift-tests-private-release-5.0-amd64-nightly-metal-ds-ipi-ovn-dualstack-primaryv6-f28-ipv6-netobserv
ci/prow/ci-operator-config-metadata 9ea2d30 link true /test ci-operator-config-metadata

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant