Skip to content

OCPBUGS-84257: fix openshift/network/third-party suite selecting zero tests#31084

Merged
openshift-merge-bot[bot] merged 1 commit intoopenshift:mainfrom
petr-muller:ocpbugs-84257-investigate-agentic
Apr 29, 2026
Merged

OCPBUGS-84257: fix openshift/network/third-party suite selecting zero tests#31084
openshift-merge-bot[bot] merged 1 commit intoopenshift:mainfrom
petr-muller:ocpbugs-84257-investigate-agentic

Conversation

@petr-muller
Copy link
Copy Markdown
Member

@petr-muller petr-muller commented Apr 28, 2026

Summary

  • Fix the openshift/network/third-party suite CEL qualifier to use source == "openshift:payload:hyperkube" instead of name.contains("[Suite:k8s]"), which matches zero tests after the OTE migration
  • Add a semantic test (TestThirdPartySuiteMatchesHyperkubeTests) verifying the qualifier correctly includes/excludes tests based on source, sig, and feature tags

Root Cause

The OTE migration (commit c4895d7) converted the suite's Matches function to a CEL expression that still checks for [Suite:k8s] in test names. No tests carry that tag in the OTE framework — upstream k8s tests now use the source field ("openshift:payload:hyperkube") to identify their origin.

Reproduced across 4.21.6, 4.21.12, 4.22-ec.5, and 5.0 nightly: zero tests have [Suite:k8s], while 101 tests from k8s-tests-ext match the intended criteria.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Tests
    • Refined network-related suite qualification to target tests by their payload source (hyperkube), removing the previous name-based requirement.
    • Added a new automated test that verifies the third-party network suite filters and matches the expected hyperkube-sourced tests, and reports mismatches or filtering errors.

@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/severity-critical Referenced Jira bug's severity is critical for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Apr 28, 2026
@openshift-ci-robot
Copy link
Copy Markdown

@petr-muller: This pull request references Jira Issue OCPBUGS-84257, 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 (5.0.0) matches configured target version for branch (5.0.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

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

Details

In response to this:

Summary

  • Fix the openshift/network/third-party suite CEL qualifier to use source == "openshift:payload:hyperkube" instead of name.contains("[Suite:k8s]"), which matches zero tests after the OTE migration
  • Add a semantic test (TestThirdPartySuiteMatchesHyperkubeTests) verifying the qualifier correctly includes/excludes tests based on source, sig, and feature tags

Root Cause

The OTE migration (commit c4895d7) converted the suite's Matches function to a CEL expression that still checks for [Suite:k8s] in test names. No tests carry that tag in the OTE framework — upstream k8s tests now use the source field ("openshift:payload:hyperkube") to identify their origin.

Reproduced across 4.21.6, 4.21.12, 4.22-ec.5, and 5.0 nightly: zero tests have [Suite:k8s], while 101 tests from k8s-tests-ext match the intended criteria.

Test plan

  • go test ./pkg/testsuites/ passes (both CEL syntax validation and new semantic test)
  • Backport to release-4.21, release-4.20 (all branches containing the OTE migration)

🤖 Generated with Claude Code

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 28, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

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

Review profile: CHILL

Plan: Enterprise

Run ID: 7516898a-81c7-49ac-b8ed-c870bcb6e214

📥 Commits

Reviewing files that changed from the base of the PR and between a87b58e and 8695b69.

📒 Files selected for processing (2)
  • pkg/testsuites/standard_suites.go
  • pkg/testsuites/suites_test.go
🚧 Files skipped from review as they are similar to previous changes (1)
  • pkg/testsuites/suites_test.go

Walkthrough

The openshift/network/third-party suite qualifier now requires source == "openshift:payload:hyperkube" instead of checking for "[Suite:k8s]" in the test name. A unit test was added to verify matching hyperkube-sourced tests and an existing test was updated to include a Source field.

Changes

Cohort / File(s) Summary
Suite qualifier change
pkg/testsuites/standard_suites.go
Replaced name.contains("[Suite:k8s]") with source == "openshift:payload:hyperkube" for the openshift/network/third-party suite; retained name.contains("[sig-network]") and selection of [Conformance] or NetworkPolicy (excluding named port) or [Feature:IPv6DualStack].
Tests and validation
pkg/testsuites/suites_test.go
Updated TestSuiteQualifiersValidCEL to set dummyTest.Source = "openshift:payload:origin"; added TestThirdPartySuiteMatchesHyperkubeTests which enumerates candidate ExtensionTestSpec entries, filters them with the third-party suite qualifiers, and asserts the matched set equals the expected hyperkube-sourced tests.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

🚥 Pre-merge checks | ✅ 11 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 50.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 directly and specifically describes the main change: fixing the openshift/network/third-party suite qualifier to correctly match hyperkube tests instead of selecting zero tests.
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 No Ginkgo test titles with dynamic or unstable names found. Modified files contain static test function names without generated suffixes, timestamps, or variable identifiers.
Test Structure And Quality ✅ Passed The PR adds a well-structured test using standard Go testing patterns with clear assertions and meaningful error context.
Microshift Test Compatibility ✅ Passed PR adds Go unit tests for test suite infrastructure, not Ginkgo e2e tests. New tests validate CEL filtering logic using mock objects without invoking any MicroShift-incompatible APIs.
Single Node Openshift (Sno) Test Compatibility ✅ Passed This PR does not add any Ginkgo e2e tests; it only contains standard Go unit tests for test suite configuration validation logic.
Topology-Aware Scheduling Compatibility ✅ Passed PR modifies test suite selection logic in pkg/testsuites/ only. No deployment manifests, operator code, controllers, or scheduling constraints are introduced.
Ote Binary Stdout Contract ✅ Passed PR changes do not introduce violations of the OTE Binary Stdout Contract. All modifications are in declarative data structures or test functions using proper testing framework methods.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PR does not add new Ginkgo e2e tests; changes consist of standard Go unit tests and configuration updates outside the scope of the IPv6 and disconnected network compatibility requirement.

✏️ 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 sjenning April 28, 2026 11:10
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 28, 2026
@openshift-ci-robot
Copy link
Copy Markdown

@petr-muller: This pull request references Jira Issue OCPBUGS-84257, 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:

Summary

  • Fix the openshift/network/third-party suite CEL qualifier to use source == "openshift:payload:hyperkube" instead of name.contains("[Suite:k8s]"), which matches zero tests after the OTE migration
  • Add a semantic test (TestThirdPartySuiteMatchesHyperkubeTests) verifying the qualifier correctly includes/excludes tests based on source, sig, and feature tags

Root Cause

The OTE migration (commit c4895d7) converted the suite's Matches function to a CEL expression that still checks for [Suite:k8s] in test names. No tests carry that tag in the OTE framework — upstream k8s tests now use the source field ("openshift:payload:hyperkube") to identify their origin.

Reproduced across 4.21.6, 4.21.12, 4.22-ec.5, and 5.0 nightly: zero tests have [Suite:k8s], while 101 tests from k8s-tests-ext match the intended criteria.

🤖 Generated with Claude Code

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.

@petr-muller
Copy link
Copy Markdown
Member Author

/cherry-pick release-4.22
/cherry-pick release-4.21
/cherry-pick release-4.20

@openshift-cherrypick-robot
Copy link
Copy Markdown

@petr-muller: once the present PR merges, I will cherry-pick it on top of release-4.20, release-4.21, release-4.22 in new PRs and assign them to you.

Details

In response to this:

/cherry-pick release-4.22
/cherry-pick release-4.21
/cherry-pick release-4.20

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.

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.

🧹 Nitpick comments (1)
pkg/testsuites/suites_test.go (1)

67-116: Add one negative control to tighten semantic coverage.

Consider adding a source=hyperkube + [sig-network] test that has none of the allowed feature conditions, and assert it does not match. This protects the OR clause from accidental broadening.

Suggested test hardening
 	hyperkubeTests := extensiontests.ExtensionTestSpecs{
 		{
 			Name:   "[sig-network] NetworkPolicy API should support creating NetworkPolicy API operations [Conformance]",
 			Source: "openshift:payload:hyperkube",
 		},
@@
 		{
 			Name:   "[sig-network] some origin network test [Conformance]",
 			Source: "openshift:payload:origin",
 		},
+		{
+			Name:   "[sig-network] generic networking test without required qualifiers",
+			Source: "openshift:payload:hyperkube",
+		},
 	}
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@pkg/testsuites/suites_test.go` around lines 67 - 116, Add a negative-control
entry to hyperkubeTests: insert a test with Source "openshift:payload:hyperkube"
and a Name that starts with "[sig-network]" but has no allowed feature or
Conformance tags (e.g. "[sig-network] some hyperkube network test") so it should
NOT match thirdPartySuite.Qualifiers; do not add this name to expectedNames, and
add an explicit assertion that this name is absent from filtered (or rely on the
existing unexpected-test check) to ensure the OR clause doesn't overmatch;
locate hyperkubeTests, the Filter call (hyperkubeTests.Filter), and the
filtered/expectedNames checks to implement this.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@pkg/testsuites/suites_test.go`:
- Around line 67-116: Add a negative-control entry to hyperkubeTests: insert a
test with Source "openshift:payload:hyperkube" and a Name that starts with
"[sig-network]" but has no allowed feature or Conformance tags (e.g.
"[sig-network] some hyperkube network test") so it should NOT match
thirdPartySuite.Qualifiers; do not add this name to expectedNames, and add an
explicit assertion that this name is absent from filtered (or rely on the
existing unexpected-test check) to ensure the OR clause doesn't overmatch;
locate hyperkubeTests, the Filter call (hyperkubeTests.Filter), and the
filtered/expectedNames checks to implement this.

ℹ️ Review info
⚙️ Run configuration

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

Review profile: CHILL

Plan: Enterprise

Run ID: ca140eae-2ab1-4316-906b-cc6f947358a6

📥 Commits

Reviewing files that changed from the base of the PR and between b6f09c2 and 5913cf7.

📒 Files selected for processing (2)
  • pkg/testsuites/standard_suites.go
  • pkg/testsuites/suites_test.go

@openshift-merge-bot openshift-merge-bot Bot added the ready-for-human-review Indicates a PR has been reviewed by automated tools and is ready for human review label Apr 28, 2026
@petr-muller
Copy link
Copy Markdown
Member Author

/uncc @sjenning @deads2k

@openshift-ci openshift-ci Bot removed request for deads2k and sjenning April 28, 2026 11:17
@petr-muller petr-muller force-pushed the ocpbugs-84257-investigate-agentic branch from 5913cf7 to 44e8acb Compare April 28, 2026 11:51
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.

🧹 Nitpick comments (1)
pkg/testsuites/suites_test.go (1)

99-115: Tighten assertion to explicitly detect missing expected matches.

Current checks catch count mismatches and unexpected names, but not missing expected names directly. A full set comparison makes failures more precise.

Proposed assertion hardening
-	expectedNames := map[string]bool{
+	expectedNames := map[string]struct{}{
 		"[sig-network] NetworkPolicy API should support creating NetworkPolicy API operations [Conformance]":                 true,
 		"[sig-network] Networking should provide Internet connection for containers [Feature:Networking-IPv4] [Conformance]": true,
 		"[sig-network] NetworkPolicy should enforce policy based on Ports [Feature:IPv6DualStack]":                           true,
 	}
+	matchedNames := map[string]struct{}{}

 	if len(filtered) != len(expectedNames) {
 		t.Errorf("expected %d tests, got %d", len(expectedNames), len(filtered))
 		for _, s := range filtered {
 			t.Logf("  matched: %s", s.Name)
 		}
 	}
 	for _, s := range filtered {
-		if !expectedNames[s.Name] {
+		if _, ok := expectedNames[s.Name]; !ok {
 			t.Errorf("unexpected test matched: %s", s.Name)
 		}
+		matchedNames[s.Name] = struct{}{}
+	}
+	for name := range expectedNames {
+		if _, ok := matchedNames[name]; !ok {
+			t.Errorf("expected test missing from matches: %s", name)
+		}
 	}
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@pkg/testsuites/suites_test.go` around lines 99 - 115, The test currently only
checks counts and unexpected names but doesn't explicitly detect missing
expected matches; update the assertion logic around the variables expectedNames
and filtered to perform a full set comparison: after building expectedNames and
collecting actual names from filtered (e.g., iterate filtered to record
actualNames), iterate expectedNames and error if any expected name is not
present in actualNames (log which expected names are missing), and keep the
existing check for unexpected names to ensure precise, informative failures in
the test function containing filtered.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@pkg/testsuites/suites_test.go`:
- Around line 99-115: The test currently only checks counts and unexpected names
but doesn't explicitly detect missing expected matches; update the assertion
logic around the variables expectedNames and filtered to perform a full set
comparison: after building expectedNames and collecting actual names from
filtered (e.g., iterate filtered to record actualNames), iterate expectedNames
and error if any expected name is not present in actualNames (log which expected
names are missing), and keep the existing check for unexpected names to ensure
precise, informative failures in the test function containing filtered.

ℹ️ Review info
⚙️ Run configuration

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

Review profile: CHILL

Plan: Enterprise

Run ID: d316fa5d-7204-49ce-b54d-de3eb5232686

📥 Commits

Reviewing files that changed from the base of the PR and between 5913cf7 and 44e8acb.

📒 Files selected for processing (2)
  • pkg/testsuites/standard_suites.go
  • pkg/testsuites/suites_test.go
🚧 Files skipped from review as they are similar to previous changes (1)
  • pkg/testsuites/standard_suites.go

@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

@petr-muller
Copy link
Copy Markdown
Member Author

petr-muller commented Apr 28, 2026

Reproducer with unfixed

rm -rf /tmp/ot-cache-broken && mkdir -p /tmp/ot-cache-broken && podman run --authfile ~/Downloads/pull-secret \
                      -v ~/Downloads/pull-secret:/tmp/pull-secret:z \
                      -v /tmp/kubeconfig-dryrun:/tmp/kubeconfig:z \
                      -v /tmp/ot-cache-broken:/root/.cache/openshift-tests:z \
                      --rm \
                      -e REGISTRY_AUTH_FILE=/tmp/pull-secret \
                      -e KUBECONFIG=/tmp/kubeconfig \
                      -e EXTENSIONS_PAYLOAD_OVERRIDE=registry.ci.openshift.org/ocp/release-5:5.0.0-0.nightly-2026-04-26-064718 \
                      quay.io/openshift-release-dev/ocp-v5.0-art-dev@sha256:3005c66f4a920bc4f4b890e62201f1c36e9907429fb71eb1f581857779f963be \
                      openshift-tests run openshift/network/third-party --dry-run
...
time="2026-04-28T13:07:16Z" level=info msg="Listed 6 tests in 25.469646ms" binary=cluster-storage-operator-tests-ext
time="2026-04-28T13:07:16Z" level=info msg="Listed 0 tests in 24.334144ms" binary=vmware-vsphere-csi-driver-operator-tests-ext
time="2026-04-28T13:07:16Z" level=info msg="Listed 20 tests in 59.313464ms" binary=service-ca-operator-tests-ext
time="2026-04-28T13:07:16Z" level=info msg="Listed 124 tests in 67.274221ms" binary=olmv1-tests-ext
time="2026-04-28T13:07:16Z" level=info msg="Listed 208 tests in 74.139046ms" binary=olmv0-tests-ext
time="2026-04-28T13:07:16Z" level=info msg="Listed 116 tests in 133.983966ms" binary=machine-config-tests-ext
time="2026-04-28T13:07:17Z" level=info msg="Listed 0 tests in 333.791729ms" binary=machine-api-tests-ext
time="2026-04-28T13:07:17Z" level=info msg="Listed 1163 tests in 544.279816ms" binary=openshift-tests
time="2026-04-28T13:07:17Z" level=info msg="Listed 6863 tests in 592.046546ms" binary=k8s-tests-ext
time="2026-04-28T13:07:17Z" level=info msg="Listed 49 tests in 660.018265ms" binary=ovn-kubernetes-tests-ext
time="2026-04-28T13:07:17Z" level=info msg="Discovered 8696 total tests"
time="2026-04-28T13:07:17Z" level=info msg="Generated skips for cluster state" skips="[[Skipped:skeleton] [Feature:Networking-IPv4] [Feature:Networking-IPv6] [Feature:IPv6DualStack [Feature:SCTPConnectivity] [Requires:HypervisorSSHConfig]]"
time="2026-04-28T13:07:17Z" level=info msg="Applying filter: suite-qualifiers" before=8696 component=test-filter filter=suite-qualifiers
time="2026-04-28T13:07:18Z" level=info msg="Filter suite-qualifiers completed - removed 8696 tests" after=0 before=8696 component=test-filter filter=suite-qualifiers removed=8696
time="2026-04-28T13:07:18Z" level=info msg="Applying filter: kube-rebase-tests" before=0 component=test-filter filter=kube-rebase-tests
time="2026-04-28T13:07:18Z" level=info msg="Filter kube-rebase-tests completed - removed 0 tests" after=0 before=0 component=test-filter filter=kube-rebase-tests removed=0
time="2026-04-28T13:07:18Z" level=info msg="Applying filter: disabled-tests" before=0 component=test-filter filter=disabled-tests
time="2026-04-28T13:07:18Z" level=info msg="Filter disabled-tests completed - removed 0 tests" after=0 before=0 component=test-filter filter=disabled-tests removed=0
time="2026-04-28T13:07:18Z" level=info msg="Applying filter: cluster-state" before=0 component=test-filter filter=cluster-state
time="2026-04-28T13:07:18Z" level=info msg="Filter cluster-state completed - removed 0 tests" after=0 before=0 component=test-filter filter=cluster-state removed=0
time="2026-04-28T13:07:18Z" level=info msg="Filter chain completed with 0 tests" component=test-filter final_count=0
Suite run returned error: no tests to run
error: error running a test suite: no tests to run

Reproducer with fixed

$ mkdir -p /tmp/ot-cache-fixed && podman run --authfile ~/Downloads/pull-secret \
                      -v ~/Downloads/pull-secret:/tmp/pull-secret:z \
                      -v /tmp/kubeconfig-dryrun:/tmp/kubeconfig:z \
                      -v /tmp/ot-cache-fixed:/root/.cache/openshift-tests:z \
                      --rm \
                      -e REGISTRY_AUTH_FILE=/tmp/pull-secret \
                      -e KUBECONFIG=/tmp/kubeconfig \
                      -e EXTENSIONS_PAYLOAD_OVERRIDE=registry.build09.ci.openshift.org/ci-op-2fh4phnw/release:latest \
                      registry.build09.ci.openshift.org/ci-op-2fh4phnw/stable@sha256:aacb61c8e2436a3b59e4d68b97d8029b405df0c4de67c9aa2dada379916ebef2 \
                      openshift-tests run openshift/network/third-party --dry-run
...
time="2026-04-28T13:08:48Z" level=info msg="Listed 17 tests in 70.295505ms" binary=cluster-kube-apiserver-operator-tests-ext
time="2026-04-28T13:08:48Z" level=info msg="Listed 0 tests in 28.593951ms" binary=vmware-vsphere-csi-driver-operator-tests-ext
time="2026-04-28T13:08:48Z" level=info msg="Listed 20 tests in 58.645397ms" binary=service-ca-operator-tests-ext
time="2026-04-28T13:08:48Z" level=info msg="Listed 124 tests in 69.95792ms" binary=olmv1-tests-ext
time="2026-04-28T13:08:48Z" level=info msg="Listed 208 tests in 80.211361ms" binary=olmv0-tests-ext
time="2026-04-28T13:08:48Z" level=info msg="Listed 116 tests in 130.001693ms" binary=machine-config-tests-ext
time="2026-04-28T13:08:48Z" level=info msg="Listed 0 tests in 346.462286ms" binary=machine-api-tests-ext
time="2026-04-28T13:08:49Z" level=info msg="Listed 1164 tests in 522.694042ms" binary=openshift-tests
time="2026-04-28T13:08:49Z" level=info msg="Listed 6863 tests in 599.290563ms" binary=k8s-tests-ext
time="2026-04-28T13:08:49Z" level=info msg="Listed 49 tests in 742.093005ms" binary=ovn-kubernetes-tests-ext
time="2026-04-28T13:08:49Z" level=info msg="Discovered 8698 total tests"
time="2026-04-28T13:08:49Z" level=info msg="Generated skips for cluster state" skips="[[Skipped:skeleton] [Feature:Networking-IPv4] [Feature:Networking-IPv6] [Feature:IPv6DualStack [Feature:SCTPConnectivity] [Requires:HypervisorSSHConfig]]"
time="2026-04-28T13:08:49Z" level=info msg="Applying filter: suite-qualifiers" before=8698 component=test-filter filter=suite-qualifiers
time="2026-04-28T13:08:50Z" level=info msg="Filter suite-qualifiers completed - removed 8595 tests" after=103 before=8698 component=test-filter filter=suite-qualifiers removed=8595
time="2026-04-28T13:08:50Z" level=info msg="Applying filter: kube-rebase-tests" before=103 component=test-filter filter=kube-rebase-tests
time="2026-04-28T13:08:50Z" level=info msg="Filter kube-rebase-tests completed - removed 0 tests" after=103 before=103 component=test-filter filter=kube-rebase-tests removed=0
time="2026-04-28T13:08:50Z" level=info msg="Applying filter: disabled-tests" before=103 component=test-filter filter=disabled-tests
time="2026-04-28T13:08:50Z" level=info msg="Filter disabled-tests completed - removed 0 tests" after=103 before=103 component=test-filter filter=disabled-tests removed=0
time="2026-04-28T13:08:50Z" level=info msg="Applying filter: cluster-state" before=103 component=test-filter filter=cluster-state
time="2026-04-28T13:08:50Z" level=info msg="Filter cluster-state completed - removed 26 tests" after=77 before=103 component=test-filter filter=cluster-state removed=26
time="2026-04-28T13:08:50Z" level=info msg="Filter chain completed with 77 tests" component=test-filter final_count=77
"[sig-network] API Server should have Endpoints and EndpointSlices pointing to API Server [Conformance]"
"[sig-network] API Server should provide secure master service [Conformance]"
"[sig-network] DNS should provide /etc/hosts entries for the cluster [Conformance]"
"[sig-network] DNS should provide DNS for ExternalName services [Conformance]"
"[sig-network] DNS should provide DNS for pods for Hostname [Conformance]"
"[sig-network] DNS should provide DNS for pods for Subdomain [Conformance]"
"[sig-network] DNS should provide DNS for services [Conformance]"
...

/verified by @petr-muller

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

@petr-muller: This PR has been marked as verified by @petr-muller.

Details

In response to this:

Reproducer with unfixed

rm -rf /tmp/ot-cache-broken && mkdir -p /tmp/ot-cache-broken && podman run --authfile ~/Downloads/pull-secret \
                     -v ~/Downloads/pull-secret:/tmp/pull-secret:z \
                     -v /tmp/kubeconfig-dryrun:/tmp/kubeconfig:z \
                     -v /tmp/ot-cache-broken:/root/.cache/openshift-tests:z \
                     --rm \
                     -e REGISTRY_AUTH_FILE=/tmp/pull-secret \
                     -e KUBECONFIG=/tmp/kubeconfig \
                     -e EXTENSIONS_PAYLOAD_OVERRIDE=registry.ci.openshift.org/ocp/release-5:5.0.0-0.nightly-2026-04-26-064718 \
                     quay.io/openshift-release-dev/ocp-v5.0-art-dev@sha256:3005c66f4a920bc4f4b890e62201f1c36e9907429fb71eb1f581857779f963be \
                     openshift-tests run openshift/network/third-party --dry-run
time="2026-04-28T13:07:16Z" level=info msg="Listed 6 tests in 25.469646ms" binary=cluster-storage-operator-tests-ext
time="2026-04-28T13:07:16Z" level=info msg="Listed 0 tests in 24.334144ms" binary=vmware-vsphere-csi-driver-operator-tests-ext
time="2026-04-28T13:07:16Z" level=info msg="Listed 20 tests in 59.313464ms" binary=service-ca-operator-tests-ext
time="2026-04-28T13:07:16Z" level=info msg="Listed 124 tests in 67.274221ms" binary=olmv1-tests-ext
time="2026-04-28T13:07:16Z" level=info msg="Listed 208 tests in 74.139046ms" binary=olmv0-tests-ext
time="2026-04-28T13:07:16Z" level=info msg="Listed 116 tests in 133.983966ms" binary=machine-config-tests-ext
time="2026-04-28T13:07:17Z" level=info msg="Listed 0 tests in 333.791729ms" binary=machine-api-tests-ext
time="2026-04-28T13:07:17Z" level=info msg="Listed 1163 tests in 544.279816ms" binary=openshift-tests
time="2026-04-28T13:07:17Z" level=info msg="Listed 6863 tests in 592.046546ms" binary=k8s-tests-ext
time="2026-04-28T13:07:17Z" level=info msg="Listed 49 tests in 660.018265ms" binary=ovn-kubernetes-tests-ext
time="2026-04-28T13:07:17Z" level=info msg="Discovered 8696 total tests"
time="2026-04-28T13:07:17Z" level=info msg="Generated skips for cluster state" skips="[[Skipped:skeleton] [Feature:Networking-IPv4] [Feature:Networking-IPv6] [Feature:IPv6DualStack [Feature:SCTPConnectivity] [Requires:HypervisorSSHConfig]]"
time="2026-04-28T13:07:17Z" level=info msg="Applying filter: suite-qualifiers" before=8696 component=test-filter filter=suite-qualifiers
time="2026-04-28T13:07:18Z" level=info msg="Filter suite-qualifiers completed - removed 8696 tests" after=0 before=8696 component=test-filter filter=suite-qualifiers removed=8696
time="2026-04-28T13:07:18Z" level=info msg="Applying filter: kube-rebase-tests" before=0 component=test-filter filter=kube-rebase-tests
time="2026-04-28T13:07:18Z" level=info msg="Filter kube-rebase-tests completed - removed 0 tests" after=0 before=0 component=test-filter filter=kube-rebase-tests removed=0
time="2026-04-28T13:07:18Z" level=info msg="Applying filter: disabled-tests" before=0 component=test-filter filter=disabled-tests
time="2026-04-28T13:07:18Z" level=info msg="Filter disabled-tests completed - removed 0 tests" after=0 before=0 component=test-filter filter=disabled-tests removed=0
time="2026-04-28T13:07:18Z" level=info msg="Applying filter: cluster-state" before=0 component=test-filter filter=cluster-state
time="2026-04-28T13:07:18Z" level=info msg="Filter cluster-state completed - removed 0 tests" after=0 before=0 component=test-filter filter=cluster-state removed=0
time="2026-04-28T13:07:18Z" level=info msg="Filter chain completed with 0 tests" component=test-filter final_count=0
Suite run returned error: no tests to run
error: error running a test suite: no tests to run
...

### Reproducer with fixed

$ mkdir -p /tmp/ot-cache-fixed && podman run --authfile ~/Downloads/pull-secret
-v ~/Downloads/pull-secret:/tmp/pull-secret:z
-v /tmp/kubeconfig-dryrun:/tmp/kubeconfig:z
-v /tmp/ot-cache-fixed:/root/.cache/openshift-tests:z
--rm
-e REGISTRY_AUTH_FILE=/tmp/pull-secret
-e KUBECONFIG=/tmp/kubeconfig
-e EXTENSIONS_PAYLOAD_OVERRIDE=registry.build09.ci.openshift.org/ci-op-2fh4phnw/release:latest
registry.build09.ci.openshift.org/ci-op-2fh4phnw/stable@sha256:aacb61c8e2436a3b59e4d68b97d8029b405df0c4de67c9aa2dada379916ebef2
openshift-tests run openshift/network/third-party --dry-run
...
time="2026-04-28T13:08:48Z" level=info msg="Listed 17 tests in 70.295505ms" binary=cluster-kube-apiserver-operator-tests-ext
time="2026-04-28T13:08:48Z" level=info msg="Listed 0 tests in 28.593951ms" binary=vmware-vsphere-csi-driver-operator-tests-ext
time="2026-04-28T13:08:48Z" level=info msg="Listed 20 tests in 58.645397ms" binary=service-ca-operator-tests-ext
time="2026-04-28T13:08:48Z" level=info msg="Listed 124 tests in 69.95792ms" binary=olmv1-tests-ext
time="2026-04-28T13:08:48Z" level=info msg="Listed 208 tests in 80.211361ms" binary=olmv0-tests-ext
time="2026-04-28T13:08:48Z" level=info msg="Listed 116 tests in 130.001693ms" binary=machine-config-tests-ext
time="2026-04-28T13:08:48Z" level=info msg="Listed 0 tests in 346.462286ms" binary=machine-api-tests-ext
time="2026-04-28T13:08:49Z" level=info msg="Listed 1164 tests in 522.694042ms" binary=openshift-tests
time="2026-04-28T13:08:49Z" level=info msg="Listed 6863 tests in 599.290563ms" binary=k8s-tests-ext
time="2026-04-28T13:08:49Z" level=info msg="Listed 49 tests in 742.093005ms" binary=ovn-kubernetes-tests-ext
time="2026-04-28T13:08:49Z" level=info msg="Discovered 8698 total tests"
time="2026-04-28T13:08:49Z" level=info msg="Generated skips for cluster state" skips="[[Skipped:skeleton] [Feature:Networking-IPv4] [Feature:Networking-IPv6] [Feature:IPv6DualStack [Feature:SCTPConnectivity] [Requires:HypervisorSSHConfig]]"
time="2026-04-28T13:08:49Z" level=info msg="Applying filter: suite-qualifiers" before=8698 component=test-filter filter=suite-qualifiers
time="2026-04-28T13:08:50Z" level=info msg="Filter suite-qualifiers completed - removed 8595 tests" after=103 before=8698 component=test-filter filter=suite-qualifiers removed=8595
time="2026-04-28T13:08:50Z" level=info msg="Applying filter: kube-rebase-tests" before=103 component=test-filter filter=kube-rebase-tests
time="2026-04-28T13:08:50Z" level=info msg="Filter kube-rebase-tests completed - removed 0 tests" after=103 before=103 component=test-filter filter=kube-rebase-tests removed=0
time="2026-04-28T13:08:50Z" level=info msg="Applying filter: disabled-tests" before=103 component=test-filter filter=disabled-tests
time="2026-04-28T13:08:50Z" level=info msg="Filter disabled-tests completed - removed 0 tests" after=103 before=103 component=test-filter filter=disabled-tests removed=0
time="2026-04-28T13:08:50Z" level=info msg="Applying filter: cluster-state" before=103 component=test-filter filter=cluster-state
time="2026-04-28T13:08:50Z" level=info msg="Filter cluster-state completed - removed 26 tests" after=77 before=103 component=test-filter filter=cluster-state removed=26
time="2026-04-28T13:08:50Z" level=info msg="Filter chain completed with 77 tests" component=test-filter final_count=77
"[sig-network] API Server should have Endpoints and EndpointSlices pointing to API Server [Conformance]"
"[sig-network] API Server should provide secure master service [Conformance]"
"[sig-network] DNS should provide /etc/hosts entries for the cluster [Conformance]"
"[sig-network] DNS should provide DNS for ExternalName services [Conformance]"
"[sig-network] DNS should provide DNS for pods for Hostname [Conformance]"
"[sig-network] DNS should provide DNS for pods for Subdomain [Conformance]"
"[sig-network] DNS should provide DNS for services [Conformance]"
...


/verified by @petr-muller 

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.

Comment thread pkg/testsuites/suites_test.go Outdated
@openshift-ci-robot openshift-ci-robot removed the verified Signifies that the PR passed pre-merge verification criteria label Apr 28, 2026
Copy link
Copy Markdown
Member

@smg247 smg247 left a comment

Choose a reason for hiding this comment

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

/lgtm

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

@petr-muller: This pull request references Jira Issue OCPBUGS-84257, 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:

Summary

  • Fix the openshift/network/third-party suite CEL qualifier to use source == "openshift:payload:hyperkube" instead of name.contains("[Suite:k8s]"), which matches zero tests after the OTE migration
  • Add a semantic test (TestThirdPartySuiteMatchesHyperkubeTests) verifying the qualifier correctly includes/excludes tests based on source, sig, and feature tags

Root Cause

The OTE migration (commit c4895d7) converted the suite's Matches function to a CEL expression that still checks for [Suite:k8s] in test names. No tests carry that tag in the OTE framework — upstream k8s tests now use the source field ("openshift:payload:hyperkube") to identify their origin.

Reproduced across 4.21.6, 4.21.12, 4.22-ec.5, and 5.0 nightly: zero tests have [Suite:k8s], while 101 tests from k8s-tests-ext match the intended criteria.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Tests
  • Refined network-related test suite qualification to target tests whose source is the payload hyperkube, removing the prior name-based requirement.
  • Added a new automated test that verifies the third-party network suite filters and matches the expected hyperkube-sourced tests, and reports mismatches or filtering errors.

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.

… tests

The openshift/network/third-party suite CEL qualifier used
name.contains("[Suite:k8s]") to identify upstream Kubernetes tests, but
no tests carry that tag after the OTE migration. Replace with
source == "openshift:payload:hyperkube" which is the correct way to
identify upstream k8s tests in the extension framework.

Add a semantic test that verifies the qualifier actually matches expected
test specs, preventing future regressions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@petr-muller petr-muller force-pushed the ocpbugs-84257-investigate-agentic branch from a87b58e to 8695b69 Compare April 28, 2026 13:29
@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Apr 28, 2026
@smg247
Copy link
Copy Markdown
Member

smg247 commented Apr 28, 2026

/lgtm

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

openshift-ci Bot commented Apr 28, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: coderabbitai[bot], petr-muller, smg247

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

@petr-muller
Copy link
Copy Markdown
Member Author

/verified by @petr-muller

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

@petr-muller: This PR has been marked as verified by @petr-muller.

Details

In response to this:

/verified by @petr-muller

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

/retest-required

Remaining retests: 0 against base HEAD b6f09c2 and 2 for PR HEAD 8695b69 in total

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD ae654cc and 1 for PR HEAD 8695b69 in total

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD 7f08cc4 and 0 for PR HEAD 8695b69 in total

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

/hold

Revision 8695b69 was retested 3 times: holding

@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 28, 2026
@petr-muller
Copy link
Copy Markdown
Member Author

/hold cancel
/override ci/prow/e2e-aws-ovn-fips ci/prow/e2e-gcp-ovn-upgrade

unrelated

@openshift-ci openshift-ci Bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 29, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 29, 2026

@petr-muller: Overrode contexts on behalf of petr-muller: ci/prow/e2e-aws-ovn-fips, ci/prow/e2e-gcp-ovn-upgrade

Details

In response to this:

/hold cancel
/override ci/prow/e2e-aws-ovn-fips ci/prow/e2e-gcp-ovn-upgrade

unrelated

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.

@openshift-trt
Copy link
Copy Markdown

openshift-trt Bot commented Apr 29, 2026

Job Failure Risk Analysis for sha: 8695b69

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-gcp-ovn-upgrade High
[Monitor:node-lifecycle][sig-node] node-lifecycle detects unexpected not ready node
This test has passed 98.61% of 5175 runs on release 5.0 [Overall] in the last week.
---
[Monitor:legacy-test-framework-invariants-pathological][sig-arch] events should not repeat pathologically for ns/openshift-multus
This test has passed 99.94% of 5173 runs on release 5.0 [Overall] in the last week.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 29, 2026

@petr-muller: all tests passed!

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-merge-bot openshift-merge-bot Bot merged commit 131c4f1 into openshift:main Apr 29, 2026
21 checks passed
@openshift-ci-robot
Copy link
Copy Markdown

@petr-muller: Jira Issue Verification Checks: Jira Issue OCPBUGS-84257
✔️ This pull request was pre-merge verified.
✔️ All associated pull requests have merged.
✔️ All associated, merged pull requests were pre-merge verified.

Jira Issue OCPBUGS-84257 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓

Details

In response to this:

Summary

  • Fix the openshift/network/third-party suite CEL qualifier to use source == "openshift:payload:hyperkube" instead of name.contains("[Suite:k8s]"), which matches zero tests after the OTE migration
  • Add a semantic test (TestThirdPartySuiteMatchesHyperkubeTests) verifying the qualifier correctly includes/excludes tests based on source, sig, and feature tags

Root Cause

The OTE migration (commit c4895d7) converted the suite's Matches function to a CEL expression that still checks for [Suite:k8s] in test names. No tests carry that tag in the OTE framework — upstream k8s tests now use the source field ("openshift:payload:hyperkube") to identify their origin.

Reproduced across 4.21.6, 4.21.12, 4.22-ec.5, and 5.0 nightly: zero tests have [Suite:k8s], while 101 tests from k8s-tests-ext match the intended criteria.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Tests
  • Refined network-related suite qualification to target tests by their payload source (hyperkube), removing the previous name-based requirement.
  • Added a new automated test that verifies the third-party network suite filters and matches the expected hyperkube-sourced tests, and reports mismatches or filtering errors.

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-cherrypick-robot
Copy link
Copy Markdown

@petr-muller: new pull request created: #31089

Details

In response to this:

/cherry-pick release-4.22
/cherry-pick release-4.21
/cherry-pick release-4.20

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.

@openshift-cherrypick-robot
Copy link
Copy Markdown

@petr-muller: new pull request created: #31090

Details

In response to this:

/cherry-pick release-4.22
/cherry-pick release-4.21
/cherry-pick release-4.20

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.

@openshift-cherrypick-robot
Copy link
Copy Markdown

@petr-muller: new pull request created: #31091

Details

In response to this:

/cherry-pick release-4.22
/cherry-pick release-4.21
/cherry-pick release-4.20

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.

@openshift-merge-robot
Copy link
Copy Markdown
Contributor

Fix included in release 5.0.0-0.nightly-2026-04-29-125648

@petr-muller petr-muller deleted the ocpbugs-84257-investigate-agentic branch April 29, 2026 22:43
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. jira/severity-critical Referenced Jira bug's severity is critical for the branch this PR is targeting. 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. lgtm Indicates that a PR is ready to be merged. ready-for-human-review Indicates a PR has been reviewed by automated tools and is ready for human review verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants