Skip to content

OCPBUGS-82072 OCPBUGS-82077: fix: skip unused tests for two node#30998

Open
eggfoobar wants to merge 1 commit intoopenshift:mainfrom
eggfoobar:skip-baremetal-worker-checks-on-twonode
Open

OCPBUGS-82072 OCPBUGS-82077: fix: skip unused tests for two node#30998
eggfoobar wants to merge 1 commit intoopenshift:mainfrom
eggfoobar:skip-baremetal-worker-checks-on-twonode

Conversation

@eggfoobar
Copy link
Copy Markdown
Contributor

@eggfoobar eggfoobar commented Apr 10, 2026

currently for two node fencing we do not support extra workers, skipping these tests for DualReplica topology

Summary by CodeRabbit

  • Tests
    • Skip baremetal tests automatically on two-node (dual-replica) control plane deployments.
    • Make health checks adapt expected host status based on the cluster control plane topology.

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: automatic mode

@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Apr 10, 2026
@openshift-ci-robot
Copy link
Copy Markdown

@eggfoobar: This pull request references Jira Issue OCPBUGS-82072, which is invalid:

  • expected the bug to target the "4.22.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

This pull request references Jira Issue OCPBUGS-82077, which is invalid:

  • expected the bug to target the "4.22.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

currently for two node fencing we do not support extra workers, skipping these tests for DualReplica topology

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 openshift-eng/jira-lifecycle-plugin repository.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 10, 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: 4a803233-2d43-42bc-b342-f8c383ab71fb

📥 Commits

Reviewing files that changed from the base of the PR and between c1405f1 and e100fab.

📒 Files selected for processing (3)
  • test/extended/baremetal/common.go
  • test/extended/baremetal/high_availability.go
  • test/extended/baremetal/hosts.go
🚧 Files skipped from review as they are similar to previous changes (1)
  • test/extended/baremetal/hosts.go

Walkthrough

Introduce an unexported clusterInfrastructure(oc) helper to centralize Infrastructures().Get("cluster") lookups; add skipIfTwoNode(oc) to skip tests when control-plane topology is DualReplica; update baremetal tests and a health-check to use the helper and topology-aware logic.

Changes

Cohort / File(s) Summary
Infrastructure helper
test/extended/baremetal/common.go
Add unexported clusterInfrastructure(oc) that calls Infrastructures().Get(..., "cluster", ...) and returns (*configv1.Infrastructure, error); update skipIfNotBaremetal and skipIfUnsupportedPlatformOrConfig to use it; add skipIfTwoNode(oc) which skips when Status.ControlPlaneTopology == configv1.DualReplicaTopologyMode.
Baremetal tests & health check
test/extended/baremetal/high_availability.go, test/extended/baremetal/hosts.go
checkMetal3DeploymentHealthy computes expected baremetalhost.status.operationalStatus from clusterInfrastructure(oc) and expects "detached" for dual-replica topology; Serial baremetal tests BeforeEach now calls skipIfTwoNode(oc) in addition to existing skips.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

🚥 Pre-merge checks | ✅ 11 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 20.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (11 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: skipping baremetal tests for two-node deployments. It directly references the bug fixes (OCPBUGS-82072, OCPBUGS-82077) and concisely states the purpose.
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 Test names remain static; changes only add helper functions and modify test body logic without introducing dynamic information into test titles.
Test Structure And Quality ✅ Passed All five quality requirements are met: single responsibility principle followed, setup/cleanup properly implemented, cluster operations include appropriate timeouts, assertions provide context via g.By() and explicit messages, code maintains consistency with existing repository patterns.
Microshift Test Compatibility ✅ Passed PR modifies existing baremetal tests by adding skip conditions; no new tests added. Existing tests are protected from running on MicroShift via skipIfNotBaremetal() which checks infrastructure type before executing test logic.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR adds skips for DualReplica topology (distinct from SNO) to existing baremetal tests; baremetal tests are inherently SNO-incompatible due to metal3 provisioning requirements.
Topology-Aware Scheduling Compatibility ✅ Passed PR modifies only test code in test/extended/baremetal/ and does not introduce deployment manifests, operator code, or controllers with scheduling constraints.
Ote Binary Stdout Contract ✅ Passed Pull request modifications do not violate OTE Binary Stdout Contract as all stdout-producing calls are properly placed within test blocks where output is intercepted by framework.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed New baremetal test files contain no IPv4 hardcoding, IPv4-specific operations, or external connectivity requirements; all tests operate exclusively on cluster-internal APIs.

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

@openshift-ci openshift-ci Bot requested review from deads2k and p0lyn0mial April 10, 2026 18:18
@eggfoobar
Copy link
Copy Markdown
Contributor Author

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Apr 10, 2026
@openshift-ci-robot
Copy link
Copy Markdown

@eggfoobar: This pull request references Jira Issue OCPBUGS-82072, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.22.0) matches configured target version for branch (4.22.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

This pull request references Jira Issue OCPBUGS-82077, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.22.0) matches configured target version for branch (4.22.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
Details

In response to this:

/jira refresh

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 openshift-eng/jira-lifecycle-plugin repository.

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.

Caution

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

⚠️ Outside diff range comments (2)
test/extended/baremetal/hosts.go (1)

166-175: ⚠️ Potential issue | 🔴 Critical

Guard the cleanup against uninitialized helper.

When skipIfTwoNode(oc) skips the test, helper is never initialized. Ginkgo v2 still executes the AfterEach hook in this case, which calls helper.DeleteAllExtraWorkers() on a nil receiver—causing a panic. Since DeleteAllExtraWorkers doesn't guard against nil receivers, either:

  • Guard the cleanup: if helper != nil { helper.DeleteAllExtraWorkers() }, or
  • Initialize helper before skip checks.

This pattern also appears in test/extended/baremetal/high_availability.go.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@test/extended/baremetal/hosts.go` around lines 166 - 175, The AfterEach
cleanup calls helper.DeleteAllExtraWorkers() even when helper may be nil because
skipIfTwoNode(oc) can skip BeforeEach; update the AfterEach block to guard the
call (e.g., if helper != nil { helper.DeleteAllExtraWorkers() }) so
DeleteAllExtraWorkers is only invoked on an initialized NewBaremetalTestHelper,
and apply the same nil-check change to the corresponding AfterEach in
high_availability.go to prevent a panic.
test/extended/baremetal/high_availability.go (1)

40-49: ⚠️ Potential issue | 🟠 Major

Add nil-check guard in AfterEach cleanup.

DeleteAllExtraWorkers (helper.go:137) checks if b.extraWorkers == nil but does not guard against a nil receiver. When skipIfTwoNode(oc) skips the test before helper is assigned, Ginkgo v2 still executes the AfterEach block, causing helper.DeleteAllExtraWorkers() to panic on a nil receiver.

Guard the cleanup call:

g.AfterEach(func() {
	if helper != nil {
		helper.DeleteAllExtraWorkers()
	}
})
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@test/extended/baremetal/high_availability.go` around lines 40 - 49, The
AfterEach cleanup calls helper.DeleteAllExtraWorkers() without guarding against
helper being nil which can panic if Setup was skipped (e.g., due to
skipIfTwoNode); update the AfterEach to check the helper receiver before calling
DeleteAllExtraWorkers (i.e., ensure helper != nil) so DeleteAllExtraWorkers is
only invoked when NewBaremetalTestHelper successfully assigned helper and avoid
nil receiver panics from Ginkgo v2 executing AfterEach even when BeforeEach
skipped.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In `@test/extended/baremetal/high_availability.go`:
- Around line 40-49: The AfterEach cleanup calls helper.DeleteAllExtraWorkers()
without guarding against helper being nil which can panic if Setup was skipped
(e.g., due to skipIfTwoNode); update the AfterEach to check the helper receiver
before calling DeleteAllExtraWorkers (i.e., ensure helper != nil) so
DeleteAllExtraWorkers is only invoked when NewBaremetalTestHelper successfully
assigned helper and avoid nil receiver panics from Ginkgo v2 executing AfterEach
even when BeforeEach skipped.

In `@test/extended/baremetal/hosts.go`:
- Around line 166-175: The AfterEach cleanup calls
helper.DeleteAllExtraWorkers() even when helper may be nil because
skipIfTwoNode(oc) can skip BeforeEach; update the AfterEach block to guard the
call (e.g., if helper != nil { helper.DeleteAllExtraWorkers() }) so
DeleteAllExtraWorkers is only invoked on an initialized NewBaremetalTestHelper,
and apply the same nil-check change to the corresponding AfterEach in
high_availability.go to prevent a panic.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: c2c27ace-b83b-4b86-a6db-63b0d16ca46e

📥 Commits

Reviewing files that changed from the base of the PR and between 3521349 and ddd95d6.

📒 Files selected for processing (3)
  • test/extended/baremetal/common.go
  • test/extended/baremetal/high_availability.go
  • test/extended/baremetal/hosts.go

@eggfoobar eggfoobar force-pushed the skip-baremetal-worker-checks-on-twonode branch from ddd95d6 to b9669ac Compare April 10, 2026 18:36
@eggfoobar
Copy link
Copy Markdown
Contributor Author

/payload-job
periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-serial-techpreview

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 10, 2026

@eggfoobar: trigger 3 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-serial-techpreview-1of3
  • periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-serial-techpreview-2of3
  • periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-serial-techpreview-3of3

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/7df390b0-350c-11f1-8c63-6c1fd6462c30-0

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

Scheduling required tests:
/test e2e-aws-csi
/test e2e-aws-ovn-fips
/test e2e-aws-ovn-microshift
/test e2e-aws-ovn-microshift-serial
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-gcp-csi
/test e2e-gcp-ovn
/test e2e-gcp-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-upi

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-metal-ovn-two-node-arbiter
/test e2e-metal-ovn-two-node-fencing
/test e2e-metal-ovn-two-node-fencing-recovery

Comment thread test/extended/baremetal/high_availability.go
@eggfoobar
Copy link
Copy Markdown
Contributor Author

/verified by https://prow.ci.openshift.org/view/gs/test-platform-results/logs/openshift-origin-30998-nightly-4.22-e2e-metal-ovn-two-node-fencing-serial-techpreview-1of3/2042673644018077696 and https://prow.ci.openshift.org/view/gs/test-platform-results/logs/openshift-origin-30998-nightly-4.22-e2e-metal-ovn-two-node-fencing-serial-techpreview-2of3/2042673644550754304

Verified by CI lanes on TNF clusters

1of3 shows the skip

: [sig-installer][Feature:baremetal][Serial] Baremetal platform should skip inspection when disabled by annotation [Suite:openshift/conformance/serial]

Reason: skip [github.com/openshift/origin/test/extended/baremetal/common.go:58]: This test does not apply to two-node

2of3 shows success

[sig-installer][Feature:baremetal][Serial] Baremetal platform should ensure [apigroup:config.openshift.io] cluster baremetal operator and metal3 deployment return back healthy after they are deleted [Suite:openshift/conformance/serial]

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Apr 15, 2026
@openshift-ci-robot
Copy link
Copy Markdown

@eggfoobar: This PR has been marked as verified by https://prow.ci.openshift.org/view/gs/test-platform-results/logs/openshift-origin-30998-nightly-4.22-e2e-metal-ovn-two-node-fencing-serial-techpreview-1of3/2042673644018077696 and https://prow.ci.openshift.org/view/gs/test-platform-results/logs/openshift-origin-30998-nightly-4.22-e2e-metal-ovn-two-node-fencing-serial-techpreview-2of3/2042673644550754304.

Details

In response to this:

/verified by https://prow.ci.openshift.org/view/gs/test-platform-results/logs/openshift-origin-30998-nightly-4.22-e2e-metal-ovn-two-node-fencing-serial-techpreview-1of3/2042673644018077696 and https://prow.ci.openshift.org/view/gs/test-platform-results/logs/openshift-origin-30998-nightly-4.22-e2e-metal-ovn-two-node-fencing-serial-techpreview-2of3/2042673644550754304

Verified by CI lanes on TNF clusters

1of3 shows the skip

: [sig-installer][Feature:baremetal][Serial] Baremetal platform should skip inspection when disabled by annotation [Suite:openshift/conformance/serial]

Reason: skip [github.com/openshift/origin/test/extended/baremetal/common.go:58]: This test does not apply to two-node

2of3 shows success

[sig-installer][Feature:baremetal][Serial] Baremetal platform should ensure [apigroup:config.openshift.io] cluster baremetal operator and metal3 deployment return back healthy after they are deleted [Suite:openshift/conformance/serial]

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 openshift-eng/jira-lifecycle-plugin repository.

@jaypoulz
Copy link
Copy Markdown
Contributor

/lgtm

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

openshift-ci Bot commented Apr 15, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

@eggfoobar
Copy link
Copy Markdown
Contributor Author

/retest

@eggfoobar eggfoobar force-pushed the skip-baremetal-worker-checks-on-twonode branch from b9669ac to c1405f1 Compare April 17, 2026 15:07
@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Apr 17, 2026
@openshift-ci-robot openshift-ci-robot removed the verified Signifies that the PR passed pre-merge verification criteria label Apr 17, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 17, 2026

New changes are detected. LGTM label has been removed.

@eggfoobar
Copy link
Copy Markdown
Contributor Author

/payload-job
periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-serial

@openshift-ci-robot openshift-ci-robot added jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. and removed jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Apr 17, 2026
@openshift-ci-robot
Copy link
Copy Markdown

@eggfoobar: This pull request references Jira Issue OCPBUGS-82072, which is invalid:

  • expected the bug to target either version "5.0." or "openshift-5.0.", but it targets "4.22.0" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

This pull request references Jira Issue OCPBUGS-82077, which is invalid:

  • expected the bug to target either version "5.0." or "openshift-5.0.", but it targets "4.22.0" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

currently for two node fencing we do not support extra workers, skipping these tests for DualReplica topology

Summary by CodeRabbit

  • Tests
  • Enhanced baremetal platform test infrastructure with caching of cluster configuration queries for improved efficiency.
  • Added automatic test skipping for two-node cluster deployments to prevent irrelevant test execution.
  • Updated health checks to dynamically adapt expected values based on cluster control plane topology.

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 17, 2026

@eggfoobar: trigger 3 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-serial-1of3
  • periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-serial-2of3
  • periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-serial-3of3

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/5dbfd570-3a6f-11f1-818d-e8389f86f951-0

@eggfoobar
Copy link
Copy Markdown
Contributor Author

/jira refresh

@openshift-ci-robot
Copy link
Copy Markdown

@eggfoobar: This pull request references Jira Issue OCPBUGS-82072, which is invalid:

  • expected the bug to target either version "5.0." or "openshift-5.0.", but it targets "4.23" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

This pull request references Jira Issue OCPBUGS-82077, which is invalid:

  • expected the bug to target either version "5.0." or "openshift-5.0.", but it targets "4.22.0" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

/jira refresh

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 openshift-eng/jira-lifecycle-plugin repository.

@eggfoobar
Copy link
Copy Markdown
Contributor Author

/jira refresh

@openshift-ci-robot
Copy link
Copy Markdown

@eggfoobar: This pull request references Jira Issue OCPBUGS-82072, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (5.0.0) matches configured target version for branch (5.0.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

This pull request references Jira Issue OCPBUGS-82077, which is invalid:

  • expected the bug to target either version "5.0." or "openshift-5.0.", but it targets "4.22.0" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

/jira refresh

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 openshift-eng/jira-lifecycle-plugin repository.

@eggfoobar
Copy link
Copy Markdown
Contributor Author

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Apr 17, 2026
@openshift-ci-robot
Copy link
Copy Markdown

@eggfoobar: This pull request references Jira Issue OCPBUGS-82072, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (5.0.0) matches configured target version for branch (5.0.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

This pull request references Jira Issue OCPBUGS-82077, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (5.0.0) matches configured target version for branch (5.0.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)
Details

In response to this:

/jira refresh

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

Scheduling required tests:
/test e2e-aws-csi
/test e2e-aws-ovn-fips
/test e2e-aws-ovn-microshift
/test e2e-aws-ovn-microshift-serial
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-gcp-csi
/test e2e-gcp-ovn
/test e2e-gcp-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-upi

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-metal-ovn-two-node-arbiter
/test e2e-metal-ovn-two-node-fencing
/test e2e-metal-ovn-two-node-fencing-recovery

@eggfoobar
Copy link
Copy Markdown
Contributor Author

/retest

@openshift-trt
Copy link
Copy Markdown

openshift-trt Bot commented Apr 20, 2026

Job Failure Risk Analysis for sha: c1405f1

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-metal-ovn-two-node-fencing-recovery IncompleteTests
Tests for this run (73) are below the historical average (351): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-vsphere-ovn-upi Low
[sig-instrumentation] Prometheus [apigroup:image.openshift.io] when installed on the cluster shouldn't report any alerts in firing state apart from Watchdog and AlertmanagerReceiversNotConfigured [Early][apigroup:config.openshift.io] [Suite:openshift/conformance/parallel]
This test has passed 0.00% of 13 runs on release 5.0 [Architecture:amd64 FeatureSet:default Installer:upi JobTier:standard Network:ovn NetworkStack:ipv4 OS:rhcos9 Owner:eng Platform:vsphere Procedure:none SecurityMode:default Topology:ha Upgrade:none] in the last week.

@eggfoobar
Copy link
Copy Markdown
Contributor Author

/retest


// clusterInfrastructure returns the cluster Infrastructure object. A successful fetch is cached for
// the rest of the process; if Get fails, nothing is cached and the next call retries.
func clusterInfrastructure(oc *exutil.CLI) (*configv1.Infrastructure, error) {
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.

Why do you need such approach? It looks pretty fragile and overcomplicating/invalidating the underlying cache. I don't have all the details, but it looks like a different problem was maybe found? If so, I'd suggest reviewing it and avoiding locks to introduce a potentially stale behavior, and fetch the required resource via oc as usul

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oh sure thing, this was just an optimization step since it seemed redundant to make the call 3 times for the same data that does not change during the run of the suite. Removing

currently for two node fencing we do not support extra workers, skipping these tests for DualReplica topology
updated test to account for correct baremetal operator state during tnf deployments

Signed-off-by: ehila <ehila@redhat.com>
@eggfoobar eggfoobar force-pushed the skip-baremetal-worker-checks-on-twonode branch from c1405f1 to e100fab Compare April 21, 2026 16:27
@eggfoobar
Copy link
Copy Markdown
Contributor Author

/payload-job
periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-serial

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 21, 2026

@eggfoobar: trigger 3 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-serial-1of3
  • periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-serial-2of3
  • periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-serial-3of3

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/9853c8a0-3da2-11f1-999b-95d30e32b69f-0

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

Scheduling required tests:
/test e2e-aws-csi
/test e2e-aws-ovn-fips
/test e2e-aws-ovn-microshift
/test e2e-aws-ovn-microshift-serial
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-gcp-csi
/test e2e-gcp-ovn
/test e2e-gcp-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-upi

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-metal-ovn-two-node-arbiter
/test e2e-metal-ovn-two-node-fencing
/test e2e-metal-ovn-two-node-fencing-recovery

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 21, 2026

@eggfoobar: 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/prow/e2e-metal-ovn-two-node-fencing-recovery e100fab link false /test e2e-metal-ovn-two-node-fencing-recovery
ci/prow/e2e-aws-ovn-microshift-serial e100fab link true /test e2e-aws-ovn-microshift-serial
ci/prow/e2e-metal-ovn-two-node-fencing e100fab link false /test e2e-metal-ovn-two-node-fencing
ci/prow/e2e-aws-ovn-microshift e100fab link true /test e2e-aws-ovn-microshift

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.

@openshift-trt
Copy link
Copy Markdown

openshift-trt Bot commented Apr 21, 2026

Job Failure Risk Analysis for sha: e100fab

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-metal-ovn-two-node-fencing-recovery IncompleteTests
Tests for this run (73) are below the historical average (307): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)

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

Labels

jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants